1# 1 "ldv/68_1/drivers/vhost/vhost_net.ko/safe.cil.out.i"
2# 1 "<built-in>"
3# 1 "<command-line>"
4# 1 "ldv/68_1/drivers/vhost/vhost_net.ko/safe.cil.out.i"
5# 19 "include/asm-generic/int-ll64.h"
6typedef signed char __s8;
7# 20 "include/asm-generic/int-ll64.h"
8typedef unsigned char __u8;
9# 22 "include/asm-generic/int-ll64.h"
10typedef short __s16;
11# 23 "include/asm-generic/int-ll64.h"
12typedef unsigned short __u16;
13# 25 "include/asm-generic/int-ll64.h"
14typedef int __s32;
15# 26 "include/asm-generic/int-ll64.h"
16typedef unsigned int __u32;
17# 29 "include/asm-generic/int-ll64.h"
18typedef long long __s64;
19# 30 "include/asm-generic/int-ll64.h"
20typedef unsigned long long __u64;
21# 43 "include/asm-generic/int-ll64.h"
22typedef unsigned char u8;
23# 46 "include/asm-generic/int-ll64.h"
24typedef unsigned short u16;
25# 48 "include/asm-generic/int-ll64.h"
26typedef int s32;
27# 49 "include/asm-generic/int-ll64.h"
28typedef unsigned int u32;
29# 51 "include/asm-generic/int-ll64.h"
30typedef long long s64;
31# 52 "include/asm-generic/int-ll64.h"
32typedef unsigned long long u64;
33# 11 "include/asm-generic/types.h"
34typedef unsigned short umode_t;
35# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
36typedef unsigned int __kernel_mode_t;
37# 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
38typedef unsigned long __kernel_nlink_t;
39# 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
40typedef long __kernel_off_t;
41# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
42typedef int __kernel_pid_t;
43# 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
44typedef unsigned int __kernel_uid_t;
45# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
46typedef unsigned int __kernel_gid_t;
47# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
48typedef unsigned long __kernel_size_t;
49# 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
50typedef long __kernel_ssize_t;
51# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
52typedef long __kernel_time_t;
53# 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
54typedef long __kernel_clock_t;
55# 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
56typedef int __kernel_timer_t;
57# 25 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
58typedef int __kernel_clockid_t;
59# 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
60typedef long long __kernel_loff_t;
61# 41 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
62typedef __kernel_uid_t __kernel_uid32_t;
63# 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
64typedef __kernel_gid_t __kernel_gid32_t;
65# 21 "include/linux/types.h"
66typedef __u32 __kernel_dev_t;
67# 24 "include/linux/types.h"
68typedef __kernel_dev_t dev_t;
69# 26 "include/linux/types.h"
70typedef __kernel_mode_t mode_t;
71# 27 "include/linux/types.h"
72typedef __kernel_nlink_t nlink_t;
73# 28 "include/linux/types.h"
74typedef __kernel_off_t off_t;
75# 29 "include/linux/types.h"
76typedef __kernel_pid_t pid_t;
77# 34 "include/linux/types.h"
78typedef __kernel_clockid_t clockid_t;
79# 37 "include/linux/types.h"
80typedef _Bool bool;
81# 39 "include/linux/types.h"
82typedef __kernel_uid32_t uid_t;
83# 40 "include/linux/types.h"
84typedef __kernel_gid32_t gid_t;
85# 53 "include/linux/types.h"
86typedef __kernel_loff_t loff_t;
87# 62 "include/linux/types.h"
88typedef __kernel_size_t size_t;
89# 67 "include/linux/types.h"
90typedef __kernel_ssize_t ssize_t;
91# 77 "include/linux/types.h"
92typedef __kernel_time_t time_t;
93# 110 "include/linux/types.h"
94typedef __s32 int32_t;
95# 116 "include/linux/types.h"
96typedef __u32 uint32_t;
97# 141 "include/linux/types.h"
98typedef unsigned long sector_t;
99# 142 "include/linux/types.h"
100typedef unsigned long blkcnt_t;
101# 154 "include/linux/types.h"
102typedef u64 dma_addr_t;
103# 177 "include/linux/types.h"
104typedef __u16 __le16;
105# 201 "include/linux/types.h"
106typedef unsigned int gfp_t;
107# 202 "include/linux/types.h"
108typedef unsigned int fmode_t;
109# 205 "include/linux/types.h"
110typedef u64 phys_addr_t;
111# 212 "include/linux/types.h"
112struct __anonstruct_atomic_t_7 {
113 int counter ;
114};
115# 212 "include/linux/types.h"
116typedef struct __anonstruct_atomic_t_7 atomic_t;
117# 217 "include/linux/types.h"
118struct __anonstruct_atomic64_t_8 {
119 long counter ;
120};
121# 217 "include/linux/types.h"
122typedef struct __anonstruct_atomic64_t_8 atomic64_t;
123# 222 "include/linux/types.h"
124struct list_head {
125 struct list_head *next ;
126 struct list_head *prev ;
127};
128# 226 "include/linux/types.h"
129struct hlist_node;
130# 226 "include/linux/types.h"
131struct hlist_head {
132 struct hlist_node *first ;
133};
134# 230 "include/linux/types.h"
135struct hlist_node {
136 struct hlist_node *next ;
137 struct hlist_node **pprev ;
138};
139# 12 "include/linux/file.h"
140struct file;
141# 17 "include/linux/file.h"
142struct file_operations;
143# 18 "include/linux/file.h"
144struct vfsmount;
145# 19 "include/linux/file.h"
146struct dentry;
147# 20 "include/linux/file.h"
148struct path;
149# 12 "include/linux/thread_info.h"
150struct timespec;
151# 13 "include/linux/thread_info.h"
152struct compat_timespec;
153# 18 "include/linux/thread_info.h"
154struct __anonstruct_futex_10 {
155 u32 *uaddr ;
156 u32 val ;
157 u32 flags ;
158 u32 bitset ;
159 u64 time ;
160 u32 *uaddr2 ;
161};
162# 18 "include/linux/thread_info.h"
163struct __anonstruct_nanosleep_11 {
164 clockid_t clockid ;
165 struct timespec *rmtp ;
166 struct compat_timespec *compat_rmtp ;
167 u64 expires ;
168};
169# 18 "include/linux/thread_info.h"
170struct pollfd;
171# 18 "include/linux/thread_info.h"
172struct __anonstruct_poll_12 {
173 struct pollfd *ufds ;
174 int nfds ;
175 int has_timeout ;
176 unsigned long tv_sec ;
177 unsigned long tv_nsec ;
178};
179# 18 "include/linux/thread_info.h"
180union __anonunion____missing_field_name_9 {
181 struct __anonstruct_futex_10 futex ;
182 struct __anonstruct_nanosleep_11 nanosleep ;
183 struct __anonstruct_poll_12 poll ;
184};
185# 18 "include/linux/thread_info.h"
186struct restart_block {
187 long (*fn)(struct restart_block * ) ;
188 union __anonunion____missing_field_name_9 __annonCompField4 ;
189};
190# 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/alternative.h"
191struct module;
192# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page.h"
193struct page;
194# 20 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
195struct task_struct;
196# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
197struct exec_domain;
198# 8 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
199struct mm_struct;
200# 99 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/ptrace.h"
201struct pt_regs {
202 unsigned long r15 ;
203 unsigned long r14 ;
204 unsigned long r13 ;
205 unsigned long r12 ;
206 unsigned long bp ;
207 unsigned long bx ;
208 unsigned long r11 ;
209 unsigned long r10 ;
210 unsigned long r9 ;
211 unsigned long r8 ;
212 unsigned long ax ;
213 unsigned long cx ;
214 unsigned long dx ;
215 unsigned long si ;
216 unsigned long di ;
217 unsigned long orig_ax ;
218 unsigned long ip ;
219 unsigned long cs ;
220 unsigned long flags ;
221 unsigned long sp ;
222 unsigned long ss ;
223};
224# 145 "include/linux/init.h"
225typedef void (*ctor_fn_t)(void);
226# 141 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
227struct kernel_vm86_regs {
228 struct pt_regs pt ;
229 unsigned short es ;
230 unsigned short __esh ;
231 unsigned short ds ;
232 unsigned short __dsh ;
233 unsigned short fs ;
234 unsigned short __fsh ;
235 unsigned short gs ;
236 unsigned short __gsh ;
237};
238# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/math_emu.h"
239union __anonunion____missing_field_name_13 {
240 struct pt_regs *regs ;
241 struct kernel_vm86_regs *vm86 ;
242};
243# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/math_emu.h"
244struct math_emu_info {
245 long ___orig_eip ;
246 union __anonunion____missing_field_name_13 __annonCompField5 ;
247};
248# 16 "include/linux/dynamic_debug.h"
249struct _ddebug {
250 char const *modname ;
251 char const *function ;
252 char const *filename ;
253 char const *format ;
254 unsigned int lineno : 24 ;
255 unsigned int flags : 8 ;
256 char enabled ;
257} __attribute__((__aligned__(8))) ;
258# 10 "include/asm-generic/bug.h"
259struct bug_entry {
260 int bug_addr_disp ;
261 int file_disp ;
262 unsigned short line ;
263 unsigned short flags ;
264};
265# 113 "include/linux/kernel.h"
266struct completion;
267# 322 "include/linux/kernel.h"
268struct pid;
269# 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
270typedef unsigned long pgdval_t;
271# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
272typedef unsigned long pgprotval_t;
273# 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
274struct pgprot {
275 pgprotval_t pgprot ;
276};
277# 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
278typedef struct pgprot pgprot_t;
279# 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
280struct __anonstruct_pgd_t_17 {
281 pgdval_t pgd ;
282};
283# 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
284typedef struct __anonstruct_pgd_t_17 pgd_t;
285# 280 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
286typedef struct page *pgtable_t;
287# 311 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
288struct seq_file;
289# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
290struct __anonstruct____missing_field_name_22 {
291 unsigned int a ;
292 unsigned int b ;
293};
294# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
295struct __anonstruct____missing_field_name_23 {
296 u16 limit0 ;
297 u16 base0 ;
298 unsigned int base1 : 8 ;
299 unsigned int type : 4 ;
300 unsigned int s : 1 ;
301 unsigned int dpl : 2 ;
302 unsigned int p : 1 ;
303 unsigned int limit : 4 ;
304 unsigned int avl : 1 ;
305 unsigned int l : 1 ;
306 unsigned int d : 1 ;
307 unsigned int g : 1 ;
308 unsigned int base2 : 8 ;
309};
310# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
311union __anonunion____missing_field_name_21 {
312 struct __anonstruct____missing_field_name_22 __annonCompField7 ;
313 struct __anonstruct____missing_field_name_23 __annonCompField8 ;
314};
315# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
316struct desc_struct {
317 union __anonunion____missing_field_name_21 __annonCompField9 ;
318} __attribute__((__packed__)) ;
319# 46 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
320struct thread_struct;
321# 52 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
322struct cpumask;
323# 322 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
324struct arch_spinlock;
325# 13 "include/linux/cpumask.h"
326struct cpumask {
327 unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
328};
329# 13 "include/linux/cpumask.h"
330typedef struct cpumask cpumask_t;
331# 622 "include/linux/cpumask.h"
332typedef struct cpumask *cpumask_var_t;
333# 91 "include/linux/personality.h"
334struct map_segment;
335# 91 "include/linux/personality.h"
336struct exec_domain {
337 char const *name ;
338 void (*handler)(int , struct pt_regs * ) ;
339 unsigned char pers_low ;
340 unsigned char pers_high ;
341 unsigned long *signal_map ;
342 unsigned long *signal_invmap ;
343 struct map_segment *err_map ;
344 struct map_segment *socktype_map ;
345 struct map_segment *sockopt_map ;
346 struct map_segment *af_map ;
347 struct module *module ;
348 struct exec_domain *next ;
349};
350# 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
351struct seq_operations;
352# 280 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
353struct i387_fsave_struct {
354 u32 cwd ;
355 u32 swd ;
356 u32 twd ;
357 u32 fip ;
358 u32 fcs ;
359 u32 foo ;
360 u32 fos ;
361 u32 st_space[20] ;
362 u32 status ;
363};
364# 296 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
365struct __anonstruct____missing_field_name_31 {
366 u64 rip ;
367 u64 rdp ;
368};
369# 296 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
370struct __anonstruct____missing_field_name_32 {
371 u32 fip ;
372 u32 fcs ;
373 u32 foo ;
374 u32 fos ;
375};
376# 296 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
377union __anonunion____missing_field_name_30 {
378 struct __anonstruct____missing_field_name_31 __annonCompField12 ;
379 struct __anonstruct____missing_field_name_32 __annonCompField13 ;
380};
381# 296 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
382union __anonunion____missing_field_name_33 {
383 u32 padding1[12] ;
384 u32 sw_reserved[12] ;
385};
386# 296 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
387struct i387_fxsave_struct {
388 u16 cwd ;
389 u16 swd ;
390 u16 twd ;
391 u16 fop ;
392 union __anonunion____missing_field_name_30 __annonCompField14 ;
393 u32 mxcsr ;
394 u32 mxcsr_mask ;
395 u32 st_space[32] ;
396 u32 xmm_space[64] ;
397 u32 padding[12] ;
398 union __anonunion____missing_field_name_33 __annonCompField15 ;
399} __attribute__((__aligned__(16))) ;
400# 331 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
401struct i387_soft_struct {
402 u32 cwd ;
403 u32 swd ;
404 u32 twd ;
405 u32 fip ;
406 u32 fcs ;
407 u32 foo ;
408 u32 fos ;
409 u32 st_space[20] ;
410 u8 ftop ;
411 u8 changed ;
412 u8 lookahead ;
413 u8 no_update ;
414 u8 rm ;
415 u8 alimit ;
416 struct math_emu_info *info ;
417 u32 entry_eip ;
418};
419# 351 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
420struct ymmh_struct {
421 u32 ymmh_space[64] ;
422};
423# 356 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
424struct xsave_hdr_struct {
425 u64 xstate_bv ;
426 u64 reserved1[2] ;
427 u64 reserved2[5] ;
428} __attribute__((__packed__)) ;
429# 362 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
430struct xsave_struct {
431 struct i387_fxsave_struct i387 ;
432 struct xsave_hdr_struct xsave_hdr ;
433 struct ymmh_struct ymmh ;
434} __attribute__((__packed__, __aligned__(64))) ;
435# 369 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
436union thread_xstate {
437 struct i387_fsave_struct fsave ;
438 struct i387_fxsave_struct fxsave ;
439 struct i387_soft_struct soft ;
440 struct xsave_struct xsave ;
441};
442# 376 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
443struct fpu {
444 union thread_xstate *state ;
445};
446# 421 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
447struct kmem_cache;
448# 423 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
449struct perf_event;
450# 425 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
451struct thread_struct {
452 struct desc_struct tls_array[3] ;
453 unsigned long sp0 ;
454 unsigned long sp ;
455 unsigned long usersp ;
456 unsigned short es ;
457 unsigned short ds ;
458 unsigned short fsindex ;
459 unsigned short gsindex ;
460 unsigned long fs ;
461 unsigned long gs ;
462 struct perf_event *ptrace_bps[4] ;
463 unsigned long debugreg6 ;
464 unsigned long ptrace_dr7 ;
465 unsigned long cr2 ;
466 unsigned long trap_no ;
467 unsigned long error_code ;
468 struct fpu fpu ;
469 unsigned long *io_bitmap_ptr ;
470 unsigned long iopl ;
471 unsigned int io_bitmap_max ;
472};
473# 620 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
474struct __anonstruct_mm_segment_t_35 {
475 unsigned long seg ;
476};
477# 620 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
478typedef struct __anonstruct_mm_segment_t_35 mm_segment_t;
479# 23 "include/asm-generic/atomic-long.h"
480typedef atomic64_t atomic_long_t;
481# 26 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
482struct thread_info {
483 struct task_struct *task ;
484 struct exec_domain *exec_domain ;
485 __u32 flags ;
486 __u32 status ;
487 __u32 cpu ;
488 int preempt_count ;
489 mm_segment_t addr_limit ;
490 struct restart_block restart_block ;
491 void *sysenter_return ;
492 int uaccess_err ;
493};
494# 8 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
495struct arch_spinlock {
496 unsigned int slock ;
497};
498# 8 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
499typedef struct arch_spinlock arch_spinlock_t;
500# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
501struct __anonstruct_arch_rwlock_t_36 {
502 unsigned int lock ;
503};
504# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
505typedef struct __anonstruct_arch_rwlock_t_36 arch_rwlock_t;
506# 13 "include/linux/lockdep.h"
507struct lockdep_map;
508# 10 "include/linux/stacktrace.h"
509struct stack_trace {
510 unsigned int nr_entries ;
511 unsigned int max_entries ;
512 unsigned long *entries ;
513 int skip ;
514};
515# 50 "include/linux/lockdep.h"
516struct lockdep_subclass_key {
517 char __one_byte ;
518} __attribute__((__packed__)) ;
519# 54 "include/linux/lockdep.h"
520struct lock_class_key {
521 struct lockdep_subclass_key subkeys[8UL] ;
522};
523# 65 "include/linux/lockdep.h"
524struct lock_class {
525 struct list_head hash_entry ;
526 struct list_head lock_entry ;
527 struct lockdep_subclass_key *key ;
528 unsigned int subclass ;
529 unsigned int dep_gen_id ;
530 unsigned long usage_mask ;
531 struct stack_trace usage_traces[13] ;
532 struct list_head locks_after ;
533 struct list_head locks_before ;
534 unsigned int version ;
535 unsigned long ops ;
536 char const *name ;
537 int name_version ;
538 unsigned long contention_point[4] ;
539 unsigned long contending_point[4] ;
540};
541# 150 "include/linux/lockdep.h"
542struct lockdep_map {
543 struct lock_class_key *key ;
544 struct lock_class *class_cache[2] ;
545 char const *name ;
546 int cpu ;
547 unsigned long ip ;
548};
549# 196 "include/linux/lockdep.h"
550struct held_lock {
551 u64 prev_chain_key ;
552 unsigned long acquire_ip ;
553 struct lockdep_map *instance ;
554 struct lockdep_map *nest_lock ;
555 u64 waittime_stamp ;
556 u64 holdtime_stamp ;
557 unsigned int class_idx : 13 ;
558 unsigned int irq_context : 2 ;
559 unsigned int trylock : 1 ;
560 unsigned int read : 2 ;
561 unsigned int check : 2 ;
562 unsigned int hardirqs_off : 1 ;
563 unsigned int references : 11 ;
564};
565# 20 "include/linux/spinlock_types.h"
566struct raw_spinlock {
567 arch_spinlock_t raw_lock ;
568 unsigned int magic ;
569 unsigned int owner_cpu ;
570 void *owner ;
571 struct lockdep_map dep_map ;
572};
573# 20 "include/linux/spinlock_types.h"
574typedef struct raw_spinlock raw_spinlock_t;
575# 64 "include/linux/spinlock_types.h"
576struct __anonstruct____missing_field_name_38 {
577 u8 __padding[(unsigned int )(& ((struct raw_spinlock *)0)->dep_map)] ;
578 struct lockdep_map dep_map ;
579};
580# 64 "include/linux/spinlock_types.h"
581union __anonunion____missing_field_name_37 {
582 struct raw_spinlock rlock ;
583 struct __anonstruct____missing_field_name_38 __annonCompField17 ;
584};
585# 64 "include/linux/spinlock_types.h"
586struct spinlock {
587 union __anonunion____missing_field_name_37 __annonCompField18 ;
588};
589# 64 "include/linux/spinlock_types.h"
590typedef struct spinlock spinlock_t;
591# 11 "include/linux/rwlock_types.h"
592struct __anonstruct_rwlock_t_39 {
593 arch_rwlock_t raw_lock ;
594 unsigned int magic ;
595 unsigned int owner_cpu ;
596 void *owner ;
597 struct lockdep_map dep_map ;
598};
599# 11 "include/linux/rwlock_types.h"
600typedef struct __anonstruct_rwlock_t_39 rwlock_t;
601# 28 "include/linux/wait.h"
602struct __wait_queue;
603# 28 "include/linux/wait.h"
604typedef struct __wait_queue wait_queue_t;
605# 32 "include/linux/wait.h"
606struct __wait_queue {
607 unsigned int flags ;
608 void *private ;
609 int (*func)(wait_queue_t *wait , unsigned int mode , int flags , void *key ) ;
610 struct list_head task_list ;
611};
612# 50 "include/linux/wait.h"
613struct __wait_queue_head {
614 spinlock_t lock ;
615 struct list_head task_list ;
616};
617# 54 "include/linux/wait.h"
618typedef struct __wait_queue_head wait_queue_head_t;
619# 32 "include/linux/eventfd.h"
620struct eventfd_ctx;
621# 6 "include/asm-generic/scatterlist.h"
622struct scatterlist {
623 unsigned long sg_magic ;
624 unsigned long page_link ;
625 unsigned int offset ;
626 unsigned int length ;
627 dma_addr_t dma_address ;
628 unsigned int dma_length ;
629};
630# 119 "include/linux/seqlock.h"
631struct seqcount {
632 unsigned int sequence ;
633};
634# 119 "include/linux/seqlock.h"
635typedef struct seqcount seqcount_t;
636# 96 "include/linux/nodemask.h"
637struct __anonstruct_nodemask_t_41 {
638 unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
639};
640# 96 "include/linux/nodemask.h"
641typedef struct __anonstruct_nodemask_t_41 nodemask_t;
642# 48 "include/linux/mutex.h"
643struct mutex {
644 atomic_t count ;
645 spinlock_t wait_lock ;
646 struct list_head wait_list ;
647 struct task_struct *owner ;
648 char const *name ;
649 void *magic ;
650 struct lockdep_map dep_map ;
651};
652# 69 "include/linux/mutex.h"
653struct mutex_waiter {
654 struct list_head list ;
655 struct task_struct *task ;
656 void *magic ;
657};
658# 20 "include/linux/rwsem.h"
659struct rw_semaphore;
660# 26 "include/linux/rwsem.h"
661struct rw_semaphore {
662 long count ;
663 spinlock_t wait_lock ;
664 struct list_head wait_list ;
665 struct lockdep_map dep_map ;
666};
667# 177 "include/linux/ioport.h"
668struct device;
669# 14 "include/linux/time.h"
670struct timespec {
671 __kernel_time_t tv_sec ;
672 long tv_nsec ;
673};
674# 46 "include/linux/ktime.h"
675union ktime {
676 s64 tv64 ;
677};
678# 59 "include/linux/ktime.h"
679typedef union ktime ktime_t;
680# 10 "include/linux/timer.h"
681struct tvec_base;
682# 12 "include/linux/timer.h"
683struct timer_list {
684 struct list_head entry ;
685 unsigned long expires ;
686 struct tvec_base *base ;
687 void (*function)(unsigned long ) ;
688 unsigned long data ;
689 int slack ;
690 int start_pid ;
691 void *start_site ;
692 char start_comm[16] ;
693 struct lockdep_map lockdep_map ;
694};
695# 289 "include/linux/timer.h"
696struct hrtimer;
697# 290 "include/linux/timer.h"
698enum hrtimer_restart;
699# 290 "include/linux/timer.h"
700enum hrtimer_restart;
701# 17 "include/linux/workqueue.h"
702struct work_struct;
703# 79 "include/linux/workqueue.h"
704struct work_struct {
705 atomic_long_t data ;
706 struct list_head entry ;
707 void (*func)(struct work_struct *work ) ;
708 struct lockdep_map lockdep_map ;
709};
710# 92 "include/linux/workqueue.h"
711struct delayed_work {
712 struct work_struct work ;
713 struct timer_list timer ;
714};
715# 25 "include/linux/completion.h"
716struct completion {
717 unsigned int done ;
718 wait_queue_head_t wait ;
719};
720# 50 "include/linux/pm.h"
721struct pm_message {
722 int event ;
723};
724# 50 "include/linux/pm.h"
725typedef struct pm_message pm_message_t;
726# 204 "include/linux/pm.h"
727struct dev_pm_ops {
728 int (*prepare)(struct device *dev ) ;
729 void (*complete)(struct device *dev ) ;
730 int (*suspend)(struct device *dev ) ;
731 int (*resume)(struct device *dev ) ;
732 int (*freeze)(struct device *dev ) ;
733 int (*thaw)(struct device *dev ) ;
734 int (*poweroff)(struct device *dev ) ;
735 int (*restore)(struct device *dev ) ;
736 int (*suspend_noirq)(struct device *dev ) ;
737 int (*resume_noirq)(struct device *dev ) ;
738 int (*freeze_noirq)(struct device *dev ) ;
739 int (*thaw_noirq)(struct device *dev ) ;
740 int (*poweroff_noirq)(struct device *dev ) ;
741 int (*restore_noirq)(struct device *dev ) ;
742 int (*runtime_suspend)(struct device *dev ) ;
743 int (*runtime_resume)(struct device *dev ) ;
744 int (*runtime_idle)(struct device *dev ) ;
745};
746# 392 "include/linux/pm.h"
747enum rpm_status {
748 RPM_ACTIVE = 0,
749 RPM_RESUMING = 1,
750 RPM_SUSPENDED = 2,
751 RPM_SUSPENDING = 3
752} ;
753# 414 "include/linux/pm.h"
754enum rpm_request {
755 RPM_REQ_NONE = 0,
756 RPM_REQ_IDLE = 1,
757 RPM_REQ_SUSPEND = 2,
758 RPM_REQ_AUTOSUSPEND = 3,
759 RPM_REQ_RESUME = 4
760} ;
761# 422 "include/linux/pm.h"
762struct wakeup_source;
763# 424 "include/linux/pm.h"
764struct dev_pm_info {
765 pm_message_t power_state ;
766 unsigned int can_wakeup : 1 ;
767 unsigned int async_suspend : 1 ;
768 bool is_prepared : 1 ;
769 bool is_suspended : 1 ;
770 spinlock_t lock ;
771 struct list_head entry ;
772 struct completion completion ;
773 struct wakeup_source *wakeup ;
774 struct timer_list suspend_timer ;
775 unsigned long timer_expires ;
776 struct work_struct work ;
777 wait_queue_head_t wait_queue ;
778 atomic_t usage_count ;
779 atomic_t child_count ;
780 unsigned int disable_depth : 3 ;
781 unsigned int ignore_children : 1 ;
782 unsigned int idle_notification : 1 ;
783 unsigned int request_pending : 1 ;
784 unsigned int deferred_resume : 1 ;
785 unsigned int run_wake : 1 ;
786 unsigned int runtime_auto : 1 ;
787 unsigned int no_callbacks : 1 ;
788 unsigned int irq_safe : 1 ;
789 unsigned int use_autosuspend : 1 ;
790 unsigned int timer_autosuspends : 1 ;
791 enum rpm_request request ;
792 enum rpm_status runtime_status ;
793 int runtime_error ;
794 int autosuspend_delay ;
795 unsigned long last_busy ;
796 unsigned long active_jiffies ;
797 unsigned long suspended_jiffies ;
798 unsigned long accounting_timestamp ;
799 void *subsys_data ;
800};
801# 475 "include/linux/pm.h"
802struct dev_power_domain {
803 struct dev_pm_ops ops ;
804};
805# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
806struct __anonstruct_mm_context_t_111 {
807 void *ldt ;
808 int size ;
809 unsigned short ia32_compat ;
810 struct mutex lock ;
811 void *vdso ;
812};
813# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
814typedef struct __anonstruct_mm_context_t_111 mm_context_t;
815# 8 "include/linux/vmalloc.h"
816struct vm_area_struct;
817# 100 "include/linux/rbtree.h"
818struct rb_node {
819 unsigned long rb_parent_color ;
820 struct rb_node *rb_right ;
821 struct rb_node *rb_left ;
822} __attribute__((__aligned__(sizeof(long )))) ;
823# 110 "include/linux/rbtree.h"
824struct rb_root {
825 struct rb_node *rb_node ;
826};
827# 14 "include/linux/prio_tree.h"
828struct prio_tree_node;
829# 14 "include/linux/prio_tree.h"
830struct raw_prio_tree_node {
831 struct prio_tree_node *left ;
832 struct prio_tree_node *right ;
833 struct prio_tree_node *parent ;
834};
835# 20 "include/linux/prio_tree.h"
836struct prio_tree_node {
837 struct prio_tree_node *left ;
838 struct prio_tree_node *right ;
839 struct prio_tree_node *parent ;
840 unsigned long start ;
841 unsigned long last ;
842};
843# 28 "include/linux/prio_tree.h"
844struct prio_tree_root {
845 struct prio_tree_node *prio_tree_node ;
846 unsigned short index_bits ;
847 unsigned short raw ;
848};
849# 23 "include/linux/mm_types.h"
850struct address_space;
851# 34 "include/linux/mm_types.h"
852struct __anonstruct____missing_field_name_136 {
853 u16 inuse ;
854 u16 objects ;
855};
856# 34 "include/linux/mm_types.h"
857union __anonunion____missing_field_name_135 {
858 atomic_t _mapcount ;
859 struct __anonstruct____missing_field_name_136 __annonCompField29 ;
860};
861# 34 "include/linux/mm_types.h"
862struct __anonstruct____missing_field_name_138 {
863 unsigned long private ;
864 struct address_space *mapping ;
865};
866# 34 "include/linux/mm_types.h"
867union __anonunion____missing_field_name_137 {
868 struct __anonstruct____missing_field_name_138 __annonCompField31 ;
869 struct kmem_cache *slab ;
870 struct page *first_page ;
871};
872# 34 "include/linux/mm_types.h"
873union __anonunion____missing_field_name_139 {
874 unsigned long index ;
875 void *freelist ;
876};
877# 34 "include/linux/mm_types.h"
878struct page {
879 unsigned long flags ;
880 atomic_t _count ;
881 union __anonunion____missing_field_name_135 __annonCompField30 ;
882 union __anonunion____missing_field_name_137 __annonCompField32 ;
883 union __anonunion____missing_field_name_139 __annonCompField33 ;
884 struct list_head lru ;
885};
886# 132 "include/linux/mm_types.h"
887struct __anonstruct_vm_set_141 {
888 struct list_head list ;
889 void *parent ;
890 struct vm_area_struct *head ;
891};
892# 132 "include/linux/mm_types.h"
893union __anonunion_shared_140 {
894 struct __anonstruct_vm_set_141 vm_set ;
895 struct raw_prio_tree_node prio_tree_node ;
896};
897# 132 "include/linux/mm_types.h"
898struct anon_vma;
899# 132 "include/linux/mm_types.h"
900struct vm_operations_struct;
901# 132 "include/linux/mm_types.h"
902struct mempolicy;
903# 132 "include/linux/mm_types.h"
904struct vm_area_struct {
905 struct mm_struct *vm_mm ;
906 unsigned long vm_start ;
907 unsigned long vm_end ;
908 struct vm_area_struct *vm_next ;
909 struct vm_area_struct *vm_prev ;
910 pgprot_t vm_page_prot ;
911 unsigned long vm_flags ;
912 struct rb_node vm_rb ;
913 union __anonunion_shared_140 shared ;
914 struct list_head anon_vma_chain ;
915 struct anon_vma *anon_vma ;
916 struct vm_operations_struct const *vm_ops ;
917 unsigned long vm_pgoff ;
918 struct file *vm_file ;
919 void *vm_private_data ;
920 struct mempolicy *vm_policy ;
921};
922# 189 "include/linux/mm_types.h"
923struct core_thread {
924 struct task_struct *task ;
925 struct core_thread *next ;
926};
927# 194 "include/linux/mm_types.h"
928struct core_state {
929 atomic_t nr_threads ;
930 struct core_thread dumper ;
931 struct completion startup ;
932};
933# 216 "include/linux/mm_types.h"
934struct mm_rss_stat {
935 atomic_long_t count[3] ;
936};
937# 220 "include/linux/mm_types.h"
938struct linux_binfmt;
939# 220 "include/linux/mm_types.h"
940struct mmu_notifier_mm;
941# 220 "include/linux/mm_types.h"
942struct mm_struct {
943 struct vm_area_struct *mmap ;
944 struct rb_root mm_rb ;
945 struct vm_area_struct *mmap_cache ;
946 unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
947 unsigned long pgoff , unsigned long flags ) ;
948 void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
949 unsigned long mmap_base ;
950 unsigned long task_size ;
951 unsigned long cached_hole_size ;
952 unsigned long free_area_cache ;
953 pgd_t *pgd ;
954 atomic_t mm_users ;
955 atomic_t mm_count ;
956 int map_count ;
957 spinlock_t page_table_lock ;
958 struct rw_semaphore mmap_sem ;
959 struct list_head mmlist ;
960 unsigned long hiwater_rss ;
961 unsigned long hiwater_vm ;
962 unsigned long total_vm ;
963 unsigned long locked_vm ;
964 unsigned long shared_vm ;
965 unsigned long exec_vm ;
966 unsigned long stack_vm ;
967 unsigned long reserved_vm ;
968 unsigned long def_flags ;
969 unsigned long nr_ptes ;
970 unsigned long start_code ;
971 unsigned long end_code ;
972 unsigned long start_data ;
973 unsigned long end_data ;
974 unsigned long start_brk ;
975 unsigned long brk ;
976 unsigned long start_stack ;
977 unsigned long arg_start ;
978 unsigned long arg_end ;
979 unsigned long env_start ;
980 unsigned long env_end ;
981 unsigned long saved_auxv[44] ;
982 struct mm_rss_stat rss_stat ;
983 struct linux_binfmt *binfmt ;
984 cpumask_var_t cpu_vm_mask_var ;
985 mm_context_t context ;
986 unsigned int faultstamp ;
987 unsigned int token_priority ;
988 unsigned int last_interval ;
989 atomic_t oom_disable_count ;
990 unsigned long flags ;
991 struct core_state *core_state ;
992 spinlock_t ioctx_lock ;
993 struct hlist_head ioctx_list ;
994 struct task_struct *owner ;
995 struct file *exe_file ;
996 unsigned long num_exe_file_vmas ;
997 struct mmu_notifier_mm *mmu_notifier_mm ;
998 pgtable_t pmd_huge_pte ;
999 struct cpumask cpumask_allocation ;
1000};
1001# 21 "include/linux/mm.h"
1002struct file_ra_state;
1003# 22 "include/linux/mm.h"
1004struct user_struct;
1005# 23 "include/linux/mm.h"
1006struct writeback_control;
1007# 185 "include/linux/mm.h"
1008struct vm_fault {
1009 unsigned int flags ;
1010 unsigned long pgoff ;
1011 void *virtual_address ;
1012 struct page *page ;
1013};
1014# 202 "include/linux/mm.h"
1015struct vm_operations_struct {
1016 void (*open)(struct vm_area_struct *area ) ;
1017 void (*close)(struct vm_area_struct *area ) ;
1018 int (*fault)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
1019 int (*page_mkwrite)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
1020 int (*access)(struct vm_area_struct *vma , unsigned long addr , void *buf , int len ,
1021 int write ) ;
1022 int (*set_policy)(struct vm_area_struct *vma , struct mempolicy *new ) ;
1023 struct mempolicy *(*get_policy)(struct vm_area_struct *vma , unsigned long addr ) ;
1024 int (*migrate)(struct vm_area_struct *vma , nodemask_t const *from , nodemask_t const *to ,
1025 unsigned long flags ) ;
1026};
1027# 244 "include/linux/mm.h"
1028struct inode;
1029# 20 "include/linux/kobject_ns.h"
1030struct sock;
1031# 21 "include/linux/kobject_ns.h"
1032struct kobject;
1033# 27 "include/linux/kobject_ns.h"
1034enum kobj_ns_type {
1035 KOBJ_NS_TYPE_NONE = 0,
1036 KOBJ_NS_TYPE_NET = 1,
1037 KOBJ_NS_TYPES = 2
1038} ;
1039# 40 "include/linux/kobject_ns.h"
1040struct kobj_ns_type_operations {
1041 enum kobj_ns_type type ;
1042 void *(*grab_current_ns)(void) ;
1043 void const *(*netlink_ns)(struct sock *sk ) ;
1044 void const *(*initial_ns)(void) ;
1045 void (*drop_ns)(void * ) ;
1046};
1047# 24 "include/linux/sysfs.h"
1048enum kobj_ns_type;
1049# 26 "include/linux/sysfs.h"
1050struct attribute {
1051 char const *name ;
1052 mode_t mode ;
1053 struct lock_class_key *key ;
1054 struct lock_class_key skey ;
1055};
1056# 56 "include/linux/sysfs.h"
1057struct attribute_group {
1058 char const *name ;
1059 mode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1060 struct attribute **attrs ;
1061};
1062# 88 "include/linux/sysfs.h"
1063struct bin_attribute {
1064 struct attribute attr ;
1065 size_t size ;
1066 void *private ;
1067 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1068 loff_t , size_t ) ;
1069 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1070 loff_t , size_t ) ;
1071 int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
1072};
1073# 112 "include/linux/sysfs.h"
1074struct sysfs_ops {
1075 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1076 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1077};
1078# 117 "include/linux/sysfs.h"
1079struct sysfs_dirent;
1080# 20 "include/linux/kref.h"
1081struct kref {
1082 atomic_t refcount ;
1083};
1084# 60 "include/linux/kobject.h"
1085struct kset;
1086# 60 "include/linux/kobject.h"
1087struct kobj_type;
1088# 60 "include/linux/kobject.h"
1089struct kobject {
1090 char const *name ;
1091 struct list_head entry ;
1092 struct kobject *parent ;
1093 struct kset *kset ;
1094 struct kobj_type *ktype ;
1095 struct sysfs_dirent *sd ;
1096 struct kref kref ;
1097 unsigned int state_initialized : 1 ;
1098 unsigned int state_in_sysfs : 1 ;
1099 unsigned int state_add_uevent_sent : 1 ;
1100 unsigned int state_remove_uevent_sent : 1 ;
1101 unsigned int uevent_suppress : 1 ;
1102};
1103# 110 "include/linux/kobject.h"
1104struct kobj_type {
1105 void (*release)(struct kobject *kobj ) ;
1106 struct sysfs_ops const *sysfs_ops ;
1107 struct attribute **default_attrs ;
1108 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject *kobj ) ;
1109 void const *(*namespace)(struct kobject *kobj ) ;
1110};
1111# 118 "include/linux/kobject.h"
1112struct kobj_uevent_env {
1113 char *envp[32] ;
1114 int envp_idx ;
1115 char buf[2048] ;
1116 int buflen ;
1117};
1118# 125 "include/linux/kobject.h"
1119struct kset_uevent_ops {
1120 int (* const filter)(struct kset *kset , struct kobject *kobj ) ;
1121 char const *(* const name)(struct kset *kset , struct kobject *kobj ) ;
1122 int (* const uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
1123};
1124# 161 "include/linux/kobject.h"
1125struct kset {
1126 struct list_head list ;
1127 spinlock_t list_lock ;
1128 struct kobject kobj ;
1129 struct kset_uevent_ops const *uevent_ops ;
1130};
1131# 19 "include/linux/klist.h"
1132struct klist_node;
1133# 39 "include/linux/klist.h"
1134struct klist_node {
1135 void *n_klist ;
1136 struct list_head n_node ;
1137 struct kref n_ref ;
1138};
1139# 62 "include/linux/stat.h"
1140struct kstat {
1141 u64 ino ;
1142 dev_t dev ;
1143 umode_t mode ;
1144 unsigned int nlink ;
1145 uid_t uid ;
1146 gid_t gid ;
1147 dev_t rdev ;
1148 loff_t size ;
1149 struct timespec atime ;
1150 struct timespec mtime ;
1151 struct timespec ctime ;
1152 unsigned long blksize ;
1153 unsigned long long blocks ;
1154};
1155# 72 "include/linux/rcupdate.h"
1156struct rcu_head {
1157 struct rcu_head *next ;
1158 void (*func)(struct rcu_head *head ) ;
1159};
1160# 937 "include/linux/sysctl.h"
1161struct nsproxy;
1162# 48 "include/linux/kmod.h"
1163struct cred;
1164# 27 "include/linux/elf.h"
1165typedef __u64 Elf64_Addr;
1166# 28 "include/linux/elf.h"
1167typedef __u16 Elf64_Half;
1168# 32 "include/linux/elf.h"
1169typedef __u32 Elf64_Word;
1170# 33 "include/linux/elf.h"
1171typedef __u64 Elf64_Xword;
1172# 203 "include/linux/elf.h"
1173struct elf64_sym {
1174 Elf64_Word st_name ;
1175 unsigned char st_info ;
1176 unsigned char st_other ;
1177 Elf64_Half st_shndx ;
1178 Elf64_Addr st_value ;
1179 Elf64_Xword st_size ;
1180};
1181# 203 "include/linux/elf.h"
1182typedef struct elf64_sym Elf64_Sym;
1183# 34 "include/linux/moduleparam.h"
1184struct kernel_param;
1185# 36 "include/linux/moduleparam.h"
1186struct kernel_param_ops {
1187 int (*set)(char const *val , struct kernel_param const *kp ) ;
1188 int (*get)(char *buffer , struct kernel_param const *kp ) ;
1189 void (*free)(void *arg ) ;
1190};
1191# 48 "include/linux/moduleparam.h"
1192struct kparam_string;
1193# 48 "include/linux/moduleparam.h"
1194struct kparam_array;
1195# 48 "include/linux/moduleparam.h"
1196union __anonunion____missing_field_name_203 {
1197 void *arg ;
1198 struct kparam_string const *str ;
1199 struct kparam_array const *arr ;
1200};
1201# 48 "include/linux/moduleparam.h"
1202struct kernel_param {
1203 char const *name ;
1204 struct kernel_param_ops const *ops ;
1205 u16 perm ;
1206 u16 flags ;
1207 union __anonunion____missing_field_name_203 __annonCompField36 ;
1208};
1209# 61 "include/linux/moduleparam.h"
1210struct kparam_string {
1211 unsigned int maxlen ;
1212 char *string ;
1213};
1214# 67 "include/linux/moduleparam.h"
1215struct kparam_array {
1216 unsigned int max ;
1217 unsigned int elemsize ;
1218 unsigned int *num ;
1219 struct kernel_param_ops const *ops ;
1220 void *elem ;
1221};
1222# 61 "include/linux/jump_label.h"
1223struct jump_label_key {
1224 atomic_t enabled ;
1225};
1226# 23 "include/linux/tracepoint.h"
1227struct tracepoint;
1228# 25 "include/linux/tracepoint.h"
1229struct tracepoint_func {
1230 void *func ;
1231 void *data ;
1232};
1233# 30 "include/linux/tracepoint.h"
1234struct tracepoint {
1235 char const *name ;
1236 struct jump_label_key key ;
1237 void (*regfunc)(void) ;
1238 void (*unregfunc)(void) ;
1239 struct tracepoint_func *funcs ;
1240};
1241# 8 "include/asm-generic/module.h"
1242struct mod_arch_specific {
1243
1244};
1245# 37 "include/linux/module.h"
1246struct kernel_symbol {
1247 unsigned long value ;
1248 char const *name ;
1249};
1250# 51 "include/linux/module.h"
1251struct module_attribute {
1252 struct attribute attr ;
1253 ssize_t (*show)(struct module_attribute * , struct module * , char * ) ;
1254 ssize_t (*store)(struct module_attribute * , struct module * , char const * ,
1255 size_t count ) ;
1256 void (*setup)(struct module * , char const * ) ;
1257 int (*test)(struct module * ) ;
1258 void (*free)(struct module * ) ;
1259};
1260# 70 "include/linux/module.h"
1261struct module_param_attrs;
1262# 70 "include/linux/module.h"
1263struct module_kobject {
1264 struct kobject kobj ;
1265 struct module *mod ;
1266 struct kobject *drivers_dir ;
1267 struct module_param_attrs *mp ;
1268};
1269# 83 "include/linux/module.h"
1270struct exception_table_entry;
1271# 265 "include/linux/module.h"
1272enum module_state {
1273 MODULE_STATE_LIVE = 0,
1274 MODULE_STATE_COMING = 1,
1275 MODULE_STATE_GOING = 2
1276} ;
1277# 272 "include/linux/module.h"
1278struct module_sect_attrs;
1279# 272 "include/linux/module.h"
1280struct module_notes_attrs;
1281# 272 "include/linux/module.h"
1282struct ftrace_event_call;
1283# 272 "include/linux/module.h"
1284struct module_ref {
1285 unsigned int incs ;
1286 unsigned int decs ;
1287};
1288# 272 "include/linux/module.h"
1289struct module {
1290 enum module_state state ;
1291 struct list_head list ;
1292 char name[64UL - sizeof(unsigned long )] ;
1293 struct module_kobject mkobj ;
1294 struct module_attribute *modinfo_attrs ;
1295 char const *version ;
1296 char const *srcversion ;
1297 struct kobject *holders_dir ;
1298 struct kernel_symbol const *syms ;
1299 unsigned long const *crcs ;
1300 unsigned int num_syms ;
1301 struct kernel_param *kp ;
1302 unsigned int num_kp ;
1303 unsigned int num_gpl_syms ;
1304 struct kernel_symbol const *gpl_syms ;
1305 unsigned long const *gpl_crcs ;
1306 struct kernel_symbol const *unused_syms ;
1307 unsigned long const *unused_crcs ;
1308 unsigned int num_unused_syms ;
1309 unsigned int num_unused_gpl_syms ;
1310 struct kernel_symbol const *unused_gpl_syms ;
1311 unsigned long const *unused_gpl_crcs ;
1312 struct kernel_symbol const *gpl_future_syms ;
1313 unsigned long const *gpl_future_crcs ;
1314 unsigned int num_gpl_future_syms ;
1315 unsigned int num_exentries ;
1316 struct exception_table_entry *extable ;
1317 int (*init)(void) ;
1318 void *module_init ;
1319 void *module_core ;
1320 unsigned int init_size ;
1321 unsigned int core_size ;
1322 unsigned int init_text_size ;
1323 unsigned int core_text_size ;
1324 unsigned int init_ro_size ;
1325 unsigned int core_ro_size ;
1326 struct mod_arch_specific arch ;
1327 unsigned int taints ;
1328 unsigned int num_bugs ;
1329 struct list_head bug_list ;
1330 struct bug_entry *bug_table ;
1331 Elf64_Sym *symtab ;
1332 Elf64_Sym *core_symtab ;
1333 unsigned int num_symtab ;
1334 unsigned int core_num_syms ;
1335 char *strtab ;
1336 char *core_strtab ;
1337 struct module_sect_attrs *sect_attrs ;
1338 struct module_notes_attrs *notes_attrs ;
1339 char *args ;
1340 void *percpu ;
1341 unsigned int percpu_size ;
1342 unsigned int num_tracepoints ;
1343 struct tracepoint * const *tracepoints_ptrs ;
1344 unsigned int num_trace_bprintk_fmt ;
1345 char const **trace_bprintk_fmt_start ;
1346 struct ftrace_event_call **trace_events ;
1347 unsigned int num_trace_events ;
1348 unsigned int num_ftrace_callsites ;
1349 unsigned long *ftrace_callsites ;
1350 struct list_head source_list ;
1351 struct list_head target_list ;
1352 struct task_struct *waiter ;
1353 void (*exit)(void) ;
1354 struct module_ref *refptr ;
1355 ctor_fn_t *ctors ;
1356 unsigned int num_ctors ;
1357};
1358# 4 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
1359struct dma_map_ops;
1360# 4 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
1361struct dev_archdata {
1362 void *acpi_handle ;
1363 struct dma_map_ops *dma_ops ;
1364 void *iommu ;
1365};
1366# 29 "include/linux/device.h"
1367struct device_private;
1368# 30 "include/linux/device.h"
1369struct device_driver;
1370# 31 "include/linux/device.h"
1371struct driver_private;
1372# 32 "include/linux/device.h"
1373struct class;
1374# 33 "include/linux/device.h"
1375struct subsys_private;
1376# 34 "include/linux/device.h"
1377struct bus_type;
1378# 35 "include/linux/device.h"
1379struct device_node;
1380# 37 "include/linux/device.h"
1381struct bus_attribute {
1382 struct attribute attr ;
1383 ssize_t (*show)(struct bus_type *bus , char *buf ) ;
1384 ssize_t (*store)(struct bus_type *bus , char const *buf , size_t count ) ;
1385};
1386# 82 "include/linux/device.h"
1387struct device_attribute;
1388# 82 "include/linux/device.h"
1389struct driver_attribute;
1390# 82 "include/linux/device.h"
1391struct bus_type {
1392 char const *name ;
1393 struct bus_attribute *bus_attrs ;
1394 struct device_attribute *dev_attrs ;
1395 struct driver_attribute *drv_attrs ;
1396 int (*match)(struct device *dev , struct device_driver *drv ) ;
1397 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1398 int (*probe)(struct device *dev ) ;
1399 int (*remove)(struct device *dev ) ;
1400 void (*shutdown)(struct device *dev ) ;
1401 int (*suspend)(struct device *dev , pm_message_t state ) ;
1402 int (*resume)(struct device *dev ) ;
1403 struct dev_pm_ops const *pm ;
1404 struct subsys_private *p ;
1405};
1406# 185 "include/linux/device.h"
1407struct of_device_id;
1408# 185 "include/linux/device.h"
1409struct device_driver {
1410 char const *name ;
1411 struct bus_type *bus ;
1412 struct module *owner ;
1413 char const *mod_name ;
1414 bool suppress_bind_attrs ;
1415 struct of_device_id const *of_match_table ;
1416 int (*probe)(struct device *dev ) ;
1417 int (*remove)(struct device *dev ) ;
1418 void (*shutdown)(struct device *dev ) ;
1419 int (*suspend)(struct device *dev , pm_message_t state ) ;
1420 int (*resume)(struct device *dev ) ;
1421 struct attribute_group const **groups ;
1422 struct dev_pm_ops const *pm ;
1423 struct driver_private *p ;
1424};
1425# 222 "include/linux/device.h"
1426struct driver_attribute {
1427 struct attribute attr ;
1428 ssize_t (*show)(struct device_driver *driver , char *buf ) ;
1429 ssize_t (*store)(struct device_driver *driver , char const *buf , size_t count ) ;
1430};
1431# 280 "include/linux/device.h"
1432struct class_attribute;
1433# 280 "include/linux/device.h"
1434struct class {
1435 char const *name ;
1436 struct module *owner ;
1437 struct class_attribute *class_attrs ;
1438 struct device_attribute *dev_attrs ;
1439 struct bin_attribute *dev_bin_attrs ;
1440 struct kobject *dev_kobj ;
1441 int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1442 char *(*devnode)(struct device *dev , mode_t *mode ) ;
1443 void (*class_release)(struct class *class ) ;
1444 void (*dev_release)(struct device *dev ) ;
1445 int (*suspend)(struct device *dev , pm_message_t state ) ;
1446 int (*resume)(struct device *dev ) ;
1447 struct kobj_ns_type_operations const *ns_type ;
1448 void const *(*namespace)(struct device *dev ) ;
1449 struct dev_pm_ops const *pm ;
1450 struct subsys_private *p ;
1451};
1452# 306 "include/linux/device.h"
1453struct device_type;
1454# 347 "include/linux/device.h"
1455struct class_attribute {
1456 struct attribute attr ;
1457 ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
1458 ssize_t (*store)(struct class *class , struct class_attribute *attr , char const *buf ,
1459 size_t count ) ;
1460};
1461# 413 "include/linux/device.h"
1462struct device_type {
1463 char const *name ;
1464 struct attribute_group const **groups ;
1465 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1466 char *(*devnode)(struct device *dev , mode_t *mode ) ;
1467 void (*release)(struct device *dev ) ;
1468 struct dev_pm_ops const *pm ;
1469};
1470# 424 "include/linux/device.h"
1471struct device_attribute {
1472 struct attribute attr ;
1473 ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
1474 ssize_t (*store)(struct device *dev , struct device_attribute *attr , char const *buf ,
1475 size_t count ) ;
1476};
1477# 484 "include/linux/device.h"
1478struct device_dma_parameters {
1479 unsigned int max_segment_size ;
1480 unsigned long segment_boundary_mask ;
1481};
1482# 551 "include/linux/device.h"
1483struct dma_coherent_mem;
1484# 551 "include/linux/device.h"
1485struct device {
1486 struct device *parent ;
1487 struct device_private *p ;
1488 struct kobject kobj ;
1489 char const *init_name ;
1490 struct device_type const *type ;
1491 struct mutex mutex ;
1492 struct bus_type *bus ;
1493 struct device_driver *driver ;
1494 void *platform_data ;
1495 struct dev_pm_info power ;
1496 struct dev_power_domain *pwr_domain ;
1497 int numa_node ;
1498 u64 *dma_mask ;
1499 u64 coherent_dma_mask ;
1500 struct device_dma_parameters *dma_parms ;
1501 struct list_head dma_pools ;
1502 struct dma_coherent_mem *dma_mem ;
1503 struct dev_archdata archdata ;
1504 struct device_node *of_node ;
1505 dev_t devt ;
1506 spinlock_t devres_lock ;
1507 struct list_head devres_head ;
1508 struct klist_node knode_class ;
1509 struct class *class ;
1510 struct attribute_group const **groups ;
1511 void (*release)(struct device *dev ) ;
1512};
1513# 43 "include/linux/pm_wakeup.h"
1514struct wakeup_source {
1515 char *name ;
1516 struct list_head entry ;
1517 spinlock_t lock ;
1518 struct timer_list timer ;
1519 unsigned long timer_expires ;
1520 ktime_t total_time ;
1521 ktime_t max_time ;
1522 ktime_t last_time ;
1523 unsigned long event_count ;
1524 unsigned long active_count ;
1525 unsigned long relax_count ;
1526 unsigned long hit_count ;
1527 unsigned int active : 1 ;
1528};
1529# 219 "include/linux/mod_devicetable.h"
1530struct of_device_id {
1531 char name[32] ;
1532 char type[32] ;
1533 char compatible[128] ;
1534 void *data ;
1535};
1536# 62 "include/linux/virtio_ring.h"
1537struct vring_desc {
1538 __u64 addr ;
1539 __u32 len ;
1540 __u16 flags ;
1541 __u16 next ;
1542};
1543# 73 "include/linux/virtio_ring.h"
1544struct vring_avail {
1545 __u16 flags ;
1546 __u16 idx ;
1547 __u16 ring[] ;
1548};
1549# 80 "include/linux/virtio_ring.h"
1550struct vring_used_elem {
1551 __u32 id ;
1552 __u32 len ;
1553};
1554# 87 "include/linux/virtio_ring.h"
1555struct vring_used {
1556 __u16 flags ;
1557 __u16 idx ;
1558 struct vring_used_elem ring[] ;
1559};
1560# 10 "include/linux/irqreturn.h"
1561enum irqreturn {
1562 IRQ_NONE = 0,
1563 IRQ_HANDLED = 1,
1564 IRQ_WAKE_THREAD = 2
1565} ;
1566# 16 "include/linux/irqreturn.h"
1567typedef enum irqreturn irqreturn_t;
1568# 19 "include/linux/vhost.h"
1569struct vhost_vring_state {
1570 unsigned int index ;
1571 unsigned int num ;
1572};
1573# 24 "include/linux/vhost.h"
1574struct vhost_vring_file {
1575 unsigned int index ;
1576 int fd ;
1577};
1578# 30 "include/linux/vhost.h"
1579struct vhost_vring_addr {
1580 unsigned int index ;
1581 unsigned int flags ;
1582 __u64 desc_user_addr ;
1583 __u64 used_user_addr ;
1584 __u64 avail_user_addr ;
1585 __u64 log_guest_addr ;
1586};
1587# 50 "include/linux/vhost.h"
1588struct vhost_memory_region {
1589 __u64 guest_phys_addr ;
1590 __u64 memory_size ;
1591 __u64 userspace_addr ;
1592 __u64 flags_padding ;
1593};
1594# 60 "include/linux/vhost.h"
1595struct vhost_memory {
1596 __u32 nregions ;
1597 __u32 padding ;
1598 struct vhost_memory_region regions[0] ;
1599};
1600# 16 "include/linux/uio.h"
1601struct iovec {
1602 void *iov_base ;
1603 __kernel_size_t iov_len ;
1604};
1605# 65 "include/linux/net.h"
1606struct poll_table_struct;
1607# 66 "include/linux/net.h"
1608struct pipe_inode_info;
1609# 121 "include/linux/net.h"
1610struct fasync_struct;
1611# 156 "include/linux/net.h"
1612struct kiocb;
1613# 38 "include/linux/slub_def.h"
1614struct kmem_cache_cpu {
1615 void **freelist ;
1616 unsigned long tid ;
1617 struct page *page ;
1618 int node ;
1619 unsigned int stat[19] ;
1620};
1621# 48 "include/linux/slub_def.h"
1622struct kmem_cache_node {
1623 spinlock_t list_lock ;
1624 unsigned long nr_partial ;
1625 struct list_head partial ;
1626 atomic_long_t nr_slabs ;
1627 atomic_long_t total_objects ;
1628 struct list_head full ;
1629};
1630# 64 "include/linux/slub_def.h"
1631struct kmem_cache_order_objects {
1632 unsigned long x ;
1633};
1634# 71 "include/linux/slub_def.h"
1635struct kmem_cache {
1636 struct kmem_cache_cpu *cpu_slab ;
1637 unsigned long flags ;
1638 unsigned long min_partial ;
1639 int size ;
1640 int objsize ;
1641 int offset ;
1642 struct kmem_cache_order_objects oo ;
1643 struct kmem_cache_order_objects max ;
1644 struct kmem_cache_order_objects min ;
1645 gfp_t allocflags ;
1646 int refcount ;
1647 void (*ctor)(void * ) ;
1648 int inuse ;
1649 int align ;
1650 int reserved ;
1651 char const *name ;
1652 struct list_head list ;
1653 struct kobject kobj ;
1654 int remote_node_defrag_ratio ;
1655 struct kmem_cache_node *node[1 << 10] ;
1656};
1657# 94 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess.h"
1658struct exception_table_entry {
1659 unsigned long insn ;
1660 unsigned long fixup ;
1661};
1662# 431 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess.h"
1663struct __large_struct {
1664 unsigned long buf[100] ;
1665};
1666# 25 "include/linux/dma-attrs.h"
1667struct dma_attrs {
1668 unsigned long flags[((2UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
1669};
1670# 11 "include/linux/dma-mapping.h"
1671enum dma_data_direction {
1672 DMA_BIDIRECTIONAL = 0,
1673 DMA_TO_DEVICE = 1,
1674 DMA_FROM_DEVICE = 2,
1675 DMA_NONE = 3
1676} ;
1677# 18 "include/linux/dma-mapping.h"
1678struct dma_map_ops {
1679 void *(*alloc_coherent)(struct device *dev , size_t size , dma_addr_t *dma_handle ,
1680 gfp_t gfp ) ;
1681 void (*free_coherent)(struct device *dev , size_t size , void *vaddr , dma_addr_t dma_handle ) ;
1682 dma_addr_t (*map_page)(struct device *dev , struct page *page , unsigned long offset ,
1683 size_t size , enum dma_data_direction dir , struct dma_attrs *attrs ) ;
1684 void (*unmap_page)(struct device *dev , dma_addr_t dma_handle , size_t size , enum dma_data_direction dir ,
1685 struct dma_attrs *attrs ) ;
1686 int (*map_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
1687 struct dma_attrs *attrs ) ;
1688 void (*unmap_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
1689 struct dma_attrs *attrs ) ;
1690 void (*sync_single_for_cpu)(struct device *dev , dma_addr_t dma_handle , size_t size ,
1691 enum dma_data_direction dir ) ;
1692 void (*sync_single_for_device)(struct device *dev , dma_addr_t dma_handle , size_t size ,
1693 enum dma_data_direction dir ) ;
1694 void (*sync_sg_for_cpu)(struct device *dev , struct scatterlist *sg , int nents ,
1695 enum dma_data_direction dir ) ;
1696 void (*sync_sg_for_device)(struct device *dev , struct scatterlist *sg , int nents ,
1697 enum dma_data_direction dir ) ;
1698 int (*mapping_error)(struct device *dev , dma_addr_t dma_addr ) ;
1699 int (*dma_supported)(struct device *dev , u64 mask ) ;
1700 int (*set_dma_mask)(struct device *dev , u64 mask ) ;
1701 int is_phys ;
1702};
1703# 8 "include/linux/timerqueue.h"
1704struct timerqueue_node {
1705 struct rb_node node ;
1706 ktime_t expires ;
1707};
1708# 13 "include/linux/timerqueue.h"
1709struct timerqueue_head {
1710 struct rb_root head ;
1711 struct timerqueue_node *next ;
1712};
1713# 27 "include/linux/hrtimer.h"
1714struct hrtimer_clock_base;
1715# 28 "include/linux/hrtimer.h"
1716struct hrtimer_cpu_base;
1717# 44 "include/linux/hrtimer.h"
1718enum hrtimer_restart {
1719 HRTIMER_NORESTART = 0,
1720 HRTIMER_RESTART = 1
1721} ;
1722# 108 "include/linux/hrtimer.h"
1723struct hrtimer {
1724 struct timerqueue_node node ;
1725 ktime_t _softexpires ;
1726 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1727 struct hrtimer_clock_base *base ;
1728 unsigned long state ;
1729 int start_pid ;
1730 void *start_site ;
1731 char start_comm[16] ;
1732};
1733# 145 "include/linux/hrtimer.h"
1734struct hrtimer_clock_base {
1735 struct hrtimer_cpu_base *cpu_base ;
1736 int index ;
1737 clockid_t clockid ;
1738 struct timerqueue_head active ;
1739 ktime_t resolution ;
1740 ktime_t (*get_time)(void) ;
1741 ktime_t softirq_time ;
1742 ktime_t offset ;
1743};
1744# 178 "include/linux/hrtimer.h"
1745struct hrtimer_cpu_base {
1746 raw_spinlock_t lock ;
1747 unsigned long active_bases ;
1748 ktime_t expires_next ;
1749 int hres_active ;
1750 int hang_detected ;
1751 unsigned long nr_events ;
1752 unsigned long nr_retries ;
1753 unsigned long nr_hangs ;
1754 ktime_t max_hang_time ;
1755 struct hrtimer_clock_base clock_base[3] ;
1756};
1757# 64 "include/linux/virtio_net.h"
1758struct virtio_net_hdr {
1759 __u8 flags ;
1760 __u8 gso_type ;
1761 __u16 hdr_len ;
1762 __u16 gso_size ;
1763 __u16 csum_start ;
1764 __u16 csum_offset ;
1765};
1766# 81 "include/linux/virtio_net.h"
1767struct virtio_net_hdr_mrg_rxbuf {
1768 struct virtio_net_hdr hdr ;
1769 __u16 num_buffers ;
1770};
1771# 31 "include/asm-generic/poll.h"
1772struct pollfd {
1773 int fd ;
1774 short events ;
1775 short revents ;
1776};
1777# 16 "include/linux/blk_types.h"
1778struct block_device;
1779# 33 "include/linux/list_bl.h"
1780struct hlist_bl_node;
1781# 33 "include/linux/list_bl.h"
1782struct hlist_bl_head {
1783 struct hlist_bl_node *first ;
1784};
1785# 37 "include/linux/list_bl.h"
1786struct hlist_bl_node {
1787 struct hlist_bl_node *next ;
1788 struct hlist_bl_node **pprev ;
1789};
1790# 13 "include/linux/dcache.h"
1791struct nameidata;
1792# 35 "include/linux/dcache.h"
1793struct qstr {
1794 unsigned int hash ;
1795 unsigned int len ;
1796 unsigned char const *name ;
1797};
1798# 116 "include/linux/dcache.h"
1799struct dentry_operations;
1800# 116 "include/linux/dcache.h"
1801struct super_block;
1802# 116 "include/linux/dcache.h"
1803union __anonunion_d_u_215 {
1804 struct list_head d_child ;
1805 struct rcu_head d_rcu ;
1806};
1807# 116 "include/linux/dcache.h"
1808struct dentry {
1809 unsigned int d_flags ;
1810 seqcount_t d_seq ;
1811 struct hlist_bl_node d_hash ;
1812 struct dentry *d_parent ;
1813 struct qstr d_name ;
1814 struct inode *d_inode ;
1815 unsigned char d_iname[32] ;
1816 unsigned int d_count ;
1817 spinlock_t d_lock ;
1818 struct dentry_operations const *d_op ;
1819 struct super_block *d_sb ;
1820 unsigned long d_time ;
1821 void *d_fsdata ;
1822 struct list_head d_lru ;
1823 union __anonunion_d_u_215 d_u ;
1824 struct list_head d_subdirs ;
1825 struct list_head d_alias ;
1826};
1827# 159 "include/linux/dcache.h"
1828struct dentry_operations {
1829 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
1830 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
1831 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
1832 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
1833 int (*d_delete)(struct dentry const * ) ;
1834 void (*d_release)(struct dentry * ) ;
1835 void (*d_iput)(struct dentry * , struct inode * ) ;
1836 char *(*d_dname)(struct dentry * , char * , int ) ;
1837 struct vfsmount *(*d_automount)(struct path * ) ;
1838 int (*d_manage)(struct dentry * , bool ) ;
1839} __attribute__((__aligned__((1) << (6) ))) ;
1840# 7 "include/linux/path.h"
1841struct path {
1842 struct vfsmount *mnt ;
1843 struct dentry *dentry ;
1844};
1845# 57 "include/linux/radix-tree.h"
1846struct radix_tree_node;
1847# 57 "include/linux/radix-tree.h"
1848struct radix_tree_root {
1849 unsigned int height ;
1850 gfp_t gfp_mask ;
1851 struct radix_tree_node *rnode ;
1852};
1853# 6 "include/linux/pid.h"
1854enum pid_type {
1855 PIDTYPE_PID = 0,
1856 PIDTYPE_PGID = 1,
1857 PIDTYPE_SID = 2,
1858 PIDTYPE_MAX = 3
1859} ;
1860# 50 "include/linux/pid.h"
1861struct pid_namespace;
1862# 50 "include/linux/pid.h"
1863struct upid {
1864 int nr ;
1865 struct pid_namespace *ns ;
1866 struct hlist_node pid_chain ;
1867};
1868# 57 "include/linux/pid.h"
1869struct pid {
1870 atomic_t count ;
1871 unsigned int level ;
1872 struct hlist_head tasks[3] ;
1873 struct rcu_head rcu ;
1874 struct upid numbers[1] ;
1875};
1876# 69 "include/linux/pid.h"
1877struct pid_link {
1878 struct hlist_node node ;
1879 struct pid *pid ;
1880};
1881# 94 "include/linux/capability.h"
1882struct kernel_cap_struct {
1883 __u32 cap[2] ;
1884};
1885# 94 "include/linux/capability.h"
1886typedef struct kernel_cap_struct kernel_cap_t;
1887# 377 "include/linux/capability.h"
1888struct user_namespace;
1889# 16 "include/linux/fiemap.h"
1890struct fiemap_extent {
1891 __u64 fe_logical ;
1892 __u64 fe_physical ;
1893 __u64 fe_length ;
1894 __u64 fe_reserved64[2] ;
1895 __u32 fe_flags ;
1896 __u32 fe_reserved[3] ;
1897};
1898# 399 "include/linux/fs.h"
1899struct export_operations;
1900# 407 "include/linux/fs.h"
1901struct kstatfs;
1902# 460 "include/linux/fs.h"
1903struct iattr {
1904 unsigned int ia_valid ;
1905 umode_t ia_mode ;
1906 uid_t ia_uid ;
1907 gid_t ia_gid ;
1908 loff_t ia_size ;
1909 struct timespec ia_atime ;
1910 struct timespec ia_mtime ;
1911 struct timespec ia_ctime ;
1912 struct file *ia_file ;
1913};
1914# 129 "include/linux/quota.h"
1915struct if_dqinfo {
1916 __u64 dqi_bgrace ;
1917 __u64 dqi_igrace ;
1918 __u32 dqi_flags ;
1919 __u32 dqi_valid ;
1920};
1921# 50 "include/linux/dqblk_xfs.h"
1922struct fs_disk_quota {
1923 __s8 d_version ;
1924 __s8 d_flags ;
1925 __u16 d_fieldmask ;
1926 __u32 d_id ;
1927 __u64 d_blk_hardlimit ;
1928 __u64 d_blk_softlimit ;
1929 __u64 d_ino_hardlimit ;
1930 __u64 d_ino_softlimit ;
1931 __u64 d_bcount ;
1932 __u64 d_icount ;
1933 __s32 d_itimer ;
1934 __s32 d_btimer ;
1935 __u16 d_iwarns ;
1936 __u16 d_bwarns ;
1937 __s32 d_padding2 ;
1938 __u64 d_rtb_hardlimit ;
1939 __u64 d_rtb_softlimit ;
1940 __u64 d_rtbcount ;
1941 __s32 d_rtbtimer ;
1942 __u16 d_rtbwarns ;
1943 __s16 d_padding3 ;
1944 char d_padding4[8] ;
1945};
1946# 146 "include/linux/dqblk_xfs.h"
1947struct fs_qfilestat {
1948 __u64 qfs_ino ;
1949 __u64 qfs_nblks ;
1950 __u32 qfs_nextents ;
1951};
1952# 146 "include/linux/dqblk_xfs.h"
1953typedef struct fs_qfilestat fs_qfilestat_t;
1954# 152 "include/linux/dqblk_xfs.h"
1955struct fs_quota_stat {
1956 __s8 qs_version ;
1957 __u16 qs_flags ;
1958 __s8 qs_pad ;
1959 fs_qfilestat_t qs_uquota ;
1960 fs_qfilestat_t qs_gquota ;
1961 __u32 qs_incoredqs ;
1962 __s32 qs_btimelimit ;
1963 __s32 qs_itimelimit ;
1964 __s32 qs_rtbtimelimit ;
1965 __u16 qs_bwarnlimit ;
1966 __u16 qs_iwarnlimit ;
1967};
1968# 17 "include/linux/dqblk_qtree.h"
1969struct dquot;
1970# 185 "include/linux/quota.h"
1971typedef __kernel_uid32_t qid_t;
1972# 186 "include/linux/quota.h"
1973typedef long long qsize_t;
1974# 200 "include/linux/quota.h"
1975struct mem_dqblk {
1976 qsize_t dqb_bhardlimit ;
1977 qsize_t dqb_bsoftlimit ;
1978 qsize_t dqb_curspace ;
1979 qsize_t dqb_rsvspace ;
1980 qsize_t dqb_ihardlimit ;
1981 qsize_t dqb_isoftlimit ;
1982 qsize_t dqb_curinodes ;
1983 time_t dqb_btime ;
1984 time_t dqb_itime ;
1985};
1986# 215 "include/linux/quota.h"
1987struct quota_format_type;
1988# 217 "include/linux/quota.h"
1989struct mem_dqinfo {
1990 struct quota_format_type *dqi_format ;
1991 int dqi_fmt_id ;
1992 struct list_head dqi_dirty_list ;
1993 unsigned long dqi_flags ;
1994 unsigned int dqi_bgrace ;
1995 unsigned int dqi_igrace ;
1996 qsize_t dqi_maxblimit ;
1997 qsize_t dqi_maxilimit ;
1998 void *dqi_priv ;
1999};
2000# 284 "include/linux/quota.h"
2001struct dquot {
2002 struct hlist_node dq_hash ;
2003 struct list_head dq_inuse ;
2004 struct list_head dq_free ;
2005 struct list_head dq_dirty ;
2006 struct mutex dq_lock ;
2007 atomic_t dq_count ;
2008 wait_queue_head_t dq_wait_unused ;
2009 struct super_block *dq_sb ;
2010 unsigned int dq_id ;
2011 loff_t dq_off ;
2012 unsigned long dq_flags ;
2013 short dq_type ;
2014 struct mem_dqblk dq_dqb ;
2015};
2016# 301 "include/linux/quota.h"
2017struct quota_format_ops {
2018 int (*check_quota_file)(struct super_block *sb , int type ) ;
2019 int (*read_file_info)(struct super_block *sb , int type ) ;
2020 int (*write_file_info)(struct super_block *sb , int type ) ;
2021 int (*free_file_info)(struct super_block *sb , int type ) ;
2022 int (*read_dqblk)(struct dquot *dquot ) ;
2023 int (*commit_dqblk)(struct dquot *dquot ) ;
2024 int (*release_dqblk)(struct dquot *dquot ) ;
2025};
2026# 312 "include/linux/quota.h"
2027struct dquot_operations {
2028 int (*write_dquot)(struct dquot * ) ;
2029 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2030 void (*destroy_dquot)(struct dquot * ) ;
2031 int (*acquire_dquot)(struct dquot * ) ;
2032 int (*release_dquot)(struct dquot * ) ;
2033 int (*mark_dirty)(struct dquot * ) ;
2034 int (*write_info)(struct super_block * , int ) ;
2035 qsize_t *(*get_reserved_space)(struct inode * ) ;
2036};
2037# 328 "include/linux/quota.h"
2038struct quotactl_ops {
2039 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2040 int (*quota_on_meta)(struct super_block * , int , int ) ;
2041 int (*quota_off)(struct super_block * , int ) ;
2042 int (*quota_sync)(struct super_block * , int , int ) ;
2043 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2044 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2045 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2046 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2047 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2048 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2049};
2050# 341 "include/linux/quota.h"
2051struct quota_format_type {
2052 int qf_fmt_id ;
2053 struct quota_format_ops const *qf_ops ;
2054 struct module *qf_owner ;
2055 struct quota_format_type *qf_next ;
2056};
2057# 395 "include/linux/quota.h"
2058struct quota_info {
2059 unsigned int flags ;
2060 struct mutex dqio_mutex ;
2061 struct mutex dqonoff_mutex ;
2062 struct rw_semaphore dqptr_sem ;
2063 struct inode *files[2] ;
2064 struct mem_dqinfo info[2] ;
2065 struct quota_format_ops const *ops[2] ;
2066};
2067# 568 "include/linux/fs.h"
2068union __anonunion_arg_223 {
2069 char *buf ;
2070 void *data ;
2071};
2072# 568 "include/linux/fs.h"
2073struct __anonstruct_read_descriptor_t_222 {
2074 size_t written ;
2075 size_t count ;
2076 union __anonunion_arg_223 arg ;
2077 int error ;
2078};
2079# 568 "include/linux/fs.h"
2080typedef struct __anonstruct_read_descriptor_t_222 read_descriptor_t;
2081# 581 "include/linux/fs.h"
2082struct address_space_operations {
2083 int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
2084 int (*readpage)(struct file * , struct page * ) ;
2085 int (*writepages)(struct address_space * , struct writeback_control * ) ;
2086 int (*set_page_dirty)(struct page *page ) ;
2087 int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
2088 unsigned int nr_pages ) ;
2089 int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
2090 unsigned int len , unsigned int flags , struct page **pagep ,
2091 void **fsdata ) ;
2092 int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
2093 unsigned int copied , struct page *page , void *fsdata ) ;
2094 sector_t (*bmap)(struct address_space * , sector_t ) ;
2095 void (*invalidatepage)(struct page * , unsigned long ) ;
2096 int (*releasepage)(struct page * , gfp_t ) ;
2097 void (*freepage)(struct page * ) ;
2098 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const *iov , loff_t offset ,
2099 unsigned long nr_segs ) ;
2100 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
2101 int (*migratepage)(struct address_space * , struct page * , struct page * ) ;
2102 int (*launder_page)(struct page * ) ;
2103 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
2104 int (*error_remove_page)(struct address_space * , struct page * ) ;
2105};
2106# 633 "include/linux/fs.h"
2107struct backing_dev_info;
2108# 634 "include/linux/fs.h"
2109struct address_space {
2110 struct inode *host ;
2111 struct radix_tree_root page_tree ;
2112 spinlock_t tree_lock ;
2113 unsigned int i_mmap_writable ;
2114 struct prio_tree_root i_mmap ;
2115 struct list_head i_mmap_nonlinear ;
2116 struct mutex i_mmap_mutex ;
2117 unsigned long nrpages ;
2118 unsigned long writeback_index ;
2119 struct address_space_operations const *a_ops ;
2120 unsigned long flags ;
2121 struct backing_dev_info *backing_dev_info ;
2122 spinlock_t private_lock ;
2123 struct list_head private_list ;
2124 struct address_space *assoc_mapping ;
2125} __attribute__((__aligned__(sizeof(long )))) ;
2126# 658 "include/linux/fs.h"
2127struct hd_struct;
2128# 658 "include/linux/fs.h"
2129struct gendisk;
2130# 658 "include/linux/fs.h"
2131struct block_device {
2132 dev_t bd_dev ;
2133 int bd_openers ;
2134 struct inode *bd_inode ;
2135 struct super_block *bd_super ;
2136 struct mutex bd_mutex ;
2137 struct list_head bd_inodes ;
2138 void *bd_claiming ;
2139 void *bd_holder ;
2140 int bd_holders ;
2141 bool bd_write_holder ;
2142 struct list_head bd_holder_disks ;
2143 struct block_device *bd_contains ;
2144 unsigned int bd_block_size ;
2145 struct hd_struct *bd_part ;
2146 unsigned int bd_part_count ;
2147 int bd_invalidated ;
2148 struct gendisk *bd_disk ;
2149 struct list_head bd_list ;
2150 unsigned long bd_private ;
2151 int bd_fsfreeze_count ;
2152 struct mutex bd_fsfreeze_mutex ;
2153};
2154# 735 "include/linux/fs.h"
2155struct posix_acl;
2156# 738 "include/linux/fs.h"
2157struct inode_operations;
2158# 738 "include/linux/fs.h"
2159union __anonunion____missing_field_name_224 {
2160 struct list_head i_dentry ;
2161 struct rcu_head i_rcu ;
2162};
2163# 738 "include/linux/fs.h"
2164struct file_lock;
2165# 738 "include/linux/fs.h"
2166struct cdev;
2167# 738 "include/linux/fs.h"
2168union __anonunion____missing_field_name_225 {
2169 struct pipe_inode_info *i_pipe ;
2170 struct block_device *i_bdev ;
2171 struct cdev *i_cdev ;
2172};
2173# 738 "include/linux/fs.h"
2174struct inode {
2175 umode_t i_mode ;
2176 uid_t i_uid ;
2177 gid_t i_gid ;
2178 struct inode_operations const *i_op ;
2179 struct super_block *i_sb ;
2180 spinlock_t i_lock ;
2181 unsigned int i_flags ;
2182 unsigned long i_state ;
2183 void *i_security ;
2184 struct mutex i_mutex ;
2185 unsigned long dirtied_when ;
2186 struct hlist_node i_hash ;
2187 struct list_head i_wb_list ;
2188 struct list_head i_lru ;
2189 struct list_head i_sb_list ;
2190 union __anonunion____missing_field_name_224 __annonCompField40 ;
2191 unsigned long i_ino ;
2192 atomic_t i_count ;
2193 unsigned int i_nlink ;
2194 dev_t i_rdev ;
2195 unsigned int i_blkbits ;
2196 u64 i_version ;
2197 loff_t i_size ;
2198 struct timespec i_atime ;
2199 struct timespec i_mtime ;
2200 struct timespec i_ctime ;
2201 blkcnt_t i_blocks ;
2202 unsigned short i_bytes ;
2203 struct rw_semaphore i_alloc_sem ;
2204 struct file_operations const *i_fop ;
2205 struct file_lock *i_flock ;
2206 struct address_space *i_mapping ;
2207 struct address_space i_data ;
2208 struct dquot *i_dquot[2] ;
2209 struct list_head i_devices ;
2210 union __anonunion____missing_field_name_225 __annonCompField41 ;
2211 __u32 i_generation ;
2212 __u32 i_fsnotify_mask ;
2213 struct hlist_head i_fsnotify_marks ;
2214 atomic_t i_readcount ;
2215 atomic_t i_writecount ;
2216 struct posix_acl *i_acl ;
2217 struct posix_acl *i_default_acl ;
2218 void *i_private ;
2219};
2220# 903 "include/linux/fs.h"
2221struct fown_struct {
2222 rwlock_t lock ;
2223 struct pid *pid ;
2224 enum pid_type pid_type ;
2225 uid_t uid ;
2226 uid_t euid ;
2227 int signum ;
2228};
2229# 914 "include/linux/fs.h"
2230struct file_ra_state {
2231 unsigned long start ;
2232 unsigned int size ;
2233 unsigned int async_size ;
2234 unsigned int ra_pages ;
2235 unsigned int mmap_miss ;
2236 loff_t prev_pos ;
2237};
2238# 937 "include/linux/fs.h"
2239union __anonunion_f_u_226 {
2240 struct list_head fu_list ;
2241 struct rcu_head fu_rcuhead ;
2242};
2243# 937 "include/linux/fs.h"
2244struct file {
2245 union __anonunion_f_u_226 f_u ;
2246 struct path f_path ;
2247 struct file_operations const *f_op ;
2248 spinlock_t f_lock ;
2249 int f_sb_list_cpu ;
2250 atomic_long_t f_count ;
2251 unsigned int f_flags ;
2252 fmode_t f_mode ;
2253 loff_t f_pos ;
2254 struct fown_struct f_owner ;
2255 struct cred const *f_cred ;
2256 struct file_ra_state f_ra ;
2257 u64 f_version ;
2258 void *f_security ;
2259 void *private_data ;
2260 struct list_head f_ep_links ;
2261 struct address_space *f_mapping ;
2262 unsigned long f_mnt_write_state ;
2263};
2264# 1064 "include/linux/fs.h"
2265struct files_struct;
2266# 1064 "include/linux/fs.h"
2267typedef struct files_struct *fl_owner_t;
2268# 1066 "include/linux/fs.h"
2269struct file_lock_operations {
2270 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
2271 void (*fl_release_private)(struct file_lock * ) ;
2272};
2273# 1071 "include/linux/fs.h"
2274struct lock_manager_operations {
2275 int (*fl_compare_owner)(struct file_lock * , struct file_lock * ) ;
2276 void (*fl_notify)(struct file_lock * ) ;
2277 int (*fl_grant)(struct file_lock * , struct file_lock * , int ) ;
2278 void (*fl_release_private)(struct file_lock * ) ;
2279 void (*fl_break)(struct file_lock * ) ;
2280 int (*fl_change)(struct file_lock ** , int ) ;
2281};
2282# 8 "include/linux/nfs_fs_i.h"
2283struct nlm_lockowner;
2284# 13 "include/linux/nfs_fs_i.h"
2285struct nfs_lock_info {
2286 u32 state ;
2287 struct nlm_lockowner *owner ;
2288 struct list_head list ;
2289};
2290# 19 "include/linux/nfs_fs_i.h"
2291struct nfs4_lock_state;
2292# 20 "include/linux/nfs_fs_i.h"
2293struct nfs4_lock_info {
2294 struct nfs4_lock_state *owner ;
2295};
2296# 1091 "include/linux/fs.h"
2297struct __anonstruct_afs_228 {
2298 struct list_head link ;
2299 int state ;
2300};
2301# 1091 "include/linux/fs.h"
2302union __anonunion_fl_u_227 {
2303 struct nfs_lock_info nfs_fl ;
2304 struct nfs4_lock_info nfs4_fl ;
2305 struct __anonstruct_afs_228 afs ;
2306};
2307# 1091 "include/linux/fs.h"
2308struct file_lock {
2309 struct file_lock *fl_next ;
2310 struct list_head fl_link ;
2311 struct list_head fl_block ;
2312 fl_owner_t fl_owner ;
2313 unsigned char fl_flags ;
2314 unsigned char fl_type ;
2315 unsigned int fl_pid ;
2316 struct pid *fl_nspid ;
2317 wait_queue_head_t fl_wait ;
2318 struct file *fl_file ;
2319 loff_t fl_start ;
2320 loff_t fl_end ;
2321 struct fasync_struct *fl_fasync ;
2322 unsigned long fl_break_time ;
2323 struct file_lock_operations const *fl_ops ;
2324 struct lock_manager_operations const *fl_lmops ;
2325 union __anonunion_fl_u_227 fl_u ;
2326};
2327# 1324 "include/linux/fs.h"
2328struct fasync_struct {
2329 spinlock_t fa_lock ;
2330 int magic ;
2331 int fa_fd ;
2332 struct fasync_struct *fa_next ;
2333 struct file *fa_file ;
2334 struct rcu_head fa_rcu ;
2335};
2336# 1364 "include/linux/fs.h"
2337struct file_system_type;
2338# 1364 "include/linux/fs.h"
2339struct super_operations;
2340# 1364 "include/linux/fs.h"
2341struct xattr_handler;
2342# 1364 "include/linux/fs.h"
2343struct mtd_info;
2344# 1364 "include/linux/fs.h"
2345struct super_block {
2346 struct list_head s_list ;
2347 dev_t s_dev ;
2348 unsigned char s_dirt ;
2349 unsigned char s_blocksize_bits ;
2350 unsigned long s_blocksize ;
2351 loff_t s_maxbytes ;
2352 struct file_system_type *s_type ;
2353 struct super_operations const *s_op ;
2354 struct dquot_operations const *dq_op ;
2355 struct quotactl_ops const *s_qcop ;
2356 struct export_operations const *s_export_op ;
2357 unsigned long s_flags ;
2358 unsigned long s_magic ;
2359 struct dentry *s_root ;
2360 struct rw_semaphore s_umount ;
2361 struct mutex s_lock ;
2362 int s_count ;
2363 atomic_t s_active ;
2364 void *s_security ;
2365 struct xattr_handler const **s_xattr ;
2366 struct list_head s_inodes ;
2367 struct hlist_bl_head s_anon ;
2368 struct list_head *s_files ;
2369 struct list_head s_dentry_lru ;
2370 int s_nr_dentry_unused ;
2371 struct block_device *s_bdev ;
2372 struct backing_dev_info *s_bdi ;
2373 struct mtd_info *s_mtd ;
2374 struct list_head s_instances ;
2375 struct quota_info s_dquot ;
2376 int s_frozen ;
2377 wait_queue_head_t s_wait_unfrozen ;
2378 char s_id[32] ;
2379 u8 s_uuid[16] ;
2380 void *s_fs_info ;
2381 fmode_t s_mode ;
2382 u32 s_time_gran ;
2383 struct mutex s_vfs_rename_mutex ;
2384 char *s_subtype ;
2385 char *s_options ;
2386 struct dentry_operations const *s_d_op ;
2387 int cleancache_poolid ;
2388};
2389# 1499 "include/linux/fs.h"
2390struct fiemap_extent_info {
2391 unsigned int fi_flags ;
2392 unsigned int fi_extents_mapped ;
2393 unsigned int fi_extents_max ;
2394 struct fiemap_extent *fi_extents_start ;
2395};
2396# 1546 "include/linux/fs.h"
2397struct file_operations {
2398 struct module *owner ;
2399 loff_t (*llseek)(struct file * , loff_t , int ) ;
2400 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
2401 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
2402 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
2403 loff_t ) ;
2404 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
2405 loff_t ) ;
2406 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
2407 loff_t , u64 , unsigned int ) ) ;
2408 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
2409 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
2410 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
2411 int (*mmap)(struct file * , struct vm_area_struct * ) ;
2412 int (*open)(struct inode * , struct file * ) ;
2413 int (*flush)(struct file * , fl_owner_t id ) ;
2414 int (*release)(struct inode * , struct file * ) ;
2415 int (*fsync)(struct file * , int datasync ) ;
2416 int (*aio_fsync)(struct kiocb * , int datasync ) ;
2417 int (*fasync)(int , struct file * , int ) ;
2418 int (*lock)(struct file * , int , struct file_lock * ) ;
2419 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
2420 int ) ;
2421 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
2422 unsigned long , unsigned long ) ;
2423 int (*check_flags)(int ) ;
2424 int (*flock)(struct file * , int , struct file_lock * ) ;
2425 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
2426 unsigned int ) ;
2427 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
2428 unsigned int ) ;
2429 int (*setlease)(struct file * , long , struct file_lock ** ) ;
2430 long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
2431};
2432# 1578 "include/linux/fs.h"
2433struct inode_operations {
2434 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
2435 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
2436 int (*permission)(struct inode * , int , unsigned int ) ;
2437 int (*check_acl)(struct inode * , int , unsigned int ) ;
2438 int (*readlink)(struct dentry * , char * , int ) ;
2439 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
2440 int (*create)(struct inode * , struct dentry * , int , struct nameidata * ) ;
2441 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
2442 int (*unlink)(struct inode * , struct dentry * ) ;
2443 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
2444 int (*mkdir)(struct inode * , struct dentry * , int ) ;
2445 int (*rmdir)(struct inode * , struct dentry * ) ;
2446 int (*mknod)(struct inode * , struct dentry * , int , dev_t ) ;
2447 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
2448 void (*truncate)(struct inode * ) ;
2449 int (*setattr)(struct dentry * , struct iattr * ) ;
2450 int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
2451 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
2452 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
2453 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
2454 int (*removexattr)(struct dentry * , char const * ) ;
2455 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
2456 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
2457} __attribute__((__aligned__((1) << (6) ))) ;
2458# 1622 "include/linux/fs.h"
2459struct super_operations {
2460 struct inode *(*alloc_inode)(struct super_block *sb ) ;
2461 void (*destroy_inode)(struct inode * ) ;
2462 void (*dirty_inode)(struct inode * , int flags ) ;
2463 int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
2464 int (*drop_inode)(struct inode * ) ;
2465 void (*evict_inode)(struct inode * ) ;
2466 void (*put_super)(struct super_block * ) ;
2467 void (*write_super)(struct super_block * ) ;
2468 int (*sync_fs)(struct super_block *sb , int wait ) ;
2469 int (*freeze_fs)(struct super_block * ) ;
2470 int (*unfreeze_fs)(struct super_block * ) ;
2471 int (*statfs)(struct dentry * , struct kstatfs * ) ;
2472 int (*remount_fs)(struct super_block * , int * , char * ) ;
2473 void (*umount_begin)(struct super_block * ) ;
2474 int (*show_options)(struct seq_file * , struct vfsmount * ) ;
2475 int (*show_devname)(struct seq_file * , struct vfsmount * ) ;
2476 int (*show_path)(struct seq_file * , struct vfsmount * ) ;
2477 int (*show_stats)(struct seq_file * , struct vfsmount * ) ;
2478 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
2479 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
2480 loff_t ) ;
2481 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
2482};
2483# 1802 "include/linux/fs.h"
2484struct file_system_type {
2485 char const *name ;
2486 int fs_flags ;
2487 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
2488 void (*kill_sb)(struct super_block * ) ;
2489 struct module *owner ;
2490 struct file_system_type *next ;
2491 struct list_head fs_supers ;
2492 struct lock_class_key s_lock_key ;
2493 struct lock_class_key s_umount_key ;
2494 struct lock_class_key s_vfs_rename_key ;
2495 struct lock_class_key i_lock_key ;
2496 struct lock_class_key i_mutex_key ;
2497 struct lock_class_key i_mutex_dir_key ;
2498 struct lock_class_key i_alloc_sem_key ;
2499};
2500# 35 "include/linux/poll.h"
2501struct poll_table_struct {
2502 void (*qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
2503 unsigned long key ;
2504};
2505# 35 "include/linux/poll.h"
2506typedef struct poll_table_struct poll_table;
2507# 12 "include/linux/irqdesc.h"
2508struct proc_dir_entry;
2509# 39 "include/linux/irqdesc.h"
2510struct irqaction;
2511# 7 "include/asm-generic/cputime.h"
2512typedef unsigned long cputime_t;
2513# 122 "include/linux/sem.h"
2514struct sem_undo_list;
2515# 135 "include/linux/sem.h"
2516struct sem_undo_list {
2517 atomic_t refcnt ;
2518 spinlock_t lock ;
2519 struct list_head list_proc ;
2520};
2521# 141 "include/linux/sem.h"
2522struct sysv_sem {
2523 struct sem_undo_list *undo_list ;
2524};
2525# 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
2526struct siginfo;
2527# 30 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
2528struct __anonstruct_sigset_t_237 {
2529 unsigned long sig[1] ;
2530};
2531# 30 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
2532typedef struct __anonstruct_sigset_t_237 sigset_t;
2533# 17 "include/asm-generic/signal-defs.h"
2534typedef void __signalfn_t(int );
2535# 18 "include/asm-generic/signal-defs.h"
2536typedef __signalfn_t *__sighandler_t;
2537# 20 "include/asm-generic/signal-defs.h"
2538typedef void __restorefn_t(void);
2539# 21 "include/asm-generic/signal-defs.h"
2540typedef __restorefn_t *__sigrestore_t;
2541# 167 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
2542struct sigaction {
2543 __sighandler_t sa_handler ;
2544 unsigned long sa_flags ;
2545 __sigrestore_t sa_restorer ;
2546 sigset_t sa_mask ;
2547};
2548# 174 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
2549struct k_sigaction {
2550 struct sigaction sa ;
2551};
2552# 7 "include/asm-generic/siginfo.h"
2553union sigval {
2554 int sival_int ;
2555 void *sival_ptr ;
2556};
2557# 7 "include/asm-generic/siginfo.h"
2558typedef union sigval sigval_t;
2559# 40 "include/asm-generic/siginfo.h"
2560struct __anonstruct__kill_239 {
2561 __kernel_pid_t _pid ;
2562 __kernel_uid32_t _uid ;
2563};
2564# 40 "include/asm-generic/siginfo.h"
2565struct __anonstruct__timer_240 {
2566 __kernel_timer_t _tid ;
2567 int _overrun ;
2568 char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
2569 sigval_t _sigval ;
2570 int _sys_private ;
2571};
2572# 40 "include/asm-generic/siginfo.h"
2573struct __anonstruct__rt_241 {
2574 __kernel_pid_t _pid ;
2575 __kernel_uid32_t _uid ;
2576 sigval_t _sigval ;
2577};
2578# 40 "include/asm-generic/siginfo.h"
2579struct __anonstruct__sigchld_242 {
2580 __kernel_pid_t _pid ;
2581 __kernel_uid32_t _uid ;
2582 int _status ;
2583 __kernel_clock_t _utime ;
2584 __kernel_clock_t _stime ;
2585};
2586# 40 "include/asm-generic/siginfo.h"
2587struct __anonstruct__sigfault_243 {
2588 void *_addr ;
2589 short _addr_lsb ;
2590};
2591# 40 "include/asm-generic/siginfo.h"
2592struct __anonstruct__sigpoll_244 {
2593 long _band ;
2594 int _fd ;
2595};
2596# 40 "include/asm-generic/siginfo.h"
2597union __anonunion__sifields_238 {
2598 int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
2599 struct __anonstruct__kill_239 _kill ;
2600 struct __anonstruct__timer_240 _timer ;
2601 struct __anonstruct__rt_241 _rt ;
2602 struct __anonstruct__sigchld_242 _sigchld ;
2603 struct __anonstruct__sigfault_243 _sigfault ;
2604 struct __anonstruct__sigpoll_244 _sigpoll ;
2605};
2606# 40 "include/asm-generic/siginfo.h"
2607struct siginfo {
2608 int si_signo ;
2609 int si_errno ;
2610 int si_code ;
2611 union __anonunion__sifields_238 _sifields ;
2612};
2613# 40 "include/asm-generic/siginfo.h"
2614typedef struct siginfo siginfo_t;
2615# 28 "include/linux/signal.h"
2616struct sigpending {
2617 struct list_head list ;
2618 sigset_t signal ;
2619};
2620# 97 "include/linux/proportions.h"
2621struct prop_local_single {
2622 unsigned long events ;
2623 unsigned long period ;
2624 int shift ;
2625 spinlock_t lock ;
2626};
2627# 10 "include/linux/seccomp.h"
2628struct __anonstruct_seccomp_t_247 {
2629 int mode ;
2630};
2631# 10 "include/linux/seccomp.h"
2632typedef struct __anonstruct_seccomp_t_247 seccomp_t;
2633# 82 "include/linux/plist.h"
2634struct plist_head {
2635 struct list_head node_list ;
2636 raw_spinlock_t *rawlock ;
2637 spinlock_t *spinlock ;
2638};
2639# 90 "include/linux/plist.h"
2640struct plist_node {
2641 int prio ;
2642 struct list_head prio_list ;
2643 struct list_head node_list ;
2644};
2645# 40 "include/linux/rtmutex.h"
2646struct rt_mutex_waiter;
2647# 42 "include/linux/resource.h"
2648struct rlimit {
2649 unsigned long rlim_cur ;
2650 unsigned long rlim_max ;
2651};
2652# 11 "include/linux/task_io_accounting.h"
2653struct task_io_accounting {
2654 u64 rchar ;
2655 u64 wchar ;
2656 u64 syscr ;
2657 u64 syscw ;
2658 u64 read_bytes ;
2659 u64 write_bytes ;
2660 u64 cancelled_write_bytes ;
2661};
2662# 18 "include/linux/latencytop.h"
2663struct latency_record {
2664 unsigned long backtrace[12] ;
2665 unsigned int count ;
2666 unsigned long time ;
2667 unsigned long max ;
2668};
2669# 29 "include/linux/key.h"
2670typedef int32_t key_serial_t;
2671# 32 "include/linux/key.h"
2672typedef uint32_t key_perm_t;
2673# 34 "include/linux/key.h"
2674struct key;
2675# 76 "include/linux/key.h"
2676struct signal_struct;
2677# 79 "include/linux/key.h"
2678struct key_type;
2679# 81 "include/linux/key.h"
2680struct keyring_list;
2681# 124 "include/linux/key.h"
2682struct key_user;
2683# 124 "include/linux/key.h"
2684union __anonunion____missing_field_name_248 {
2685 time_t expiry ;
2686 time_t revoked_at ;
2687};
2688# 124 "include/linux/key.h"
2689union __anonunion_type_data_249 {
2690 struct list_head link ;
2691 unsigned long x[2] ;
2692 void *p[2] ;
2693 int reject_error ;
2694};
2695# 124 "include/linux/key.h"
2696union __anonunion_payload_250 {
2697 unsigned long value ;
2698 void *rcudata ;
2699 void *data ;
2700 struct keyring_list *subscriptions ;
2701};
2702# 124 "include/linux/key.h"
2703struct key {
2704 atomic_t usage ;
2705 key_serial_t serial ;
2706 struct rb_node serial_node ;
2707 struct key_type *type ;
2708 struct rw_semaphore sem ;
2709 struct key_user *user ;
2710 void *security ;
2711 union __anonunion____missing_field_name_248 __annonCompField42 ;
2712 uid_t uid ;
2713 gid_t gid ;
2714 key_perm_t perm ;
2715 unsigned short quotalen ;
2716 unsigned short datalen ;
2717 unsigned long flags ;
2718 char *description ;
2719 union __anonunion_type_data_249 type_data ;
2720 union __anonunion_payload_250 payload ;
2721};
2722# 18 "include/linux/selinux.h"
2723struct audit_context;
2724# 31 "include/linux/cred.h"
2725struct group_info {
2726 atomic_t usage ;
2727 int ngroups ;
2728 int nblocks ;
2729 gid_t small_block[32] ;
2730 gid_t *blocks[0] ;
2731};
2732# 83 "include/linux/cred.h"
2733struct thread_group_cred {
2734 atomic_t usage ;
2735 pid_t tgid ;
2736 spinlock_t lock ;
2737 struct key *session_keyring ;
2738 struct key *process_keyring ;
2739 struct rcu_head rcu ;
2740};
2741# 116 "include/linux/cred.h"
2742struct cred {
2743 atomic_t usage ;
2744 atomic_t subscribers ;
2745 void *put_addr ;
2746 unsigned int magic ;
2747 uid_t uid ;
2748 gid_t gid ;
2749 uid_t suid ;
2750 gid_t sgid ;
2751 uid_t euid ;
2752 gid_t egid ;
2753 uid_t fsuid ;
2754 gid_t fsgid ;
2755 unsigned int securebits ;
2756 kernel_cap_t cap_inheritable ;
2757 kernel_cap_t cap_permitted ;
2758 kernel_cap_t cap_effective ;
2759 kernel_cap_t cap_bset ;
2760 unsigned char jit_keyring ;
2761 struct key *thread_keyring ;
2762 struct key *request_key_auth ;
2763 struct thread_group_cred *tgcred ;
2764 void *security ;
2765 struct user_struct *user ;
2766 struct user_namespace *user_ns ;
2767 struct group_info *group_info ;
2768 struct rcu_head rcu ;
2769};
2770# 97 "include/linux/sched.h"
2771struct futex_pi_state;
2772# 98 "include/linux/sched.h"
2773struct robust_list_head;
2774# 99 "include/linux/sched.h"
2775struct bio_list;
2776# 100 "include/linux/sched.h"
2777struct fs_struct;
2778# 101 "include/linux/sched.h"
2779struct perf_event_context;
2780# 102 "include/linux/sched.h"
2781struct blk_plug;
2782# 151 "include/linux/sched.h"
2783struct cfs_rq;
2784# 58 "include/linux/aio_abi.h"
2785struct io_event {
2786 __u64 data ;
2787 __u64 obj ;
2788 __s64 res ;
2789 __s64 res2 ;
2790};
2791# 15 "include/linux/aio.h"
2792struct kioctx;
2793# 87 "include/linux/aio.h"
2794union __anonunion_ki_obj_252 {
2795 void *user ;
2796 struct task_struct *tsk ;
2797};
2798# 87 "include/linux/aio.h"
2799struct kiocb {
2800 struct list_head ki_run_list ;
2801 unsigned long ki_flags ;
2802 int ki_users ;
2803 unsigned int ki_key ;
2804 struct file *ki_filp ;
2805 struct kioctx *ki_ctx ;
2806 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
2807 ssize_t (*ki_retry)(struct kiocb * ) ;
2808 void (*ki_dtor)(struct kiocb * ) ;
2809 union __anonunion_ki_obj_252 ki_obj ;
2810 __u64 ki_user_data ;
2811 loff_t ki_pos ;
2812 void *private ;
2813 unsigned short ki_opcode ;
2814 size_t ki_nbytes ;
2815 char *ki_buf ;
2816 size_t ki_left ;
2817 struct iovec ki_inline_vec ;
2818 struct iovec *ki_iovec ;
2819 unsigned long ki_nr_segs ;
2820 unsigned long ki_cur_seg ;
2821 struct list_head ki_list ;
2822 struct eventfd_ctx *ki_eventfd ;
2823};
2824# 165 "include/linux/aio.h"
2825struct aio_ring_info {
2826 unsigned long mmap_base ;
2827 unsigned long mmap_size ;
2828 struct page **ring_pages ;
2829 spinlock_t ring_lock ;
2830 long nr_pages ;
2831 unsigned int nr ;
2832 unsigned int tail ;
2833 struct page *internal_pages[8] ;
2834};
2835# 178 "include/linux/aio.h"
2836struct kioctx {
2837 atomic_t users ;
2838 int dead ;
2839 struct mm_struct *mm ;
2840 unsigned long user_id ;
2841 struct hlist_node list ;
2842 wait_queue_head_t wait ;
2843 spinlock_t ctx_lock ;
2844 int reqs_active ;
2845 struct list_head active_reqs ;
2846 struct list_head run_list ;
2847 unsigned int max_reqs ;
2848 struct aio_ring_info ring_info ;
2849 struct delayed_work wq ;
2850 struct rcu_head rcu_head ;
2851};
2852# 441 "include/linux/sched.h"
2853struct sighand_struct {
2854 atomic_t count ;
2855 struct k_sigaction action[64] ;
2856 spinlock_t siglock ;
2857 wait_queue_head_t signalfd_wqh ;
2858};
2859# 448 "include/linux/sched.h"
2860struct pacct_struct {
2861 int ac_flag ;
2862 long ac_exitcode ;
2863 unsigned long ac_mem ;
2864 cputime_t ac_utime ;
2865 cputime_t ac_stime ;
2866 unsigned long ac_minflt ;
2867 unsigned long ac_majflt ;
2868};
2869# 456 "include/linux/sched.h"
2870struct cpu_itimer {
2871 cputime_t expires ;
2872 cputime_t incr ;
2873 u32 error ;
2874 u32 incr_error ;
2875};
2876# 474 "include/linux/sched.h"
2877struct task_cputime {
2878 cputime_t utime ;
2879 cputime_t stime ;
2880 unsigned long long sum_exec_runtime ;
2881};
2882# 510 "include/linux/sched.h"
2883struct thread_group_cputimer {
2884 struct task_cputime cputime ;
2885 int running ;
2886 spinlock_t lock ;
2887};
2888# 517 "include/linux/sched.h"
2889struct autogroup;
2890# 526 "include/linux/sched.h"
2891struct tty_struct;
2892# 526 "include/linux/sched.h"
2893struct taskstats;
2894# 526 "include/linux/sched.h"
2895struct tty_audit_buf;
2896# 526 "include/linux/sched.h"
2897struct signal_struct {
2898 atomic_t sigcnt ;
2899 atomic_t live ;
2900 int nr_threads ;
2901 wait_queue_head_t wait_chldexit ;
2902 struct task_struct *curr_target ;
2903 struct sigpending shared_pending ;
2904 int group_exit_code ;
2905 int notify_count ;
2906 struct task_struct *group_exit_task ;
2907 int group_stop_count ;
2908 unsigned int flags ;
2909 struct list_head posix_timers ;
2910 struct hrtimer real_timer ;
2911 struct pid *leader_pid ;
2912 ktime_t it_real_incr ;
2913 struct cpu_itimer it[2] ;
2914 struct thread_group_cputimer cputimer ;
2915 struct task_cputime cputime_expires ;
2916 struct list_head cpu_timers[3] ;
2917 struct pid *tty_old_pgrp ;
2918 int leader ;
2919 struct tty_struct *tty ;
2920 struct autogroup *autogroup ;
2921 cputime_t utime ;
2922 cputime_t stime ;
2923 cputime_t cutime ;
2924 cputime_t cstime ;
2925 cputime_t gtime ;
2926 cputime_t cgtime ;
2927 cputime_t prev_utime ;
2928 cputime_t prev_stime ;
2929 unsigned long nvcsw ;
2930 unsigned long nivcsw ;
2931 unsigned long cnvcsw ;
2932 unsigned long cnivcsw ;
2933 unsigned long min_flt ;
2934 unsigned long maj_flt ;
2935 unsigned long cmin_flt ;
2936 unsigned long cmaj_flt ;
2937 unsigned long inblock ;
2938 unsigned long oublock ;
2939 unsigned long cinblock ;
2940 unsigned long coublock ;
2941 unsigned long maxrss ;
2942 unsigned long cmaxrss ;
2943 struct task_io_accounting ioac ;
2944 unsigned long long sum_sched_runtime ;
2945 struct rlimit rlim[16] ;
2946 struct pacct_struct pacct ;
2947 struct taskstats *stats ;
2948 unsigned int audit_tty ;
2949 struct tty_audit_buf *tty_audit_buf ;
2950 struct rw_semaphore threadgroup_fork_lock ;
2951 int oom_adj ;
2952 int oom_score_adj ;
2953 int oom_score_adj_min ;
2954 struct mutex cred_guard_mutex ;
2955};
2956# 687 "include/linux/sched.h"
2957struct user_struct {
2958 atomic_t __count ;
2959 atomic_t processes ;
2960 atomic_t files ;
2961 atomic_t sigpending ;
2962 atomic_t inotify_watches ;
2963 atomic_t inotify_devs ;
2964 atomic_t fanotify_listeners ;
2965 atomic_long_t epoll_watches ;
2966 unsigned long mq_bytes ;
2967 unsigned long locked_shm ;
2968 struct key *uid_keyring ;
2969 struct key *session_keyring ;
2970 struct hlist_node uidhash_node ;
2971 uid_t uid ;
2972 struct user_namespace *user_ns ;
2973 atomic_long_t locked_vm ;
2974};
2975# 732 "include/linux/sched.h"
2976struct reclaim_state;
2977# 735 "include/linux/sched.h"
2978struct sched_info {
2979 unsigned long pcount ;
2980 unsigned long long run_delay ;
2981 unsigned long long last_arrival ;
2982 unsigned long long last_queued ;
2983};
2984# 747 "include/linux/sched.h"
2985struct task_delay_info {
2986 spinlock_t lock ;
2987 unsigned int flags ;
2988 struct timespec blkio_start ;
2989 struct timespec blkio_end ;
2990 u64 blkio_delay ;
2991 u64 swapin_delay ;
2992 u32 blkio_count ;
2993 u32 swapin_count ;
2994 struct timespec freepages_start ;
2995 struct timespec freepages_end ;
2996 u64 freepages_delay ;
2997 u32 freepages_count ;
2998};
2999# 1050 "include/linux/sched.h"
3000struct io_context;
3001# 1064 "include/linux/sched.h"
3002struct rq;
3003# 1084 "include/linux/sched.h"
3004struct sched_class {
3005 struct sched_class const *next ;
3006 void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
3007 void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
3008 void (*yield_task)(struct rq *rq ) ;
3009 bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
3010 void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
3011 struct task_struct *(*pick_next_task)(struct rq *rq ) ;
3012 void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
3013 int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
3014 void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
3015 void (*post_schedule)(struct rq *this_rq ) ;
3016 void (*task_waking)(struct task_struct *task ) ;
3017 void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
3018 void (*set_cpus_allowed)(struct task_struct *p , struct cpumask const *newmask ) ;
3019 void (*rq_online)(struct rq *rq ) ;
3020 void (*rq_offline)(struct rq *rq ) ;
3021 void (*set_curr_task)(struct rq *rq ) ;
3022 void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
3023 void (*task_fork)(struct task_struct *p ) ;
3024 void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
3025 void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
3026 void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
3027 unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
3028 void (*task_move_group)(struct task_struct *p , int on_rq ) ;
3029};
3030# 1129 "include/linux/sched.h"
3031struct load_weight {
3032 unsigned long weight ;
3033 unsigned long inv_weight ;
3034};
3035# 1134 "include/linux/sched.h"
3036struct sched_statistics {
3037 u64 wait_start ;
3038 u64 wait_max ;
3039 u64 wait_count ;
3040 u64 wait_sum ;
3041 u64 iowait_count ;
3042 u64 iowait_sum ;
3043 u64 sleep_start ;
3044 u64 sleep_max ;
3045 s64 sum_sleep_runtime ;
3046 u64 block_start ;
3047 u64 block_max ;
3048 u64 exec_max ;
3049 u64 slice_max ;
3050 u64 nr_migrations_cold ;
3051 u64 nr_failed_migrations_affine ;
3052 u64 nr_failed_migrations_running ;
3053 u64 nr_failed_migrations_hot ;
3054 u64 nr_forced_migrations ;
3055 u64 nr_wakeups ;
3056 u64 nr_wakeups_sync ;
3057 u64 nr_wakeups_migrate ;
3058 u64 nr_wakeups_local ;
3059 u64 nr_wakeups_remote ;
3060 u64 nr_wakeups_affine ;
3061 u64 nr_wakeups_affine_attempts ;
3062 u64 nr_wakeups_passive ;
3063 u64 nr_wakeups_idle ;
3064};
3065# 1169 "include/linux/sched.h"
3066struct sched_entity {
3067 struct load_weight load ;
3068 struct rb_node run_node ;
3069 struct list_head group_node ;
3070 unsigned int on_rq ;
3071 u64 exec_start ;
3072 u64 sum_exec_runtime ;
3073 u64 vruntime ;
3074 u64 prev_sum_exec_runtime ;
3075 u64 nr_migrations ;
3076 struct sched_statistics statistics ;
3077 struct sched_entity *parent ;
3078 struct cfs_rq *cfs_rq ;
3079 struct cfs_rq *my_q ;
3080};
3081# 1195 "include/linux/sched.h"
3082struct rt_rq;
3083# 1195 "include/linux/sched.h"
3084struct sched_rt_entity {
3085 struct list_head run_list ;
3086 unsigned long timeout ;
3087 unsigned int time_slice ;
3088 int nr_cpus_allowed ;
3089 struct sched_rt_entity *back ;
3090 struct sched_rt_entity *parent ;
3091 struct rt_rq *rt_rq ;
3092 struct rt_rq *my_q ;
3093};
3094# 1220 "include/linux/sched.h"
3095struct css_set;
3096# 1220 "include/linux/sched.h"
3097struct compat_robust_list_head;
3098# 1220 "include/linux/sched.h"
3099struct ftrace_ret_stack;
3100# 1220 "include/linux/sched.h"
3101struct mem_cgroup;
3102# 1220 "include/linux/sched.h"
3103struct memcg_batch_info {
3104 int do_batch ;
3105 struct mem_cgroup *memcg ;
3106 unsigned long nr_pages ;
3107 unsigned long memsw_nr_pages ;
3108};
3109# 1220 "include/linux/sched.h"
3110struct task_struct {
3111 long volatile state ;
3112 void *stack ;
3113 atomic_t usage ;
3114 unsigned int flags ;
3115 unsigned int ptrace ;
3116 struct task_struct *wake_entry ;
3117 int on_cpu ;
3118 int on_rq ;
3119 int prio ;
3120 int static_prio ;
3121 int normal_prio ;
3122 unsigned int rt_priority ;
3123 struct sched_class const *sched_class ;
3124 struct sched_entity se ;
3125 struct sched_rt_entity rt ;
3126 struct hlist_head preempt_notifiers ;
3127 unsigned char fpu_counter ;
3128 unsigned int btrace_seq ;
3129 unsigned int policy ;
3130 cpumask_t cpus_allowed ;
3131 struct sched_info sched_info ;
3132 struct list_head tasks ;
3133 struct plist_node pushable_tasks ;
3134 struct mm_struct *mm ;
3135 struct mm_struct *active_mm ;
3136 unsigned int brk_randomized : 1 ;
3137 int exit_state ;
3138 int exit_code ;
3139 int exit_signal ;
3140 int pdeath_signal ;
3141 unsigned int group_stop ;
3142 unsigned int personality ;
3143 unsigned int did_exec : 1 ;
3144 unsigned int in_execve : 1 ;
3145 unsigned int in_iowait : 1 ;
3146 unsigned int sched_reset_on_fork : 1 ;
3147 unsigned int sched_contributes_to_load : 1 ;
3148 pid_t pid ;
3149 pid_t tgid ;
3150 unsigned long stack_canary ;
3151 struct task_struct *real_parent ;
3152 struct task_struct *parent ;
3153 struct list_head children ;
3154 struct list_head sibling ;
3155 struct task_struct *group_leader ;
3156 struct list_head ptraced ;
3157 struct list_head ptrace_entry ;
3158 struct pid_link pids[3] ;
3159 struct list_head thread_group ;
3160 struct completion *vfork_done ;
3161 int *set_child_tid ;
3162 int *clear_child_tid ;
3163 cputime_t utime ;
3164 cputime_t stime ;
3165 cputime_t utimescaled ;
3166 cputime_t stimescaled ;
3167 cputime_t gtime ;
3168 cputime_t prev_utime ;
3169 cputime_t prev_stime ;
3170 unsigned long nvcsw ;
3171 unsigned long nivcsw ;
3172 struct timespec start_time ;
3173 struct timespec real_start_time ;
3174 unsigned long min_flt ;
3175 unsigned long maj_flt ;
3176 struct task_cputime cputime_expires ;
3177 struct list_head cpu_timers[3] ;
3178 struct cred const *real_cred ;
3179 struct cred const *cred ;
3180 struct cred *replacement_session_keyring ;
3181 char comm[16] ;
3182 int link_count ;
3183 int total_link_count ;
3184 struct sysv_sem sysvsem ;
3185 unsigned long last_switch_count ;
3186 struct thread_struct thread ;
3187 struct fs_struct *fs ;
3188 struct files_struct *files ;
3189 struct nsproxy *nsproxy ;
3190 struct signal_struct *signal ;
3191 struct sighand_struct *sighand ;
3192 sigset_t blocked ;
3193 sigset_t real_blocked ;
3194 sigset_t saved_sigmask ;
3195 struct sigpending pending ;
3196 unsigned long sas_ss_sp ;
3197 size_t sas_ss_size ;
3198 int (*notifier)(void *priv ) ;
3199 void *notifier_data ;
3200 sigset_t *notifier_mask ;
3201 struct audit_context *audit_context ;
3202 uid_t loginuid ;
3203 unsigned int sessionid ;
3204 seccomp_t seccomp ;
3205 u32 parent_exec_id ;
3206 u32 self_exec_id ;
3207 spinlock_t alloc_lock ;
3208 struct irqaction *irqaction ;
3209 raw_spinlock_t pi_lock ;
3210 struct plist_head pi_waiters ;
3211 struct rt_mutex_waiter *pi_blocked_on ;
3212 struct mutex_waiter *blocked_on ;
3213 unsigned int irq_events ;
3214 unsigned long hardirq_enable_ip ;
3215 unsigned long hardirq_disable_ip ;
3216 unsigned int hardirq_enable_event ;
3217 unsigned int hardirq_disable_event ;
3218 int hardirqs_enabled ;
3219 int hardirq_context ;
3220 unsigned long softirq_disable_ip ;
3221 unsigned long softirq_enable_ip ;
3222 unsigned int softirq_disable_event ;
3223 unsigned int softirq_enable_event ;
3224 int softirqs_enabled ;
3225 int softirq_context ;
3226 u64 curr_chain_key ;
3227 int lockdep_depth ;
3228 unsigned int lockdep_recursion ;
3229 struct held_lock held_locks[48UL] ;
3230 gfp_t lockdep_reclaim_gfp ;
3231 void *journal_info ;
3232 struct bio_list *bio_list ;
3233 struct blk_plug *plug ;
3234 struct reclaim_state *reclaim_state ;
3235 struct backing_dev_info *backing_dev_info ;
3236 struct io_context *io_context ;
3237 unsigned long ptrace_message ;
3238 siginfo_t *last_siginfo ;
3239 struct task_io_accounting ioac ;
3240 u64 acct_rss_mem1 ;
3241 u64 acct_vm_mem1 ;
3242 cputime_t acct_timexpd ;
3243 nodemask_t mems_allowed ;
3244 int mems_allowed_change_disable ;
3245 int cpuset_mem_spread_rotor ;
3246 int cpuset_slab_spread_rotor ;
3247 struct css_set *cgroups ;
3248 struct list_head cg_list ;
3249 struct robust_list_head *robust_list ;
3250 struct compat_robust_list_head *compat_robust_list ;
3251 struct list_head pi_state_list ;
3252 struct futex_pi_state *pi_state_cache ;
3253 struct perf_event_context *perf_event_ctxp[2] ;
3254 struct mutex perf_event_mutex ;
3255 struct list_head perf_event_list ;
3256 struct mempolicy *mempolicy ;
3257 short il_next ;
3258 short pref_node_fork ;
3259 atomic_t fs_excl ;
3260 struct rcu_head rcu ;
3261 struct pipe_inode_info *splice_pipe ;
3262 struct task_delay_info *delays ;
3263 int make_it_fail ;
3264 struct prop_local_single dirties ;
3265 int latency_record_count ;
3266 struct latency_record latency_record[32] ;
3267 unsigned long timer_slack_ns ;
3268 unsigned long default_timer_slack_ns ;
3269 struct list_head *scm_work_list ;
3270 int curr_ret_stack ;
3271 struct ftrace_ret_stack *ret_stack ;
3272 unsigned long long ftrace_timestamp ;
3273 atomic_t trace_overrun ;
3274 atomic_t tracing_graph_pause ;
3275 unsigned long trace ;
3276 unsigned long trace_recursion ;
3277 struct memcg_batch_info memcg_batch ;
3278 atomic_t ptrace_bp_refcnt ;
3279};
3280# 40 "include/linux/taskstats.h"
3281struct taskstats {
3282 __u16 version ;
3283 __u32 ac_exitcode ;
3284 __u8 ac_flag ;
3285 __u8 ac_nice ;
3286 __u64 cpu_count __attribute__((__aligned__(8))) ;
3287 __u64 cpu_delay_total ;
3288 __u64 blkio_count ;
3289 __u64 blkio_delay_total ;
3290 __u64 swapin_count ;
3291 __u64 swapin_delay_total ;
3292 __u64 cpu_run_real_total ;
3293 __u64 cpu_run_virtual_total ;
3294 char ac_comm[32] ;
3295 __u8 ac_sched __attribute__((__aligned__(8))) ;
3296 __u8 ac_pad[3] ;
3297 __u32 ac_uid __attribute__((__aligned__(8))) ;
3298 __u32 ac_gid ;
3299 __u32 ac_pid ;
3300 __u32 ac_ppid ;
3301 __u32 ac_btime ;
3302 __u64 ac_etime __attribute__((__aligned__(8))) ;
3303 __u64 ac_utime ;
3304 __u64 ac_stime ;
3305 __u64 ac_minflt ;
3306 __u64 ac_majflt ;
3307 __u64 coremem ;
3308 __u64 virtmem ;
3309 __u64 hiwater_rss ;
3310 __u64 hiwater_vm ;
3311 __u64 read_char ;
3312 __u64 write_char ;
3313 __u64 read_syscalls ;
3314 __u64 write_syscalls ;
3315 __u64 read_bytes ;
3316 __u64 write_bytes ;
3317 __u64 cancelled_write_bytes ;
3318 __u64 nvcsw ;
3319 __u64 nivcsw ;
3320 __u64 ac_utimescaled ;
3321 __u64 ac_stimescaled ;
3322 __u64 cpu_scaled_run_real_total ;
3323 __u64 freepages_count ;
3324 __u64 freepages_delay_total ;
3325};
3326# 22 "include/linux/cgroup.h"
3327struct cgroupfs_root;
3328# 25 "include/linux/cgroup.h"
3329struct cgroup;
3330# 26 "include/linux/cgroup.h"
3331struct css_id;
3332# 60 "include/linux/cgroup.h"
3333struct cgroup_subsys_state {
3334 struct cgroup *cgroup ;
3335 atomic_t refcnt ;
3336 unsigned long flags ;
3337 struct css_id *id ;
3338};
3339# 195 "include/linux/cgroup.h"
3340struct cgroup {
3341 unsigned long flags ;
3342 atomic_t count ;
3343 struct list_head sibling ;
3344 struct list_head children ;
3345 struct cgroup *parent ;
3346 struct dentry *dentry ;
3347 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
3348 struct cgroupfs_root *root ;
3349 struct cgroup *top_cgroup ;
3350 struct list_head css_sets ;
3351 struct list_head release_list ;
3352 struct list_head pidlists ;
3353 struct mutex pidlist_mutex ;
3354 struct rcu_head rcu_head ;
3355 struct list_head event_list ;
3356 spinlock_t event_list_lock ;
3357};
3358# 256 "include/linux/cgroup.h"
3359struct css_set {
3360 atomic_t refcount ;
3361 struct hlist_node hlist ;
3362 struct list_head tasks ;
3363 struct list_head cg_links ;
3364 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
3365 struct rcu_head rcu_head ;
3366};
3367# 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
3368typedef s32 compat_time_t;
3369# 37 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
3370typedef s32 compat_long_t;
3371# 43 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
3372struct compat_timespec {
3373 compat_time_t tv_sec ;
3374 s32 tv_nsec ;
3375};
3376# 196 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
3377typedef u32 compat_uptr_t;
3378# 206 "include/linux/compat.h"
3379struct compat_robust_list {
3380 compat_uptr_t next ;
3381};
3382# 210 "include/linux/compat.h"
3383struct compat_robust_list_head {
3384 struct compat_robust_list list ;
3385 compat_long_t futex_offset ;
3386 compat_uptr_t list_op_pending ;
3387};
3388# 46 "include/linux/proc_fs.h"
3389typedef int read_proc_t(char *page , char **start , off_t off , int count , int *eof ,
3390 void *data );
3391# 48 "include/linux/proc_fs.h"
3392typedef int write_proc_t(struct file *file , char const *buffer , unsigned long count ,
3393 void *data );
3394# 51 "include/linux/proc_fs.h"
3395struct proc_dir_entry {
3396 unsigned int low_ino ;
3397 unsigned int namelen ;
3398 char const *name ;
3399 mode_t mode ;
3400 nlink_t nlink ;
3401 uid_t uid ;
3402 gid_t gid ;
3403 loff_t size ;
3404 struct inode_operations const *proc_iops ;
3405 struct file_operations const *proc_fops ;
3406 struct proc_dir_entry *next ;
3407 struct proc_dir_entry *parent ;
3408 struct proc_dir_entry *subdir ;
3409 void *data ;
3410 read_proc_t *read_proc ;
3411 write_proc_t *write_proc ;
3412 atomic_t count ;
3413 int pde_users ;
3414 spinlock_t pde_unload_lock ;
3415 struct completion *pde_unload_completion ;
3416 struct list_head pde_openers ;
3417};
3418# 16 "include/linux/seq_file.h"
3419struct seq_file {
3420 char *buf ;
3421 size_t size ;
3422 size_t from ;
3423 size_t count ;
3424 loff_t index ;
3425 loff_t read_pos ;
3426 u64 version ;
3427 struct mutex lock ;
3428 struct seq_operations const *op ;
3429 void *private ;
3430};
3431# 29 "include/linux/seq_file.h"
3432struct seq_operations {
3433 void *(*start)(struct seq_file *m , loff_t *pos ) ;
3434 void (*stop)(struct seq_file *m , void *v ) ;
3435 void *(*next)(struct seq_file *m , void *v , loff_t *pos ) ;
3436 int (*show)(struct seq_file *m , void *v ) ;
3437};
3438# 106 "include/linux/interrupt.h"
3439struct irqaction {
3440 irqreturn_t (*handler)(int , void * ) ;
3441 unsigned long flags ;
3442 void *dev_id ;
3443 struct irqaction *next ;
3444 int irq ;
3445 irqreturn_t (*thread_fn)(int , void * ) ;
3446 struct task_struct *thread ;
3447 unsigned long thread_flags ;
3448 unsigned long thread_mask ;
3449 char const *name ;
3450 struct proc_dir_entry *dir ;
3451} __attribute__((__aligned__((1) << (12) ))) ;
3452# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
3453struct vhost_work;
3454# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
3455struct vhost_work {
3456 struct list_head node ;
3457 void (*fn)(struct vhost_work *work ) ;
3458 wait_queue_head_t done ;
3459 int flushing ;
3460 unsigned int queue_seq ;
3461 unsigned int done_seq ;
3462};
3463# 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
3464struct vhost_dev;
3465# 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
3466struct vhost_poll {
3467 poll_table table ;
3468 wait_queue_head_t *wqh ;
3469 wait_queue_t wait ;
3470 struct vhost_work work ;
3471 unsigned long mask ;
3472 struct vhost_dev *dev ;
3473};
3474# 48 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
3475struct vhost_log {
3476 u64 addr ;
3477 u64 len ;
3478};
3479# 54 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
3480struct vhost_virtqueue {
3481 struct vhost_dev *dev ;
3482 struct mutex mutex ;
3483 unsigned int num ;
3484 struct vring_desc *desc ;
3485 struct vring_avail *avail ;
3486 struct vring_used *used ;
3487 struct file *kick ;
3488 struct file *call ;
3489 struct file *error ;
3490 struct eventfd_ctx *call_ctx ;
3491 struct eventfd_ctx *error_ctx ;
3492 struct eventfd_ctx *log_ctx ;
3493 struct vhost_poll poll ;
3494 void (*handle_kick)(struct vhost_work *work ) ;
3495 u16 last_avail_idx ;
3496 u16 avail_idx ;
3497 u16 last_used_idx ;
3498 u16 used_flags ;
3499 u16 signalled_used ;
3500 bool signalled_used_valid ;
3501 bool log_used ;
3502 u64 log_addr ;
3503 struct iovec iov[1024] ;
3504 struct iovec hdr[sizeof(struct virtio_net_hdr_mrg_rxbuf )] ;
3505 struct iovec *indirect ;
3506 size_t vhost_hlen ;
3507 size_t sock_hlen ;
3508 struct vring_used_elem *heads ;
3509 void *private_data ;
3510 void *log_base ;
3511 struct vhost_log *log ;
3512};
3513# 119 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
3514struct vhost_dev {
3515 struct vhost_memory *memory ;
3516 struct mm_struct *mm ;
3517 struct mutex mutex ;
3518 unsigned int acked_features ;
3519 struct vhost_virtqueue *vqs ;
3520 int nvqs ;
3521 struct file *log_file ;
3522 struct eventfd_ctx *log_ctx ;
3523 spinlock_t work_lock ;
3524 struct list_head work_list ;
3525 struct task_struct *worker ;
3526};
3527# 308 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
3528struct vhost_attach_cgroups_struct {
3529 struct vhost_work work ;
3530 struct task_struct *owner ;
3531 int ret ;
3532};
3533# 244 "include/linux/usb/ch9.h"
3534struct usb_device_descriptor {
3535 __u8 bLength ;
3536 __u8 bDescriptorType ;
3537 __le16 bcdUSB ;
3538 __u8 bDeviceClass ;
3539 __u8 bDeviceSubClass ;
3540 __u8 bDeviceProtocol ;
3541 __u8 bMaxPacketSize0 ;
3542 __le16 idVendor ;
3543 __le16 idProduct ;
3544 __le16 bcdDevice ;
3545 __u8 iManufacturer ;
3546 __u8 iProduct ;
3547 __u8 iSerialNumber ;
3548 __u8 bNumConfigurations ;
3549} __attribute__((__packed__)) ;
3550# 300 "include/linux/usb/ch9.h"
3551struct usb_config_descriptor {
3552 __u8 bLength ;
3553 __u8 bDescriptorType ;
3554 __le16 wTotalLength ;
3555 __u8 bNumInterfaces ;
3556 __u8 bConfigurationValue ;
3557 __u8 iConfiguration ;
3558 __u8 bmAttributes ;
3559 __u8 bMaxPower ;
3560} __attribute__((__packed__)) ;
3561# 337 "include/linux/usb/ch9.h"
3562struct usb_interface_descriptor {
3563 __u8 bLength ;
3564 __u8 bDescriptorType ;
3565 __u8 bInterfaceNumber ;
3566 __u8 bAlternateSetting ;
3567 __u8 bNumEndpoints ;
3568 __u8 bInterfaceClass ;
3569 __u8 bInterfaceSubClass ;
3570 __u8 bInterfaceProtocol ;
3571 __u8 iInterface ;
3572} __attribute__((__packed__)) ;
3573# 355 "include/linux/usb/ch9.h"
3574struct usb_endpoint_descriptor {
3575 __u8 bLength ;
3576 __u8 bDescriptorType ;
3577 __u8 bEndpointAddress ;
3578 __u8 bmAttributes ;
3579 __le16 wMaxPacketSize ;
3580 __u8 bInterval ;
3581 __u8 bRefresh ;
3582 __u8 bSynchAddress ;
3583} __attribute__((__packed__)) ;
3584# 576 "include/linux/usb/ch9.h"
3585struct usb_ss_ep_comp_descriptor {
3586 __u8 bLength ;
3587 __u8 bDescriptorType ;
3588 __u8 bMaxBurst ;
3589 __u8 bmAttributes ;
3590 __le16 wBytesPerInterval ;
3591} __attribute__((__packed__)) ;
3592# 637 "include/linux/usb/ch9.h"
3593struct usb_interface_assoc_descriptor {
3594 __u8 bLength ;
3595 __u8 bDescriptorType ;
3596 __u8 bFirstInterface ;
3597 __u8 bInterfaceCount ;
3598 __u8 bFunctionClass ;
3599 __u8 bFunctionSubClass ;
3600 __u8 bFunctionProtocol ;
3601 __u8 iFunction ;
3602} __attribute__((__packed__)) ;
3603# 846 "include/linux/usb/ch9.h"
3604enum usb_device_speed {
3605 USB_SPEED_UNKNOWN = 0,
3606 USB_SPEED_LOW = 1,
3607 USB_SPEED_FULL = 2,
3608 USB_SPEED_HIGH = 3,
3609 USB_SPEED_WIRELESS = 4,
3610 USB_SPEED_SUPER = 5
3611} ;
3612# 854 "include/linux/usb/ch9.h"
3613enum usb_device_state {
3614 USB_STATE_NOTATTACHED = 0,
3615 USB_STATE_ATTACHED = 1,
3616 USB_STATE_POWERED = 2,
3617 USB_STATE_RECONNECTING = 3,
3618 USB_STATE_UNAUTHENTICATED = 4,
3619 USB_STATE_DEFAULT = 5,
3620 USB_STATE_ADDRESS = 6,
3621 USB_STATE_CONFIGURED = 7,
3622 USB_STATE_SUSPENDED = 8
3623} ;
3624# 25 "include/linux/usb.h"
3625struct usb_device;
3626# 27 "include/linux/usb.h"
3627struct wusb_dev;
3628# 47 "include/linux/usb.h"
3629struct ep_device;
3630# 64 "include/linux/usb.h"
3631struct usb_host_endpoint {
3632 struct usb_endpoint_descriptor desc ;
3633 struct usb_ss_ep_comp_descriptor ss_ep_comp ;
3634 struct list_head urb_list ;
3635 void *hcpriv ;
3636 struct ep_device *ep_dev ;
3637 unsigned char *extra ;
3638 int extralen ;
3639 int enabled ;
3640};
3641# 77 "include/linux/usb.h"
3642struct usb_host_interface {
3643 struct usb_interface_descriptor desc ;
3644 struct usb_host_endpoint *endpoint ;
3645 char *string ;
3646 unsigned char *extra ;
3647 int extralen ;
3648};
3649# 90 "include/linux/usb.h"
3650enum usb_interface_condition {
3651 USB_INTERFACE_UNBOUND = 0,
3652 USB_INTERFACE_BINDING = 1,
3653 USB_INTERFACE_BOUND = 2,
3654 USB_INTERFACE_UNBINDING = 3
3655} ;
3656# 159 "include/linux/usb.h"
3657struct usb_interface {
3658 struct usb_host_interface *altsetting ;
3659 struct usb_host_interface *cur_altsetting ;
3660 unsigned int num_altsetting ;
3661 struct usb_interface_assoc_descriptor *intf_assoc ;
3662 int minor ;
3663 enum usb_interface_condition condition ;
3664 unsigned int sysfs_files_created : 1 ;
3665 unsigned int ep_devs_created : 1 ;
3666 unsigned int unregistering : 1 ;
3667 unsigned int needs_remote_wakeup : 1 ;
3668 unsigned int needs_altsetting0 : 1 ;
3669 unsigned int needs_binding : 1 ;
3670 unsigned int reset_running : 1 ;
3671 unsigned int resetting_device : 1 ;
3672 struct device dev ;
3673 struct device *usb_dev ;
3674 atomic_t pm_usage_cnt ;
3675 struct work_struct reset_ws ;
3676};
3677# 222 "include/linux/usb.h"
3678struct usb_interface_cache {
3679 unsigned int num_altsetting ;
3680 struct kref ref ;
3681 struct usb_host_interface altsetting[0] ;
3682};
3683# 274 "include/linux/usb.h"
3684struct usb_host_config {
3685 struct usb_config_descriptor desc ;
3686 char *string ;
3687 struct usb_interface_assoc_descriptor *intf_assoc[16] ;
3688 struct usb_interface *interface[32] ;
3689 struct usb_interface_cache *intf_cache[32] ;
3690 unsigned char *extra ;
3691 int extralen ;
3692};
3693# 305 "include/linux/usb.h"
3694struct usb_devmap {
3695 unsigned long devicemap[128UL / (8UL * sizeof(unsigned long ))] ;
3696};
3697# 312 "include/linux/usb.h"
3698struct mon_bus;
3699# 312 "include/linux/usb.h"
3700struct usb_bus {
3701 struct device *controller ;
3702 int busnum ;
3703 char const *bus_name ;
3704 u8 uses_dma ;
3705 u8 uses_pio_for_control ;
3706 u8 otg_port ;
3707 unsigned int is_b_host : 1 ;
3708 unsigned int b_hnp_enable : 1 ;
3709 unsigned int sg_tablesize ;
3710 int devnum_next ;
3711 struct usb_devmap devmap ;
3712 struct usb_device *root_hub ;
3713 struct usb_bus *hs_companion ;
3714 struct list_head bus_list ;
3715 int bandwidth_allocated ;
3716 int bandwidth_int_reqs ;
3717 int bandwidth_isoc_reqs ;
3718 struct dentry *usbfs_dentry ;
3719 struct mon_bus *mon_bus ;
3720 int monitored ;
3721};
3722# 367 "include/linux/usb.h"
3723struct usb_tt;
3724# 426 "include/linux/usb.h"
3725struct usb_device {
3726 int devnum ;
3727 char devpath[16] ;
3728 u32 route ;
3729 enum usb_device_state state ;
3730 enum usb_device_speed speed ;
3731 struct usb_tt *tt ;
3732 int ttport ;
3733 unsigned int toggle[2] ;
3734 struct usb_device *parent ;
3735 struct usb_bus *bus ;
3736 struct usb_host_endpoint ep0 ;
3737 struct device dev ;
3738 struct usb_device_descriptor descriptor ;
3739 struct usb_host_config *config ;
3740 struct usb_host_config *actconfig ;
3741 struct usb_host_endpoint *ep_in[16] ;
3742 struct usb_host_endpoint *ep_out[16] ;
3743 char **rawdescriptors ;
3744 unsigned short bus_mA ;
3745 u8 portnum ;
3746 u8 level ;
3747 unsigned int can_submit : 1 ;
3748 unsigned int persist_enabled : 1 ;
3749 unsigned int have_langid : 1 ;
3750 unsigned int authorized : 1 ;
3751 unsigned int authenticated : 1 ;
3752 unsigned int wusb : 1 ;
3753 int string_langid ;
3754 char *product ;
3755 char *manufacturer ;
3756 char *serial ;
3757 struct list_head filelist ;
3758 struct device *usb_classdev ;
3759 struct dentry *usbfs_dentry ;
3760 int maxchild ;
3761 struct usb_device *children[31] ;
3762 u32 quirks ;
3763 atomic_t urbnum ;
3764 unsigned long active_duration ;
3765 unsigned long connect_time ;
3766 unsigned int do_remote_wakeup : 1 ;
3767 unsigned int reset_resume : 1 ;
3768 struct wusb_dev *wusb_dev ;
3769 int slot_id ;
3770};
3771# 983 "include/linux/usb.h"
3772struct usb_iso_packet_descriptor {
3773 unsigned int offset ;
3774 unsigned int length ;
3775 unsigned int actual_length ;
3776 int status ;
3777};
3778# 990 "include/linux/usb.h"
3779struct urb;
3780# 992 "include/linux/usb.h"
3781struct usb_anchor {
3782 struct list_head urb_list ;
3783 wait_queue_head_t wait ;
3784 spinlock_t lock ;
3785 unsigned int poisoned : 1 ;
3786};
3787# 1183 "include/linux/usb.h"
3788struct urb {
3789 struct kref kref ;
3790 void *hcpriv ;
3791 atomic_t use_count ;
3792 atomic_t reject ;
3793 int unlinked ;
3794 struct list_head urb_list ;
3795 struct list_head anchor_list ;
3796 struct usb_anchor *anchor ;
3797 struct usb_device *dev ;
3798 struct usb_host_endpoint *ep ;
3799 unsigned int pipe ;
3800 unsigned int stream_id ;
3801 int status ;
3802 unsigned int transfer_flags ;
3803 void *transfer_buffer ;
3804 dma_addr_t transfer_dma ;
3805 struct scatterlist *sg ;
3806 int num_sgs ;
3807 u32 transfer_buffer_length ;
3808 u32 actual_length ;
3809 unsigned char *setup_packet ;
3810 dma_addr_t setup_dma ;
3811 int start_frame ;
3812 int number_of_packets ;
3813 int interval ;
3814 int error_count ;
3815 void *context ;
3816 void (*complete)(struct urb * ) ;
3817 struct usb_iso_packet_descriptor iso_frame_desc[0] ;
3818};
3819# 178 "include/linux/types.h"
3820typedef __u16 __be16;
3821# 180 "include/linux/types.h"
3822typedef __u32 __be32;
3823# 185 "include/linux/types.h"
3824typedef __u32 __wsum;
3825# 33 "include/linux/seqlock.h"
3826struct __anonstruct_seqlock_t_40 {
3827 unsigned int sequence ;
3828 spinlock_t lock ;
3829};
3830# 33 "include/linux/seqlock.h"
3831typedef struct __anonstruct_seqlock_t_40 seqlock_t;
3832# 11 "include/linux/socket.h"
3833struct sockaddr;
3834# 38 "include/linux/socket.h"
3835typedef unsigned short sa_family_t;
3836# 44 "include/linux/socket.h"
3837struct sockaddr {
3838 sa_family_t sa_family ;
3839 char sa_data[14] ;
3840};
3841# 62 "include/linux/socket.h"
3842struct msghdr {
3843 void *msg_name ;
3844 int msg_namelen ;
3845 struct iovec *msg_iov ;
3846 __kernel_size_t msg_iovlen ;
3847 void *msg_control ;
3848 __kernel_size_t msg_controllen ;
3849 unsigned int msg_flags ;
3850};
3851# 37 "include/linux/hdlc/ioctl.h"
3852struct __anonstruct_sync_serial_settings_41 {
3853 unsigned int clock_rate ;
3854 unsigned int clock_type ;
3855 unsigned short loopback ;
3856};
3857# 37 "include/linux/hdlc/ioctl.h"
3858typedef struct __anonstruct_sync_serial_settings_41 sync_serial_settings;
3859# 43 "include/linux/hdlc/ioctl.h"
3860struct __anonstruct_te1_settings_42 {
3861 unsigned int clock_rate ;
3862 unsigned int clock_type ;
3863 unsigned short loopback ;
3864 unsigned int slot_map ;
3865};
3866# 43 "include/linux/hdlc/ioctl.h"
3867typedef struct __anonstruct_te1_settings_42 te1_settings;
3868# 50 "include/linux/hdlc/ioctl.h"
3869struct __anonstruct_raw_hdlc_proto_43 {
3870 unsigned short encoding ;
3871 unsigned short parity ;
3872};
3873# 50 "include/linux/hdlc/ioctl.h"
3874typedef struct __anonstruct_raw_hdlc_proto_43 raw_hdlc_proto;
3875# 55 "include/linux/hdlc/ioctl.h"
3876struct __anonstruct_fr_proto_44 {
3877 unsigned int t391 ;
3878 unsigned int t392 ;
3879 unsigned int n391 ;
3880 unsigned int n392 ;
3881 unsigned int n393 ;
3882 unsigned short lmi ;
3883 unsigned short dce ;
3884};
3885# 55 "include/linux/hdlc/ioctl.h"
3886typedef struct __anonstruct_fr_proto_44 fr_proto;
3887# 65 "include/linux/hdlc/ioctl.h"
3888struct __anonstruct_fr_proto_pvc_45 {
3889 unsigned int dlci ;
3890};
3891# 65 "include/linux/hdlc/ioctl.h"
3892typedef struct __anonstruct_fr_proto_pvc_45 fr_proto_pvc;
3893# 69 "include/linux/hdlc/ioctl.h"
3894struct __anonstruct_fr_proto_pvc_info_46 {
3895 unsigned int dlci ;
3896 char master[16] ;
3897};
3898# 69 "include/linux/hdlc/ioctl.h"
3899typedef struct __anonstruct_fr_proto_pvc_info_46 fr_proto_pvc_info;
3900# 74 "include/linux/hdlc/ioctl.h"
3901struct __anonstruct_cisco_proto_47 {
3902 unsigned int interval ;
3903 unsigned int timeout ;
3904};
3905# 74 "include/linux/hdlc/ioctl.h"
3906typedef struct __anonstruct_cisco_proto_47 cisco_proto;
3907# 134 "include/linux/if.h"
3908struct ifmap {
3909 unsigned long mem_start ;
3910 unsigned long mem_end ;
3911 unsigned short base_addr ;
3912 unsigned char irq ;
3913 unsigned char dma ;
3914 unsigned char port ;
3915};
3916# 144 "include/linux/if.h"
3917union __anonunion_ifs_ifsu_50 {
3918 raw_hdlc_proto *raw_hdlc ;
3919 cisco_proto *cisco ;
3920 fr_proto *fr ;
3921 fr_proto_pvc *fr_pvc ;
3922 fr_proto_pvc_info *fr_pvc_info ;
3923 sync_serial_settings *sync ;
3924 te1_settings *te1 ;
3925};
3926# 144 "include/linux/if.h"
3927struct if_settings {
3928 unsigned int type ;
3929 unsigned int size ;
3930 union __anonunion_ifs_ifsu_50 ifs_ifsu ;
3931};
3932# 168 "include/linux/if.h"
3933union __anonunion_ifr_ifrn_51 {
3934 char ifrn_name[16] ;
3935};
3936# 168 "include/linux/if.h"
3937union __anonunion_ifr_ifru_52 {
3938 struct sockaddr ifru_addr ;
3939 struct sockaddr ifru_dstaddr ;
3940 struct sockaddr ifru_broadaddr ;
3941 struct sockaddr ifru_netmask ;
3942 struct sockaddr ifru_hwaddr ;
3943 short ifru_flags ;
3944 int ifru_ivalue ;
3945 int ifru_mtu ;
3946 struct ifmap ifru_map ;
3947 char ifru_slave[16] ;
3948 char ifru_newname[16] ;
3949 void *ifru_data ;
3950 struct if_settings ifru_settings ;
3951};
3952# 168 "include/linux/if.h"
3953struct ifreq {
3954 union __anonunion_ifr_ifrn_51 ifr_ifrn ;
3955 union __anonunion_ifr_ifru_52 ifr_ifru ;
3956};
3957# 290 "include/linux/timer.h"
3958enum hrtimer_restart;
3959# 290 "include/linux/timer.h"
3960enum hrtimer_restart;
3961# 18 "include/linux/percpu_counter.h"
3962struct percpu_counter {
3963 spinlock_t lock ;
3964 s64 count ;
3965 struct list_head list ;
3966 s32 *counters ;
3967};
3968# 2574 "include/linux/fs.h"
3969struct ctl_table;
3970# 938 "include/linux/sysctl.h"
3971struct ctl_table_root;
3972# 940 "include/linux/sysctl.h"
3973struct ctl_table_set {
3974 struct list_head list ;
3975 struct ctl_table_set *parent ;
3976 int (*is_seen)(struct ctl_table_set * ) ;
3977};
3978# 950 "include/linux/sysctl.h"
3979struct ctl_table_header;
3980# 965 "include/linux/sysctl.h"
3981typedef int proc_handler(struct ctl_table *ctl , int write , void *buffer , size_t *lenp ,
3982 loff_t *ppos );
3983# 1015 "include/linux/sysctl.h"
3984struct ctl_table {
3985 char const *procname ;
3986 void *data ;
3987 int maxlen ;
3988 mode_t mode ;
3989 struct ctl_table *child ;
3990 struct ctl_table *parent ;
3991 proc_handler *proc_handler ;
3992 void *extra1 ;
3993 void *extra2 ;
3994};
3995# 1028 "include/linux/sysctl.h"
3996struct ctl_table_root {
3997 struct list_head root_list ;
3998 struct ctl_table_set default_set ;
3999 struct ctl_table_set *(*lookup)(struct ctl_table_root *root , struct nsproxy *namespaces ) ;
4000 int (*permissions)(struct ctl_table_root *root , struct nsproxy *namespaces , struct ctl_table *table ) ;
4001};
4002# 1039 "include/linux/sysctl.h"
4003struct __anonstruct____missing_field_name_239 {
4004 struct ctl_table *ctl_table ;
4005 struct list_head ctl_entry ;
4006 int used ;
4007 int count ;
4008};
4009# 1039 "include/linux/sysctl.h"
4010union __anonunion____missing_field_name_238 {
4011 struct __anonstruct____missing_field_name_239 __annonCompField36 ;
4012 struct rcu_head rcu ;
4013};
4014# 1039 "include/linux/sysctl.h"
4015struct ctl_table_header {
4016 union __anonunion____missing_field_name_238 __annonCompField37 ;
4017 struct completion *unregistering ;
4018 struct ctl_table *ctl_table_arg ;
4019 struct ctl_table_root *root ;
4020 struct ctl_table_set *set ;
4021 struct ctl_table *attached_by ;
4022 struct ctl_table *attached_to ;
4023 struct ctl_table_header *parent ;
4024};
4025# 24 "include/linux/sysfs.h"
4026enum kobj_ns_type;
4027# 311 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/elf.h"
4028struct linux_binprm;
4029# 119 "include/linux/if_ether.h"
4030struct ethhdr {
4031 unsigned char h_dest[6] ;
4032 unsigned char h_source[6] ;
4033 __be16 h_proto ;
4034} __attribute__((__packed__)) ;
4035# 47 "include/linux/net.h"
4036enum __anonenum_socket_state_257 {
4037 SS_FREE = 0,
4038 SS_UNCONNECTED = 1,
4039 SS_CONNECTING = 2,
4040 SS_CONNECTED = 3,
4041 SS_DISCONNECTING = 4
4042} ;
4043# 47 "include/linux/net.h"
4044typedef enum __anonenum_socket_state_257 socket_state;
4045# 68 "include/linux/net.h"
4046struct net;
4047# 121 "include/linux/net.h"
4048struct socket_wq {
4049 wait_queue_head_t wait ;
4050 struct fasync_struct *fasync_list ;
4051 struct rcu_head rcu ;
4052} __attribute__((__aligned__((1) << (6) ))) ;
4053# 138 "include/linux/net.h"
4054struct proto_ops;
4055# 138 "include/linux/net.h"
4056struct socket {
4057 socket_state state ;
4058 short type ;
4059 unsigned long flags ;
4060 struct socket_wq *wq ;
4061 struct file *file ;
4062 struct sock *sk ;
4063 struct proto_ops const *ops ;
4064};
4065# 161 "include/linux/net.h"
4066struct proto_ops {
4067 int family ;
4068 struct module *owner ;
4069 int (*release)(struct socket *sock ) ;
4070 int (*bind)(struct socket *sock , struct sockaddr *myaddr , int sockaddr_len ) ;
4071 int (*connect)(struct socket *sock , struct sockaddr *vaddr , int sockaddr_len ,
4072 int flags ) ;
4073 int (*socketpair)(struct socket *sock1 , struct socket *sock2 ) ;
4074 int (*accept)(struct socket *sock , struct socket *newsock , int flags ) ;
4075 int (*getname)(struct socket *sock , struct sockaddr *addr , int *sockaddr_len ,
4076 int peer ) ;
4077 unsigned int (*poll)(struct file *file , struct socket *sock , struct poll_table_struct *wait ) ;
4078 int (*ioctl)(struct socket *sock , unsigned int cmd , unsigned long arg ) ;
4079 int (*compat_ioctl)(struct socket *sock , unsigned int cmd , unsigned long arg ) ;
4080 int (*listen)(struct socket *sock , int len ) ;
4081 int (*shutdown)(struct socket *sock , int flags ) ;
4082 int (*setsockopt)(struct socket *sock , int level , int optname , char *optval ,
4083 unsigned int optlen ) ;
4084 int (*getsockopt)(struct socket *sock , int level , int optname , char *optval ,
4085 int *optlen ) ;
4086 int (*compat_setsockopt)(struct socket *sock , int level , int optname , char *optval ,
4087 unsigned int optlen ) ;
4088 int (*compat_getsockopt)(struct socket *sock , int level , int optname , char *optval ,
4089 int *optlen ) ;
4090 int (*sendmsg)(struct kiocb *iocb , struct socket *sock , struct msghdr *m , size_t total_len ) ;
4091 int (*recvmsg)(struct kiocb *iocb , struct socket *sock , struct msghdr *m , size_t total_len ,
4092 int flags ) ;
4093 int (*mmap)(struct file *file , struct socket *sock , struct vm_area_struct *vma ) ;
4094 ssize_t (*sendpage)(struct socket *sock , struct page *page , int offset , size_t size ,
4095 int flags ) ;
4096 ssize_t (*splice_read)(struct socket *sock , loff_t *ppos , struct pipe_inode_info *pipe ,
4097 size_t len , unsigned int flags ) ;
4098};
4099# 109 "include/net/checksum.h"
4100struct sk_buff;
4101# 33 "include/linux/dmaengine.h"
4102typedef s32 dma_cookie_t;
4103# 94 "include/linux/skbuff.h"
4104struct net_device;
4105# 99 "include/linux/skbuff.h"
4106struct nf_conntrack {
4107 atomic_t use ;
4108};
4109# 105 "include/linux/skbuff.h"
4110struct nf_bridge_info {
4111 atomic_t use ;
4112 struct net_device *physindev ;
4113 struct net_device *physoutdev ;
4114 unsigned int mask ;
4115 unsigned long data[32UL / sizeof(unsigned long )] ;
4116};
4117# 114 "include/linux/skbuff.h"
4118struct sk_buff_head {
4119 struct sk_buff *next ;
4120 struct sk_buff *prev ;
4121 __u32 qlen ;
4122 spinlock_t lock ;
4123};
4124# 259 "include/linux/skbuff.h"
4125typedef unsigned int sk_buff_data_t;
4126# 325 "include/linux/skbuff.h"
4127struct sec_path;
4128# 325 "include/linux/skbuff.h"
4129struct __anonstruct____missing_field_name_264 {
4130 __u16 csum_start ;
4131 __u16 csum_offset ;
4132};
4133# 325 "include/linux/skbuff.h"
4134union __anonunion____missing_field_name_263 {
4135 __wsum csum ;
4136 struct __anonstruct____missing_field_name_264 __annonCompField41 ;
4137};
4138# 325 "include/linux/skbuff.h"
4139union __anonunion____missing_field_name_265 {
4140 __u32 mark ;
4141 __u32 dropcount ;
4142};
4143# 325 "include/linux/skbuff.h"
4144struct sk_buff {
4145 struct sk_buff *next ;
4146 struct sk_buff *prev ;
4147 ktime_t tstamp ;
4148 struct sock *sk ;
4149 struct net_device *dev ;
4150 char cb[48] __attribute__((__aligned__(8))) ;
4151 unsigned long _skb_refdst ;
4152 struct sec_path *sp ;
4153 unsigned int len ;
4154 unsigned int data_len ;
4155 __u16 mac_len ;
4156 __u16 hdr_len ;
4157 union __anonunion____missing_field_name_263 __annonCompField42 ;
4158 __u32 priority ;
4159 __u8 local_df : 1 ;
4160 __u8 cloned : 1 ;
4161 __u8 ip_summed : 2 ;
4162 __u8 nohdr : 1 ;
4163 __u8 nfctinfo : 3 ;
4164 __u8 pkt_type : 3 ;
4165 __u8 fclone : 2 ;
4166 __u8 ipvs_property : 1 ;
4167 __u8 peeked : 1 ;
4168 __u8 nf_trace : 1 ;
4169 __be16 protocol ;
4170 void (*destructor)(struct sk_buff *skb ) ;
4171 struct nf_conntrack *nfct ;
4172 struct sk_buff *nfct_reasm ;
4173 struct nf_bridge_info *nf_bridge ;
4174 int skb_iif ;
4175 __u16 tc_index ;
4176 __u16 tc_verd ;
4177 __u32 rxhash ;
4178 __u16 queue_mapping ;
4179 __u8 ndisc_nodetype : 2 ;
4180 __u8 ooo_okay : 1 ;
4181 dma_cookie_t dma_cookie ;
4182 __u32 secmark ;
4183 union __anonunion____missing_field_name_265 __annonCompField43 ;
4184 __u16 vlan_tci ;
4185 sk_buff_data_t transport_header ;
4186 sk_buff_data_t network_header ;
4187 sk_buff_data_t mac_header ;
4188 sk_buff_data_t tail ;
4189 sk_buff_data_t end ;
4190 unsigned char *head ;
4191 unsigned char *data ;
4192 unsigned int truesize ;
4193 atomic_t users ;
4194};
4195# 450 "include/linux/skbuff.h"
4196struct dst_entry;
4197# 485 "include/linux/skbuff.h"
4198struct rtable;
4199# 47 "include/linux/miscdevice.h"
4200struct miscdevice {
4201 int minor ;
4202 char const *name ;
4203 struct file_operations const *fops ;
4204 struct list_head list ;
4205 struct device *parent ;
4206 struct device *this_device ;
4207 char const *nodename ;
4208 mode_t mode ;
4209};
4210# 12 "include/linux/if_packet.h"
4211struct sockaddr_ll {
4212 unsigned short sll_family ;
4213 __be16 sll_protocol ;
4214 int sll_ifindex ;
4215 unsigned short sll_hatype ;
4216 unsigned char sll_pkttype ;
4217 unsigned char sll_halen ;
4218 unsigned char sll_addr[8] ;
4219};
4220# 125 "include/linux/netlink.h"
4221struct nlattr {
4222 __u16 nla_len ;
4223 __u16 nla_type ;
4224};
4225# 41 "include/linux/if_link.h"
4226struct rtnl_link_stats64 {
4227 __u64 rx_packets ;
4228 __u64 tx_packets ;
4229 __u64 rx_bytes ;
4230 __u64 tx_bytes ;
4231 __u64 rx_errors ;
4232 __u64 tx_errors ;
4233 __u64 rx_dropped ;
4234 __u64 tx_dropped ;
4235 __u64 multicast ;
4236 __u64 collisions ;
4237 __u64 rx_length_errors ;
4238 __u64 rx_over_errors ;
4239 __u64 rx_crc_errors ;
4240 __u64 rx_frame_errors ;
4241 __u64 rx_fifo_errors ;
4242 __u64 rx_missed_errors ;
4243 __u64 tx_aborted_errors ;
4244 __u64 tx_carrier_errors ;
4245 __u64 tx_fifo_errors ;
4246 __u64 tx_heartbeat_errors ;
4247 __u64 tx_window_errors ;
4248 __u64 rx_compressed ;
4249 __u64 tx_compressed ;
4250};
4251# 303 "include/linux/if_link.h"
4252struct ifla_vf_info {
4253 __u32 vf ;
4254 __u8 mac[32] ;
4255 __u32 vlan ;
4256 __u32 qos ;
4257 __u32 tx_rate ;
4258};
4259# 23 "include/linux/pm_qos_params.h"
4260struct pm_qos_request_list {
4261 struct plist_node list ;
4262 int pm_qos_class ;
4263};
4264# 23 "include/linux/ethtool.h"
4265struct ethtool_cmd {
4266 __u32 cmd ;
4267 __u32 supported ;
4268 __u32 advertising ;
4269 __u16 speed ;
4270 __u8 duplex ;
4271 __u8 port ;
4272 __u8 phy_address ;
4273 __u8 transceiver ;
4274 __u8 autoneg ;
4275 __u8 mdio_support ;
4276 __u32 maxtxpkt ;
4277 __u32 maxrxpkt ;
4278 __u16 speed_hi ;
4279 __u8 eth_tp_mdix ;
4280 __u8 reserved2 ;
4281 __u32 lp_advertising ;
4282 __u32 reserved[2] ;
4283};
4284# 65 "include/linux/ethtool.h"
4285struct ethtool_drvinfo {
4286 __u32 cmd ;
4287 char driver[32] ;
4288 char version[32] ;
4289 char fw_version[32] ;
4290 char bus_info[32] ;
4291 char reserved1[32] ;
4292 char reserved2[12] ;
4293 __u32 n_priv_flags ;
4294 __u32 n_stats ;
4295 __u32 testinfo_len ;
4296 __u32 eedump_len ;
4297 __u32 regdump_len ;
4298};
4299# 90 "include/linux/ethtool.h"
4300struct ethtool_wolinfo {
4301 __u32 cmd ;
4302 __u32 supported ;
4303 __u32 wolopts ;
4304 __u8 sopass[6] ;
4305};
4306# 104 "include/linux/ethtool.h"
4307struct ethtool_regs {
4308 __u32 cmd ;
4309 __u32 version ;
4310 __u32 len ;
4311 __u8 data[0] ;
4312};
4313# 112 "include/linux/ethtool.h"
4314struct ethtool_eeprom {
4315 __u32 cmd ;
4316 __u32 magic ;
4317 __u32 offset ;
4318 __u32 len ;
4319 __u8 data[0] ;
4320};
4321# 121 "include/linux/ethtool.h"
4322struct ethtool_coalesce {
4323 __u32 cmd ;
4324 __u32 rx_coalesce_usecs ;
4325 __u32 rx_max_coalesced_frames ;
4326 __u32 rx_coalesce_usecs_irq ;
4327 __u32 rx_max_coalesced_frames_irq ;
4328 __u32 tx_coalesce_usecs ;
4329 __u32 tx_max_coalesced_frames ;
4330 __u32 tx_coalesce_usecs_irq ;
4331 __u32 tx_max_coalesced_frames_irq ;
4332 __u32 stats_block_coalesce_usecs ;
4333 __u32 use_adaptive_rx_coalesce ;
4334 __u32 use_adaptive_tx_coalesce ;
4335 __u32 pkt_rate_low ;
4336 __u32 rx_coalesce_usecs_low ;
4337 __u32 rx_max_coalesced_frames_low ;
4338 __u32 tx_coalesce_usecs_low ;
4339 __u32 tx_max_coalesced_frames_low ;
4340 __u32 pkt_rate_high ;
4341 __u32 rx_coalesce_usecs_high ;
4342 __u32 rx_max_coalesced_frames_high ;
4343 __u32 tx_coalesce_usecs_high ;
4344 __u32 tx_max_coalesced_frames_high ;
4345 __u32 rate_sample_interval ;
4346};
4347# 217 "include/linux/ethtool.h"
4348struct ethtool_ringparam {
4349 __u32 cmd ;
4350 __u32 rx_max_pending ;
4351 __u32 rx_mini_max_pending ;
4352 __u32 rx_jumbo_max_pending ;
4353 __u32 tx_max_pending ;
4354 __u32 rx_pending ;
4355 __u32 rx_mini_pending ;
4356 __u32 rx_jumbo_pending ;
4357 __u32 tx_pending ;
4358};
4359# 254 "include/linux/ethtool.h"
4360struct ethtool_channels {
4361 __u32 cmd ;
4362 __u32 max_rx ;
4363 __u32 max_tx ;
4364 __u32 max_other ;
4365 __u32 max_combined ;
4366 __u32 rx_count ;
4367 __u32 tx_count ;
4368 __u32 other_count ;
4369 __u32 combined_count ;
4370};
4371# 267 "include/linux/ethtool.h"
4372struct ethtool_pauseparam {
4373 __u32 cmd ;
4374 __u32 autoneg ;
4375 __u32 rx_pause ;
4376 __u32 tx_pause ;
4377};
4378# 319 "include/linux/ethtool.h"
4379struct ethtool_test {
4380 __u32 cmd ;
4381 __u32 flags ;
4382 __u32 reserved ;
4383 __u32 len ;
4384 __u64 data[0] ;
4385};
4386# 328 "include/linux/ethtool.h"
4387struct ethtool_stats {
4388 __u32 cmd ;
4389 __u32 n_stats ;
4390 __u64 data[0] ;
4391};
4392# 373 "include/linux/ethtool.h"
4393struct ethtool_tcpip4_spec {
4394 __be32 ip4src ;
4395 __be32 ip4dst ;
4396 __be16 psrc ;
4397 __be16 pdst ;
4398 __u8 tos ;
4399};
4400# 390 "include/linux/ethtool.h"
4401struct ethtool_ah_espip4_spec {
4402 __be32 ip4src ;
4403 __be32 ip4dst ;
4404 __be32 spi ;
4405 __u8 tos ;
4406};
4407# 408 "include/linux/ethtool.h"
4408struct ethtool_usrip4_spec {
4409 __be32 ip4src ;
4410 __be32 ip4dst ;
4411 __be32 l4_4_bytes ;
4412 __u8 tos ;
4413 __u8 ip_ver ;
4414 __u8 proto ;
4415};
4416# 417 "include/linux/ethtool.h"
4417union ethtool_flow_union {
4418 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4419 struct ethtool_tcpip4_spec udp_ip4_spec ;
4420 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4421 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4422 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4423 struct ethtool_usrip4_spec usr_ip4_spec ;
4424 struct ethhdr ether_spec ;
4425 __u8 hdata[60] ;
4426};
4427# 428 "include/linux/ethtool.h"
4428struct ethtool_flow_ext {
4429 __be16 vlan_etype ;
4430 __be16 vlan_tci ;
4431 __be32 data[2] ;
4432};
4433# 447 "include/linux/ethtool.h"
4434struct ethtool_rx_flow_spec {
4435 __u32 flow_type ;
4436 union ethtool_flow_union h_u ;
4437 struct ethtool_flow_ext h_ext ;
4438 union ethtool_flow_union m_u ;
4439 struct ethtool_flow_ext m_ext ;
4440 __u64 ring_cookie ;
4441 __u32 location ;
4442};
4443# 496 "include/linux/ethtool.h"
4444struct ethtool_rxnfc {
4445 __u32 cmd ;
4446 __u32 flow_type ;
4447 __u64 data ;
4448 struct ethtool_rx_flow_spec fs ;
4449 __u32 rule_cnt ;
4450 __u32 rule_locs[0] ;
4451};
4452# 537 "include/linux/ethtool.h"
4453struct ethtool_rxfh_indir {
4454 __u32 cmd ;
4455 __u32 size ;
4456 __u32 ring_index[0] ;
4457};
4458# 559 "include/linux/ethtool.h"
4459union __anonunion_h_u_280 {
4460 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4461 struct ethtool_tcpip4_spec udp_ip4_spec ;
4462 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4463 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4464 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4465 struct ethtool_usrip4_spec usr_ip4_spec ;
4466 struct ethhdr ether_spec ;
4467 __u8 hdata[72] ;
4468};
4469# 559 "include/linux/ethtool.h"
4470struct ethtool_rx_ntuple_flow_spec {
4471 __u32 flow_type ;
4472 union __anonunion_h_u_280 h_u ;
4473 union __anonunion_h_u_280 m_u ;
4474 __u16 vlan_tag ;
4475 __u16 vlan_tag_mask ;
4476 __u64 data ;
4477 __u64 data_mask ;
4478 __s32 action ;
4479};
4480# 587 "include/linux/ethtool.h"
4481struct ethtool_rx_ntuple {
4482 __u32 cmd ;
4483 struct ethtool_rx_ntuple_flow_spec fs ;
4484};
4485# 598 "include/linux/ethtool.h"
4486struct ethtool_flash {
4487 __u32 cmd ;
4488 __u32 region ;
4489 char data[128] ;
4490};
4491# 616 "include/linux/ethtool.h"
4492struct ethtool_dump {
4493 __u32 cmd ;
4494 __u32 version ;
4495 __u32 flag ;
4496 __u32 len ;
4497 __u8 data[0] ;
4498};
4499# 722 "include/linux/ethtool.h"
4500struct ethtool_rx_ntuple_list {
4501 struct list_head list ;
4502 unsigned int count ;
4503};
4504# 738 "include/linux/ethtool.h"
4505enum ethtool_phys_id_state {
4506 ETHTOOL_ID_INACTIVE = 0,
4507 ETHTOOL_ID_ACTIVE = 1,
4508 ETHTOOL_ID_ON = 2,
4509 ETHTOOL_ID_OFF = 3
4510} ;
4511# 891 "include/linux/ethtool.h"
4512struct ethtool_ops {
4513 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
4514 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
4515 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
4516 int (*get_regs_len)(struct net_device * ) ;
4517 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
4518 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4519 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4520 u32 (*get_msglevel)(struct net_device * ) ;
4521 void (*set_msglevel)(struct net_device * , u32 ) ;
4522 int (*nway_reset)(struct net_device * ) ;
4523 u32 (*get_link)(struct net_device * ) ;
4524 int (*get_eeprom_len)(struct net_device * ) ;
4525 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4526 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4527 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4528 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4529 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4530 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4531 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4532 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4533 u32 (*get_rx_csum)(struct net_device * ) ;
4534 int (*set_rx_csum)(struct net_device * , u32 ) ;
4535 u32 (*get_tx_csum)(struct net_device * ) ;
4536 int (*set_tx_csum)(struct net_device * , u32 ) ;
4537 u32 (*get_sg)(struct net_device * ) ;
4538 int (*set_sg)(struct net_device * , u32 ) ;
4539 u32 (*get_tso)(struct net_device * ) ;
4540 int (*set_tso)(struct net_device * , u32 ) ;
4541 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
4542 void (*get_strings)(struct net_device * , u32 stringset , u8 * ) ;
4543 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
4544 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
4545 int (*begin)(struct net_device * ) ;
4546 void (*complete)(struct net_device * ) ;
4547 u32 (*get_ufo)(struct net_device * ) ;
4548 int (*set_ufo)(struct net_device * , u32 ) ;
4549 u32 (*get_flags)(struct net_device * ) ;
4550 int (*set_flags)(struct net_device * , u32 ) ;
4551 u32 (*get_priv_flags)(struct net_device * ) ;
4552 int (*set_priv_flags)(struct net_device * , u32 ) ;
4553 int (*get_sset_count)(struct net_device * , int ) ;
4554 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , void * ) ;
4555 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
4556 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
4557 int (*reset)(struct net_device * , u32 * ) ;
4558 int (*set_rx_ntuple)(struct net_device * , struct ethtool_rx_ntuple * ) ;
4559 int (*get_rx_ntuple)(struct net_device * , u32 stringset , void * ) ;
4560 int (*get_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir * ) ;
4561 int (*set_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir const * ) ;
4562 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
4563 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
4564 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
4565 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
4566 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
4567};
4568# 5 "include/net/netns/core.h"
4569struct prot_inuse;
4570# 7 "include/net/netns/core.h"
4571struct netns_core {
4572 struct ctl_table_header *sysctl_hdr ;
4573 int sysctl_somaxconn ;
4574 struct prot_inuse *inuse ;
4575};
4576# 64 "include/linux/u64_stats_sync.h"
4577struct u64_stats_sync {
4578
4579};
4580# 56 "include/net/snmp.h"
4581struct ipstats_mib {
4582 u64 mibs[31] ;
4583 struct u64_stats_sync syncp ;
4584};
4585# 64 "include/net/snmp.h"
4586struct icmp_mib {
4587 unsigned long mibs[27] ;
4588};
4589# 69 "include/net/snmp.h"
4590struct icmpmsg_mib {
4591 unsigned long mibs[512] ;
4592};
4593# 76 "include/net/snmp.h"
4594struct icmpv6_mib {
4595 unsigned long mibs[5] ;
4596};
4597# 86 "include/net/snmp.h"
4598struct icmpv6msg_mib {
4599 unsigned long mibs[512] ;
4600};
4601# 97 "include/net/snmp.h"
4602struct tcp_mib {
4603 unsigned long mibs[15] ;
4604};
4605# 103 "include/net/snmp.h"
4606struct udp_mib {
4607 unsigned long mibs[7] ;
4608};
4609# 109 "include/net/snmp.h"
4610struct linux_mib {
4611 unsigned long mibs[80] ;
4612};
4613# 115 "include/net/snmp.h"
4614struct linux_xfrm_mib {
4615 unsigned long mibs[27] ;
4616};
4617# 6 "include/net/netns/mib.h"
4618struct netns_mib {
4619 struct tcp_mib *tcp_statistics[2] ;
4620 struct ipstats_mib *ip_statistics[2] ;
4621 struct linux_mib *net_statistics[2] ;
4622 struct udp_mib *udp_statistics[2] ;
4623 struct udp_mib *udplite_statistics[2] ;
4624 struct icmp_mib *icmp_statistics[2] ;
4625 struct icmpmsg_mib *icmpmsg_statistics[2] ;
4626 struct proc_dir_entry *proc_net_devsnmp6 ;
4627 struct udp_mib *udp_stats_in6[2] ;
4628 struct udp_mib *udplite_stats_in6[2] ;
4629 struct ipstats_mib *ipv6_statistics[2] ;
4630 struct icmpv6_mib *icmpv6_statistics[2] ;
4631 struct icmpv6msg_mib *icmpv6msg_statistics[2] ;
4632 struct linux_xfrm_mib *xfrm_statistics[2] ;
4633};
4634# 8 "include/net/netns/unix.h"
4635struct netns_unix {
4636 int sysctl_max_dgram_qlen ;
4637 struct ctl_table_header *ctl ;
4638};
4639# 10 "include/net/netns/packet.h"
4640struct netns_packet {
4641 spinlock_t sklist_lock ;
4642 struct hlist_head sklist ;
4643};
4644# 4 "include/net/inet_frag.h"
4645struct netns_frags {
4646 int nqueues ;
4647 atomic_t mem ;
4648 struct list_head lru_list ;
4649 int timeout ;
4650 int high_thresh ;
4651 int low_thresh ;
4652};
4653# 11 "include/net/netns/ipv4.h"
4654struct ipv4_devconf;
4655# 12 "include/net/netns/ipv4.h"
4656struct fib_rules_ops;
4657# 16 "include/net/netns/ipv4.h"
4658struct xt_table;
4659# 16 "include/net/netns/ipv4.h"
4660struct netns_ipv4 {
4661 struct ctl_table_header *forw_hdr ;
4662 struct ctl_table_header *frags_hdr ;
4663 struct ctl_table_header *ipv4_hdr ;
4664 struct ctl_table_header *route_hdr ;
4665 struct ipv4_devconf *devconf_all ;
4666 struct ipv4_devconf *devconf_dflt ;
4667 struct fib_rules_ops *rules_ops ;
4668 struct hlist_head *fib_table_hash ;
4669 struct sock *fibnl ;
4670 struct sock **icmp_sk ;
4671 struct sock *tcp_sock ;
4672 struct netns_frags frags ;
4673 struct xt_table *iptable_filter ;
4674 struct xt_table *iptable_mangle ;
4675 struct xt_table *iptable_raw ;
4676 struct xt_table *arptable_filter ;
4677 struct xt_table *iptable_security ;
4678 struct xt_table *nat_table ;
4679 struct hlist_head *nat_bysource ;
4680 unsigned int nat_htable_size ;
4681 int sysctl_icmp_echo_ignore_all ;
4682 int sysctl_icmp_echo_ignore_broadcasts ;
4683 int sysctl_icmp_ignore_bogus_error_responses ;
4684 int sysctl_icmp_ratelimit ;
4685 int sysctl_icmp_ratemask ;
4686 int sysctl_icmp_errors_use_inbound_ifaddr ;
4687 int sysctl_rt_cache_rebuild_count ;
4688 int current_rt_cache_rebuild_count ;
4689 unsigned int sysctl_ping_group_range[2] ;
4690 atomic_t rt_genid ;
4691 atomic_t dev_addr_genid ;
4692 struct list_head mr_tables ;
4693 struct fib_rules_ops *mr_rules_ops ;
4694};
4695# 12 "include/net/dst_ops.h"
4696struct dst_ops {
4697 unsigned short family ;
4698 __be16 protocol ;
4699 unsigned int gc_thresh ;
4700 int (*gc)(struct dst_ops *ops ) ;
4701 struct dst_entry *(*check)(struct dst_entry * , __u32 cookie ) ;
4702 unsigned int (*default_advmss)(struct dst_entry const * ) ;
4703 unsigned int (*default_mtu)(struct dst_entry const * ) ;
4704 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
4705 void (*destroy)(struct dst_entry * ) ;
4706 void (*ifdown)(struct dst_entry * , struct net_device *dev , int how ) ;
4707 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
4708 void (*link_failure)(struct sk_buff * ) ;
4709 void (*update_pmtu)(struct dst_entry *dst , u32 mtu ) ;
4710 int (*local_out)(struct sk_buff *skb ) ;
4711 struct kmem_cache *kmem_cachep ;
4712 struct percpu_counter pcpuc_entries __attribute__((__aligned__((1) << (6) ))) ;
4713};
4714# 13 "include/net/netns/ipv6.h"
4715struct netns_sysctl_ipv6 {
4716 struct ctl_table_header *table ;
4717 struct ctl_table_header *frags_hdr ;
4718 int bindv6only ;
4719 int flush_delay ;
4720 int ip6_rt_max_size ;
4721 int ip6_rt_gc_min_interval ;
4722 int ip6_rt_gc_timeout ;
4723 int ip6_rt_gc_interval ;
4724 int ip6_rt_gc_elasticity ;
4725 int ip6_rt_mtu_expires ;
4726 int ip6_rt_min_advmss ;
4727 int icmpv6_time ;
4728};
4729# 30 "include/net/netns/ipv6.h"
4730struct ipv6_devconf;
4731# 30 "include/net/netns/ipv6.h"
4732struct rt6_info;
4733# 30 "include/net/netns/ipv6.h"
4734struct rt6_statistics;
4735# 30 "include/net/netns/ipv6.h"
4736struct fib6_table;
4737# 30 "include/net/netns/ipv6.h"
4738struct netns_ipv6 {
4739 struct netns_sysctl_ipv6 sysctl ;
4740 struct ipv6_devconf *devconf_all ;
4741 struct ipv6_devconf *devconf_dflt ;
4742 struct netns_frags frags ;
4743 struct xt_table *ip6table_filter ;
4744 struct xt_table *ip6table_mangle ;
4745 struct xt_table *ip6table_raw ;
4746 struct xt_table *ip6table_security ;
4747 struct rt6_info *ip6_null_entry ;
4748 struct rt6_statistics *rt6_stats ;
4749 struct timer_list ip6_fib_timer ;
4750 struct hlist_head *fib_table_hash ;
4751 struct fib6_table *fib6_main_tbl ;
4752 struct dst_ops ip6_dst_ops ;
4753 unsigned int ip6_rt_gc_expire ;
4754 unsigned long ip6_rt_last_gc ;
4755 struct rt6_info *ip6_prohibit_entry ;
4756 struct rt6_info *ip6_blk_hole_entry ;
4757 struct fib6_table *fib6_local_tbl ;
4758 struct fib_rules_ops *fib6_rules_ops ;
4759 struct sock **icmp_sk ;
4760 struct sock *ndisc_sk ;
4761 struct sock *tcp_sk ;
4762 struct sock *igmp_sk ;
4763 struct list_head mr6_tables ;
4764 struct fib_rules_ops *mr6_rules_ops ;
4765};
4766# 6 "include/net/netns/dccp.h"
4767struct netns_dccp {
4768 struct sock *v4_ctl_sk ;
4769 struct sock *v6_ctl_sk ;
4770};
4771# 7 "include/net/netns/x_tables.h"
4772struct ebt_table;
4773# 9 "include/net/netns/x_tables.h"
4774struct netns_xt {
4775 struct list_head tables[13] ;
4776 struct ebt_table *broute_table ;
4777 struct ebt_table *frame_filter ;
4778 struct ebt_table *frame_nat ;
4779};
4780# 17 "include/linux/list_nulls.h"
4781struct hlist_nulls_node;
4782# 17 "include/linux/list_nulls.h"
4783struct hlist_nulls_head {
4784 struct hlist_nulls_node *first ;
4785};
4786# 21 "include/linux/list_nulls.h"
4787struct hlist_nulls_node {
4788 struct hlist_nulls_node *next ;
4789 struct hlist_nulls_node **pprev ;
4790};
4791# 11 "include/net/netns/conntrack.h"
4792struct ip_conntrack_stat;
4793# 11 "include/net/netns/conntrack.h"
4794struct netns_ct {
4795 atomic_t count ;
4796 unsigned int expect_count ;
4797 unsigned int htable_size ;
4798 struct kmem_cache *nf_conntrack_cachep ;
4799 struct hlist_nulls_head *hash ;
4800 struct hlist_head *expect_hash ;
4801 struct hlist_nulls_head unconfirmed ;
4802 struct hlist_nulls_head dying ;
4803 struct ip_conntrack_stat *stat ;
4804 int sysctl_events ;
4805 unsigned int sysctl_events_retry_timeout ;
4806 int sysctl_acct ;
4807 int sysctl_tstamp ;
4808 int sysctl_checksum ;
4809 unsigned int sysctl_log_invalid ;
4810 struct ctl_table_header *sysctl_header ;
4811 struct ctl_table_header *acct_sysctl_header ;
4812 struct ctl_table_header *tstamp_sysctl_header ;
4813 struct ctl_table_header *event_sysctl_header ;
4814 char *slabname ;
4815};
4816# 12 "include/net/netns/xfrm.h"
4817struct xfrm_policy_hash {
4818 struct hlist_head *table ;
4819 unsigned int hmask ;
4820};
4821# 17 "include/net/netns/xfrm.h"
4822struct netns_xfrm {
4823 struct list_head state_all ;
4824 struct hlist_head *state_bydst ;
4825 struct hlist_head *state_bysrc ;
4826 struct hlist_head *state_byspi ;
4827 unsigned int state_hmask ;
4828 unsigned int state_num ;
4829 struct work_struct state_hash_work ;
4830 struct hlist_head state_gc_list ;
4831 struct work_struct state_gc_work ;
4832 wait_queue_head_t km_waitq ;
4833 struct list_head policy_all ;
4834 struct hlist_head *policy_byidx ;
4835 unsigned int policy_idx_hmask ;
4836 struct hlist_head policy_inexact[6] ;
4837 struct xfrm_policy_hash policy_bydst[6] ;
4838 unsigned int policy_count[6] ;
4839 struct work_struct policy_hash_work ;
4840 struct sock *nlsk ;
4841 struct sock *nlsk_stash ;
4842 u32 sysctl_aevent_etime ;
4843 u32 sysctl_aevent_rseqth ;
4844 int sysctl_larval_drop ;
4845 u32 sysctl_acq_expires ;
4846 struct ctl_table_header *sysctl_hdr ;
4847 struct dst_ops xfrm4_dst_ops ;
4848 struct dst_ops xfrm6_dst_ops ;
4849};
4850# 29 "include/net/net_namespace.h"
4851struct net_generic;
4852# 31 "include/net/net_namespace.h"
4853struct netns_ipvs;
4854# 37 "include/net/net_namespace.h"
4855struct net {
4856 atomic_t passive ;
4857 atomic_t count ;
4858 spinlock_t rules_mod_lock ;
4859 struct list_head list ;
4860 struct list_head cleanup_list ;
4861 struct list_head exit_list ;
4862 struct proc_dir_entry *proc_net ;
4863 struct proc_dir_entry *proc_net_stat ;
4864 struct ctl_table_set sysctls ;
4865 struct sock *rtnl ;
4866 struct sock *genl_sock ;
4867 struct list_head dev_base_head ;
4868 struct hlist_head *dev_name_head ;
4869 struct hlist_head *dev_index_head ;
4870 struct list_head rules_ops ;
4871 struct net_device *loopback_dev ;
4872 struct netns_core core ;
4873 struct netns_mib mib ;
4874 struct netns_packet packet ;
4875 struct netns_unix unx ;
4876 struct netns_ipv4 ipv4 ;
4877 struct netns_ipv6 ipv6 ;
4878 struct netns_dccp dccp ;
4879 struct netns_xt xt ;
4880 struct netns_ct ct ;
4881 struct sock *nfnl ;
4882 struct sock *nfnl_stash ;
4883 struct sk_buff_head wext_nlevents ;
4884 struct net_generic *gen ;
4885 struct netns_xfrm xfrm ;
4886 struct netns_ipvs *ipvs ;
4887};
4888# 57 "include/linux/dcbnl.h"
4889struct ieee_ets {
4890 __u8 willing ;
4891 __u8 ets_cap ;
4892 __u8 cbs ;
4893 __u8 tc_tx_bw[8] ;
4894 __u8 tc_rx_bw[8] ;
4895 __u8 tc_tsa[8] ;
4896 __u8 prio_tc[8] ;
4897 __u8 tc_reco_bw[8] ;
4898 __u8 tc_reco_tsa[8] ;
4899 __u8 reco_prio_tc[8] ;
4900};
4901# 81 "include/linux/dcbnl.h"
4902struct ieee_pfc {
4903 __u8 pfc_cap ;
4904 __u8 pfc_en ;
4905 __u8 mbc ;
4906 __u16 delay ;
4907 __u64 requests[8] ;
4908 __u64 indications[8] ;
4909};
4910# 104 "include/linux/dcbnl.h"
4911struct cee_pg {
4912 __u8 willing ;
4913 __u8 error ;
4914 __u8 pg_en ;
4915 __u8 tcs_supported ;
4916 __u8 pg_bw[8] ;
4917 __u8 prio_pg[8] ;
4918};
4919# 121 "include/linux/dcbnl.h"
4920struct cee_pfc {
4921 __u8 willing ;
4922 __u8 error ;
4923 __u8 pfc_en ;
4924 __u8 tcs_supported ;
4925};
4926# 151 "include/linux/dcbnl.h"
4927struct dcb_app {
4928 __u8 selector ;
4929 __u8 priority ;
4930 __u16 protocol ;
4931};
4932# 166 "include/linux/dcbnl.h"
4933struct dcb_peer_app_info {
4934 __u8 willing ;
4935 __u8 error ;
4936};
4937# 38 "include/net/dcbnl.h"
4938struct dcbnl_rtnl_ops {
4939 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
4940 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
4941 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4942 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
4943 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
4944 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
4945 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
4946 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4947 u8 (*getstate)(struct net_device * ) ;
4948 u8 (*setstate)(struct net_device * , u8 ) ;
4949 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
4950 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4951 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
4952 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4953 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
4954 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4955 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
4956 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4957 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
4958 void (*setpfccfg)(struct net_device * , int , u8 ) ;
4959 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
4960 u8 (*setall)(struct net_device * ) ;
4961 u8 (*getcap)(struct net_device * , int , u8 * ) ;
4962 u8 (*getnumtcs)(struct net_device * , int , u8 * ) ;
4963 u8 (*setnumtcs)(struct net_device * , int , u8 ) ;
4964 u8 (*getpfcstate)(struct net_device * ) ;
4965 void (*setpfcstate)(struct net_device * , u8 ) ;
4966 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
4967 void (*setbcncfg)(struct net_device * , int , u32 ) ;
4968 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
4969 void (*setbcnrp)(struct net_device * , int , u8 ) ;
4970 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
4971 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
4972 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
4973 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
4974 u8 (*getdcbx)(struct net_device * ) ;
4975 u8 (*setdcbx)(struct net_device * , u8 ) ;
4976 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
4977 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
4978 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
4979 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
4980};
4981# 55 "include/linux/netdevice.h"
4982struct vlan_group;
4983# 56 "include/linux/netdevice.h"
4984struct netpoll_info;
4985# 57 "include/linux/netdevice.h"
4986struct phy_device;
4987# 59 "include/linux/netdevice.h"
4988struct wireless_dev;
4989# 111 "include/linux/netdevice.h"
4990enum netdev_tx {
4991 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
4992 NETDEV_TX_OK = 0,
4993 NETDEV_TX_BUSY = 16,
4994 NETDEV_TX_LOCKED = 32
4995} ;
4996# 117 "include/linux/netdevice.h"
4997typedef enum netdev_tx netdev_tx_t;
4998# 176 "include/linux/netdevice.h"
4999struct net_device_stats {
5000 unsigned long rx_packets ;
5001 unsigned long tx_packets ;
5002 unsigned long rx_bytes ;
5003 unsigned long tx_bytes ;
5004 unsigned long rx_errors ;
5005 unsigned long tx_errors ;
5006 unsigned long rx_dropped ;
5007 unsigned long tx_dropped ;
5008 unsigned long multicast ;
5009 unsigned long collisions ;
5010 unsigned long rx_length_errors ;
5011 unsigned long rx_over_errors ;
5012 unsigned long rx_crc_errors ;
5013 unsigned long rx_frame_errors ;
5014 unsigned long rx_fifo_errors ;
5015 unsigned long rx_missed_errors ;
5016 unsigned long tx_aborted_errors ;
5017 unsigned long tx_carrier_errors ;
5018 unsigned long tx_fifo_errors ;
5019 unsigned long tx_heartbeat_errors ;
5020 unsigned long tx_window_errors ;
5021 unsigned long rx_compressed ;
5022 unsigned long tx_compressed ;
5023};
5024# 221 "include/linux/netdevice.h"
5025struct neighbour;
5026# 222 "include/linux/netdevice.h"
5027struct neigh_parms;
5028# 240 "include/linux/netdevice.h"
5029struct netdev_hw_addr_list {
5030 struct list_head list ;
5031 int count ;
5032};
5033# 260 "include/linux/netdevice.h"
5034struct hh_cache {
5035 struct hh_cache *hh_next ;
5036 atomic_t hh_refcnt ;
5037 __be16 hh_type __attribute__((__aligned__((1) << (6) ))) ;
5038 u16 hh_len ;
5039 int (*hh_output)(struct sk_buff *skb ) ;
5040 seqlock_t hh_lock ;
5041 unsigned long hh_data[128UL / sizeof(long )] ;
5042};
5043# 311 "include/linux/netdevice.h"
5044struct header_ops {
5045 int (*create)(struct sk_buff *skb , struct net_device *dev , unsigned short type ,
5046 void const *daddr , void const *saddr , unsigned int len ) ;
5047 int (*parse)(struct sk_buff const *skb , unsigned char *haddr ) ;
5048 int (*rebuild)(struct sk_buff *skb ) ;
5049 int (*cache)(struct neighbour const *neigh , struct hh_cache *hh ) ;
5050 void (*cache_update)(struct hh_cache *hh , struct net_device const *dev , unsigned char const *haddr ) ;
5051};
5052# 434 "include/linux/netdevice.h"
5053enum rx_handler_result {
5054 RX_HANDLER_CONSUMED = 0,
5055 RX_HANDLER_ANOTHER = 1,
5056 RX_HANDLER_EXACT = 2,
5057 RX_HANDLER_PASS = 3
5058} ;
5059# 440 "include/linux/netdevice.h"
5060typedef enum rx_handler_result rx_handler_result_t;
5061# 441 "include/linux/netdevice.h"
5062typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **pskb );
5063# 551 "include/linux/netdevice.h"
5064struct Qdisc;
5065# 551 "include/linux/netdevice.h"
5066struct netdev_queue {
5067 struct net_device *dev ;
5068 struct Qdisc *qdisc ;
5069 unsigned long state ;
5070 struct Qdisc *qdisc_sleeping ;
5071 struct kobject kobj ;
5072 int numa_node ;
5073 spinlock_t _xmit_lock __attribute__((__aligned__((1) << (6) ))) ;
5074 int xmit_lock_owner ;
5075 unsigned long trans_start ;
5076} __attribute__((__aligned__((1) << (6) ))) ;
5077# 597 "include/linux/netdevice.h"
5078struct rps_map {
5079 unsigned int len ;
5080 struct rcu_head rcu ;
5081 u16 cpus[0] ;
5082};
5083# 609 "include/linux/netdevice.h"
5084struct rps_dev_flow {
5085 u16 cpu ;
5086 u16 filter ;
5087 unsigned int last_qtail ;
5088};
5089# 619 "include/linux/netdevice.h"
5090struct rps_dev_flow_table {
5091 unsigned int mask ;
5092 struct rcu_head rcu ;
5093 struct work_struct free_work ;
5094 struct rps_dev_flow flows[0] ;
5095};
5096# 670 "include/linux/netdevice.h"
5097struct netdev_rx_queue {
5098 struct rps_map *rps_map ;
5099 struct rps_dev_flow_table *rps_flow_table ;
5100 struct kobject kobj ;
5101 struct net_device *dev ;
5102} __attribute__((__aligned__((1) << (6) ))) ;
5103# 683 "include/linux/netdevice.h"
5104struct xps_map {
5105 unsigned int len ;
5106 unsigned int alloc_len ;
5107 struct rcu_head rcu ;
5108 u16 queues[0] ;
5109};
5110# 696 "include/linux/netdevice.h"
5111struct xps_dev_maps {
5112 struct rcu_head rcu ;
5113 struct xps_map *cpu_map[0] ;
5114};
5115# 707 "include/linux/netdevice.h"
5116struct netdev_tc_txq {
5117 u16 count ;
5118 u16 offset ;
5119};
5120# 892 "include/linux/netdevice.h"
5121struct net_device_ops {
5122 int (*ndo_init)(struct net_device *dev ) ;
5123 void (*ndo_uninit)(struct net_device *dev ) ;
5124 int (*ndo_open)(struct net_device *dev ) ;
5125 int (*ndo_stop)(struct net_device *dev ) ;
5126 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb , struct net_device *dev ) ;
5127 u16 (*ndo_select_queue)(struct net_device *dev , struct sk_buff *skb ) ;
5128 void (*ndo_change_rx_flags)(struct net_device *dev , int flags ) ;
5129 void (*ndo_set_rx_mode)(struct net_device *dev ) ;
5130 void (*ndo_set_multicast_list)(struct net_device *dev ) ;
5131 int (*ndo_set_mac_address)(struct net_device *dev , void *addr ) ;
5132 int (*ndo_validate_addr)(struct net_device *dev ) ;
5133 int (*ndo_do_ioctl)(struct net_device *dev , struct ifreq *ifr , int cmd ) ;
5134 int (*ndo_set_config)(struct net_device *dev , struct ifmap *map ) ;
5135 int (*ndo_change_mtu)(struct net_device *dev , int new_mtu ) ;
5136 int (*ndo_neigh_setup)(struct net_device *dev , struct neigh_parms * ) ;
5137 void (*ndo_tx_timeout)(struct net_device *dev ) ;
5138 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device *dev , struct rtnl_link_stats64 *storage ) ;
5139 struct net_device_stats *(*ndo_get_stats)(struct net_device *dev ) ;
5140 void (*ndo_vlan_rx_register)(struct net_device *dev , struct vlan_group *grp ) ;
5141 void (*ndo_vlan_rx_add_vid)(struct net_device *dev , unsigned short vid ) ;
5142 void (*ndo_vlan_rx_kill_vid)(struct net_device *dev , unsigned short vid ) ;
5143 void (*ndo_poll_controller)(struct net_device *dev ) ;
5144 int (*ndo_netpoll_setup)(struct net_device *dev , struct netpoll_info *info ) ;
5145 void (*ndo_netpoll_cleanup)(struct net_device *dev ) ;
5146 int (*ndo_set_vf_mac)(struct net_device *dev , int queue , u8 *mac ) ;
5147 int (*ndo_set_vf_vlan)(struct net_device *dev , int queue , u16 vlan , u8 qos ) ;
5148 int (*ndo_set_vf_tx_rate)(struct net_device *dev , int vf , int rate ) ;
5149 int (*ndo_get_vf_config)(struct net_device *dev , int vf , struct ifla_vf_info *ivf ) ;
5150 int (*ndo_set_vf_port)(struct net_device *dev , int vf , struct nlattr **port ) ;
5151 int (*ndo_get_vf_port)(struct net_device *dev , int vf , struct sk_buff *skb ) ;
5152 int (*ndo_setup_tc)(struct net_device *dev , u8 tc ) ;
5153 int (*ndo_fcoe_enable)(struct net_device *dev ) ;
5154 int (*ndo_fcoe_disable)(struct net_device *dev ) ;
5155 int (*ndo_fcoe_ddp_setup)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
5156 unsigned int sgc ) ;
5157 int (*ndo_fcoe_ddp_done)(struct net_device *dev , u16 xid ) ;
5158 int (*ndo_fcoe_ddp_target)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
5159 unsigned int sgc ) ;
5160 int (*ndo_fcoe_get_wwn)(struct net_device *dev , u64 *wwn , int type ) ;
5161 int (*ndo_rx_flow_steer)(struct net_device *dev , struct sk_buff const *skb ,
5162 u16 rxq_index , u32 flow_id ) ;
5163 int (*ndo_add_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
5164 int (*ndo_del_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
5165 u32 (*ndo_fix_features)(struct net_device *dev , u32 features ) ;
5166 int (*ndo_set_features)(struct net_device *dev , u32 features ) ;
5167};
5168# 993 "include/linux/netdevice.h"
5169struct iw_handler_def;
5170# 993 "include/linux/netdevice.h"
5171struct iw_public_data;
5172# 993 "include/linux/netdevice.h"
5173struct in_device;
5174# 993 "include/linux/netdevice.h"
5175struct dn_dev;
5176# 993 "include/linux/netdevice.h"
5177struct inet6_dev;
5178# 993 "include/linux/netdevice.h"
5179struct cpu_rmap;
5180# 993 "include/linux/netdevice.h"
5181enum __anonenum_reg_state_304 {
5182 NETREG_UNINITIALIZED = 0,
5183 NETREG_REGISTERED = 1,
5184 NETREG_UNREGISTERING = 2,
5185 NETREG_UNREGISTERED = 3,
5186 NETREG_RELEASED = 4,
5187 NETREG_DUMMY = 5
5188} ;
5189# 993 "include/linux/netdevice.h"
5190enum __anonenum_rtnl_link_state_305 {
5191 RTNL_LINK_INITIALIZED = 0,
5192 RTNL_LINK_INITIALIZING = 1
5193} ;
5194# 993 "include/linux/netdevice.h"
5195struct pcpu_lstats;
5196# 993 "include/linux/netdevice.h"
5197struct pcpu_tstats;
5198# 993 "include/linux/netdevice.h"
5199struct pcpu_dstats;
5200# 993 "include/linux/netdevice.h"
5201union __anonunion____missing_field_name_306 {
5202 void *ml_priv ;
5203 struct pcpu_lstats *lstats ;
5204 struct pcpu_tstats *tstats ;
5205 struct pcpu_dstats *dstats ;
5206};
5207# 993 "include/linux/netdevice.h"
5208struct garp_port;
5209# 993 "include/linux/netdevice.h"
5210struct rtnl_link_ops;
5211# 993 "include/linux/netdevice.h"
5212struct net_device {
5213 char name[16] ;
5214 struct pm_qos_request_list pm_qos_req ;
5215 struct hlist_node name_hlist ;
5216 char *ifalias ;
5217 unsigned long mem_end ;
5218 unsigned long mem_start ;
5219 unsigned long base_addr ;
5220 unsigned int irq ;
5221 unsigned long state ;
5222 struct list_head dev_list ;
5223 struct list_head napi_list ;
5224 struct list_head unreg_list ;
5225 u32 features ;
5226 u32 hw_features ;
5227 u32 wanted_features ;
5228 u32 vlan_features ;
5229 int ifindex ;
5230 int iflink ;
5231 struct net_device_stats stats ;
5232 atomic_long_t rx_dropped ;
5233 struct iw_handler_def const *wireless_handlers ;
5234 struct iw_public_data *wireless_data ;
5235 struct net_device_ops const *netdev_ops ;
5236 struct ethtool_ops const *ethtool_ops ;
5237 struct header_ops const *header_ops ;
5238 unsigned int flags ;
5239 unsigned int priv_flags ;
5240 unsigned short gflags ;
5241 unsigned short padded ;
5242 unsigned char operstate ;
5243 unsigned char link_mode ;
5244 unsigned char if_port ;
5245 unsigned char dma ;
5246 unsigned int mtu ;
5247 unsigned short type ;
5248 unsigned short hard_header_len ;
5249 unsigned short needed_headroom ;
5250 unsigned short needed_tailroom ;
5251 unsigned char perm_addr[32] ;
5252 unsigned char addr_assign_type ;
5253 unsigned char addr_len ;
5254 unsigned short dev_id ;
5255 spinlock_t addr_list_lock ;
5256 struct netdev_hw_addr_list uc ;
5257 struct netdev_hw_addr_list mc ;
5258 int uc_promisc ;
5259 unsigned int promiscuity ;
5260 unsigned int allmulti ;
5261 struct vlan_group *vlgrp ;
5262 void *dsa_ptr ;
5263 void *atalk_ptr ;
5264 struct in_device *ip_ptr ;
5265 struct dn_dev *dn_ptr ;
5266 struct inet6_dev *ip6_ptr ;
5267 void *ec_ptr ;
5268 void *ax25_ptr ;
5269 struct wireless_dev *ieee80211_ptr ;
5270 unsigned long last_rx ;
5271 struct net_device *master ;
5272 unsigned char *dev_addr ;
5273 struct netdev_hw_addr_list dev_addrs ;
5274 unsigned char broadcast[32] ;
5275 struct kset *queues_kset ;
5276 struct netdev_rx_queue *_rx ;
5277 unsigned int num_rx_queues ;
5278 unsigned int real_num_rx_queues ;
5279 struct cpu_rmap *rx_cpu_rmap ;
5280 rx_handler_func_t *rx_handler ;
5281 void *rx_handler_data ;
5282 struct netdev_queue *ingress_queue ;
5283 struct netdev_queue *_tx __attribute__((__aligned__((1) << (6) ))) ;
5284 unsigned int num_tx_queues ;
5285 unsigned int real_num_tx_queues ;
5286 struct Qdisc *qdisc ;
5287 unsigned long tx_queue_len ;
5288 spinlock_t tx_global_lock ;
5289 struct xps_dev_maps *xps_maps ;
5290 unsigned long trans_start ;
5291 int watchdog_timeo ;
5292 struct timer_list watchdog_timer ;
5293 int *pcpu_refcnt ;
5294 struct list_head todo_list ;
5295 struct hlist_node index_hlist ;
5296 struct list_head link_watch_list ;
5297 enum __anonenum_reg_state_304 reg_state : 8 ;
5298 bool dismantle ;
5299 enum __anonenum_rtnl_link_state_305 rtnl_link_state : 16 ;
5300 void (*destructor)(struct net_device *dev ) ;
5301 struct netpoll_info *npinfo ;
5302 struct net *nd_net ;
5303 union __anonunion____missing_field_name_306 __annonCompField44 ;
5304 struct garp_port *garp_port ;
5305 struct device dev ;
5306 struct attribute_group const *sysfs_groups[4] ;
5307 struct rtnl_link_ops const *rtnl_link_ops ;
5308 unsigned int gso_max_size ;
5309 struct dcbnl_rtnl_ops const *dcbnl_ops ;
5310 u8 num_tc ;
5311 struct netdev_tc_txq tc_to_txq[16] ;
5312 u8 prio_tc_map[16] ;
5313 unsigned int fcoe_ddp_xid ;
5314 struct ethtool_rx_ntuple_list ethtool_ntuple_list ;
5315 struct phy_device *phydev ;
5316 int group ;
5317};
5318# 26 "include/linux/filter.h"
5319struct sock_filter {
5320 __u16 code ;
5321 __u8 jt ;
5322 __u8 jf ;
5323 __u32 k ;
5324};
5325# 138 "include/linux/filter.h"
5326struct sk_filter {
5327 atomic_t refcnt ;
5328 unsigned int len ;
5329 unsigned int (*bpf_func)(struct sk_buff const *skb , struct sock_filter const *filter ) ;
5330 struct rcu_head rcu ;
5331 struct sock_filter insns[0] ;
5332};
5333# 205 "include/net/netlink.h"
5334struct nla_policy {
5335 u16 type ;
5336 u16 len ;
5337};
5338# 28 "include/linux/binfmts.h"
5339struct linux_binprm {
5340 char buf[128] ;
5341 struct vm_area_struct *vma ;
5342 unsigned long vma_pages ;
5343 struct mm_struct *mm ;
5344 unsigned long p ;
5345 unsigned int cred_prepared : 1 ;
5346 unsigned int cap_effective : 1 ;
5347 unsigned int recursion_depth ;
5348 struct file *file ;
5349 struct cred *cred ;
5350 int unsafe ;
5351 unsigned int per_clear ;
5352 int argc ;
5353 int envc ;
5354 char const *filename ;
5355 char const *interp ;
5356 unsigned int interp_flags ;
5357 unsigned int interp_data ;
5358 unsigned long loader ;
5359 unsigned long exec ;
5360};
5361# 73 "include/linux/binfmts.h"
5362struct coredump_params {
5363 long signr ;
5364 struct pt_regs *regs ;
5365 struct file *file ;
5366 unsigned long limit ;
5367 unsigned long mm_flags ;
5368};
5369# 85 "include/linux/binfmts.h"
5370struct linux_binfmt {
5371 struct list_head lh ;
5372 struct module *module ;
5373 int (*load_binary)(struct linux_binprm * , struct pt_regs *regs ) ;
5374 int (*load_shlib)(struct file * ) ;
5375 int (*core_dump)(struct coredump_params *cprm ) ;
5376 unsigned long min_coredump ;
5377};
5378# 92 "include/linux/security.h"
5379struct xfrm_policy;
5380# 93 "include/linux/security.h"
5381struct xfrm_state;
5382# 45 "include/net/rtnetlink.h"
5383struct rtnl_link_ops {
5384 struct list_head list ;
5385 char const *kind ;
5386 size_t priv_size ;
5387 void (*setup)(struct net_device *dev ) ;
5388 int maxtype ;
5389 struct nla_policy const *policy ;
5390 int (*validate)(struct nlattr **tb , struct nlattr **data ) ;
5391 int (*newlink)(struct net *src_net , struct net_device *dev , struct nlattr **tb ,
5392 struct nlattr **data ) ;
5393 int (*changelink)(struct net_device *dev , struct nlattr **tb , struct nlattr **data ) ;
5394 void (*dellink)(struct net_device *dev , struct list_head *head ) ;
5395 size_t (*get_size)(struct net_device const *dev ) ;
5396 int (*fill_info)(struct sk_buff *skb , struct net_device const *dev ) ;
5397 size_t (*get_xstats_size)(struct net_device const *dev ) ;
5398 int (*fill_xstats)(struct sk_buff *skb , struct net_device const *dev ) ;
5399 int (*get_tx_queues)(struct net *net , struct nlattr **tb , unsigned int *tx_queues ,
5400 unsigned int *real_tx_queues ) ;
5401};
5402# 40 "include/net/neighbour.h"
5403struct neigh_table;
5404# 40 "include/net/neighbour.h"
5405struct neigh_parms {
5406 struct net *net ;
5407 struct net_device *dev ;
5408 struct neigh_parms *next ;
5409 int (*neigh_setup)(struct neighbour * ) ;
5410 void (*neigh_cleanup)(struct neighbour * ) ;
5411 struct neigh_table *tbl ;
5412 void *sysctl_table ;
5413 int dead ;
5414 atomic_t refcnt ;
5415 struct rcu_head rcu_head ;
5416 int base_reachable_time ;
5417 int retrans_time ;
5418 int gc_staletime ;
5419 int reachable_time ;
5420 int delay_probe_time ;
5421 int queue_len ;
5422 int ucast_probes ;
5423 int app_probes ;
5424 int mcast_probes ;
5425 int anycast_delay ;
5426 int proxy_delay ;
5427 int proxy_qlen ;
5428 int locktime ;
5429};
5430# 72 "include/net/neighbour.h"
5431struct neigh_statistics {
5432 unsigned long allocs ;
5433 unsigned long destroys ;
5434 unsigned long hash_grows ;
5435 unsigned long res_failed ;
5436 unsigned long lookups ;
5437 unsigned long hits ;
5438 unsigned long rcv_probes_mcast ;
5439 unsigned long rcv_probes_ucast ;
5440 unsigned long periodic_gc_runs ;
5441 unsigned long forced_gc_runs ;
5442 unsigned long unres_discards ;
5443};
5444# 93 "include/net/neighbour.h"
5445struct neigh_ops;
5446# 93 "include/net/neighbour.h"
5447struct neighbour {
5448 struct neighbour *next ;
5449 struct neigh_table *tbl ;
5450 struct neigh_parms *parms ;
5451 unsigned long confirmed ;
5452 unsigned long updated ;
5453 rwlock_t lock ;
5454 atomic_t refcnt ;
5455 struct sk_buff_head arp_queue ;
5456 struct timer_list timer ;
5457 unsigned long used ;
5458 atomic_t probes ;
5459 __u8 flags ;
5460 __u8 nud_state ;
5461 __u8 type ;
5462 __u8 dead ;
5463 seqlock_t ha_lock ;
5464 unsigned char ha[(32 + ((int )sizeof(unsigned long ) - 1)) & ~ ((int )sizeof(unsigned long ) - 1)] ;
5465 struct hh_cache *hh ;
5466 int (*output)(struct sk_buff *skb ) ;
5467 struct neigh_ops const *ops ;
5468 struct rcu_head rcu ;
5469 struct net_device *dev ;
5470 u8 primary_key[0] ;
5471};
5472# 119 "include/net/neighbour.h"
5473struct neigh_ops {
5474 int family ;
5475 void (*solicit)(struct neighbour * , struct sk_buff * ) ;
5476 void (*error_report)(struct neighbour * , struct sk_buff * ) ;
5477 int (*output)(struct sk_buff * ) ;
5478 int (*connected_output)(struct sk_buff * ) ;
5479 int (*hh_output)(struct sk_buff * ) ;
5480 int (*queue_xmit)(struct sk_buff * ) ;
5481};
5482# 129 "include/net/neighbour.h"
5483struct pneigh_entry {
5484 struct pneigh_entry *next ;
5485 struct net *net ;
5486 struct net_device *dev ;
5487 u8 flags ;
5488 u8 key[0] ;
5489};
5490# 143 "include/net/neighbour.h"
5491struct neigh_hash_table {
5492 struct neighbour **hash_buckets ;
5493 unsigned int hash_mask ;
5494 __u32 hash_rnd ;
5495 struct rcu_head rcu ;
5496};
5497# 151 "include/net/neighbour.h"
5498struct neigh_table {
5499 struct neigh_table *next ;
5500 int family ;
5501 int entry_size ;
5502 int key_len ;
5503 __u32 (*hash)(void const *pkey , struct net_device const *dev , __u32 hash_rnd ) ;
5504 int (*constructor)(struct neighbour * ) ;
5505 int (*pconstructor)(struct pneigh_entry * ) ;
5506 void (*pdestructor)(struct pneigh_entry * ) ;
5507 void (*proxy_redo)(struct sk_buff *skb ) ;
5508 char *id ;
5509 struct neigh_parms parms ;
5510 int gc_interval ;
5511 int gc_thresh1 ;
5512 int gc_thresh2 ;
5513 int gc_thresh3 ;
5514 unsigned long last_flush ;
5515 struct delayed_work gc_work ;
5516 struct timer_list proxy_timer ;
5517 struct sk_buff_head proxy_queue ;
5518 atomic_t entries ;
5519 rwlock_t lock ;
5520 unsigned long last_rand ;
5521 struct kmem_cache *kmem_cachep ;
5522 struct neigh_statistics *stats ;
5523 struct neigh_hash_table *nht ;
5524 struct pneigh_entry **phash_buckets ;
5525};
5526# 32 "include/net/dst.h"
5527struct dn_route;
5528# 32 "include/net/dst.h"
5529union __anonunion____missing_field_name_336 {
5530 struct dst_entry *next ;
5531 struct rtable *rt_next ;
5532 struct rt6_info *rt6_next ;
5533 struct dn_route *dn_next ;
5534};
5535# 32 "include/net/dst.h"
5536struct dst_entry {
5537 struct rcu_head rcu_head ;
5538 struct dst_entry *child ;
5539 struct net_device *dev ;
5540 struct dst_ops *ops ;
5541 unsigned long _metrics ;
5542 unsigned long expires ;
5543 struct dst_entry *path ;
5544 struct neighbour *neighbour ;
5545 struct hh_cache *hh ;
5546 struct xfrm_state *xfrm ;
5547 int (*input)(struct sk_buff * ) ;
5548 int (*output)(struct sk_buff * ) ;
5549 short error ;
5550 short obsolete ;
5551 unsigned short header_len ;
5552 unsigned short trailer_len ;
5553 __u32 tclassid ;
5554 long __pad_to_align_refcnt[1] ;
5555 atomic_t __refcnt ;
5556 int __use ;
5557 unsigned long lastuse ;
5558 int flags ;
5559 union __anonunion____missing_field_name_336 __annonCompField48 ;
5560};
5561# 88 "include/net/sock.h"
5562struct __anonstruct_socket_lock_t_338 {
5563 spinlock_t slock ;
5564 int owned ;
5565 wait_queue_head_t wq ;
5566 struct lockdep_map dep_map ;
5567};
5568# 88 "include/net/sock.h"
5569typedef struct __anonstruct_socket_lock_t_338 socket_lock_t;
5570# 104 "include/net/sock.h"
5571struct proto;
5572# 129 "include/net/sock.h"
5573union __anonunion____missing_field_name_339 {
5574 unsigned int skc_hash ;
5575 __u16 skc_u16hashes[2] ;
5576};
5577# 129 "include/net/sock.h"
5578union __anonunion____missing_field_name_340 {
5579 struct hlist_node skc_bind_node ;
5580 struct hlist_nulls_node skc_portaddr_node ;
5581};
5582# 129 "include/net/sock.h"
5583union __anonunion____missing_field_name_341 {
5584 struct hlist_node skc_node ;
5585 struct hlist_nulls_node skc_nulls_node ;
5586};
5587# 129 "include/net/sock.h"
5588struct sock_common {
5589 __be32 skc_daddr ;
5590 __be32 skc_rcv_saddr ;
5591 union __anonunion____missing_field_name_339 __annonCompField49 ;
5592 unsigned short skc_family ;
5593 unsigned char volatile skc_state ;
5594 unsigned char skc_reuse ;
5595 int skc_bound_dev_if ;
5596 union __anonunion____missing_field_name_340 __annonCompField50 ;
5597 struct proto *skc_prot ;
5598 struct net *skc_net ;
5599 int skc_dontcopy_begin[0] ;
5600 union __anonunion____missing_field_name_341 __annonCompField51 ;
5601 int skc_tx_queue_mapping ;
5602 atomic_t skc_refcnt ;
5603 int skc_dontcopy_end[0] ;
5604};
5605# 238 "include/net/sock.h"
5606struct __anonstruct_sk_backlog_342 {
5607 atomic_t rmem_alloc ;
5608 int len ;
5609 struct sk_buff *head ;
5610 struct sk_buff *tail ;
5611};
5612# 238 "include/net/sock.h"
5613struct sock {
5614 struct sock_common __sk_common ;
5615 socket_lock_t sk_lock ;
5616 struct sk_buff_head sk_receive_queue ;
5617 struct __anonstruct_sk_backlog_342 sk_backlog ;
5618 int sk_forward_alloc ;
5619 __u32 sk_rxhash ;
5620 atomic_t sk_drops ;
5621 int sk_rcvbuf ;
5622 struct sk_filter *sk_filter ;
5623 struct socket_wq *sk_wq ;
5624 struct sk_buff_head sk_async_wait_queue ;
5625 struct xfrm_policy *sk_policy[2] ;
5626 unsigned long sk_flags ;
5627 struct dst_entry *sk_dst_cache ;
5628 spinlock_t sk_dst_lock ;
5629 atomic_t sk_wmem_alloc ;
5630 atomic_t sk_omem_alloc ;
5631 int sk_sndbuf ;
5632 struct sk_buff_head sk_write_queue ;
5633 unsigned int sk_shutdown : 2 ;
5634 unsigned int sk_no_check : 2 ;
5635 unsigned int sk_userlocks : 4 ;
5636 unsigned int sk_protocol : 8 ;
5637 unsigned int sk_type : 16 ;
5638 int sk_wmem_queued ;
5639 gfp_t sk_allocation ;
5640 int sk_route_caps ;
5641 int sk_route_nocaps ;
5642 int sk_gso_type ;
5643 unsigned int sk_gso_max_size ;
5644 int sk_rcvlowat ;
5645 unsigned long sk_lingertime ;
5646 struct sk_buff_head sk_error_queue ;
5647 struct proto *sk_prot_creator ;
5648 rwlock_t sk_callback_lock ;
5649 int sk_err ;
5650 int sk_err_soft ;
5651 unsigned short sk_ack_backlog ;
5652 unsigned short sk_max_ack_backlog ;
5653 __u32 sk_priority ;
5654 struct pid *sk_peer_pid ;
5655 struct cred const *sk_peer_cred ;
5656 long sk_rcvtimeo ;
5657 long sk_sndtimeo ;
5658 void *sk_protinfo ;
5659 struct timer_list sk_timer ;
5660 ktime_t sk_stamp ;
5661 struct socket *sk_socket ;
5662 void *sk_user_data ;
5663 struct page *sk_sndmsg_page ;
5664 struct sk_buff *sk_send_head ;
5665 __u32 sk_sndmsg_off ;
5666 int sk_write_pending ;
5667 void *sk_security ;
5668 __u32 sk_mark ;
5669 u32 sk_classid ;
5670 void (*sk_state_change)(struct sock *sk ) ;
5671 void (*sk_data_ready)(struct sock *sk , int bytes ) ;
5672 void (*sk_write_space)(struct sock *sk ) ;
5673 void (*sk_error_report)(struct sock *sk ) ;
5674 int (*sk_backlog_rcv)(struct sock *sk , struct sk_buff *skb ) ;
5675 void (*sk_destruct)(struct sock *sk ) ;
5676};
5677# 717 "include/net/sock.h"
5678struct request_sock_ops;
5679# 718 "include/net/sock.h"
5680struct timewait_sock_ops;
5681# 719 "include/net/sock.h"
5682struct inet_hashinfo;
5683# 720 "include/net/sock.h"
5684struct raw_hashinfo;
5685# 726 "include/net/sock.h"
5686struct udp_table;
5687# 726 "include/net/sock.h"
5688union __anonunion_h_343 {
5689 struct inet_hashinfo *hashinfo ;
5690 struct udp_table *udp_table ;
5691 struct raw_hashinfo *raw_hash ;
5692};
5693# 726 "include/net/sock.h"
5694struct proto {
5695 void (*close)(struct sock *sk , long timeout ) ;
5696 int (*connect)(struct sock *sk , struct sockaddr *uaddr , int addr_len ) ;
5697 int (*disconnect)(struct sock *sk , int flags ) ;
5698 struct sock *(*accept)(struct sock *sk , int flags , int *err ) ;
5699 int (*ioctl)(struct sock *sk , int cmd , unsigned long arg ) ;
5700 int (*init)(struct sock *sk ) ;
5701 void (*destroy)(struct sock *sk ) ;
5702 void (*shutdown)(struct sock *sk , int how ) ;
5703 int (*setsockopt)(struct sock *sk , int level , int optname , char *optval , unsigned int optlen ) ;
5704 int (*getsockopt)(struct sock *sk , int level , int optname , char *optval , int *option ) ;
5705 int (*compat_setsockopt)(struct sock *sk , int level , int optname , char *optval ,
5706 unsigned int optlen ) ;
5707 int (*compat_getsockopt)(struct sock *sk , int level , int optname , char *optval ,
5708 int *option ) ;
5709 int (*compat_ioctl)(struct sock *sk , unsigned int cmd , unsigned long arg ) ;
5710 int (*sendmsg)(struct kiocb *iocb , struct sock *sk , struct msghdr *msg , size_t len ) ;
5711 int (*recvmsg)(struct kiocb *iocb , struct sock *sk , struct msghdr *msg , size_t len ,
5712 int noblock , int flags , int *addr_len ) ;
5713 int (*sendpage)(struct sock *sk , struct page *page , int offset , size_t size ,
5714 int flags ) ;
5715 int (*bind)(struct sock *sk , struct sockaddr *uaddr , int addr_len ) ;
5716 int (*backlog_rcv)(struct sock *sk , struct sk_buff *skb ) ;
5717 void (*hash)(struct sock *sk ) ;
5718 void (*unhash)(struct sock *sk ) ;
5719 void (*rehash)(struct sock *sk ) ;
5720 int (*get_port)(struct sock *sk , unsigned short snum ) ;
5721 void (*clear_sk)(struct sock *sk , int size ) ;
5722 unsigned int inuse_idx ;
5723 void (*enter_memory_pressure)(struct sock *sk ) ;
5724 atomic_long_t *memory_allocated ;
5725 struct percpu_counter *sockets_allocated ;
5726 int *memory_pressure ;
5727 long *sysctl_mem ;
5728 int *sysctl_wmem ;
5729 int *sysctl_rmem ;
5730 int max_header ;
5731 bool no_autobind ;
5732 struct kmem_cache *slab ;
5733 unsigned int obj_size ;
5734 int slab_flags ;
5735 struct percpu_counter *orphan_count ;
5736 struct request_sock_ops *rsk_prot ;
5737 struct timewait_sock_ops *twsk_prot ;
5738 union __anonunion_h_343 h ;
5739 struct module *owner ;
5740 char name[32] ;
5741 struct list_head node ;
5742};
5743# 42 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
5744enum vhost_net_poll_state {
5745 VHOST_NET_POLL_DISABLED = 0,
5746 VHOST_NET_POLL_STARTED = 1,
5747 VHOST_NET_POLL_STOPPED = 2
5748} ;
5749# 48 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
5750struct vhost_net {
5751 struct vhost_dev dev ;
5752 struct vhost_virtqueue vqs[2] ;
5753 struct vhost_poll poll[2] ;
5754 enum vhost_net_poll_state tx_poll_state ;
5755};
5756# 155 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
5757struct __anonstruct_346 {
5758 int : 0 ;
5759};
5760# 256 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
5761struct __anonstruct_347 {
5762 int : 0 ;
5763};
5764# 540 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
5765struct __anonstruct_uaddr_348 {
5766 struct sockaddr_ll sa ;
5767 char buf[32] ;
5768};
5769# 1 "<compiler builtins>"
5770
5771# 1 "<compiler builtins>"
5772
5773# 1 "<compiler builtins>"
5774
5775# 14 "include/linux/file.h"
5776extern void fput(struct file * ) ;
5777# 24 "include/linux/list.h"
5778__inline static void INIT_LIST_HEAD(struct list_head *list )
5779{
5780
5781 {
5782# 26 "include/linux/list.h"
5783 list->next = list;
5784# 27 "include/linux/list.h"
5785 list->prev = list;
5786# 28 "include/linux/list.h"
5787 return;
5788}
5789}
5790# 47 "include/linux/list.h"
5791extern void __list_add(struct list_head *new , struct list_head *prev , struct list_head *next ) ;
5792# 74 "include/linux/list.h"
5793__inline static void list_add_tail(struct list_head *new , struct list_head *head )
5794{
5795
5796 {
5797 {
5798# 76 "include/linux/list.h"
5799 __list_add(new, head->prev, head);
5800 }
5801# 77 "include/linux/list.h"
5802 return;
5803}
5804}
5805# 111 "include/linux/list.h"
5806extern void __list_del_entry(struct list_head *entry ) ;
5807# 142 "include/linux/list.h"
5808__inline static void list_del_init(struct list_head *entry )
5809{
5810
5811 {
5812 {
5813# 144 "include/linux/list.h"
5814 __list_del_entry(entry);
5815# 145 "include/linux/list.h"
5816 INIT_LIST_HEAD(entry);
5817 }
5818# 146 "include/linux/list.h"
5819 return;
5820}
5821}
5822# 186 "include/linux/list.h"
5823__inline static int list_empty(struct list_head const *head )
5824{
5825
5826 {
5827# 188 "include/linux/list.h"
5828 return ((unsigned long )head->next == (unsigned long )head);
5829}
5830}
5831# 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5832__inline static void ( __attribute__((__always_inline__)) set_bit)(unsigned int nr ,
5833 unsigned long volatile *addr )
5834{
5835
5836 {
5837# 68 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5838 __asm__ volatile (".section .smp_locks,\"a\"\n"
5839 ".balign 4\n"
5840 ".long 671f - .\n"
5841 ".previous\n"
5842 "671:"
5843 "\n\tlock; "
5844 "bts %1,%0": "+m" (*((long volatile *)addr)): "Ir" (nr): "memory");
5845# 71 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5846 return;
5847}
5848}
5849# 47 "include/linux/dynamic_debug.h"
5850extern int __dynamic_pr_debug(struct _ddebug *descriptor , char const *fmt , ...) ;
5851# 64 "include/asm-generic/bug.h"
5852extern void warn_slowpath_fmt(char const *file , int const line , char const *fmt
5853 , ...) ;
5854# 69 "include/asm-generic/bug.h"
5855extern void warn_slowpath_null(char const *file , int const line ) ;
5856# 170 "include/linux/kernel.h"
5857extern void might_fault(void) ;
5858# 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/percpu.h"
5859extern void __bad_percpu_size(void) ;
5860# 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5861extern struct task_struct *current_task __attribute__((__section__(".data..percpu"))) ;
5862# 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5863__inline static struct task_struct *( __attribute__((__always_inline__)) get_current)(void)
5864{ struct task_struct *pfo_ret__ ;
5865
5866 {
5867# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5868 if ((int )sizeof(current_task) == 1) {
5869# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5870 goto case_1;
5871 } else
5872# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5873 if ((int )sizeof(current_task) == 2) {
5874# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5875 goto case_2;
5876 } else
5877# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5878 if ((int )sizeof(current_task) == 4) {
5879# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5880 goto case_4;
5881 } else
5882# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5883 if ((int )sizeof(current_task) == 8) {
5884# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5885 goto case_8;
5886 } else {
5887# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5888 goto switch_default;
5889# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5890 if (0) {
5891 case_1:
5892# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5893 __asm__ ("mov"
5894 "b "
5895 "%%"
5896 "gs"
5897 ":"
5898 "%P"
5899 "1"
5900 ",%0": "=q" (pfo_ret__): "p" (& current_task));
5901# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5902 goto switch_break;
5903 case_2:
5904# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5905 __asm__ ("mov"
5906 "w "
5907 "%%"
5908 "gs"
5909 ":"
5910 "%P"
5911 "1"
5912 ",%0": "=r" (pfo_ret__): "p" (& current_task));
5913# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5914 goto switch_break;
5915 case_4:
5916# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5917 __asm__ ("mov"
5918 "l "
5919 "%%"
5920 "gs"
5921 ":"
5922 "%P"
5923 "1"
5924 ",%0": "=r" (pfo_ret__): "p" (& current_task));
5925# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5926 goto switch_break;
5927 case_8:
5928# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5929 __asm__ ("mov"
5930 "q "
5931 "%%"
5932 "gs"
5933 ":"
5934 "%P"
5935 "1"
5936 ",%0": "=r" (pfo_ret__): "p" (& current_task));
5937# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5938 goto switch_break;
5939 switch_default:
5940 {
5941# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5942 __bad_percpu_size();
5943 }
5944 } else {
5945 switch_break: ;
5946 }
5947 }
5948# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
5949 return (pfo_ret__);
5950}
5951}
5952# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/cmpxchg_64.h"
5953extern void __xchg_wrong_size(void) ;
5954# 27 "include/linux/err.h"
5955__inline static long __attribute__((__warn_unused_result__)) PTR_ERR(void const *ptr )
5956{
5957
5958 {
5959# 29 "include/linux/err.h"
5960 return ((long )ptr);
5961}
5962}
5963# 32 "include/linux/err.h"
5964__inline static long __attribute__((__warn_unused_result__)) IS_ERR(void const *ptr )
5965{ long tmp ;
5966
5967 {
5968 {
5969# 34 "include/linux/err.h"
5970 tmp = __builtin_expect((long )(! (! ((unsigned long )ptr >= 0x0ffffffffffff001UL))),
5971 0L);
5972 }
5973# 34 "include/linux/err.h"
5974 return (tmp);
5975}
5976}
5977# 217 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5978extern unsigned long kernel_stack __attribute__((__section__(".data..percpu"))) ;
5979# 219 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5980__inline static struct thread_info *current_thread_info(void)
5981{ struct thread_info *ti ;
5982 unsigned long pfo_ret__ ;
5983
5984 {
5985# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5986 if ((int )sizeof(kernel_stack) == 1) {
5987# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5988 goto case_1;
5989 } else
5990# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5991 if ((int )sizeof(kernel_stack) == 2) {
5992# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5993 goto case_2;
5994 } else
5995# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5996 if ((int )sizeof(kernel_stack) == 4) {
5997# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
5998 goto case_4;
5999 } else
6000# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6001 if ((int )sizeof(kernel_stack) == 8) {
6002# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6003 goto case_8;
6004 } else {
6005# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6006 goto switch_default;
6007# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6008 if (0) {
6009 case_1:
6010# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6011 __asm__ ("mov"
6012 "b "
6013 "%%"
6014 "gs"
6015 ":"
6016 "%P"
6017 "1"
6018 ",%0": "=q" (pfo_ret__): "p" (& kernel_stack));
6019# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6020 goto switch_break;
6021 case_2:
6022# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6023 __asm__ ("mov"
6024 "w "
6025 "%%"
6026 "gs"
6027 ":"
6028 "%P"
6029 "1"
6030 ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
6031# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6032 goto switch_break;
6033 case_4:
6034# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6035 __asm__ ("mov"
6036 "l "
6037 "%%"
6038 "gs"
6039 ":"
6040 "%P"
6041 "1"
6042 ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
6043# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6044 goto switch_break;
6045 case_8:
6046# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6047 __asm__ ("mov"
6048 "q "
6049 "%%"
6050 "gs"
6051 ":"
6052 "%P"
6053 "1"
6054 ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
6055# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6056 goto switch_break;
6057 switch_default:
6058 {
6059# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6060 __bad_percpu_size();
6061 }
6062 } else {
6063 switch_break: ;
6064 }
6065 }
6066# 222 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6067 ti = (struct thread_info *)((void *)((pfo_ret__ + 40UL) - ((1UL << 12) << 1)));
6068# 224 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6069 return (ti);
6070}
6071}
6072# 315 "include/linux/lockdep.h"
6073extern void lock_acquire(struct lockdep_map *lock , unsigned int subclass , int trylock ,
6074 int read , int check , struct lockdep_map *nest_lock , unsigned long ip ) ;
6075# 319 "include/linux/lockdep.h"
6076extern void lock_release(struct lockdep_map *lock , int nested , unsigned long ip ) ;
6077# 324 "include/linux/lockdep.h"
6078extern int lock_is_held(struct lockdep_map *lock ) ;
6079# 551 "include/linux/lockdep.h"
6080extern void lockdep_rcu_dereference(char const *file , int const line ) ;
6081# 93 "include/linux/spinlock.h"
6082extern void __raw_spin_lock_init(raw_spinlock_t *lock , char const *name , struct lock_class_key *key ) ;
6083# 29 "include/linux/spinlock_api_smp.h"
6084extern void _raw_spin_lock_irq(raw_spinlock_t *lock ) __attribute__((__section__(".spinlock.text"))) ;
6085# 32 "include/linux/spinlock_api_smp.h"
6086extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t *lock ) __attribute__((__section__(".spinlock.text"))) ;
6087# 41 "include/linux/spinlock_api_smp.h"
6088extern void _raw_spin_unlock_irq(raw_spinlock_t *lock ) __attribute__((__section__(".spinlock.text"))) ;
6089# 42 "include/linux/spinlock_api_smp.h"
6090extern void _raw_spin_unlock_irqrestore(raw_spinlock_t *lock , unsigned long flags ) __attribute__((__section__(".spinlock.text"))) ;
6091# 272 "include/linux/spinlock.h"
6092__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )
6093{
6094
6095 {
6096# 274 "include/linux/spinlock.h"
6097 return (& lock->__annonCompField18.rlock);
6098}
6099}
6100# 308 "include/linux/spinlock.h"
6101__inline static void spin_lock_irq(spinlock_t *lock )
6102{
6103
6104 {
6105 {
6106# 310 "include/linux/spinlock.h"
6107 _raw_spin_lock_irq(& lock->__annonCompField18.rlock);
6108 }
6109# 311 "include/linux/spinlock.h"
6110 return;
6111}
6112}
6113# 333 "include/linux/spinlock.h"
6114__inline static void spin_unlock_irq(spinlock_t *lock )
6115{
6116
6117 {
6118 {
6119# 335 "include/linux/spinlock.h"
6120 _raw_spin_unlock_irq(& lock->__annonCompField18.rlock);
6121 }
6122# 336 "include/linux/spinlock.h"
6123 return;
6124}
6125}
6126# 338 "include/linux/spinlock.h"
6127__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )
6128{
6129
6130 {
6131 {
6132# 340 "include/linux/spinlock.h"
6133 while (1) {
6134 while_continue: ;
6135 {
6136# 340 "include/linux/spinlock.h"
6137 _raw_spin_unlock_irqrestore(& lock->__annonCompField18.rlock, flags);
6138 }
6139# 340 "include/linux/spinlock.h"
6140 goto while_break;
6141 }
6142 while_break___0: ;
6143 }
6144 while_break: ;
6145# 341 "include/linux/spinlock.h"
6146 return;
6147}
6148}
6149# 80 "include/linux/wait.h"
6150extern void __init_waitqueue_head(wait_queue_head_t *q , struct lock_class_key * ) ;
6151# 105 "include/linux/wait.h"
6152__inline static void init_waitqueue_func_entry(wait_queue_t *q , int (*func)(wait_queue_t *wait ,
6153 unsigned int mode ,
6154 int flags ,
6155 void *key ) )
6156{
6157
6158 {
6159# 108 "include/linux/wait.h"
6160 q->flags = 0U;
6161# 109 "include/linux/wait.h"
6162 q->private = (void *)0;
6163# 110 "include/linux/wait.h"
6164 q->func = func;
6165# 111 "include/linux/wait.h"
6166 return;
6167}
6168}
6169# 118 "include/linux/wait.h"
6170extern void add_wait_queue(wait_queue_head_t *q , wait_queue_t *wait ) ;
6171# 120 "include/linux/wait.h"
6172extern void remove_wait_queue(wait_queue_head_t *q , wait_queue_t *wait ) ;
6173# 156 "include/linux/wait.h"
6174extern void __wake_up(wait_queue_head_t *q , unsigned int mode , int nr , void *key ) ;
6175# 584 "include/linux/wait.h"
6176extern void prepare_to_wait(wait_queue_head_t *q , wait_queue_t *wait , int state ) ;
6177# 586 "include/linux/wait.h"
6178extern void finish_wait(wait_queue_head_t *q , wait_queue_t *wait ) ;
6179# 589 "include/linux/wait.h"
6180extern int autoremove_wake_function(wait_queue_t *wait , unsigned int mode , int sync ,
6181 void *key ) ;
6182# 33 "include/linux/eventfd.h"
6183extern void eventfd_ctx_put(struct eventfd_ctx *ctx ) ;
6184# 34 "include/linux/eventfd.h"
6185extern struct file *eventfd_fget(int fd ) ;
6186# 36 "include/linux/eventfd.h"
6187extern struct eventfd_ctx *eventfd_ctx_fileget(struct file *file ) ;
6188# 37 "include/linux/eventfd.h"
6189extern int eventfd_signal(struct eventfd_ctx *ctx , int n ) ;
6190# 115 "include/linux/mutex.h"
6191extern void __mutex_init(struct mutex *lock , char const *name , struct lock_class_key *key ) ;
6192# 134 "include/linux/mutex.h"
6193extern void mutex_lock_nested(struct mutex *lock , unsigned int subclass ) ;
6194# 169 "include/linux/mutex.h"
6195extern void mutex_unlock(struct mutex *lock ) ;
6196# 433 "include/linux/mm.h"
6197extern void put_page(struct page *page ) ;
6198# 720 "include/linux/mm.h"
6199__inline static void *( __attribute__((__always_inline__)) lowmem_page_address)(struct page *page )
6200{
6201
6202 {
6203# 722 "include/linux/mm.h"
6204 return ((void *)((unsigned long )((phys_addr_t )((unsigned long )(page - (struct page *)0x0fffea0000000000UL)) << 12) + 0x0fff880000000000UL));
6205}
6206}
6207# 985 "include/linux/mm.h"
6208extern int get_user_pages_fast(unsigned long start , int nr_pages , int write , struct page **pages ) ;
6209# 1001 "include/linux/mm.h"
6210extern int set_page_dirty_lock(struct page *page ) ;
6211# 80 "include/linux/rcupdate.h"
6212extern void synchronize_sched(void) ;
6213# 110 "include/linux/rcupdate.h"
6214__inline static void __rcu_read_lock(void)
6215{
6216
6217 {
6218 {
6219# 112 "include/linux/rcupdate.h"
6220 while (1) {
6221 while_continue: ;
6222# 112 "include/linux/rcupdate.h"
6223 goto while_break;
6224 }
6225 while_break___0: ;
6226 }
6227 while_break: ;
6228# 113 "include/linux/rcupdate.h"
6229 return;
6230}
6231}
6232# 120 "include/linux/rcupdate.h"
6233__inline static void synchronize_rcu(void)
6234{
6235
6236 {
6237 {
6238# 122 "include/linux/rcupdate.h"
6239 synchronize_sched();
6240 }
6241# 123 "include/linux/rcupdate.h"
6242 return;
6243}
6244}
6245# 184 "include/linux/rcupdate.h"
6246extern struct lockdep_map rcu_lock_map ;
6247# 200 "include/linux/rcupdate.h"
6248extern int debug_lockdep_rcu_enabled(void) ;
6249# 214 "include/linux/rcupdate.h"
6250__inline static int rcu_read_lock_held(void)
6251{ int tmp ;
6252 int tmp___0 ;
6253
6254 {
6255 {
6256# 216 "include/linux/rcupdate.h"
6257 tmp = debug_lockdep_rcu_enabled();
6258 }
6259# 216 "include/linux/rcupdate.h"
6260 if (tmp) {
6261
6262 } else {
6263# 217 "include/linux/rcupdate.h"
6264 return (1);
6265 }
6266 {
6267# 218 "include/linux/rcupdate.h"
6268 tmp___0 = lock_is_held(& rcu_lock_map);
6269 }
6270# 218 "include/linux/rcupdate.h"
6271 return (tmp___0);
6272}
6273}
6274# 590 "include/linux/rcupdate.h"
6275__inline static void rcu_read_lock(void)
6276{
6277
6278 {
6279 {
6280# 592 "include/linux/rcupdate.h"
6281 __rcu_read_lock();
6282# 594 "include/linux/rcupdate.h"
6283 lock_acquire(& rcu_lock_map, 0U, 0, 2, 1, (struct lockdep_map *)((void *)0), (unsigned long )((void *)0));
6284 }
6285# 595 "include/linux/rcupdate.h"
6286 return;
6287}
6288}
6289# 612 "include/linux/rcupdate.h"
6290__inline static void rcu_read_unlock(void)
6291{
6292
6293 {
6294 {
6295# 614 "include/linux/rcupdate.h"
6296 lock_release(& rcu_lock_map, 1, (unsigned long )((void *)0));
6297# 616 "include/linux/rcupdate.h"
6298 __rcu_read_lock();
6299 }
6300# 617 "include/linux/rcupdate.h"
6301 return;
6302}
6303}
6304# 830 "include/linux/rcupdate.h"
6305extern void kfree(void const * ) ;
6306# 153 "include/linux/virtio_ring.h"
6307__inline static int vring_need_event(__u16 event_idx , __u16 new_idx , __u16 old )
6308{
6309
6310 {
6311# 160 "include/linux/virtio_ring.h"
6312 return ((int )((__u16 )(((int )new_idx - (int )event_idx) - 1)) < (int )((__u16 )((int )new_idx - (int )old)));
6313}
6314}
6315# 317 "include/linux/socket.h"
6316extern int memcpy_fromiovec(unsigned char *kdata , struct iovec *iov , int len ) ;
6317# 221 "include/linux/slub_def.h"
6318extern void *__kmalloc(size_t size , gfp_t flags ) ;
6319# 255 "include/linux/slub_def.h"
6320__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
6321 gfp_t flags )
6322{ void *tmp___2 ;
6323
6324 {
6325 {
6326# 270 "include/linux/slub_def.h"
6327 tmp___2 = __kmalloc(size, flags);
6328 }
6329# 270 "include/linux/slub_def.h"
6330 return (tmp___2);
6331}
6332}
6333# 119 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess.h"
6334extern int __get_user_bad(void) ;
6335# 220 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess.h"
6336extern void __put_user_bad(void) ;
6337# 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6338extern unsigned long __attribute__((__warn_unused_result__)) copy_user_generic_string(void *to ,
6339 void const *from ,
6340 unsigned int len ) ;
6341# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6342extern unsigned long __attribute__((__warn_unused_result__)) copy_user_generic_unrolled(void *to ,
6343 void const *from ,
6344 unsigned int len ) ;
6345# 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6346__inline static unsigned long __attribute__((__warn_unused_result__)) ( __attribute__((__always_inline__)) copy_user_generic)(void *to ,
6347 void const *from ,
6348 unsigned int len )
6349{ unsigned int ret ;
6350
6351 {
6352# 29 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6353 __asm__ volatile ("661:\n\t"
6354 "call %P[old]"
6355 "\n662:\n"
6356 ".section .altinstructions,\"a\"\n"
6357 " "
6358 ".balign 8"
6359 " "
6360 "\n"
6361 " "
6362 ".quad"
6363 " "
6364 "661b\n"
6365 " "
6366 ".quad"
6367 " "
6368 "663f\n"
6369 "\t .word "
6370 "(3*32+16)"
6371 "\n"
6372 "\t .byte 662b-661b\n"
6373 "\t .byte 664f-663f\n"
6374 ".previous\n"
6375 ".section .discard,\"aw\",@progbits\n"
6376 "\t .byte 0xff + (664f-663f) - (662b-661b)\n"
6377 ".previous\n"
6378 ".section .altinstr_replacement, \"ax\"\n"
6379 "663:\n\t"
6380 "call %P[new]"
6381 "\n664:\n"
6382 ".previous": "=a" (ret), "=D" (to), "=S" (from), "=d" (len): [old] "i" (& copy_user_generic_unrolled),
6383 [new] "i" (& copy_user_generic_string), "1" (to), "2" (from),
6384 "3" (len): "memory", "rcx", "r8", "r9", "r10", "r11");
6385# 36 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6386 return ((unsigned long )ret);
6387}
6388}
6389# 39 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6390extern unsigned long __attribute__((__warn_unused_result__)) _copy_to_user(void *to ,
6391 void const *from ,
6392 unsigned int len ) ;
6393# 41 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6394extern unsigned long __attribute__((__warn_unused_result__)) _copy_from_user(void *to ,
6395 void const *from ,
6396 unsigned int len ) ;
6397# 46 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6398__inline static unsigned long __attribute__((__warn_unused_result__)) copy_from_user(void *to ,
6399 void const *from ,
6400 unsigned long n )
6401{ int sz ;
6402 unsigned long tmp ;
6403 int __ret_warn_on ;
6404 long tmp___0 ;
6405 int tmp___1 ;
6406 long tmp___2 ;
6407 unsigned long tmp___3 ;
6408
6409 {
6410 {
6411# 50 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6412 tmp = __builtin_object_size(to, 0);
6413# 50 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6414 sz = (int )tmp;
6415# 52 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6416 might_fault();
6417 }
6418# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6419 if (sz == -1) {
6420# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6421 tmp___1 = 1;
6422 } else
6423# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6424 if ((unsigned long )sz >= n) {
6425# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6426 tmp___1 = 1;
6427 } else {
6428# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6429 tmp___1 = 0;
6430 }
6431 {
6432# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6433 tmp___2 = __builtin_expect((long )tmp___1, 1L);
6434 }
6435# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6436 if (tmp___2) {
6437 {
6438# 54 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6439 tmp___3 = (unsigned long )_copy_from_user(to, from, (unsigned int )n);
6440# 54 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6441 n = tmp___3;
6442 }
6443 } else {
6444 {
6445# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6446 __ret_warn_on = 1;
6447# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6448 tmp___0 = __builtin_expect((long )(! (! __ret_warn_on)), 0L);
6449 }
6450# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6451 if (tmp___0) {
6452 {
6453# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6454 warn_slowpath_fmt("/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h",
6455 (int const )57, "Buffer overflow detected!\n");
6456 }
6457 } else {
6458
6459 }
6460 {
6461# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6462 __builtin_expect((long )(! (! __ret_warn_on)), 0L);
6463 }
6464 }
6465# 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6466 return (n);
6467}
6468}
6469# 62 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6470__inline static int __attribute__((__warn_unused_result__)) ( __attribute__((__always_inline__)) copy_to_user)(void *dst ,
6471 void const *src ,
6472 unsigned int size )
6473{ unsigned long tmp ;
6474 unsigned long tmp___0 ;
6475
6476 {
6477 {
6478# 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6479 might_fault();
6480# 67 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6481 tmp___0 = (unsigned long )_copy_to_user(dst, src, size);
6482# 67 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6483 tmp = tmp___0;
6484 }
6485# 67 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6486 return ((int )tmp);
6487}
6488}
6489# 70 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6490__inline static int __attribute__((__warn_unused_result__)) ( __attribute__((__always_inline__)) __copy_from_user)(void *dst ,
6491 void const *src ,
6492 unsigned int size )
6493{ int ret ;
6494 unsigned long tmp ;
6495 long tmp___0 ;
6496 long tmp___1 ;
6497 unsigned long tmp___2 ;
6498 unsigned long tmp___3 ;
6499 unsigned long tmp___4 ;
6500
6501 {
6502 {
6503# 73 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6504 ret = 0;
6505# 75 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6506 might_fault();
6507# 77 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6508 tmp___3 = (unsigned long )copy_user_generic(dst, (void const *)((void *)src),
6509 size);
6510# 77 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6511 tmp = tmp___3;
6512 }
6513# 77 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6514 return ((int )tmp);
6515# 79 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6516 if ((int )size == 1) {
6517# 79 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6518 goto case_1;
6519 } else
6520# 82 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6521 if ((int )size == 2) {
6522# 82 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6523 goto case_2;
6524 } else
6525# 85 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6526 if ((int )size == 4) {
6527# 85 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6528 goto case_4;
6529 } else
6530# 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6531 if ((int )size == 8) {
6532# 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6533 goto case_8;
6534 } else
6535# 91 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6536 if ((int )size == 10) {
6537# 91 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6538 goto case_10;
6539 } else
6540# 100 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6541 if ((int )size == 16) {
6542# 100 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6543 goto case_16;
6544 } else {
6545# 109 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6546 goto switch_default;
6547# 78 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6548 if (0) {
6549 case_1:
6550# 79 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6551 __asm__ volatile ("1:\tmov"
6552 "b"
6553 " %2,%"
6554 "b"
6555 "1\n"
6556 "2:\n"
6557 ".section .fixup,\"ax\"\n"
6558 "3:\tmov %3,%0\n"
6559 "\txor"
6560 "b"
6561 " %"
6562 "b"
6563 "1,%"
6564 "b"
6565 "1\n"
6566 "\tjmp 2b\n"
6567 ".previous\n"
6568 " .section __ex_table,\"a\"\n"
6569 " "
6570 ".balign 8"
6571 " "
6572 "\n"
6573 " "
6574 ".quad"
6575 " "
6576 "1b"
6577 ","
6578 "3b"
6579 "\n"
6580 " .previous\n": "=r" (ret), "=q" (*((u8 *)dst)): "m" (*((struct __large_struct *)((u8 *)src))),
6581 "i" (1), "0" (ret));
6582# 81 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6583 return (ret);
6584 case_2:
6585# 82 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6586 __asm__ volatile ("1:\tmov"
6587 "w"
6588 " %2,%"
6589 "w"
6590 "1\n"
6591 "2:\n"
6592 ".section .fixup,\"ax\"\n"
6593 "3:\tmov %3,%0\n"
6594 "\txor"
6595 "w"
6596 " %"
6597 "w"
6598 "1,%"
6599 "w"
6600 "1\n"
6601 "\tjmp 2b\n"
6602 ".previous\n"
6603 " .section __ex_table,\"a\"\n"
6604 " "
6605 ".balign 8"
6606 " "
6607 "\n"
6608 " "
6609 ".quad"
6610 " "
6611 "1b"
6612 ","
6613 "3b"
6614 "\n"
6615 " .previous\n": "=r" (ret), "=r" (*((u16 *)dst)): "m" (*((struct __large_struct *)((u16 *)src))),
6616 "i" (2), "0" (ret));
6617# 84 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6618 return (ret);
6619 case_4:
6620# 85 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6621 __asm__ volatile ("1:\tmov"
6622 "l"
6623 " %2,%"
6624 "k"
6625 "1\n"
6626 "2:\n"
6627 ".section .fixup,\"ax\"\n"
6628 "3:\tmov %3,%0\n"
6629 "\txor"
6630 "l"
6631 " %"
6632 "k"
6633 "1,%"
6634 "k"
6635 "1\n"
6636 "\tjmp 2b\n"
6637 ".previous\n"
6638 " .section __ex_table,\"a\"\n"
6639 " "
6640 ".balign 8"
6641 " "
6642 "\n"
6643 " "
6644 ".quad"
6645 " "
6646 "1b"
6647 ","
6648 "3b"
6649 "\n"
6650 " .previous\n": "=r" (ret), "=r" (*((u32 *)dst)): "m" (*((struct __large_struct *)((u32 *)src))),
6651 "i" (4), "0" (ret));
6652# 87 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6653 return (ret);
6654 case_8:
6655# 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6656 __asm__ volatile ("1:\tmov"
6657 "q"
6658 " %2,%"
6659 ""
6660 "1\n"
6661 "2:\n"
6662 ".section .fixup,\"ax\"\n"
6663 "3:\tmov %3,%0\n"
6664 "\txor"
6665 "q"
6666 " %"
6667 ""
6668 "1,%"
6669 ""
6670 "1\n"
6671 "\tjmp 2b\n"
6672 ".previous\n"
6673 " .section __ex_table,\"a\"\n"
6674 " "
6675 ".balign 8"
6676 " "
6677 "\n"
6678 " "
6679 ".quad"
6680 " "
6681 "1b"
6682 ","
6683 "3b"
6684 "\n"
6685 " .previous\n": "=r" (ret), "=r" (*((u64 *)dst)): "m" (*((struct __large_struct *)((u64 *)src))),
6686 "i" (8), "0" (ret));
6687# 90 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6688 return (ret);
6689 case_10:
6690 {
6691# 92 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6692 __asm__ volatile ("1:\tmov"
6693 "q"
6694 " %2,%"
6695 ""
6696 "1\n"
6697 "2:\n"
6698 ".section .fixup,\"ax\"\n"
6699 "3:\tmov %3,%0\n"
6700 "\txor"
6701 "q"
6702 " %"
6703 ""
6704 "1,%"
6705 ""
6706 "1\n"
6707 "\tjmp 2b\n"
6708 ".previous\n"
6709 " .section __ex_table,\"a\"\n"
6710 " "
6711 ".balign 8"
6712 " "
6713 "\n"
6714 " "
6715 ".quad"
6716 " "
6717 "1b"
6718 ","
6719 "3b"
6720 "\n"
6721 " .previous\n": "=r" (ret), "=r" (*((u64 *)dst)): "m" (*((struct __large_struct *)((u64 *)src))),
6722 "i" (10), "0" (ret));
6723# 94 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6724 tmp___0 = __builtin_expect((long )(! (! ret)), 0L);
6725 }
6726# 94 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6727 if (tmp___0) {
6728# 95 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6729 return (ret);
6730 } else {
6731
6732 }
6733# 96 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6734 __asm__ volatile ("1:\tmov"
6735 "w"
6736 " %2,%"
6737 "w"
6738 "1\n"
6739 "2:\n"
6740 ".section .fixup,\"ax\"\n"
6741 "3:\tmov %3,%0\n"
6742 "\txor"
6743 "w"
6744 " %"
6745 "w"
6746 "1,%"
6747 "w"
6748 "1\n"
6749 "\tjmp 2b\n"
6750 ".previous\n"
6751 " .section __ex_table,\"a\"\n"
6752 " "
6753 ".balign 8"
6754 " "
6755 "\n"
6756 " "
6757 ".quad"
6758 " "
6759 "1b"
6760 ","
6761 "3b"
6762 "\n"
6763 " .previous\n": "=r" (ret), "=r" (*((u16 *)((char *)dst + 8))): "m" (*((struct __large_struct *)((u16 *)((char *)src + 8)))),
6764 "i" (2), "0" (ret));
6765# 99 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6766 return (ret);
6767 case_16:
6768 {
6769# 101 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6770 __asm__ volatile ("1:\tmov"
6771 "q"
6772 " %2,%"
6773 ""
6774 "1\n"
6775 "2:\n"
6776 ".section .fixup,\"ax\"\n"
6777 "3:\tmov %3,%0\n"
6778 "\txor"
6779 "q"
6780 " %"
6781 ""
6782 "1,%"
6783 ""
6784 "1\n"
6785 "\tjmp 2b\n"
6786 ".previous\n"
6787 " .section __ex_table,\"a\"\n"
6788 " "
6789 ".balign 8"
6790 " "
6791 "\n"
6792 " "
6793 ".quad"
6794 " "
6795 "1b"
6796 ","
6797 "3b"
6798 "\n"
6799 " .previous\n": "=r" (ret), "=r" (*((u64 *)dst)): "m" (*((struct __large_struct *)((u64 *)src))),
6800 "i" (16), "0" (ret));
6801# 103 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6802 tmp___1 = __builtin_expect((long )(! (! ret)), 0L);
6803 }
6804# 103 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6805 if (tmp___1) {
6806# 104 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6807 return (ret);
6808 } else {
6809
6810 }
6811# 105 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6812 __asm__ volatile ("1:\tmov"
6813 "q"
6814 " %2,%"
6815 ""
6816 "1\n"
6817 "2:\n"
6818 ".section .fixup,\"ax\"\n"
6819 "3:\tmov %3,%0\n"
6820 "\txor"
6821 "q"
6822 " %"
6823 ""
6824 "1,%"
6825 ""
6826 "1\n"
6827 "\tjmp 2b\n"
6828 ".previous\n"
6829 " .section __ex_table,\"a\"\n"
6830 " "
6831 ".balign 8"
6832 " "
6833 "\n"
6834 " "
6835 ".quad"
6836 " "
6837 "1b"
6838 ","
6839 "3b"
6840 "\n"
6841 " .previous\n": "=r" (ret), "=r" (*((u64 *)((char *)dst + 8))): "m" (*((struct __large_struct *)((u64 *)((char *)src + 8)))),
6842 "i" (8), "0" (ret));
6843# 108 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6844 return (ret);
6845 switch_default:
6846 {
6847# 110 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6848 tmp___4 = (unsigned long )copy_user_generic(dst, (void const *)((void *)src),
6849 size);
6850# 110 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6851 tmp___2 = tmp___4;
6852 }
6853# 110 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6854 return ((int )tmp___2);
6855 } else {
6856
6857 }
6858 }
6859}
6860}
6861# 114 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6862__inline static int __attribute__((__warn_unused_result__)) ( __attribute__((__always_inline__)) __copy_to_user)(void *dst ,
6863 void const *src ,
6864 unsigned int size )
6865{ int ret ;
6866 unsigned long tmp ;
6867 long tmp___0 ;
6868 long tmp___1 ;
6869 unsigned long tmp___2 ;
6870 unsigned long tmp___3 ;
6871 unsigned long tmp___4 ;
6872
6873 {
6874 {
6875# 117 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6876 ret = 0;
6877# 119 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6878 might_fault();
6879# 121 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6880 tmp___3 = (unsigned long )copy_user_generic(dst, src, size);
6881# 121 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6882 tmp = tmp___3;
6883 }
6884# 121 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6885 return ((int )tmp);
6886# 123 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6887 if ((int )size == 1) {
6888# 123 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6889 goto case_1;
6890 } else
6891# 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6892 if ((int )size == 2) {
6893# 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6894 goto case_2;
6895 } else
6896# 129 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6897 if ((int )size == 4) {
6898# 129 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6899 goto case_4;
6900 } else
6901# 132 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6902 if ((int )size == 8) {
6903# 132 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6904 goto case_8;
6905 } else
6906# 135 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6907 if ((int )size == 10) {
6908# 135 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6909 goto case_10;
6910 } else
6911# 144 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6912 if ((int )size == 16) {
6913# 144 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6914 goto case_16;
6915 } else {
6916# 153 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6917 goto switch_default;
6918# 122 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6919 if (0) {
6920 case_1:
6921# 123 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6922 __asm__ volatile ("1:\tmov"
6923 "b"
6924 " %"
6925 "b"
6926 "1,%2\n"
6927 "2:\n"
6928 ".section .fixup,\"ax\"\n"
6929 "3:\tmov %3,%0\n"
6930 "\tjmp 2b\n"
6931 ".previous\n"
6932 " .section __ex_table,\"a\"\n"
6933 " "
6934 ".balign 8"
6935 " "
6936 "\n"
6937 " "
6938 ".quad"
6939 " "
6940 "1b"
6941 ","
6942 "3b"
6943 "\n"
6944 " .previous\n": "=r" (ret): "iq" (*((u8 *)src)), "m" (*((struct __large_struct *)((u8 *)dst))),
6945 "i" (1), "0" (ret));
6946# 125 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6947 return (ret);
6948 case_2:
6949# 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6950 __asm__ volatile ("1:\tmov"
6951 "w"
6952 " %"
6953 "w"
6954 "1,%2\n"
6955 "2:\n"
6956 ".section .fixup,\"ax\"\n"
6957 "3:\tmov %3,%0\n"
6958 "\tjmp 2b\n"
6959 ".previous\n"
6960 " .section __ex_table,\"a\"\n"
6961 " "
6962 ".balign 8"
6963 " "
6964 "\n"
6965 " "
6966 ".quad"
6967 " "
6968 "1b"
6969 ","
6970 "3b"
6971 "\n"
6972 " .previous\n": "=r" (ret): "ir" (*((u16 *)src)), "m" (*((struct __large_struct *)((u16 *)dst))),
6973 "i" (2), "0" (ret));
6974# 128 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6975 return (ret);
6976 case_4:
6977# 129 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6978 __asm__ volatile ("1:\tmov"
6979 "l"
6980 " %"
6981 "k"
6982 "1,%2\n"
6983 "2:\n"
6984 ".section .fixup,\"ax\"\n"
6985 "3:\tmov %3,%0\n"
6986 "\tjmp 2b\n"
6987 ".previous\n"
6988 " .section __ex_table,\"a\"\n"
6989 " "
6990 ".balign 8"
6991 " "
6992 "\n"
6993 " "
6994 ".quad"
6995 " "
6996 "1b"
6997 ","
6998 "3b"
6999 "\n"
7000 " .previous\n": "=r" (ret): "ir" (*((u32 *)src)), "m" (*((struct __large_struct *)((u32 *)dst))),
7001 "i" (4), "0" (ret));
7002# 131 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7003 return (ret);
7004 case_8:
7005# 132 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7006 __asm__ volatile ("1:\tmov"
7007 "q"
7008 " %"
7009 ""
7010 "1,%2\n"
7011 "2:\n"
7012 ".section .fixup,\"ax\"\n"
7013 "3:\tmov %3,%0\n"
7014 "\tjmp 2b\n"
7015 ".previous\n"
7016 " .section __ex_table,\"a\"\n"
7017 " "
7018 ".balign 8"
7019 " "
7020 "\n"
7021 " "
7022 ".quad"
7023 " "
7024 "1b"
7025 ","
7026 "3b"
7027 "\n"
7028 " .previous\n": "=r" (ret): "er" (*((u64 *)src)), "m" (*((struct __large_struct *)((u64 *)dst))),
7029 "i" (8), "0" (ret));
7030# 134 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7031 return (ret);
7032 case_10:
7033 {
7034# 136 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7035 __asm__ volatile ("1:\tmov"
7036 "q"
7037 " %"
7038 ""
7039 "1,%2\n"
7040 "2:\n"
7041 ".section .fixup,\"ax\"\n"
7042 "3:\tmov %3,%0\n"
7043 "\tjmp 2b\n"
7044 ".previous\n"
7045 " .section __ex_table,\"a\"\n"
7046 " "
7047 ".balign 8"
7048 " "
7049 "\n"
7050 " "
7051 ".quad"
7052 " "
7053 "1b"
7054 ","
7055 "3b"
7056 "\n"
7057 " .previous\n": "=r" (ret): "er" (*((u64 *)src)), "m" (*((struct __large_struct *)((u64 *)dst))),
7058 "i" (10), "0" (ret));
7059# 138 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7060 tmp___0 = __builtin_expect((long )(! (! ret)), 0L);
7061 }
7062# 138 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7063 if (tmp___0) {
7064# 139 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7065 return (ret);
7066 } else {
7067
7068 }
7069# 140 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7070 __asm__ ("": : : "memory");
7071# 141 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7072 __asm__ volatile ("1:\tmov"
7073 "w"
7074 " %"
7075 "w"
7076 "1,%2\n"
7077 "2:\n"
7078 ".section .fixup,\"ax\"\n"
7079 "3:\tmov %3,%0\n"
7080 "\tjmp 2b\n"
7081 ".previous\n"
7082 " .section __ex_table,\"a\"\n"
7083 " "
7084 ".balign 8"
7085 " "
7086 "\n"
7087 " "
7088 ".quad"
7089 " "
7090 "1b"
7091 ","
7092 "3b"
7093 "\n"
7094 " .previous\n": "=r" (ret): "ir" (*((u16 *)src + 4)), "m" (*((struct __large_struct *)((u16 *)dst + 4))),
7095 "i" (2), "0" (ret));
7096# 143 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7097 return (ret);
7098 case_16:
7099 {
7100# 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7101 __asm__ volatile ("1:\tmov"
7102 "q"
7103 " %"
7104 ""
7105 "1,%2\n"
7106 "2:\n"
7107 ".section .fixup,\"ax\"\n"
7108 "3:\tmov %3,%0\n"
7109 "\tjmp 2b\n"
7110 ".previous\n"
7111 " .section __ex_table,\"a\"\n"
7112 " "
7113 ".balign 8"
7114 " "
7115 "\n"
7116 " "
7117 ".quad"
7118 " "
7119 "1b"
7120 ","
7121 "3b"
7122 "\n"
7123 " .previous\n": "=r" (ret): "er" (*((u64 *)src)), "m" (*((struct __large_struct *)((u64 *)dst))),
7124 "i" (16), "0" (ret));
7125# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7126 tmp___1 = __builtin_expect((long )(! (! ret)), 0L);
7127 }
7128# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7129 if (tmp___1) {
7130# 148 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7131 return (ret);
7132 } else {
7133
7134 }
7135# 149 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7136 __asm__ ("": : : "memory");
7137# 150 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7138 __asm__ volatile ("1:\tmov"
7139 "q"
7140 " %"
7141 ""
7142 "1,%2\n"
7143 "2:\n"
7144 ".section .fixup,\"ax\"\n"
7145 "3:\tmov %3,%0\n"
7146 "\tjmp 2b\n"
7147 ".previous\n"
7148 " .section __ex_table,\"a\"\n"
7149 " "
7150 ".balign 8"
7151 " "
7152 "\n"
7153 " "
7154 ".quad"
7155 " "
7156 "1b"
7157 ","
7158 "3b"
7159 "\n"
7160 " .previous\n": "=r" (ret): "er" (*((u64 *)src + 1)), "m" (*((struct __large_struct *)((u64 *)dst + 1))),
7161 "i" (8), "0" (ret));
7162# 152 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7163 return (ret);
7164 switch_default:
7165 {
7166# 154 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7167 tmp___4 = (unsigned long )copy_user_generic(dst, src, size);
7168# 154 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7169 tmp___2 = tmp___4;
7170 }
7171# 154 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7172 return ((int )tmp___2);
7173 } else {
7174
7175 }
7176 }
7177}
7178}
7179# 6 "include/linux/mmu_context.h"
7180extern void use_mm(struct mm_struct *mm ) ;
7181# 7 "include/linux/mmu_context.h"
7182extern void unuse_mm(struct mm_struct *mm ) ;
7183# 46 "include/linux/poll.h"
7184__inline static void init_poll_funcptr(poll_table *pt , void (*qproc)(struct file * ,
7185 wait_queue_head_t * ,
7186 struct poll_table_struct * ) )
7187{
7188
7189 {
7190# 48 "include/linux/poll.h"
7191 pt->qproc = qproc;
7192# 49 "include/linux/poll.h"
7193 pt->key = ~ 0UL;
7194# 50 "include/linux/poll.h"
7195 return;
7196}
7197}
7198# 16 "include/linux/uaccess.h"
7199__inline static void pagefault_disable(void)
7200{ struct thread_info *tmp ;
7201
7202 {
7203 {
7204# 18 "include/linux/uaccess.h"
7205 while (1) {
7206 while_continue: ;
7207 {
7208# 18 "include/linux/uaccess.h"
7209 tmp = current_thread_info();
7210# 18 "include/linux/uaccess.h"
7211 tmp->preempt_count = tmp->preempt_count + 1;
7212 }
7213# 18 "include/linux/uaccess.h"
7214 goto while_break;
7215 }
7216 while_break___0: ;
7217 }
7218 while_break:
7219# 23 "include/linux/uaccess.h"
7220 __asm__ volatile ("": : : "memory");
7221# 24 "include/linux/uaccess.h"
7222 return;
7223}
7224}
7225# 26 "include/linux/uaccess.h"
7226__inline static void pagefault_enable(void)
7227{ struct thread_info *tmp ;
7228
7229 {
7230# 32 "include/linux/uaccess.h"
7231 __asm__ volatile ("": : : "memory");
7232 {
7233# 33 "include/linux/uaccess.h"
7234 while (1) {
7235 while_continue: ;
7236 {
7237# 33 "include/linux/uaccess.h"
7238 tmp = current_thread_info();
7239# 33 "include/linux/uaccess.h"
7240 tmp->preempt_count = tmp->preempt_count - 1;
7241 }
7242# 33 "include/linux/uaccess.h"
7243 goto while_break;
7244 }
7245 while_break___1: ;
7246 }
7247 while_break:
7248# 37 "include/linux/uaccess.h"
7249 __asm__ volatile ("": : : "memory");
7250 {
7251# 38 "include/linux/uaccess.h"
7252 while (1) {
7253 while_continue___0: ;
7254# 38 "include/linux/uaccess.h"
7255 goto while_break___0;
7256 }
7257 while_break___2: ;
7258 }
7259 while_break___0: ;
7260# 39 "include/linux/uaccess.h"
7261 return;
7262}
7263}
7264# 58 "include/linux/highmem.h"
7265__inline static void *__kmap_atomic(struct page *page )
7266{ void *tmp ;
7267
7268 {
7269 {
7270# 60 "include/linux/highmem.h"
7271 pagefault_disable();
7272# 61 "include/linux/highmem.h"
7273 tmp = lowmem_page_address(page);
7274 }
7275# 61 "include/linux/highmem.h"
7276 return (tmp);
7277}
7278}
7279# 65 "include/linux/highmem.h"
7280__inline static void __kunmap_atomic(void *addr )
7281{
7282
7283 {
7284 {
7285# 67 "include/linux/highmem.h"
7286 pagefault_enable();
7287 }
7288# 68 "include/linux/highmem.h"
7289 return;
7290}
7291}
7292# 361 "include/linux/sched.h"
7293extern void schedule(void) ;
7294# 2112 "include/linux/sched.h"
7295extern int wake_up_process(struct task_struct *tsk ) ;
7296# 2209 "include/linux/sched.h"
7297extern void mmput(struct mm_struct * ) ;
7298# 2211 "include/linux/sched.h"
7299extern struct mm_struct *get_task_mm(struct task_struct *task ) ;
7300# 7 "include/linux/kthread.h"
7301extern struct task_struct *kthread_create_on_node(int (*threadfn)(void *data ) , void *data ,
7302 int node , char const *namefmt
7303 , ...) ;
7304# 36 "include/linux/kthread.h"
7305extern int kthread_stop(struct task_struct *k ) ;
7306# 37 "include/linux/kthread.h"
7307extern int kthread_should_stop(void) ;
7308# 585 "include/linux/cgroup.h"
7309extern int cgroup_attach_task_all(struct task_struct *from , struct task_struct * ) ;
7310# 41 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7311void vhost_poll_init(struct vhost_poll *poll , void (*fn)(struct vhost_work *work ) ,
7312 unsigned long mask , struct vhost_dev *dev ) ;
7313# 43 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7314void vhost_poll_start(struct vhost_poll *poll , struct file *file ) ;
7315# 44 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7316void vhost_poll_stop(struct vhost_poll *poll ) ;
7317# 45 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7318void vhost_poll_flush(struct vhost_poll *poll ) ;
7319# 46 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7320void vhost_poll_queue(struct vhost_poll *poll ) ;
7321# 136 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7322long vhost_dev_init(struct vhost_dev *dev , struct vhost_virtqueue *vqs , int nvqs ) ;
7323# 137 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7324long vhost_dev_check_owner(struct vhost_dev *dev ) ;
7325# 138 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7326long vhost_dev_reset_owner(struct vhost_dev *dev ) ;
7327# 139 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7328void vhost_dev_cleanup(struct vhost_dev *dev ) ;
7329# 140 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7330long vhost_dev_ioctl(struct vhost_dev *d , unsigned int ioctl , unsigned long arg ) ;
7331# 141 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7332int vhost_vq_access_ok(struct vhost_virtqueue *vq ) ;
7333# 142 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7334int vhost_log_access_ok(struct vhost_dev *dev ) ;
7335# 144 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7336int vhost_get_vq_desc(struct vhost_dev *dev , struct vhost_virtqueue *vq , struct iovec *iov ,
7337 unsigned int iov_size , unsigned int *out_num , unsigned int *in_num ,
7338 struct vhost_log *log , unsigned int *log_num ) ;
7339# 148 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7340void vhost_discard_vq_desc(struct vhost_virtqueue *vq , int n ) ;
7341# 150 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7342int vhost_add_used(struct vhost_virtqueue *vq , unsigned int head , int len ) ;
7343# 151 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7344int vhost_add_used_n(struct vhost_virtqueue *vq , struct vring_used_elem *heads ,
7345 unsigned int count ) ;
7346# 153 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7347void vhost_add_used_and_signal(struct vhost_dev *dev , struct vhost_virtqueue *vq ,
7348 unsigned int head , int len ) ;
7349# 155 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7350void vhost_add_used_and_signal_n(struct vhost_dev *dev , struct vhost_virtqueue *vq ,
7351 struct vring_used_elem *heads , unsigned int count ) ;
7352# 157 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7353void vhost_signal(struct vhost_dev *dev , struct vhost_virtqueue *vq ) ;
7354# 158 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7355void vhost_disable_notify(struct vhost_dev *dev , struct vhost_virtqueue *vq ) ;
7356# 159 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7357bool vhost_enable_notify(struct vhost_dev *dev , struct vhost_virtqueue *vq ) ;
7358# 161 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7359int vhost_log_write(struct vhost_virtqueue *vq , struct vhost_log *log , unsigned int log_num ,
7360 u64 len ) ;
7361# 179 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7362__inline static int vhost_has_feature(struct vhost_dev *dev , int bit )
7363{ unsigned int acked_features ;
7364 unsigned int _________p1 ;
7365 int tmp___7 ;
7366
7367 {
7368# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7369 _________p1 = (unsigned int )*((unsigned int volatile *)(& dev->acked_features));
7370 {
7371# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7372 while (1) {
7373 while_continue: ;
7374 {
7375# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7376 tmp___7 = debug_lockdep_rcu_enabled();
7377 }
7378# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7379 goto while_break;
7380 }
7381 while_break___1: ;
7382 }
7383 while_break: ;
7384 {
7385# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7386 while (1) {
7387 while_continue___0: ;
7388# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7389 goto while_break___0;
7390 }
7391 while_break___2: ;
7392 }
7393 while_break___0:
7394# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7395 acked_features = _________p1;
7396# 186 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/vhost/vhost.h"
7397 return ((int )(acked_features & (unsigned int )(1 << bit)));
7398}
7399}
7400# 43 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7401static void vhost_poll_func(struct file *file , wait_queue_head_t *wqh , poll_table *pt )
7402{ struct vhost_poll *poll ;
7403 poll_table const *__mptr ;
7404
7405 {
7406 {
7407# 48 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7408 __mptr = (poll_table const *)pt;
7409# 48 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7410 poll = (struct vhost_poll *)((char *)__mptr - (unsigned int )(& ((struct vhost_poll *)0)->table));
7411# 49 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7412 poll->wqh = wqh;
7413# 50 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7414 add_wait_queue(wqh, & poll->wait);
7415 }
7416# 51 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7417 return;
7418}
7419}
7420# 53 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7421static int vhost_poll_wakeup(wait_queue_t *wait , unsigned int mode , int sync , void *key )
7422{ struct vhost_poll *poll ;
7423 wait_queue_t const *__mptr ;
7424
7425 {
7426# 56 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7427 __mptr = (wait_queue_t const *)wait;
7428# 56 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7429 poll = (struct vhost_poll *)((char *)__mptr - (unsigned int )(& ((struct vhost_poll *)0)->wait));
7430# 58 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7431 if (! ((unsigned long )key & poll->mask)) {
7432# 59 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7433 return (0);
7434 } else {
7435
7436 }
7437 {
7438# 61 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7439 vhost_poll_queue(poll);
7440 }
7441# 62 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7442 return (0);
7443}
7444}
7445# 69 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7446static struct lock_class_key __key___7 ;
7447# 65 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7448static void vhost_work_init(struct vhost_work *work , void (*fn)(struct vhost_work *work ) )
7449{ unsigned int tmp___7 ;
7450
7451 {
7452 {
7453# 67 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7454 INIT_LIST_HEAD(& work->node);
7455# 68 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7456 work->fn = fn;
7457 }
7458 {
7459# 69 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7460 while (1) {
7461 while_continue: ;
7462 {
7463# 69 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7464 __init_waitqueue_head(& work->done, & __key___7);
7465 }
7466# 69 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7467 goto while_break;
7468 }
7469 while_break___0: ;
7470 }
7471 while_break:
7472# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7473 work->flushing = 0;
7474# 71 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7475 tmp___7 = 0U;
7476# 71 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7477 work->done_seq = tmp___7;
7478# 71 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7479 work->queue_seq = tmp___7;
7480# 72 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7481 return;
7482}
7483}
7484# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7485void vhost_poll_init(struct vhost_poll *poll , void (*fn)(struct vhost_work *work ) ,
7486 unsigned long mask , struct vhost_dev *dev )
7487{
7488
7489 {
7490 {
7491# 78 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7492 init_waitqueue_func_entry(& poll->wait, & vhost_poll_wakeup);
7493# 79 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7494 init_poll_funcptr(& poll->table, & vhost_poll_func);
7495# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7496 poll->mask = mask;
7497# 81 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7498 poll->dev = dev;
7499# 83 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7500 vhost_work_init(& poll->work, fn);
7501 }
7502# 84 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7503 return;
7504}
7505}
7506# 88 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7507void vhost_poll_start(struct vhost_poll *poll , struct file *file )
7508{ unsigned long mask ;
7509 unsigned int tmp___7 ;
7510
7511 {
7512 {
7513# 92 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7514 tmp___7 = (*((file->f_op)->poll))(file, & poll->table);
7515# 92 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7516 mask = (unsigned long )tmp___7;
7517 }
7518# 93 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7519 if (mask) {
7520 {
7521# 94 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7522 vhost_poll_wakeup(& poll->wait, 0U, 0, (void *)mask);
7523 }
7524 } else {
7525
7526 }
7527# 95 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7528 return;
7529}
7530}
7531# 99 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7532void vhost_poll_stop(struct vhost_poll *poll )
7533{
7534
7535 {
7536 {
7537# 101 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7538 remove_wait_queue(poll->wqh, & poll->wait);
7539 }
7540# 102 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7541 return;
7542}
7543}
7544# 104 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7545static bool vhost_work_seq_done(struct vhost_dev *dev , struct vhost_work *work ,
7546 unsigned int seq )
7547{ int left ;
7548
7549 {
7550 {
7551# 109 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7552 spin_lock_irq(& dev->work_lock);
7553# 110 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7554 left = (int )(seq - work->done_seq);
7555# 111 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7556 spin_unlock_irq(& dev->work_lock);
7557 }
7558# 112 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7559 return ((bool )(left <= 0));
7560}
7561}
7562# 115 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7563static void vhost_work_flush(struct vhost_dev *dev , struct vhost_work *work )
7564{ unsigned int seq ;
7565 int flushing ;
7566 bool tmp___7 ;
7567 wait_queue_t __wait ;
7568 struct task_struct *tmp___8 ;
7569 bool tmp___9 ;
7570 long tmp___10 ;
7571
7572 {
7573 {
7574# 120 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7575 spin_lock_irq(& dev->work_lock);
7576# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7577 seq = work->queue_seq;
7578# 122 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7579 work->flushing = work->flushing + 1;
7580# 123 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7581 spin_unlock_irq(& dev->work_lock);
7582 }
7583 {
7584# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7585 while (1) {
7586 while_continue: ;
7587 {
7588# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7589 tmp___7 = vhost_work_seq_done(dev, work, seq);
7590 }
7591# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7592 if (tmp___7) {
7593# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7594 goto while_break;
7595 } else {
7596
7597 }
7598 {
7599# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7600 while (1) {
7601 while_continue___0: ;
7602 {
7603# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7604 tmp___8 = get_current();
7605# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7606 __wait.flags = 0U;
7607# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7608 __wait.private = (void *)tmp___8;
7609# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7610 __wait.func = & autoremove_wake_function;
7611# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7612 __wait.task_list.next = & __wait.task_list;
7613# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7614 __wait.task_list.prev = & __wait.task_list;
7615 }
7616 {
7617# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7618 while (1) {
7619 while_continue___1: ;
7620 {
7621# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7622 prepare_to_wait(& work->done, & __wait, 2);
7623# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7624 tmp___9 = vhost_work_seq_done(dev, work, seq);
7625 }
7626# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7627 if (tmp___9) {
7628# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7629 goto while_break___1;
7630 } else {
7631
7632 }
7633 {
7634# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7635 schedule();
7636 }
7637 }
7638 while_break___6: ;
7639 }
7640 while_break___1:
7641 {
7642# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7643 finish_wait(& work->done, & __wait);
7644 }
7645# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7646 goto while_break___0;
7647 }
7648 while_break___5: ;
7649 }
7650 while_break___0: ;
7651# 124 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7652 goto while_break;
7653 }
7654 while_break___4: ;
7655 }
7656 while_break:
7657 {
7658# 125 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7659 spin_lock_irq(& dev->work_lock);
7660# 126 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7661 work->flushing = work->flushing - 1;
7662# 126 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7663 flushing = work->flushing;
7664# 127 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7665 spin_unlock_irq(& dev->work_lock);
7666 }
7667 {
7668# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7669 while (1) {
7670 while_continue___2: ;
7671 {
7672# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7673 tmp___10 = __builtin_expect((long )(! (! (flushing < 0))), 0L);
7674 }
7675# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7676 if (tmp___10) {
7677 {
7678# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7679 while (1) {
7680 while_continue___3: ;
7681# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7682 __asm__ volatile ("1:\tud2\n"
7683 ".pushsection __bug_table,\"a\"\n"
7684 "2:\t.long 1b - 2b, %c0 - 2b\n"
7685 "\t.word %c1, 0\n"
7686 "\t.org 2b+%c2\n"
7687 ".popsection": : "i" ("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"),
7688 "i" (128), "i" (sizeof(struct bug_entry )));
7689 {
7690# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7691 while (1) {
7692 while_continue___4: ;
7693
7694 }
7695 while_break___9: ;
7696 }
7697# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7698 goto while_break___3;
7699 }
7700 while_break___8: ;
7701 }
7702 while_break___3: ;
7703 } else {
7704
7705 }
7706# 128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7707 goto while_break___2;
7708 }
7709 while_break___7: ;
7710 }
7711 while_break___2: ;
7712# 129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7713 return;
7714}
7715}
7716# 133 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7717void vhost_poll_flush(struct vhost_poll *poll )
7718{
7719
7720 {
7721 {
7722# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7723 vhost_work_flush(poll->dev, & poll->work);
7724 }
7725# 136 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7726 return;
7727}
7728}
7729# 138 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7730__inline static void vhost_work_queue(struct vhost_dev *dev , struct vhost_work *work )
7731{ unsigned long flags ;
7732 raw_spinlock_t *tmp___7 ;
7733 int tmp___8 ;
7734
7735 {
7736 {
7737# 143 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7738 while (1) {
7739 while_continue: ;
7740
7741 {
7742# 143 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7743 while (1) {
7744 while_continue___0: ;
7745 {
7746# 143 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7747 tmp___7 = spinlock_check(& dev->work_lock);
7748# 143 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7749 flags = _raw_spin_lock_irqsave(tmp___7);
7750 }
7751# 143 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7752 goto while_break___0;
7753 }
7754 while_break___2: ;
7755 }
7756 while_break___0: ;
7757# 143 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7758 goto while_break;
7759 }
7760 while_break___1: ;
7761 }
7762 while_break:
7763 {
7764# 144 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7765 tmp___8 = list_empty((struct list_head const *)(& work->node));
7766 }
7767# 144 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7768 if (tmp___8) {
7769 {
7770# 145 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7771 list_add_tail(& work->node, & dev->work_list);
7772# 146 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7773 work->queue_seq = work->queue_seq + 1U;
7774# 147 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7775 wake_up_process(dev->worker);
7776 }
7777 } else {
7778
7779 }
7780 {
7781# 149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7782 spin_unlock_irqrestore(& dev->work_lock, flags);
7783 }
7784# 150 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7785 return;
7786}
7787}
7788# 152 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7789void vhost_poll_queue(struct vhost_poll *poll )
7790{
7791
7792 {
7793 {
7794# 154 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7795 vhost_work_queue(poll->dev, & poll->work);
7796 }
7797# 155 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7798 return;
7799}
7800}
7801# 157 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7802static void vhost_vq_reset(struct vhost_dev *dev , struct vhost_virtqueue *vq )
7803{
7804
7805 {
7806# 160 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7807 vq->num = 1U;
7808# 161 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7809 vq->desc = (struct vring_desc *)((void *)0);
7810# 162 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7811 vq->avail = (struct vring_avail *)((void *)0);
7812# 163 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7813 vq->used = (struct vring_used *)((void *)0);
7814# 164 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7815 vq->last_avail_idx = (u16 )0;
7816# 165 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7817 vq->avail_idx = (u16 )0;
7818# 166 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7819 vq->last_used_idx = (u16 )0;
7820# 167 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7821 vq->signalled_used = (u16 )0;
7822# 168 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7823 vq->signalled_used_valid = (bool )0;
7824# 169 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7825 vq->used_flags = (u16 )0;
7826# 170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7827 vq->log_used = (bool )0;
7828# 171 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7829 vq->log_addr = 0x0fffffffffffffffULL;
7830# 172 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7831 vq->vhost_hlen = (size_t )0;
7832# 173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7833 vq->sock_hlen = (size_t )0;
7834# 174 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7835 vq->private_data = (void *)0;
7836# 175 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7837 vq->log_base = (void *)0;
7838# 176 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7839 vq->error_ctx = (struct eventfd_ctx *)((void *)0);
7840# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7841 vq->error = (struct file *)((void *)0);
7842# 178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7843 vq->kick = (struct file *)((void *)0);
7844# 179 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7845 vq->call_ctx = (struct eventfd_ctx *)((void *)0);
7846# 180 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7847 vq->call = (struct file *)((void *)0);
7848# 181 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7849 vq->log_ctx = (struct eventfd_ctx *)((void *)0);
7850# 182 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7851 return;
7852}
7853}
7854# 184 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7855static int vhost_worker(void *data )
7856{ struct vhost_dev *dev ;
7857 struct vhost_work *work ;
7858 unsigned int seq ;
7859 long volatile __x ;
7860 struct task_struct *tmp___8 ;
7861 u8 volatile *__ptr ;
7862 struct task_struct *tmp___9 ;
7863 u16 volatile *__ptr___0 ;
7864 struct task_struct *tmp___10 ;
7865 u32 volatile *__ptr___1 ;
7866 struct task_struct *tmp___11 ;
7867 u64 volatile *__ptr___2 ;
7868 struct task_struct *tmp___12 ;
7869 struct task_struct *tmp___13 ;
7870 int tmp___14 ;
7871 struct list_head const *__mptr ;
7872 int tmp___15 ;
7873 struct task_struct *tmp___16 ;
7874
7875 {
7876 {
7877# 186 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7878 dev = (struct vhost_dev *)data;
7879# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7880 work = (struct vhost_work *)((void *)0);
7881# 188 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7882 seq = seq;
7883# 190 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7884 use_mm(dev->mm);
7885 }
7886 {
7887# 192 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7888 while (1) {
7889 while_continue: ;
7890
7891 {
7892# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7893 while (1) {
7894 while_continue___0: ;
7895# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7896 __x = (long volatile )1;
7897# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7898 if ((int )sizeof(tmp___8->state) == 1) {
7899# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7900 goto case_1;
7901 } else
7902# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7903 if ((int )sizeof(tmp___8->state) == 2) {
7904# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7905 goto case_2;
7906 } else
7907# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7908 if ((int )sizeof(tmp___8->state) == 4) {
7909# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7910 goto case_4;
7911 } else
7912# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7913 if ((int )sizeof(tmp___8->state) == 8) {
7914# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7915 goto case_8;
7916 } else {
7917# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7918 goto switch_default;
7919# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7920 if (0) {
7921 case_1:
7922 {
7923# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7924 tmp___9 = get_current();
7925# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7926 __ptr = (u8 volatile *)(& tmp___9->state);
7927# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7928 __asm__ volatile ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
7929 }
7930# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7931 goto switch_break;
7932 case_2:
7933 {
7934# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7935 tmp___10 = get_current();
7936# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7937 __ptr___0 = (u16 volatile *)(& tmp___10->state);
7938# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7939 __asm__ volatile ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
7940 }
7941# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7942 goto switch_break;
7943 case_4:
7944 {
7945# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7946 tmp___11 = get_current();
7947# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7948 __ptr___1 = (u32 volatile *)(& tmp___11->state);
7949# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7950 __asm__ volatile ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
7951 }
7952# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7953 goto switch_break;
7954 case_8:
7955 {
7956# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7957 tmp___12 = get_current();
7958# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7959 __ptr___2 = (u64 volatile *)(& tmp___12->state);
7960# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7961 __asm__ volatile ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
7962 }
7963# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7964 goto switch_break;
7965 switch_default:
7966 {
7967# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7968 __xchg_wrong_size();
7969 }
7970 } else {
7971 switch_break: ;
7972 }
7973 }
7974# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7975 goto while_break___0;
7976 }
7977 while_break___4: ;
7978 }
7979 while_break___0:
7980 {
7981# 196 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7982 spin_lock_irq(& dev->work_lock);
7983 }
7984# 197 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7985 if (work) {
7986# 198 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7987 work->done_seq = seq;
7988# 199 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7989 if (work->flushing) {
7990 {
7991# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
7992 __wake_up(& work->done, 3U, 0, (void *)0);
7993 }
7994 } else {
7995
7996 }
7997 } else {
7998
7999 }
8000 {
8001# 203 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8002 tmp___14 = kthread_should_stop();
8003 }
8004# 203 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8005 if (tmp___14) {
8006 {
8007# 204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8008 spin_unlock_irq(& dev->work_lock);
8009 }
8010 {
8011# 205 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8012 while (1) {
8013 while_continue___1: ;
8014 {
8015# 205 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8016 tmp___13 = get_current();
8017# 205 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8018 tmp___13->state = (long volatile )0;
8019 }
8020# 205 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8021 goto while_break___1;
8022 }
8023 while_break___5: ;
8024 }
8025 while_break___1: ;
8026# 206 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8027 goto while_break;
8028 } else {
8029
8030 }
8031 {
8032# 208 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8033 tmp___15 = list_empty((struct list_head const *)(& dev->work_list));
8034 }
8035# 208 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8036 if (tmp___15) {
8037# 214 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8038 work = (struct vhost_work *)((void *)0);
8039 } else {
8040 {
8041# 209 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8042 __mptr = (struct list_head const *)dev->work_list.next;
8043# 209 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8044 work = (struct vhost_work *)((char *)__mptr - (unsigned int )(& ((struct vhost_work *)0)->node));
8045# 211 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8046 list_del_init(& work->node);
8047# 212 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8048 seq = work->queue_seq;
8049 }
8050 }
8051 {
8052# 215 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8053 spin_unlock_irq(& dev->work_lock);
8054 }
8055# 217 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8056 if (work) {
8057 {
8058# 218 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8059 while (1) {
8060 while_continue___2: ;
8061 {
8062# 218 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8063 tmp___16 = get_current();
8064# 218 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8065 tmp___16->state = (long volatile )0;
8066 }
8067# 218 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8068 goto while_break___2;
8069 }
8070 while_break___6: ;
8071 }
8072 while_break___2:
8073 {
8074# 219 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8075 (*(work->fn))(work);
8076 }
8077 } else {
8078 {
8079# 221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8080 schedule();
8081 }
8082 }
8083 }
8084 while_break___3: ;
8085 }
8086 while_break:
8087 {
8088# 224 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8089 unuse_mm(dev->mm);
8090 }
8091# 225 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8092 return (0);
8093}
8094}
8095# 229 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8096static long vhost_dev_alloc_iovecs(struct vhost_dev *dev )
8097{ int i ;
8098 void *tmp___7 ;
8099 void *tmp___8 ;
8100 void *tmp___9 ;
8101
8102 {
8103# 233 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8104 i = 0;
8105 {
8106# 233 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8107 while (1) {
8108 while_continue: ;
8109# 233 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8110 if (i < dev->nvqs) {
8111
8112 } else {
8113# 233 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8114 goto while_break;
8115 }
8116 {
8117# 234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8118 tmp___7 = kmalloc(sizeof(*((dev->vqs + i)->indirect)) * 1024UL, 208U);
8119# 234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8120 (dev->vqs + i)->indirect = (struct iovec *)tmp___7;
8121# 236 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8122 tmp___8 = kmalloc(sizeof(*((dev->vqs + i)->log)) * 1024UL, 208U);
8123# 236 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8124 (dev->vqs + i)->log = (struct vhost_log *)tmp___8;
8125# 238 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8126 tmp___9 = kmalloc(sizeof(*((dev->vqs + i)->heads)) * 1024UL, 208U);
8127# 238 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8128 (dev->vqs + i)->heads = (struct vring_used_elem *)tmp___9;
8129 }
8130# 241 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8131 if (! (dev->vqs + i)->indirect) {
8132# 243 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8133 goto err_nomem;
8134 } else
8135# 241 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8136 if (! (dev->vqs + i)->log) {
8137# 243 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8138 goto err_nomem;
8139 } else
8140# 241 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8141 if (! (dev->vqs + i)->heads) {
8142# 243 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8143 goto err_nomem;
8144 } else {
8145
8146 }
8147# 233 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8148 i = i + 1;
8149 }
8150 while_break___1: ;
8151 }
8152 while_break: ;
8153# 245 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8154 return (0L);
8155 err_nomem:
8156 {
8157# 248 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8158 while (1) {
8159 while_continue___0: ;
8160# 248 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8161 if (i >= 0) {
8162
8163 } else {
8164# 248 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8165 goto while_break___0;
8166 }
8167 {
8168# 249 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8169 kfree((void const *)(dev->vqs + i)->indirect);
8170# 250 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8171 kfree((void const *)(dev->vqs + i)->log);
8172# 251 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8173 kfree((void const *)(dev->vqs + i)->heads);
8174# 248 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8175 i = i - 1;
8176 }
8177 }
8178 while_break___2: ;
8179 }
8180 while_break___0: ;
8181# 253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8182 return (-12L);
8183}
8184}
8185# 256 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8186static void vhost_dev_free_iovecs(struct vhost_dev *dev )
8187{ int i ;
8188
8189 {
8190# 260 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8191 i = 0;
8192 {
8193# 260 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8194 while (1) {
8195 while_continue: ;
8196# 260 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8197 if (i < dev->nvqs) {
8198
8199 } else {
8200# 260 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8201 goto while_break;
8202 }
8203 {
8204# 261 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8205 kfree((void const *)(dev->vqs + i)->indirect);
8206# 262 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8207 (dev->vqs + i)->indirect = (struct iovec *)((void *)0);
8208# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8209 kfree((void const *)(dev->vqs + i)->log);
8210# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8211 (dev->vqs + i)->log = (struct vhost_log *)((void *)0);
8212# 265 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8213 kfree((void const *)(dev->vqs + i)->heads);
8214# 266 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8215 (dev->vqs + i)->heads = (struct vring_used_elem *)((void *)0);
8216# 260 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8217 i = i + 1;
8218 }
8219 }
8220 while_break___0: ;
8221 }
8222 while_break: ;
8223# 268 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8224 return;
8225}
8226}
8227# 277 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8228static struct lock_class_key __key___8 ;
8229# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8230static struct lock_class_key __key___9 ;
8231# 291 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8232static struct lock_class_key __key___10 ;
8233# 270 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8234long vhost_dev_init(struct vhost_dev *dev , struct vhost_virtqueue *vqs , int nvqs )
8235{ int i ;
8236
8237 {
8238# 275 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8239 dev->vqs = vqs;
8240# 276 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8241 dev->nvqs = nvqs;
8242 {
8243# 277 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8244 while (1) {
8245 while_continue: ;
8246 {
8247# 277 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8248 __mutex_init(& dev->mutex, "&dev->mutex", & __key___8);
8249 }
8250# 277 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8251 goto while_break;
8252 }
8253 while_break___4: ;
8254 }
8255 while_break:
8256# 278 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8257 dev->log_ctx = (struct eventfd_ctx *)((void *)0);
8258# 279 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8259 dev->log_file = (struct file *)((void *)0);
8260# 280 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8261 dev->memory = (struct vhost_memory *)((void *)0);
8262# 281 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8263 dev->mm = (struct mm_struct *)((void *)0);
8264 {
8265# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8266 while (1) {
8267 while_continue___0: ;
8268 {
8269# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8270 spinlock_check(& dev->work_lock);
8271 }
8272 {
8273# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8274 while (1) {
8275 while_continue___1: ;
8276 {
8277# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8278 __raw_spin_lock_init(& dev->work_lock.__annonCompField18.rlock, "&(&dev->work_lock)->rlock",
8279 & __key___9);
8280 }
8281# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8282 goto while_break___1;
8283 }
8284 while_break___6: ;
8285 }
8286 while_break___1: ;
8287# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8288 goto while_break___0;
8289 }
8290 while_break___5: ;
8291 }
8292 while_break___0:
8293 {
8294# 283 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8295 INIT_LIST_HEAD(& dev->work_list);
8296# 284 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8297 dev->worker = (struct task_struct *)((void *)0);
8298# 286 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8299 i = 0;
8300 }
8301 {
8302# 286 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8303 while (1) {
8304 while_continue___2: ;
8305# 286 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8306 if (i < dev->nvqs) {
8307
8308 } else {
8309# 286 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8310 goto while_break___2;
8311 }
8312# 287 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8313 (dev->vqs + i)->log = (struct vhost_log *)((void *)0);
8314# 288 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8315 (dev->vqs + i)->indirect = (struct iovec *)((void *)0);
8316# 289 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8317 (dev->vqs + i)->heads = (struct vring_used_elem *)((void *)0);
8318# 290 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8319 (dev->vqs + i)->dev = dev;
8320 {
8321# 291 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8322 while (1) {
8323 while_continue___3: ;
8324 {
8325# 291 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8326 __mutex_init(& (dev->vqs + i)->mutex, "&dev->vqs[i].mutex", & __key___10);
8327 }
8328# 291 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8329 goto while_break___3;
8330 }
8331 while_break___8: ;
8332 }
8333 while_break___3:
8334 {
8335# 292 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8336 vhost_vq_reset(dev, dev->vqs + i);
8337 }
8338# 293 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8339 if ((dev->vqs + i)->handle_kick) {
8340 {
8341# 294 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8342 vhost_poll_init(& (dev->vqs + i)->poll, (dev->vqs + i)->handle_kick, 1UL, dev);
8343 }
8344 } else {
8345
8346 }
8347# 286 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8348 i = i + 1;
8349 }
8350 while_break___7: ;
8351 }
8352 while_break___2: ;
8353# 298 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8354 return (0L);
8355}
8356}
8357# 302 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8358long vhost_dev_check_owner(struct vhost_dev *dev )
8359{ int tmp___8 ;
8360 struct task_struct *tmp___9 ;
8361
8362 {
8363 {
8364# 305 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8365 tmp___9 = get_current();
8366 }
8367# 305 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8368 if ((unsigned long )dev->mm == (unsigned long )tmp___9->mm) {
8369# 305 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8370 tmp___8 = 0;
8371 } else {
8372# 305 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8373 tmp___8 = -1;
8374 }
8375# 305 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8376 return ((long )tmp___8);
8377}
8378}
8379# 314 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8380static void vhost_attach_cgroups_work(struct vhost_work *work )
8381{ struct vhost_attach_cgroups_struct *s ;
8382 struct vhost_work const *__mptr ;
8383 struct task_struct *tmp___7 ;
8384
8385 {
8386 {
8387# 318 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8388 __mptr = (struct vhost_work const *)work;
8389# 318 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8390 s = (struct vhost_attach_cgroups_struct *)((char *)__mptr - (unsigned int )(& ((struct vhost_attach_cgroups_struct *)0)->work));
8391# 319 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8392 tmp___7 = get_current();
8393# 319 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8394 s->ret = cgroup_attach_task_all(s->owner, tmp___7);
8395 }
8396# 320 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8397 return;
8398}
8399}
8400# 322 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8401static int vhost_attach_cgroups(struct vhost_dev *dev )
8402{ struct vhost_attach_cgroups_struct attach ;
8403
8404 {
8405 {
8406# 326 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8407 attach.owner = get_current();
8408# 327 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8409 vhost_work_init(& attach.work, & vhost_attach_cgroups_work);
8410# 328 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8411 vhost_work_queue(dev, & attach.work);
8412# 329 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8413 vhost_work_flush(dev, & attach.work);
8414 }
8415# 330 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8416 return (attach.ret);
8417}
8418}
8419# 334 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8420static long vhost_dev_set_owner(struct vhost_dev *dev )
8421{ struct task_struct *worker ;
8422 int err ;
8423 struct task_struct *tmp___7 ;
8424 struct task_struct *tmp___8 ;
8425 long tmp___9 ;
8426 long tmp___10 ;
8427 long tmp___11 ;
8428 long tmp ;
8429 long tmp___12 ;
8430
8431 {
8432# 340 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8433 if (dev->mm) {
8434# 341 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8435 err = -16;
8436# 342 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8437 goto err_mm;
8438 } else {
8439
8440 }
8441 {
8442# 346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8443 tmp___7 = get_current();
8444# 346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8445 dev->mm = get_task_mm(tmp___7);
8446# 347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8447 tmp___8 = get_current();
8448# 347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8449 worker = kthread_create_on_node(& vhost_worker, (void *)dev, -1, "vhost-%d", tmp___8->pid);
8450# 348 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8451 tmp = (long )IS_ERR((void const *)worker);
8452# 348 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8453 tmp___10 = tmp;
8454 }
8455# 348 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8456 if (tmp___10) {
8457 {
8458# 349 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8459 tmp___12 = (long )PTR_ERR((void const *)worker);
8460# 349 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8461 tmp___9 = tmp___12;
8462# 349 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8463 err = (int )tmp___9;
8464 }
8465# 350 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8466 goto err_worker;
8467 } else {
8468
8469 }
8470 {
8471# 353 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8472 dev->worker = worker;
8473# 354 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8474 wake_up_process(worker);
8475# 356 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8476 err = vhost_attach_cgroups(dev);
8477 }
8478# 357 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8479 if (err) {
8480# 358 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8481 goto err_cgroup;
8482 } else {
8483
8484 }
8485 {
8486# 360 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8487 tmp___11 = vhost_dev_alloc_iovecs(dev);
8488# 360 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8489 err = (int )tmp___11;
8490 }
8491# 361 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8492 if (err) {
8493# 362 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8494 goto err_cgroup;
8495 } else {
8496
8497 }
8498# 364 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8499 return (0L);
8500 err_cgroup:
8501 {
8502# 366 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8503 kthread_stop(worker);
8504# 367 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8505 dev->worker = (struct task_struct *)((void *)0);
8506 }
8507 err_worker:
8508# 369 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8509 if (dev->mm) {
8510 {
8511# 370 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8512 mmput(dev->mm);
8513 }
8514 } else {
8515
8516 }
8517# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8518 dev->mm = (struct mm_struct *)((void *)0);
8519 err_mm:
8520# 373 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8521 return ((long )err);
8522}
8523}
8524# 377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8525long vhost_dev_reset_owner(struct vhost_dev *dev )
8526{ struct vhost_memory *memory ;
8527 void *tmp___7 ;
8528
8529 {
8530 {
8531# 382 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8532 tmp___7 = kmalloc((size_t )((unsigned int )(& ((struct vhost_memory *)0)->regions)),
8533 208U);
8534# 382 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8535 memory = (struct vhost_memory *)tmp___7;
8536 }
8537# 383 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8538 if (! memory) {
8539# 384 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8540 return (-12L);
8541 } else {
8542
8543 }
8544 {
8545# 386 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8546 vhost_dev_cleanup(dev);
8547# 388 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8548 memory->nregions = (__u32 )0;
8549# 389 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8550 dev->memory = memory;
8551 }
8552# 390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8553 return (0L);
8554}
8555}
8556# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8557static bool __warned___22 ;
8558# 394 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8559void vhost_dev_cleanup(struct vhost_dev *dev )
8560{ int i ;
8561 int tmp___7 ;
8562 int tmp___8 ;
8563 int __ret_warn_on ;
8564 int tmp___9 ;
8565 int tmp___10 ;
8566 long tmp___11 ;
8567
8568 {
8569# 398 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8570 i = 0;
8571 {
8572# 398 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8573 while (1) {
8574 while_continue: ;
8575# 398 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8576 if (i < dev->nvqs) {
8577
8578 } else {
8579# 398 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8580 goto while_break;
8581 }
8582# 399 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8583 if ((dev->vqs + i)->kick) {
8584# 399 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8585 if ((dev->vqs + i)->handle_kick) {
8586 {
8587# 400 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8588 vhost_poll_stop(& (dev->vqs + i)->poll);
8589# 401 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8590 vhost_poll_flush(& (dev->vqs + i)->poll);
8591 }
8592 } else {
8593
8594 }
8595 } else {
8596
8597 }
8598# 403 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8599 if ((dev->vqs + i)->error_ctx) {
8600 {
8601# 404 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8602 eventfd_ctx_put((dev->vqs + i)->error_ctx);
8603 }
8604 } else {
8605
8606 }
8607# 405 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8608 if ((dev->vqs + i)->error) {
8609 {
8610# 406 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8611 fput((dev->vqs + i)->error);
8612 }
8613 } else {
8614
8615 }
8616# 407 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8617 if ((dev->vqs + i)->kick) {
8618 {
8619# 408 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8620 fput((dev->vqs + i)->kick);
8621 }
8622 } else {
8623
8624 }
8625# 409 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8626 if ((dev->vqs + i)->call_ctx) {
8627 {
8628# 410 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8629 eventfd_ctx_put((dev->vqs + i)->call_ctx);
8630 }
8631 } else {
8632
8633 }
8634# 411 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8635 if ((dev->vqs + i)->call) {
8636 {
8637# 412 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8638 fput((dev->vqs + i)->call);
8639 }
8640 } else {
8641
8642 }
8643 {
8644# 413 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8645 vhost_vq_reset(dev, dev->vqs + i);
8646# 398 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8647 i = i + 1;
8648 }
8649 }
8650 while_break___1: ;
8651 }
8652 while_break:
8653 {
8654# 415 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8655 vhost_dev_free_iovecs(dev);
8656 }
8657# 416 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8658 if (dev->log_ctx) {
8659 {
8660# 417 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8661 eventfd_ctx_put(dev->log_ctx);
8662 }
8663 } else {
8664
8665 }
8666# 418 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8667 dev->log_ctx = (struct eventfd_ctx *)((void *)0);
8668# 419 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8669 if (dev->log_file) {
8670 {
8671# 420 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8672 fput(dev->log_file);
8673 }
8674 } else {
8675
8676 }
8677# 421 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8678 dev->log_file = (struct file *)((void *)0);
8679 {
8680# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8681 while (1) {
8682 while_continue___0: ;
8683 {
8684# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8685 tmp___7 = debug_lockdep_rcu_enabled();
8686 }
8687# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8688 if (tmp___7) {
8689# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8690 if (! __warned___22) {
8691 {
8692# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8693 tmp___8 = lock_is_held(& dev->mutex.dep_map);
8694 }
8695# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8696 if (tmp___8) {
8697
8698 } else {
8699 {
8700# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8701 __warned___22 = (bool )1;
8702# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8703 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
8704 (int const )424);
8705 }
8706 }
8707 } else {
8708
8709 }
8710 } else {
8711
8712 }
8713# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8714 goto while_break___0;
8715 }
8716 while_break___2: ;
8717 }
8718 while_break___0:
8719 {
8720# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8721 kfree((void const *)dev->memory);
8722# 425 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8723 dev->memory = (struct vhost_memory *)((void *)0);
8724# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8725 tmp___9 = list_empty((struct list_head const *)(& dev->work_list));
8726 }
8727# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8728 if (tmp___9) {
8729# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8730 tmp___10 = 0;
8731 } else {
8732# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8733 tmp___10 = 1;
8734 }
8735 {
8736# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8737 __ret_warn_on = tmp___10;
8738# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8739 tmp___11 = __builtin_expect((long )(! (! __ret_warn_on)), 0L);
8740 }
8741# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8742 if (tmp___11) {
8743 {
8744# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8745 warn_slowpath_null("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
8746 (int const )426);
8747 }
8748 } else {
8749
8750 }
8751 {
8752# 426 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8753 __builtin_expect((long )(! (! __ret_warn_on)), 0L);
8754 }
8755# 427 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8756 if (dev->worker) {
8757 {
8758# 428 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8759 kthread_stop(dev->worker);
8760# 429 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8761 dev->worker = (struct task_struct *)((void *)0);
8762 }
8763 } else {
8764
8765 }
8766# 431 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8767 if (dev->mm) {
8768 {
8769# 432 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8770 mmput(dev->mm);
8771 }
8772 } else {
8773
8774 }
8775# 433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8776 dev->mm = (struct mm_struct *)((void *)0);
8777# 434 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8778 return;
8779}
8780}
8781# 436 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8782static int log_access_ok(void *log_base , u64 addr , unsigned long sz )
8783{ u64 a ;
8784 unsigned long flag ;
8785 unsigned long roksum ;
8786 struct thread_info *tmp___7 ;
8787 int tmp___8 ;
8788 long tmp___9 ;
8789
8790 {
8791# 438 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8792 a = (addr / 4096ULL) / 8ULL;
8793# 441 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8794 if (a > (u64 )(0x0fffffffffffffffUL - (unsigned long )log_base)) {
8795# 443 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8796 return (0);
8797 } else
8798# 441 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8799 if (a + (u64 )((unsigned long )log_base) > 0x0fffffffffffffffULL) {
8800# 443 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8801 return (0);
8802 } else {
8803
8804 }
8805 {
8806# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8807 tmp___7 = current_thread_info();
8808# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8809 __asm__ ("add %3,%1 ; sbb %0,%0 ; cmp %1,%4 ; sbb $0,%0": "=&r" (flag), "=r" (roksum): "1" (log_base + a),
8810 "g" ((long )((((sz + 32768UL) - 1UL) / 4096UL) / 8UL)), "rm" (tmp___7->addr_limit.seg));
8811 }
8812# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8813 if (flag == 0UL) {
8814# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8815 tmp___8 = 1;
8816 } else {
8817# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8818 tmp___8 = 0;
8819 }
8820 {
8821# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8822 tmp___9 = __builtin_expect((long )tmp___8, 1L);
8823 }
8824# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8825 return ((int )tmp___9);
8826}
8827}
8828# 450 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8829static int vq_memory_access_ok(void *log_base , struct vhost_memory *mem , int log_all )
8830{ int i ;
8831 struct vhost_memory_region *m ;
8832 unsigned long a ;
8833 int tmp___7 ;
8834 unsigned long flag ;
8835 unsigned long roksum ;
8836 struct thread_info *tmp___8 ;
8837 int tmp___9 ;
8838 long tmp___10 ;
8839
8840 {
8841# 455 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8842 if (! mem) {
8843# 456 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8844 return (0);
8845 } else {
8846
8847 }
8848# 458 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8849 i = 0;
8850 {
8851# 458 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8852 while (1) {
8853 while_continue: ;
8854# 458 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8855 if ((__u32 )i < mem->nregions) {
8856
8857 } else {
8858# 458 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8859 goto while_break;
8860 }
8861# 459 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8862 m = mem->regions + i;
8863# 460 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8864 a = (unsigned long )m->userspace_addr;
8865# 461 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8866 if (m->memory_size > 0x0fffffffffffffffULL) {
8867# 462 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8868 return (0);
8869 } else {
8870 {
8871# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8872 tmp___8 = current_thread_info();
8873# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8874 __asm__ ("add %3,%1 ; sbb %0,%0 ; cmp %1,%4 ; sbb $0,%0": "=&r" (flag), "=r" (roksum): "1" ((void *)a),
8875 "g" ((long )m->memory_size), "rm" (tmp___8->addr_limit.seg));
8876 }
8877# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8878 if (flag == 0UL) {
8879# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8880 tmp___9 = 1;
8881 } else {
8882# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8883 tmp___9 = 0;
8884 }
8885 {
8886# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8887 tmp___10 = __builtin_expect((long )tmp___9, 1L);
8888 }
8889# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8890 if (tmp___10) {
8891# 466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8892 if (log_all) {
8893 {
8894# 466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8895 tmp___7 = log_access_ok(log_base, m->guest_phys_addr, (unsigned long )m->memory_size);
8896 }
8897# 466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8898 if (tmp___7) {
8899
8900 } else {
8901# 469 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8902 return (0);
8903 }
8904 } else {
8905
8906 }
8907 } else {
8908# 465 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8909 return (0);
8910 }
8911 }
8912# 458 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8913 i = i + 1;
8914 }
8915 while_break___0: ;
8916 }
8917 while_break: ;
8918# 471 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8919 return (1);
8920}
8921}
8922# 476 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8923static int memory_access_ok(struct vhost_dev *d , struct vhost_memory *mem , int log_all )
8924{ int i ;
8925 int ok ;
8926
8927 {
8928# 481 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8929 i = 0;
8930 {
8931# 481 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8932 while (1) {
8933 while_continue: ;
8934# 481 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8935 if (i < d->nvqs) {
8936
8937 } else {
8938# 481 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8939 goto while_break;
8940 }
8941 {
8942# 483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8943 mutex_lock_nested(& (d->vqs + i)->mutex, 0U);
8944 }
8945# 485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8946 if ((d->vqs + i)->private_data) {
8947 {
8948# 486 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8949 ok = vq_memory_access_ok((d->vqs + i)->log_base, mem, log_all);
8950 }
8951 } else {
8952# 489 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8953 ok = 1;
8954 }
8955 {
8956# 490 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8957 mutex_unlock(& (d->vqs + i)->mutex);
8958 }
8959# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8960 if (! ok) {
8961# 492 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8962 return (0);
8963 } else {
8964
8965 }
8966# 481 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8967 i = i + 1;
8968 }
8969 while_break___0: ;
8970 }
8971 while_break: ;
8972# 494 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8973 return (1);
8974}
8975}
8976# 497 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
8977static int vq_access_ok(struct vhost_dev *d , unsigned int num , struct vring_desc *desc ,
8978 struct vring_avail *avail , struct vring_used *used )
8979{ size_t s ;
8980 int tmp___8 ;
8981 int tmp___9 ;
8982 unsigned long flag ;
8983 unsigned long roksum ;
8984 struct thread_info *tmp___10 ;
8985 int tmp___11 ;
8986 long tmp___12 ;
8987 unsigned long flag___0 ;
8988 unsigned long roksum___0 ;
8989 struct thread_info *tmp___13 ;
8990 int tmp___14 ;
8991 long tmp___15 ;
8992 unsigned long flag___1 ;
8993 unsigned long roksum___1 ;
8994 struct thread_info *tmp___16 ;
8995 int tmp___17 ;
8996 long tmp___18 ;
8997 int tmp___19 ;
8998
8999 {
9000 {
9001# 502 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9002 tmp___9 = vhost_has_feature(d, 29);
9003 }
9004# 502 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9005 if (tmp___9) {
9006# 502 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9007 tmp___8 = 2;
9008 } else {
9009# 502 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9010 tmp___8 = 0;
9011 }
9012 {
9013# 502 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9014 s = (size_t )tmp___8;
9015# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9016 tmp___10 = current_thread_info();
9017# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9018 __asm__ ("add %3,%1 ; sbb %0,%0 ; cmp %1,%4 ; sbb $0,%0": "=&r" (flag), "=r" (roksum): "1" (desc),
9019 "g" ((long )((unsigned long )num * sizeof(*desc))), "rm" (tmp___10->addr_limit.seg));
9020 }
9021# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9022 if (flag == 0UL) {
9023# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9024 tmp___11 = 1;
9025 } else {
9026# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9027 tmp___11 = 0;
9028 }
9029 {
9030# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9031 tmp___12 = __builtin_expect((long )tmp___11, 1L);
9032 }
9033# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9034 if (tmp___12) {
9035 {
9036# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9037 tmp___13 = current_thread_info();
9038# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9039 __asm__ ("add %3,%1 ; sbb %0,%0 ; cmp %1,%4 ; sbb $0,%0": "=&r" (flag___0), "=r" (roksum___0): "1" (avail),
9040 "g" ((long )((sizeof(*avail) + (unsigned long )num * sizeof(avail->ring[0])) + s)),
9041 "rm" (tmp___13->addr_limit.seg));
9042 }
9043# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9044 if (flag___0 == 0UL) {
9045# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9046 tmp___14 = 1;
9047 } else {
9048# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9049 tmp___14 = 0;
9050 }
9051 {
9052# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9053 tmp___15 = __builtin_expect((long )tmp___14, 1L);
9054 }
9055# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9056 if (tmp___15) {
9057 {
9058# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9059 tmp___16 = current_thread_info();
9060# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9061 __asm__ ("add %3,%1 ; sbb %0,%0 ; cmp %1,%4 ; sbb $0,%0": "=&r" (flag___1),
9062 "=r" (roksum___1): "1" (used), "g" ((long )((sizeof(*used) + (unsigned long )num * sizeof(used->ring[0])) + s)),
9063 "rm" (tmp___16->addr_limit.seg));
9064 }
9065# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9066 if (flag___1 == 0UL) {
9067# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9068 tmp___17 = 1;
9069 } else {
9070# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9071 tmp___17 = 0;
9072 }
9073 {
9074# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9075 tmp___18 = __builtin_expect((long )tmp___17, 1L);
9076 }
9077# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9078 if (tmp___18) {
9079# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9080 tmp___19 = 1;
9081 } else {
9082# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9083 tmp___19 = 0;
9084 }
9085 } else {
9086# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9087 tmp___19 = 0;
9088 }
9089 } else {
9090# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9091 tmp___19 = 0;
9092 }
9093# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9094 return (tmp___19);
9095}
9096}
9097# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9098static bool __warned___23 ;
9099# 512 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9100int vhost_log_access_ok(struct vhost_dev *dev )
9101{ struct vhost_memory *mp ;
9102 int tmp___7 ;
9103 int tmp___8 ;
9104 int tmp___9 ;
9105
9106 {
9107 {
9108# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9109 while (1) {
9110 while_continue: ;
9111 {
9112# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9113 tmp___7 = debug_lockdep_rcu_enabled();
9114 }
9115# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9116 if (tmp___7) {
9117# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9118 if (! __warned___23) {
9119 {
9120# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9121 tmp___8 = lock_is_held(& dev->mutex.dep_map);
9122 }
9123# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9124 if (tmp___8) {
9125
9126 } else {
9127 {
9128# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9129 __warned___23 = (bool )1;
9130# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9131 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
9132 (int const )517);
9133 }
9134 }
9135 } else {
9136
9137 }
9138 } else {
9139
9140 }
9141# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9142 goto while_break;
9143 }
9144 while_break___0: ;
9145 }
9146 while_break:
9147 {
9148# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9149 mp = dev->memory;
9150# 518 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9151 tmp___9 = memory_access_ok(dev, mp, 1);
9152 }
9153# 518 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9154 return (tmp___9);
9155}
9156}
9157# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9158static bool __warned___24 ;
9159# 523 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9160static int vq_log_access_ok(struct vhost_dev *d , struct vhost_virtqueue *vq , void *log_base )
9161{ struct vhost_memory *mp ;
9162 size_t s ;
9163 int tmp___8 ;
9164 int tmp___9 ;
9165 int tmp___10 ;
9166 int tmp___11 ;
9167 int tmp___12 ;
9168 int tmp___13 ;
9169 int tmp___14 ;
9170 int tmp___15 ;
9171
9172 {
9173 {
9174# 527 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9175 tmp___9 = vhost_has_feature(d, 29);
9176 }
9177# 527 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9178 if (tmp___9) {
9179# 527 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9180 tmp___8 = 2;
9181 } else {
9182# 527 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9183 tmp___8 = 0;
9184 }
9185# 527 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9186 s = (size_t )tmp___8;
9187 {
9188# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9189 while (1) {
9190 while_continue: ;
9191 {
9192# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9193 tmp___10 = debug_lockdep_rcu_enabled();
9194 }
9195# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9196 if (tmp___10) {
9197# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9198 if (! __warned___24) {
9199 {
9200# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9201 tmp___11 = lock_is_held(& vq->mutex.dep_map);
9202 }
9203# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9204 if (tmp___11) {
9205
9206 } else {
9207 {
9208# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9209 __warned___24 = (bool )1;
9210# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9211 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
9212 (int const )530);
9213 }
9214 }
9215 } else {
9216
9217 }
9218 } else {
9219
9220 }
9221# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9222 goto while_break;
9223 }
9224 while_break___0: ;
9225 }
9226 while_break:
9227 {
9228# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9229 mp = (vq->dev)->memory;
9230# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9231 tmp___12 = vhost_has_feature(vq->dev, 26);
9232# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9233 tmp___13 = vq_memory_access_ok(log_base, mp, tmp___12);
9234 }
9235# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9236 if (tmp___13) {
9237# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9238 if (! vq->log_used) {
9239# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9240 tmp___15 = 1;
9241 } else {
9242 {
9243# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9244 tmp___14 = log_access_ok(log_base, vq->log_addr, (sizeof(*(vq->used)) + (unsigned long )vq->num * sizeof((vq->used)->ring[0])) + s);
9245 }
9246# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9247 if (tmp___14) {
9248# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9249 tmp___15 = 1;
9250 } else {
9251# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9252 tmp___15 = 0;
9253 }
9254 }
9255 } else {
9256# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9257 tmp___15 = 0;
9258 }
9259# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9260 return (tmp___15);
9261}
9262}
9263# 540 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9264int vhost_vq_access_ok(struct vhost_virtqueue *vq )
9265{ int tmp___7 ;
9266 int tmp___8 ;
9267 int tmp___9 ;
9268
9269 {
9270 {
9271# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9272 tmp___7 = vq_access_ok(vq->dev, vq->num, vq->desc, vq->avail, vq->used);
9273 }
9274# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9275 if (tmp___7) {
9276 {
9277# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9278 tmp___8 = vq_log_access_ok(vq->dev, vq, vq->log_base);
9279 }
9280# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9281 if (tmp___8) {
9282# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9283 tmp___9 = 1;
9284 } else {
9285# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9286 tmp___9 = 0;
9287 }
9288 } else {
9289# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9290 tmp___9 = 0;
9291 }
9292# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9293 return (tmp___9);
9294}
9295}
9296# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9297static bool __warned___25 ;
9298# 546 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9299static long vhost_set_memory(struct vhost_dev *d , struct vhost_memory *m )
9300{ struct vhost_memory mem ;
9301 struct vhost_memory *newmem ;
9302 struct vhost_memory *oldmem ;
9303 unsigned long size ;
9304 unsigned long tmp___7 ;
9305 void *tmp___8 ;
9306 size_t __len ;
9307 void *__ret ;
9308 unsigned long tmp___9 ;
9309 int tmp___10 ;
9310 int tmp___11 ;
9311 int tmp___12 ;
9312 int tmp___13 ;
9313 unsigned long tmp ;
9314 unsigned long tmp___14 ;
9315
9316 {
9317 {
9318# 549 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9319 size = (unsigned long )((unsigned int )(& ((struct vhost_memory *)0)->regions));
9320# 551 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9321 tmp = (unsigned long )copy_from_user((void *)(& mem), (void const *)m, size);
9322# 551 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9323 tmp___7 = tmp;
9324 }
9325# 551 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9326 if (tmp___7) {
9327# 552 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9328 return (-14L);
9329 } else {
9330
9331 }
9332# 553 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9333 if (mem.padding) {
9334# 554 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9335 return (-95L);
9336 } else {
9337
9338 }
9339# 555 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9340 if (mem.nregions > 64U) {
9341# 556 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9342 return (-7L);
9343 } else {
9344
9345 }
9346 {
9347# 557 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9348 tmp___8 = kmalloc(size + (unsigned long )mem.nregions * sizeof(m->regions[0]), 208U);
9349# 557 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9350 newmem = (struct vhost_memory *)tmp___8;
9351 }
9352# 558 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9353 if (! newmem) {
9354# 559 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9355 return (-12L);
9356 } else {
9357
9358 }
9359 {
9360# 561 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9361 __len = size;
9362# 561 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9363 __ret = __builtin_memcpy((void *)newmem, (void const *)(& mem), __len);
9364# 562 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9365 tmp___14 = (unsigned long )copy_from_user((void *)(newmem->regions), (void const *)(m->regions),
9366 (unsigned long )mem.nregions * sizeof(m->regions[0]));
9367# 562 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9368 tmp___9 = tmp___14;
9369 }
9370# 562 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9371 if (tmp___9) {
9372 {
9373# 564 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9374 kfree((void const *)newmem);
9375 }
9376# 565 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9377 return (-14L);
9378 } else {
9379
9380 }
9381 {
9382# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9383 tmp___10 = vhost_has_feature(d, 26);
9384# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9385 tmp___11 = memory_access_ok(d, newmem, tmp___10);
9386 }
9387# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9388 if (tmp___11) {
9389
9390 } else {
9391 {
9392# 570 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9393 kfree((void const *)newmem);
9394 }
9395# 571 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9396 return (-14L);
9397 }
9398 {
9399# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9400 while (1) {
9401 while_continue: ;
9402 {
9403# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9404 tmp___12 = debug_lockdep_rcu_enabled();
9405 }
9406# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9407 if (tmp___12) {
9408# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9409 if (! __warned___25) {
9410 {
9411# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9412 tmp___13 = lock_is_held(& d->mutex.dep_map);
9413 }
9414# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9415 if (tmp___13) {
9416
9417 } else {
9418 {
9419# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9420 __warned___25 = (bool )1;
9421# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9422 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
9423 (int const )574);
9424 }
9425 }
9426 } else {
9427
9428 }
9429 } else {
9430
9431 }
9432# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9433 goto while_break;
9434 }
9435 while_break___0: ;
9436 }
9437 while_break:
9438 {
9439# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9440 oldmem = d->memory;
9441# 575 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9442 __asm__ volatile ("": : : "memory");
9443# 575 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9444 d->memory = newmem;
9445# 576 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9446 synchronize_rcu();
9447# 577 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9448 kfree((void const *)oldmem);
9449 }
9450# 578 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9451 return (0L);
9452}
9453}
9454# 581 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9455static int init_used(struct vhost_virtqueue *vq , struct vring_used *used )
9456{ int r ;
9457 int __ret_pu ;
9458 __u16 __pu_val ;
9459 int __ret_gu ;
9460 unsigned long __val_gu ;
9461
9462 {
9463 {
9464# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9465 might_fault();
9466# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9467 __pu_val = vq->used_flags;
9468 }
9469# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9470 if ((int )sizeof(used->flags) == 1) {
9471# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9472 goto case_1;
9473 } else
9474# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9475 if ((int )sizeof(used->flags) == 2) {
9476# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9477 goto case_2;
9478 } else
9479# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9480 if ((int )sizeof(used->flags) == 4) {
9481# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9482 goto case_4;
9483 } else
9484# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9485 if ((int )sizeof(used->flags) == 8) {
9486# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9487 goto case_8;
9488 } else {
9489# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9490 goto switch_default;
9491# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9492 if (0) {
9493 case_1:
9494# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9495 __asm__ volatile ("call __put_user_"
9496 "1": "=a" (__ret_pu): "0" (__pu_val), "c" (& used->flags): "ebx");
9497# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9498 goto switch_break;
9499 case_2:
9500# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9501 __asm__ volatile ("call __put_user_"
9502 "2": "=a" (__ret_pu): "0" (__pu_val), "c" (& used->flags): "ebx");
9503# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9504 goto switch_break;
9505 case_4:
9506# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9507 __asm__ volatile ("call __put_user_"
9508 "4": "=a" (__ret_pu): "0" (__pu_val), "c" (& used->flags): "ebx");
9509# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9510 goto switch_break;
9511 case_8:
9512# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9513 __asm__ volatile ("call __put_user_"
9514 "8": "=a" (__ret_pu): "0" (__pu_val), "c" (& used->flags): "ebx");
9515# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9516 goto switch_break;
9517 switch_default:
9518# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9519 __asm__ volatile ("call __put_user_"
9520 "X": "=a" (__ret_pu): "0" (__pu_val), "c" (& used->flags): "ebx");
9521# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9522 goto switch_break;
9523 } else {
9524 switch_break: ;
9525 }
9526 }
9527# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9528 r = __ret_pu;
9529# 586 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9530 if (r) {
9531# 587 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9532 return (r);
9533 } else {
9534
9535 }
9536 {
9537# 588 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9538 vq->signalled_used_valid = (bool )0;
9539# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9540 might_fault();
9541 }
9542# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9543 if ((int )sizeof(used->idx) == 1) {
9544# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9545 goto case_1___0;
9546 } else
9547# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9548 if ((int )sizeof(used->idx) == 2) {
9549# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9550 goto case_2___0;
9551 } else
9552# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9553 if ((int )sizeof(used->idx) == 4) {
9554# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9555 goto case_4___0;
9556 } else
9557# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9558 if ((int )sizeof(used->idx) == 8) {
9559# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9560 goto case_8___0;
9561 } else {
9562# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9563 goto switch_default___0;
9564# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9565 if (0) {
9566 case_1___0:
9567# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9568 __asm__ volatile ("call __get_user_"
9569 "1": "=a" (__ret_gu), "=d" (__val_gu): "0" (& used->idx));
9570# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9571 goto switch_break___0;
9572 case_2___0:
9573# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9574 __asm__ volatile ("call __get_user_"
9575 "2": "=a" (__ret_gu), "=d" (__val_gu): "0" (& used->idx));
9576# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9577 goto switch_break___0;
9578 case_4___0:
9579# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9580 __asm__ volatile ("call __get_user_"
9581 "4": "=a" (__ret_gu), "=d" (__val_gu): "0" (& used->idx));
9582# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9583 goto switch_break___0;
9584 case_8___0:
9585# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9586 __asm__ volatile ("call __get_user_"
9587 "8": "=a" (__ret_gu), "=d" (__val_gu): "0" (& used->idx));
9588# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9589 goto switch_break___0;
9590 switch_default___0:
9591# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9592 __asm__ volatile ("call __get_user_"
9593 "X": "=a" (__ret_gu), "=d" (__val_gu): "0" (& used->idx));
9594# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9595 goto switch_break___0;
9596 } else {
9597 switch_break___0: ;
9598 }
9599 }
9600# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9601 vq->last_used_idx = (__u16 )__val_gu;
9602# 589 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9603 return (__ret_gu);
9604}
9605}
9606# 592 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9607static long vhost_set_vring(struct vhost_dev *d , int ioctl , void *argp )
9608{ struct file *eventfp ;
9609 struct file *filep ;
9610 struct file *pollstart ;
9611 struct file *pollstop ;
9612 struct eventfd_ctx *ctx ;
9613 u32 *idxp ;
9614 struct vhost_virtqueue *vq ;
9615 struct vhost_vring_state s ;
9616 struct vhost_vring_file f ;
9617 struct vhost_vring_addr a ;
9618 u32 idx ;
9619 long r ;
9620 int __ret_gu ;
9621 unsigned long __val_gu ;
9622 unsigned long tmp___7 ;
9623 unsigned long tmp___8 ;
9624 int tmp___9 ;
9625 unsigned long tmp___10 ;
9626 int tmp___11 ;
9627 int tmp___12 ;
9628 int tmp___13 ;
9629 unsigned long tmp___14 ;
9630 struct file *tmp___15 ;
9631 long tmp___16 ;
9632 struct file *tmp___17 ;
9633 unsigned long tmp___18 ;
9634 struct file *tmp___19 ;
9635 long tmp___20 ;
9636 struct eventfd_ctx *tmp___21 ;
9637 unsigned long tmp___22 ;
9638 struct file *tmp___23 ;
9639 long tmp___24 ;
9640 struct eventfd_ctx *tmp___25 ;
9641 unsigned long tmp ;
9642 unsigned long tmp___26 ;
9643 int tmp___27 ;
9644 unsigned long tmp___28 ;
9645 unsigned long tmp___29 ;
9646 long tmp___30 ;
9647 long tmp___31 ;
9648 unsigned long tmp___32 ;
9649 long tmp___33 ;
9650 long tmp___34 ;
9651 unsigned long tmp___35 ;
9652 long tmp___36 ;
9653 long tmp___37 ;
9654
9655 {
9656 {
9657# 594 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9658 filep = (struct file *)((void *)0);
9659# 594 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9660 pollstart = (struct file *)((void *)0);
9661# 594 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9662 pollstop = (struct file *)((void *)0);
9663# 596 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9664 ctx = (struct eventfd_ctx *)((void *)0);
9665# 597 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9666 idxp = (u32 *)argp;
9667# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9668 might_fault();
9669 }
9670# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9671 if ((int )sizeof(*idxp) == 1) {
9672# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9673 goto case_1;
9674 } else
9675# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9676 if ((int )sizeof(*idxp) == 2) {
9677# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9678 goto case_2;
9679 } else
9680# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9681 if ((int )sizeof(*idxp) == 4) {
9682# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9683 goto case_4;
9684 } else
9685# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9686 if ((int )sizeof(*idxp) == 8) {
9687# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9688 goto case_8;
9689 } else {
9690# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9691 goto switch_default;
9692# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9693 if (0) {
9694 case_1:
9695# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9696 __asm__ volatile ("call __get_user_"
9697 "1": "=a" (__ret_gu), "=d" (__val_gu): "0" (idxp));
9698# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9699 goto switch_break;
9700 case_2:
9701# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9702 __asm__ volatile ("call __get_user_"
9703 "2": "=a" (__ret_gu), "=d" (__val_gu): "0" (idxp));
9704# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9705 goto switch_break;
9706 case_4:
9707# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9708 __asm__ volatile ("call __get_user_"
9709 "4": "=a" (__ret_gu), "=d" (__val_gu): "0" (idxp));
9710# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9711 goto switch_break;
9712 case_8:
9713# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9714 __asm__ volatile ("call __get_user_"
9715 "8": "=a" (__ret_gu), "=d" (__val_gu): "0" (idxp));
9716# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9717 goto switch_break;
9718 switch_default:
9719# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9720 __asm__ volatile ("call __get_user_"
9721 "X": "=a" (__ret_gu), "=d" (__val_gu): "0" (idxp));
9722# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9723 goto switch_break;
9724 } else {
9725 switch_break: ;
9726 }
9727 }
9728# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9729 idx = (u32 )__val_gu;
9730# 605 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9731 r = (long )__ret_gu;
9732# 606 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9733 if (r < 0L) {
9734# 607 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9735 return (r);
9736 } else {
9737
9738 }
9739# 608 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9740 if (idx >= (u32 )d->nvqs) {
9741# 609 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9742 return (-105L);
9743 } else {
9744
9745 }
9746 {
9747# 611 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9748 vq = d->vqs + idx;
9749# 613 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9750 mutex_lock_nested(& vq->mutex, 0U);
9751 }
9752# 616 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9753 if ((unsigned long )ioctl == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 16U) | (sizeof(struct vhost_vring_state ) << 16))) {
9754# 616 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9755 goto case_exp;
9756 } else
9757# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9758 if ((unsigned long )ioctl == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 18U) | (sizeof(struct vhost_vring_state ) << 16))) {
9759# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9760 goto case_exp___0;
9761 } else
9762# 652 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9763 if ((unsigned long )ioctl == ((unsigned long )(((3U << 30) | (unsigned int )(175 << 8)) | 18U) | (sizeof(struct vhost_vring_state ) << 16))) {
9764# 652 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9765 goto case_exp___1;
9766 } else
9767# 658 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9768 if ((unsigned long )ioctl == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 17U) | (sizeof(struct vhost_vring_addr ) << 16))) {
9769# 658 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9770 goto case_exp___2;
9771 } else
9772# 714 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9773 if ((unsigned long )ioctl == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 32U) | (sizeof(struct vhost_vring_file ) << 16))) {
9774# 714 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9775 goto case_exp___3;
9776 } else
9777# 730 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9778 if ((unsigned long )ioctl == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 33U) | (sizeof(struct vhost_vring_file ) << 16))) {
9779# 730 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9780 goto case_exp___4;
9781 } else
9782# 749 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9783 if ((unsigned long )ioctl == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 34U) | (sizeof(struct vhost_vring_file ) << 16))) {
9784# 749 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9785 goto case_exp___5;
9786 } else {
9787# 768 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9788 goto switch_default___0;
9789# 615 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9790 if (0) {
9791 case_exp:
9792# 619 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9793 if (vq->private_data) {
9794# 620 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9795 r = -16L;
9796# 621 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9797 goto switch_break___0;
9798 } else {
9799
9800 }
9801 {
9802# 623 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9803 tmp = (unsigned long )copy_from_user((void *)(& s), (void const *)argp, sizeof(s));
9804# 623 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9805 tmp___7 = tmp;
9806 }
9807# 623 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9808 if (tmp___7) {
9809# 624 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9810 r = -14L;
9811# 625 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9812 goto switch_break___0;
9813 } else {
9814
9815 }
9816# 627 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9817 if (! s.num) {
9818# 628 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9819 r = -22L;
9820# 629 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9821 goto switch_break___0;
9822 } else
9823# 627 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9824 if (s.num > 65535U) {
9825# 628 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9826 r = -22L;
9827# 629 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9828 goto switch_break___0;
9829 } else
9830# 627 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9831 if (s.num & (s.num - 1U)) {
9832# 628 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9833 r = -22L;
9834# 629 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9835 goto switch_break___0;
9836 } else {
9837
9838 }
9839# 631 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9840 vq->num = s.num;
9841# 632 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9842 goto switch_break___0;
9843 case_exp___0:
9844# 636 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9845 if (vq->private_data) {
9846# 637 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9847 r = -16L;
9848# 638 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9849 goto switch_break___0;
9850 } else {
9851
9852 }
9853 {
9854# 640 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9855 tmp___26 = (unsigned long )copy_from_user((void *)(& s), (void const *)argp,
9856 sizeof(s));
9857# 640 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9858 tmp___8 = tmp___26;
9859 }
9860# 640 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9861 if (tmp___8) {
9862# 641 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9863 r = -14L;
9864# 642 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9865 goto switch_break___0;
9866 } else {
9867
9868 }
9869# 644 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9870 if (s.num > 65535U) {
9871# 645 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9872 r = -22L;
9873# 646 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9874 goto switch_break___0;
9875 } else {
9876
9877 }
9878# 648 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9879 vq->last_avail_idx = (u16 )s.num;
9880# 650 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9881 vq->avail_idx = vq->last_avail_idx;
9882# 651 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9883 goto switch_break___0;
9884 case_exp___1:
9885 {
9886# 653 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9887 s.index = idx;
9888# 654 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9889 s.num = (unsigned int )vq->last_avail_idx;
9890# 655 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9891 tmp___27 = (int )copy_to_user(argp, (void const *)(& s), (unsigned int )sizeof(s));
9892# 655 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9893 tmp___9 = tmp___27;
9894 }
9895# 655 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9896 if (tmp___9) {
9897# 656 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9898 r = -14L;
9899 } else {
9900
9901 }
9902# 657 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9903 goto switch_break___0;
9904 case_exp___2:
9905 {
9906# 659 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9907 tmp___28 = (unsigned long )copy_from_user((void *)(& a), (void const *)argp,
9908 sizeof(a));
9909# 659 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9910 tmp___10 = tmp___28;
9911 }
9912# 659 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9913 if (tmp___10) {
9914# 660 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9915 r = -14L;
9916# 661 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9917 goto switch_break___0;
9918 } else {
9919
9920 }
9921# 663 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9922 if (a.flags & 4294967294U) {
9923# 664 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9924 r = -95L;
9925# 665 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9926 goto switch_break___0;
9927 } else {
9928
9929 }
9930# 669 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9931 if ((u64 )((unsigned long )a.desc_user_addr) != a.desc_user_addr) {
9932# 672 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9933 r = -14L;
9934# 673 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9935 goto switch_break___0;
9936 } else
9937# 669 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9938 if ((u64 )((unsigned long )a.used_user_addr) != a.used_user_addr) {
9939# 672 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9940 r = -14L;
9941# 673 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9942 goto switch_break___0;
9943 } else
9944# 669 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9945 if ((u64 )((unsigned long )a.avail_user_addr) != a.avail_user_addr) {
9946# 672 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9947 r = -14L;
9948# 673 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9949 goto switch_break___0;
9950 } else {
9951
9952 }
9953# 675 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9954 if (a.avail_user_addr & (unsigned long long )(sizeof((vq->avail)->ring[0]) - 1UL)) {
9955# 678 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9956 r = -22L;
9957# 679 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9958 goto switch_break___0;
9959 } else
9960# 675 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9961 if (a.used_user_addr & (unsigned long long )(sizeof((vq->used)->ring[0]) - 1UL)) {
9962# 678 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9963 r = -22L;
9964# 679 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9965 goto switch_break___0;
9966 } else
9967# 675 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9968 if (a.log_guest_addr & (unsigned long long )(sizeof((vq->used)->ring[0]) - 1UL)) {
9969# 678 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9970 r = -22L;
9971# 679 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9972 goto switch_break___0;
9973 } else {
9974
9975 }
9976# 685 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9977 if (vq->private_data) {
9978 {
9979# 686 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9980 tmp___11 = vq_access_ok(d, vq->num, (struct vring_desc *)((void *)((unsigned long )a.desc_user_addr)),
9981 (struct vring_avail *)((void *)((unsigned long )a.avail_user_addr)),
9982 (struct vring_used *)((void *)((unsigned long )a.used_user_addr)));
9983 }
9984# 686 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9985 if (tmp___11) {
9986
9987 } else {
9988# 690 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9989 r = -22L;
9990# 691 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9991 goto switch_break___0;
9992 }
9993# 695 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9994 if (a.flags & 1U) {
9995 {
9996# 695 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
9997 tmp___12 = log_access_ok(vq->log_base, a.log_guest_addr, sizeof(*(vq->used)) + (unsigned long )vq->num * sizeof((vq->used)->ring[0]));
9998 }
9999# 695 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10000 if (tmp___12) {
10001
10002 } else {
10003# 699 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10004 r = -22L;
10005# 700 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10006 goto switch_break___0;
10007 }
10008 } else {
10009
10010 }
10011 } else {
10012
10013 }
10014 {
10015# 704 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10016 tmp___13 = init_used(vq, (struct vring_used *)((unsigned long )a.used_user_addr));
10017# 704 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10018 r = (long )tmp___13;
10019 }
10020# 706 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10021 if (r) {
10022# 707 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10023 goto switch_break___0;
10024 } else {
10025
10026 }
10027# 708 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10028 vq->log_used = (bool )(! (! (a.flags & 1U)));
10029# 709 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10030 vq->desc = (struct vring_desc *)((void *)((unsigned long )a.desc_user_addr));
10031# 710 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10032 vq->avail = (struct vring_avail *)((void *)((unsigned long )a.avail_user_addr));
10033# 711 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10034 vq->log_addr = a.log_guest_addr;
10035# 712 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10036 vq->used = (struct vring_used *)((void *)((unsigned long )a.used_user_addr));
10037# 713 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10038 goto switch_break___0;
10039 case_exp___3:
10040 {
10041# 715 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10042 tmp___29 = (unsigned long )copy_from_user((void *)(& f), (void const *)argp,
10043 sizeof(f));
10044# 715 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10045 tmp___14 = tmp___29;
10046 }
10047# 715 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10048 if (tmp___14) {
10049# 716 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10050 r = -14L;
10051# 717 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10052 goto switch_break___0;
10053 } else {
10054
10055 }
10056# 719 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10057 if (f.fd == -1) {
10058# 719 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10059 eventfp = (struct file *)((void *)0);
10060 } else {
10061 {
10062# 719 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10063 tmp___15 = eventfd_fget(f.fd);
10064# 719 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10065 eventfp = tmp___15;
10066 }
10067 }
10068 {
10069# 720 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10070 tmp___30 = (long )IS_ERR((void const *)eventfp);
10071# 720 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10072 tmp___16 = tmp___30;
10073 }
10074# 720 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10075 if (tmp___16) {
10076 {
10077# 721 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10078 tmp___31 = (long )PTR_ERR((void const *)eventfp);
10079# 721 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10080 r = tmp___31;
10081 }
10082# 722 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10083 goto switch_break___0;
10084 } else {
10085
10086 }
10087# 724 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10088 if ((unsigned long )eventfp != (unsigned long )vq->kick) {
10089# 725 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10090 filep = vq->kick;
10091# 725 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10092 pollstop = filep;
10093# 726 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10094 tmp___17 = eventfp;
10095# 726 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10096 vq->kick = tmp___17;
10097# 726 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10098 pollstart = tmp___17;
10099 } else {
10100# 728 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10101 filep = eventfp;
10102 }
10103# 729 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10104 goto switch_break___0;
10105 case_exp___4:
10106 {
10107# 731 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10108 tmp___32 = (unsigned long )copy_from_user((void *)(& f), (void const *)argp,
10109 sizeof(f));
10110# 731 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10111 tmp___18 = tmp___32;
10112 }
10113# 731 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10114 if (tmp___18) {
10115# 732 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10116 r = -14L;
10117# 733 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10118 goto switch_break___0;
10119 } else {
10120
10121 }
10122# 735 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10123 if (f.fd == -1) {
10124# 735 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10125 eventfp = (struct file *)((void *)0);
10126 } else {
10127 {
10128# 735 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10129 tmp___19 = eventfd_fget(f.fd);
10130# 735 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10131 eventfp = tmp___19;
10132 }
10133 }
10134 {
10135# 736 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10136 tmp___33 = (long )IS_ERR((void const *)eventfp);
10137# 736 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10138 tmp___20 = tmp___33;
10139 }
10140# 736 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10141 if (tmp___20) {
10142 {
10143# 737 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10144 tmp___34 = (long )PTR_ERR((void const *)eventfp);
10145# 737 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10146 r = tmp___34;
10147 }
10148# 738 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10149 goto switch_break___0;
10150 } else {
10151
10152 }
10153# 740 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10154 if ((unsigned long )eventfp != (unsigned long )vq->call) {
10155# 741 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10156 filep = vq->call;
10157# 742 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10158 ctx = vq->call_ctx;
10159# 743 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10160 vq->call = eventfp;
10161# 744 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10162 if (eventfp) {
10163 {
10164# 744 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10165 tmp___21 = eventfd_ctx_fileget(eventfp);
10166# 744 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10167 vq->call_ctx = tmp___21;
10168 }
10169 } else {
10170# 744 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10171 vq->call_ctx = (struct eventfd_ctx *)((void *)0);
10172 }
10173 } else {
10174# 747 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10175 filep = eventfp;
10176 }
10177# 748 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10178 goto switch_break___0;
10179 case_exp___5:
10180 {
10181# 750 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10182 tmp___35 = (unsigned long )copy_from_user((void *)(& f), (void const *)argp,
10183 sizeof(f));
10184# 750 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10185 tmp___22 = tmp___35;
10186 }
10187# 750 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10188 if (tmp___22) {
10189# 751 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10190 r = -14L;
10191# 752 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10192 goto switch_break___0;
10193 } else {
10194
10195 }
10196# 754 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10197 if (f.fd == -1) {
10198# 754 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10199 eventfp = (struct file *)((void *)0);
10200 } else {
10201 {
10202# 754 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10203 tmp___23 = eventfd_fget(f.fd);
10204# 754 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10205 eventfp = tmp___23;
10206 }
10207 }
10208 {
10209# 755 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10210 tmp___36 = (long )IS_ERR((void const *)eventfp);
10211# 755 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10212 tmp___24 = tmp___36;
10213 }
10214# 755 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10215 if (tmp___24) {
10216 {
10217# 756 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10218 tmp___37 = (long )PTR_ERR((void const *)eventfp);
10219# 756 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10220 r = tmp___37;
10221 }
10222# 757 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10223 goto switch_break___0;
10224 } else {
10225
10226 }
10227# 759 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10228 if ((unsigned long )eventfp != (unsigned long )vq->error) {
10229# 760 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10230 filep = vq->error;
10231# 761 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10232 vq->error = eventfp;
10233# 762 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10234 ctx = vq->error_ctx;
10235# 763 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10236 if (eventfp) {
10237 {
10238# 763 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10239 tmp___25 = eventfd_ctx_fileget(eventfp);
10240# 763 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10241 vq->error_ctx = tmp___25;
10242 }
10243 } else {
10244# 763 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10245 vq->error_ctx = (struct eventfd_ctx *)((void *)0);
10246 }
10247 } else {
10248# 766 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10249 filep = eventfp;
10250 }
10251# 767 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10252 goto switch_break___0;
10253 switch_default___0:
10254# 769 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10255 r = -515L;
10256 } else {
10257 switch_break___0: ;
10258 }
10259 }
10260# 772 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10261 if (pollstop) {
10262# 772 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10263 if (vq->handle_kick) {
10264 {
10265# 773 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10266 vhost_poll_stop(& vq->poll);
10267 }
10268 } else {
10269
10270 }
10271 } else {
10272
10273 }
10274# 775 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10275 if (ctx) {
10276 {
10277# 776 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10278 eventfd_ctx_put(ctx);
10279 }
10280 } else {
10281
10282 }
10283# 777 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10284 if (filep) {
10285 {
10286# 778 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10287 fput(filep);
10288 }
10289 } else {
10290
10291 }
10292# 780 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10293 if (pollstart) {
10294# 780 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10295 if (vq->handle_kick) {
10296 {
10297# 781 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10298 vhost_poll_start(& vq->poll, vq->kick);
10299 }
10300 } else {
10301
10302 }
10303 } else {
10304
10305 }
10306 {
10307# 783 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10308 mutex_unlock(& vq->mutex);
10309 }
10310# 785 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10311 if (pollstop) {
10312# 785 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10313 if (vq->handle_kick) {
10314 {
10315# 786 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10316 vhost_poll_flush(& vq->poll);
10317 }
10318 } else {
10319
10320 }
10321 } else {
10322
10323 }
10324# 787 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10325 return (r);
10326}
10327}
10328# 791 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10329long vhost_dev_ioctl(struct vhost_dev *d , unsigned int ioctl , unsigned long arg )
10330{ void *argp ;
10331 struct file *eventfp ;
10332 struct file *filep ;
10333 struct eventfd_ctx *ctx ;
10334 u64 p ;
10335 long r ;
10336 int i ;
10337 int fd ;
10338 unsigned long tmp___7 ;
10339 struct vhost_virtqueue *vq ;
10340 void *base ;
10341 int tmp___8 ;
10342 int __ret_gu ;
10343 unsigned long __val_gu ;
10344 struct file *tmp___9 ;
10345 long tmp___10 ;
10346 struct eventfd_ctx *tmp___11 ;
10347 unsigned long tmp ;
10348 long tmp___12 ;
10349 long tmp___13 ;
10350
10351 {
10352# 793 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10353 argp = (void *)arg;
10354# 794 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10355 filep = (struct file *)((void *)0);
10356# 795 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10357 ctx = (struct eventfd_ctx *)((void *)0);
10358# 801 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10359 if (ioctl == ((unsigned int )(175 << 8) | 1U)) {
10360 {
10361# 802 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10362 r = vhost_dev_set_owner(d);
10363 }
10364# 803 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10365 goto done;
10366 } else {
10367
10368 }
10369 {
10370# 807 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10371 r = vhost_dev_check_owner(d);
10372 }
10373# 808 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10374 if (r) {
10375# 809 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10376 goto done;
10377 } else {
10378
10379 }
10380# 812 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10381 if ((unsigned long )((int )ioctl) == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 3U) | (sizeof(struct vhost_memory ) << 16))) {
10382# 812 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10383 goto case_exp;
10384 } else
10385# 815 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10386 if ((unsigned long )((int )ioctl) == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 4U) | (sizeof(__u64 ) << 16))) {
10387# 815 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10388 goto case_exp___0;
10389 } else
10390# 837 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10391 if ((unsigned long )((int )ioctl) == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 7U) | (sizeof(int ) << 16))) {
10392# 837 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10393 goto case_exp___1;
10394 } else {
10395# 863 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10396 goto switch_default___0;
10397# 811 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10398 if (0) {
10399 case_exp:
10400 {
10401# 813 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10402 r = vhost_set_memory(d, (struct vhost_memory *)argp);
10403 }
10404# 814 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10405 goto switch_break;
10406 case_exp___0:
10407 {
10408# 816 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10409 tmp = (unsigned long )copy_from_user((void *)(& p), (void const *)argp, sizeof(p));
10410# 816 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10411 tmp___7 = tmp;
10412 }
10413# 816 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10414 if (tmp___7) {
10415# 817 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10416 r = -14L;
10417# 818 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10418 goto switch_break;
10419 } else {
10420
10421 }
10422# 820 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10423 if ((u64 )((unsigned long )p) != p) {
10424# 821 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10425 r = -14L;
10426# 822 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10427 goto switch_break;
10428 } else {
10429
10430 }
10431# 824 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10432 i = 0;
10433 {
10434# 824 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10435 while (1) {
10436 while_continue: ;
10437# 824 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10438 if (i < d->nvqs) {
10439
10440 } else {
10441# 824 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10442 goto while_break;
10443 }
10444 {
10445# 826 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10446 base = (void *)((unsigned long )p);
10447# 827 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10448 vq = d->vqs + i;
10449# 828 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10450 mutex_lock_nested(& vq->mutex, 0U);
10451 }
10452# 830 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10453 if (vq->private_data) {
10454 {
10455# 830 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10456 tmp___8 = vq_log_access_ok(d, vq, base);
10457 }
10458# 830 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10459 if (tmp___8) {
10460# 833 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10461 vq->log_base = base;
10462 } else {
10463# 831 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10464 r = -14L;
10465 }
10466 } else {
10467# 833 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10468 vq->log_base = base;
10469 }
10470 {
10471# 834 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10472 mutex_unlock(& vq->mutex);
10473# 824 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10474 i = i + 1;
10475 }
10476 }
10477 while_break___1: ;
10478 }
10479 while_break: ;
10480# 836 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10481 goto switch_break;
10482 case_exp___1:
10483 {
10484# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10485 might_fault();
10486 }
10487# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10488 if ((int )sizeof(*((int *)argp)) == 1) {
10489# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10490 goto case_1;
10491 } else
10492# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10493 if ((int )sizeof(*((int *)argp)) == 2) {
10494# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10495 goto case_2;
10496 } else
10497# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10498 if ((int )sizeof(*((int *)argp)) == 4) {
10499# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10500 goto case_4;
10501 } else
10502# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10503 if ((int )sizeof(*((int *)argp)) == 8) {
10504# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10505 goto case_8;
10506 } else {
10507# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10508 goto switch_default;
10509# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10510 if (0) {
10511 case_1:
10512# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10513 __asm__ volatile ("call __get_user_"
10514 "1": "=a" (__ret_gu), "=d" (__val_gu): "0" ((int *)argp));
10515# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10516 goto switch_break___0;
10517 case_2:
10518# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10519 __asm__ volatile ("call __get_user_"
10520 "2": "=a" (__ret_gu), "=d" (__val_gu): "0" ((int *)argp));
10521# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10522 goto switch_break___0;
10523 case_4:
10524# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10525 __asm__ volatile ("call __get_user_"
10526 "4": "=a" (__ret_gu), "=d" (__val_gu): "0" ((int *)argp));
10527# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10528 goto switch_break___0;
10529 case_8:
10530# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10531 __asm__ volatile ("call __get_user_"
10532 "8": "=a" (__ret_gu), "=d" (__val_gu): "0" ((int *)argp));
10533# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10534 goto switch_break___0;
10535 switch_default:
10536# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10537 __asm__ volatile ("call __get_user_"
10538 "X": "=a" (__ret_gu), "=d" (__val_gu): "0" ((int *)argp));
10539# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10540 goto switch_break___0;
10541 } else {
10542 switch_break___0: ;
10543 }
10544 }
10545# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10546 fd = (int )__val_gu;
10547# 838 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10548 r = (long )__ret_gu;
10549# 839 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10550 if (r < 0L) {
10551# 840 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10552 goto switch_break;
10553 } else {
10554
10555 }
10556# 841 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10557 if (fd == -1) {
10558# 841 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10559 eventfp = (struct file *)((void *)0);
10560 } else {
10561 {
10562# 841 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10563 tmp___9 = eventfd_fget(fd);
10564# 841 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10565 eventfp = tmp___9;
10566 }
10567 }
10568 {
10569# 842 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10570 tmp___12 = (long )IS_ERR((void const *)eventfp);
10571# 842 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10572 tmp___10 = tmp___12;
10573 }
10574# 842 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10575 if (tmp___10) {
10576 {
10577# 843 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10578 tmp___13 = (long )PTR_ERR((void const *)eventfp);
10579# 843 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10580 r = tmp___13;
10581 }
10582# 844 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10583 goto switch_break;
10584 } else {
10585
10586 }
10587# 846 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10588 if ((unsigned long )eventfp != (unsigned long )d->log_file) {
10589# 847 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10590 filep = d->log_file;
10591# 848 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10592 ctx = d->log_ctx;
10593# 849 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10594 if (eventfp) {
10595 {
10596# 849 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10597 tmp___11 = eventfd_ctx_fileget(eventfp);
10598# 849 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10599 d->log_ctx = tmp___11;
10600 }
10601 } else {
10602# 849 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10603 d->log_ctx = (struct eventfd_ctx *)((void *)0);
10604 }
10605 } else {
10606# 852 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10607 filep = eventfp;
10608 }
10609# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10610 i = 0;
10611 {
10612# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10613 while (1) {
10614 while_continue___0: ;
10615# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10616 if (i < d->nvqs) {
10617
10618 } else {
10619# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10620 goto while_break___0;
10621 }
10622 {
10623# 854 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10624 mutex_lock_nested(& (d->vqs + i)->mutex, 0U);
10625# 855 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10626 (d->vqs + i)->log_ctx = d->log_ctx;
10627# 856 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10628 mutex_unlock(& (d->vqs + i)->mutex);
10629# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10630 i = i + 1;
10631 }
10632 }
10633 while_break___2: ;
10634 }
10635 while_break___0: ;
10636# 858 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10637 if (ctx) {
10638 {
10639# 859 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10640 eventfd_ctx_put(ctx);
10641 }
10642 } else {
10643
10644 }
10645# 860 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10646 if (filep) {
10647 {
10648# 861 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10649 fput(filep);
10650 }
10651 } else {
10652
10653 }
10654# 862 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10655 goto switch_break;
10656 switch_default___0:
10657 {
10658# 864 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10659 r = vhost_set_vring(d, (int )ioctl, argp);
10660 }
10661# 865 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10662 goto switch_break;
10663 } else {
10664 switch_break: ;
10665 }
10666 }
10667 done:
10668# 868 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10669 return (r);
10670}
10671}
10672# 871 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10673static struct vhost_memory_region const *find_region(struct vhost_memory *mem ,
10674 __u64 addr , __u32 len )
10675{ struct vhost_memory_region *reg ;
10676 int i ;
10677
10678 {
10679# 879 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10680 i = 0;
10681 {
10682# 879 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10683 while (1) {
10684 while_continue: ;
10685# 879 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10686 if ((__u32 )i < mem->nregions) {
10687
10688 } else {
10689# 879 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10690 goto while_break;
10691 }
10692# 880 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10693 reg = mem->regions + i;
10694# 881 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10695 if (reg->guest_phys_addr <= addr) {
10696# 881 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10697 if ((reg->guest_phys_addr + reg->memory_size) - 1ULL >= addr) {
10698# 883 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10699 return ((struct vhost_memory_region const *)reg);
10700 } else {
10701
10702 }
10703 } else {
10704
10705 }
10706# 879 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10707 i = i + 1;
10708 }
10709 while_break___0: ;
10710 }
10711 while_break: ;
10712# 885 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10713 return ((struct vhost_memory_region const *)((void *)0));
10714}
10715}
10716# 892 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10717static int set_bit_to_user(int nr , void *addr )
10718{ unsigned long log ;
10719 struct page *page ;
10720 void *base ;
10721 int bit ;
10722 int r ;
10723 long tmp___7 ;
10724
10725 {
10726 {
10727# 894 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10728 log = (unsigned long )addr;
10729# 897 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10730 bit = (int )((unsigned long )nr + (log % (1UL << 12)) * 8UL);
10731# 900 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10732 r = get_user_pages_fast(log, 1, 1, & page);
10733 }
10734# 901 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10735 if (r < 0) {
10736# 902 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10737 return (r);
10738 } else {
10739
10740 }
10741 {
10742# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10743 while (1) {
10744 while_continue: ;
10745 {
10746# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10747 tmp___7 = __builtin_expect((long )(! (! (r != 1))), 0L);
10748 }
10749# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10750 if (tmp___7) {
10751 {
10752# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10753 while (1) {
10754 while_continue___0: ;
10755# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10756 __asm__ volatile ("1:\tud2\n"
10757 ".pushsection __bug_table,\"a\"\n"
10758 "2:\t.long 1b - 2b, %c0 - 2b\n"
10759 "\t.word %c1, 0\n"
10760 "\t.org 2b+%c2\n"
10761 ".popsection": : "i" ("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"),
10762 "i" (903), "i" (sizeof(struct bug_entry )));
10763 {
10764# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10765 while (1) {
10766 while_continue___1: ;
10767
10768 }
10769 while_break___5: ;
10770 }
10771# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10772 goto while_break___0;
10773 }
10774 while_break___4: ;
10775 }
10776 while_break___0: ;
10777 } else {
10778
10779 }
10780# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10781 goto while_break;
10782 }
10783 while_break___3: ;
10784 }
10785 while_break:
10786 {
10787# 904 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10788 base = __kmap_atomic(page);
10789# 905 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10790 set_bit((unsigned int )bit, (unsigned long volatile *)base);
10791 }
10792 {
10793# 906 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10794 while (1) {
10795 while_continue___2: ;
10796 {
10797# 906 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10798 __kunmap_atomic(base);
10799 }
10800# 906 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10801 goto while_break___2;
10802 }
10803 while_break___6: ;
10804 }
10805 while_break___2:
10806 {
10807# 907 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10808 set_page_dirty_lock(page);
10809# 908 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10810 put_page(page);
10811 }
10812# 909 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10813 return (0);
10814}
10815}
10816# 912 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10817static int log_write(void *log_base , u64 write_address , u64 write_length )
10818{ u64 write_page ;
10819 int r ;
10820 u64 base ;
10821 u64 log ;
10822 int bit ;
10823
10824 {
10825# 915 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10826 write_page = write_address / 4096ULL;
10827# 918 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10828 if (! write_length) {
10829# 919 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10830 return (0);
10831 } else {
10832
10833 }
10834# 920 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10835 write_length = write_length + write_address % 4096ULL;
10836 {
10837# 921 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10838 while (1) {
10839 while_continue: ;
10840# 922 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10841 base = (u64 )((unsigned long )log_base);
10842# 923 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10843 log = base + write_page / 8ULL;
10844# 924 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10845 bit = (int )(write_page % 8ULL);
10846# 925 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10847 if ((u64 )((unsigned long )log) != log) {
10848# 926 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10849 return (-14);
10850 } else {
10851
10852 }
10853 {
10854# 927 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10855 r = set_bit_to_user(bit, (void *)((unsigned long )log));
10856 }
10857# 928 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10858 if (r < 0) {
10859# 929 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10860 return (r);
10861 } else {
10862
10863 }
10864# 930 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10865 if (write_length <= 4096ULL) {
10866# 931 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10867 goto while_break;
10868 } else {
10869
10870 }
10871# 932 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10872 write_length = write_length - 4096ULL;
10873# 933 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10874 write_page = write_page + 1ULL;
10875 }
10876 while_break___0: ;
10877 }
10878 while_break: ;
10879# 935 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10880 return (r);
10881}
10882}
10883# 938 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10884int vhost_log_write(struct vhost_virtqueue *vq , struct vhost_log *log , unsigned int log_num ,
10885 u64 len )
10886{ int i ;
10887 int r ;
10888 u64 l ;
10889 u64 _min1 ;
10890 u64 _min2 ;
10891 u64 tmp___7 ;
10892
10893 {
10894# 944 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10895 __asm__ volatile ("": : : "memory");
10896# 945 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10897 i = 0;
10898 {
10899# 945 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10900 while (1) {
10901 while_continue: ;
10902# 945 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10903 if ((unsigned int )i < log_num) {
10904
10905 } else {
10906# 945 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10907 goto while_break;
10908 }
10909# 946 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10910 _min1 = (log + i)->len;
10911# 946 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10912 _min2 = len;
10913# 946 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10914 if (_min1 < _min2) {
10915# 946 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10916 tmp___7 = _min1;
10917 } else {
10918# 946 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10919 tmp___7 = _min2;
10920 }
10921 {
10922# 946 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10923 l = tmp___7;
10924# 947 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10925 r = log_write(vq->log_base, (log + i)->addr, l);
10926 }
10927# 948 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10928 if (r < 0) {
10929# 949 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10930 return (r);
10931 } else {
10932
10933 }
10934# 950 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10935 len = len - l;
10936# 951 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10937 if (! len) {
10938# 952 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10939 if (vq->log_ctx) {
10940 {
10941# 953 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10942 eventfd_signal(vq->log_ctx, 1);
10943 }
10944 } else {
10945
10946 }
10947# 954 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10948 return (0);
10949 } else {
10950
10951 }
10952# 945 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10953 i = i + 1;
10954 }
10955 while_break___1: ;
10956 }
10957 while_break: ;
10958 {
10959# 958 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10960 while (1) {
10961 while_continue___0: ;
10962# 958 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10963 __asm__ volatile ("1:\tud2\n"
10964 ".pushsection __bug_table,\"a\"\n"
10965 "2:\t.long 1b - 2b, %c0 - 2b\n"
10966 "\t.word %c1, 0\n"
10967 "\t.org 2b+%c2\n"
10968 ".popsection": : "i" ("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"),
10969 "i" (958), "i" (sizeof(struct bug_entry )));
10970 {
10971# 958 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10972 while (1) {
10973 while_continue___1: ;
10974
10975 }
10976 while_break___3: ;
10977 }
10978# 958 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10979 goto while_break___0;
10980 }
10981 while_break___2: ;
10982 }
10983 while_break___0: ;
10984# 959 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10985 return (0);
10986}
10987}
10988# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10989static bool __warned___26 ;
10990# 962 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
10991static int translate_desc(struct vhost_dev *dev , u64 addr , u32 len , struct iovec *iov ,
10992 int iov_size )
10993{ struct vhost_memory_region const *reg ;
10994 struct vhost_memory *mem ;
10995 struct iovec *_iov ;
10996 u64 s ;
10997 int ret ;
10998 struct vhost_memory *_________p1 ;
10999 int tmp___7 ;
11000 int tmp___8 ;
11001 u64 size ;
11002 long tmp___9 ;
11003 long tmp___10 ;
11004 u64 _min1 ;
11005 u64 _min2 ;
11006 u64 tmp___11 ;
11007
11008 {
11009 {
11010# 968 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11011 s = (u64 )0;
11012# 969 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11013 ret = 0;
11014# 971 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11015 rcu_read_lock();
11016# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11017 _________p1 = (struct vhost_memory *)*((struct vhost_memory * volatile *)(& dev->memory));
11018 }
11019 {
11020# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11021 while (1) {
11022 while_continue: ;
11023 {
11024# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11025 tmp___7 = debug_lockdep_rcu_enabled();
11026 }
11027# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11028 if (tmp___7) {
11029# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11030 if (! __warned___26) {
11031 {
11032# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11033 tmp___8 = rcu_read_lock_held();
11034 }
11035# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11036 if (tmp___8) {
11037
11038 } else {
11039 {
11040# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11041 __warned___26 = (bool )1;
11042# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11043 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11044 (int const )973);
11045 }
11046 }
11047 } else {
11048
11049 }
11050 } else {
11051
11052 }
11053# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11054 goto while_break;
11055 }
11056 while_break___2: ;
11057 }
11058 while_break: ;
11059 {
11060# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11061 while (1) {
11062 while_continue___0: ;
11063# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11064 goto while_break___0;
11065 }
11066 while_break___3: ;
11067 }
11068 while_break___0:
11069# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11070 mem = _________p1;
11071 {
11072# 974 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11073 while (1) {
11074 while_continue___1: ;
11075# 974 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11076 if ((u64 )len > s) {
11077
11078 } else {
11079# 974 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11080 goto while_break___1;
11081 }
11082 {
11083# 976 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11084 tmp___9 = __builtin_expect((long )(! (! (ret >= iov_size))), 0L);
11085 }
11086# 976 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11087 if (tmp___9) {
11088# 977 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11089 ret = -105;
11090# 978 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11091 goto while_break___1;
11092 } else {
11093
11094 }
11095 {
11096# 980 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11097 reg = find_region(mem, addr, len);
11098# 981 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11099 tmp___10 = __builtin_expect((long )(! (! (! reg))), 0L);
11100 }
11101# 981 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11102 if (tmp___10) {
11103# 982 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11104 ret = -14;
11105# 983 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11106 goto while_break___1;
11107 } else {
11108
11109 }
11110# 985 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11111 _iov = iov + ret;
11112# 986 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11113 size = (u64 )((reg->memory_size - (__u64 const )addr) + reg->guest_phys_addr);
11114# 987 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11115 _min1 = (u64 )len;
11116# 987 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11117 _min2 = size;
11118# 987 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11119 if (_min1 < _min2) {
11120# 987 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11121 tmp___11 = _min1;
11122 } else {
11123# 987 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11124 tmp___11 = _min2;
11125 }
11126# 987 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11127 _iov->iov_len = (__kernel_size_t )tmp___11;
11128# 988 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11129 _iov->iov_base = (void *)((unsigned long )((reg->userspace_addr + (__u64 const )addr) - reg->guest_phys_addr));
11130# 990 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11131 s = s + size;
11132# 991 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11133 addr = addr + size;
11134# 992 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11135 ret = ret + 1;
11136 }
11137 while_break___4: ;
11138 }
11139 while_break___1:
11140 {
11141# 995 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11142 rcu_read_unlock();
11143 }
11144# 996 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11145 return (ret);
11146}
11147}
11148# 1002 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11149static unsigned int next_desc(struct vring_desc *desc )
11150{ unsigned int next ;
11151
11152 {
11153# 1007 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11154 if (! ((int )desc->flags & 1)) {
11155# 1008 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11156 return (4294967295U);
11157 } else {
11158
11159 }
11160# 1011 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11161 next = (unsigned int )desc->next;
11162 {
11163# 1015 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11164 while (1) {
11165 while_continue: ;
11166# 1015 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11167 goto while_break;
11168 }
11169 while_break___0: ;
11170 }
11171 while_break: ;
11172# 1017 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11173 return (next);
11174}
11175}
11176# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11177static int get_indirect(struct vhost_dev *dev , struct vhost_virtqueue *vq , struct iovec *iov ,
11178 unsigned int iov_size , unsigned int *out_num , unsigned int *in_num ,
11179 struct vhost_log *log , unsigned int *log_num , struct vring_desc *indirect ) ;
11180# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11181static struct _ddebug descriptor __attribute__((__used__, __section__("__verbose"),
11182__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11183 "Invalid length in indirect descriptor: len 0x%llx not multiple of 0x%zx\n", 1035U,
11184 0U, (char)0};
11185# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11186static struct _ddebug descriptor___0 __attribute__((__used__, __section__("__verbose"),
11187__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11188 "Translation failure %d in indirect.\n", 1042U, 0U, (char)0};
11189# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11190static struct _ddebug descriptor___1 __attribute__((__used__, __section__("__verbose"),
11191__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11192 "Indirect buffer length too big: %d\n", 1055U, 0U, (char)0};
11193# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11194static struct _ddebug descriptor___2 __attribute__((__used__, __section__("__verbose"),
11195__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11196 "Loop detected: last one at %u indirect size %u\n", 1064U, 0U, (char)0};
11197# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11198static struct _ddebug descriptor___3 __attribute__((__used__, __section__("__verbose"),
11199__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11200 "Failed indirect descriptor: idx %d, %zx\n", 1070U, 0U, (char)0};
11201# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11202static struct _ddebug descriptor___4 __attribute__((__used__, __section__("__verbose"),
11203__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11204 "Nested indirect descriptor: idx %d, %zx\n", 1075U, 0U, (char)0};
11205# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11206static struct _ddebug descriptor___5 __attribute__((__used__, __section__("__verbose"),
11207__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11208 "Translation failure %d indirect idx %d\n", 1083U, 0U, (char)0};
11209# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11210static struct _ddebug descriptor___6 __attribute__((__used__, __section__("__verbose"),
11211__aligned__(8))) = {"vhost_net", "get_indirect", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11212 "Indirect descriptor has out after in: idx %d\n", 1099U, 0U, (char)0};
11213# 1020 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11214static int get_indirect(struct vhost_dev *dev , struct vhost_virtqueue *vq , struct iovec *iov ,
11215 unsigned int iov_size , unsigned int *out_num , unsigned int *in_num ,
11216 struct vhost_log *log , unsigned int *log_num , struct vring_desc *indirect )
11217{ struct vring_desc desc ;
11218 unsigned int i ;
11219 unsigned int count ;
11220 unsigned int found ;
11221 int ret ;
11222 long tmp___7 ;
11223 long tmp___8 ;
11224 long tmp___9 ;
11225 long tmp___10 ;
11226 long tmp___11 ;
11227 long tmp___12 ;
11228 unsigned int iov_count ;
11229 long tmp___13 ;
11230 int tmp___14 ;
11231 long tmp___15 ;
11232 long tmp___16 ;
11233 int tmp___17 ;
11234 int tmp___18 ;
11235 long tmp___19 ;
11236 long tmp___20 ;
11237 long tmp___21 ;
11238 long tmp___22 ;
11239 long tmp___23 ;
11240 long tmp___24 ;
11241 long tmp___25 ;
11242 long tmp___26 ;
11243
11244 {
11245 {
11246# 1027 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11247 i = 0U;
11248# 1027 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11249 found = 0U;
11250# 1031 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11251 tmp___8 = __builtin_expect((long )(! (! ((unsigned long )indirect->len % sizeof(desc)))),
11252 0L);
11253 }
11254# 1031 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11255 if (tmp___8) {
11256 {
11257# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11258 while (1) {
11259 while_continue: ;
11260
11261 {
11262# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11263 while (1) {
11264 while_continue___0: ;
11265 {
11266# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11267 tmp___7 = __builtin_expect((long )(! (! descriptor.enabled)), 0L);
11268 }
11269# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11270 if (tmp___7) {
11271 {
11272# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11273 __dynamic_pr_debug(& descriptor, "Invalid length in indirect descriptor: len 0x%llx not multiple of 0x%zx\n",
11274 (unsigned long long )indirect->len, sizeof(desc));
11275 }
11276 } else {
11277
11278 }
11279# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11280 goto while_break___0;
11281 }
11282 while_break___18: ;
11283 }
11284 while_break___0: ;
11285# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11286 if (vq->error_ctx) {
11287 {
11288# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11289 eventfd_signal(vq->error_ctx, 1);
11290 }
11291 } else {
11292
11293 }
11294# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11295 goto while_break;
11296 }
11297 while_break___17: ;
11298 }
11299 while_break: ;
11300# 1036 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11301 return (-22);
11302 } else {
11303
11304 }
11305 {
11306# 1039 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11307 ret = translate_desc(dev, indirect->addr, indirect->len, vq->indirect, 1024);
11308# 1041 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11309 tmp___10 = __builtin_expect((long )(! (! (ret < 0))), 0L);
11310 }
11311# 1041 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11312 if (tmp___10) {
11313 {
11314# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11315 while (1) {
11316 while_continue___1: ;
11317
11318 {
11319# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11320 while (1) {
11321 while_continue___2: ;
11322 {
11323# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11324 tmp___9 = __builtin_expect((long )(! (! descriptor___0.enabled)), 0L);
11325 }
11326# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11327 if (tmp___9) {
11328 {
11329# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11330 __dynamic_pr_debug(& descriptor___0, "Translation failure %d in indirect.\n",
11331 ret);
11332 }
11333 } else {
11334
11335 }
11336# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11337 goto while_break___2;
11338 }
11339 while_break___20: ;
11340 }
11341 while_break___2: ;
11342# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11343 if (vq->error_ctx) {
11344 {
11345# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11346 eventfd_signal(vq->error_ctx, 1);
11347 }
11348 } else {
11349
11350 }
11351# 1042 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11352 goto while_break___1;
11353 }
11354 while_break___19: ;
11355 }
11356 while_break___1: ;
11357# 1043 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11358 return (ret);
11359 } else {
11360
11361 }
11362 {
11363# 1048 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11364 while (1) {
11365 while_continue___3: ;
11366# 1048 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11367 goto while_break___3;
11368 }
11369 while_break___21: ;
11370 }
11371 while_break___3:
11372 {
11373# 1050 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11374 count = (unsigned int )((unsigned long )indirect->len / sizeof(desc));
11375# 1053 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11376 tmp___12 = __builtin_expect((long )(! (! (count > 65536U))), 0L);
11377 }
11378# 1053 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11379 if (tmp___12) {
11380 {
11381# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11382 while (1) {
11383 while_continue___4: ;
11384
11385 {
11386# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11387 while (1) {
11388 while_continue___5: ;
11389 {
11390# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11391 tmp___11 = __builtin_expect((long )(! (! descriptor___1.enabled)), 0L);
11392 }
11393# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11394 if (tmp___11) {
11395 {
11396# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11397 __dynamic_pr_debug(& descriptor___1, "Indirect buffer length too big: %d\n",
11398 indirect->len);
11399 }
11400 } else {
11401
11402 }
11403# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11404 goto while_break___5;
11405 }
11406 while_break___23: ;
11407 }
11408 while_break___5: ;
11409# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11410 if (vq->error_ctx) {
11411 {
11412# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11413 eventfd_signal(vq->error_ctx, 1);
11414 }
11415 } else {
11416
11417 }
11418# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11419 goto while_break___4;
11420 }
11421 while_break___22: ;
11422 }
11423 while_break___4: ;
11424# 1056 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11425 return (-7);
11426 } else {
11427
11428 }
11429 {
11430# 1059 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11431 while (1) {
11432 while_continue___6: ;
11433# 1060 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11434 iov_count = *in_num + *out_num;
11435# 1061 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11436 found = found + 1U;
11437# 1061 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11438 if (found > count) {
11439# 1061 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11440 tmp___14 = 1;
11441 } else {
11442# 1061 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11443 tmp___14 = 0;
11444 }
11445 {
11446# 1061 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11447 tmp___15 = __builtin_expect((long )tmp___14, 0L);
11448 }
11449# 1061 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11450 if (tmp___15) {
11451 {
11452# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11453 while (1) {
11454 while_continue___7: ;
11455
11456 {
11457# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11458 while (1) {
11459 while_continue___8: ;
11460 {
11461# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11462 tmp___13 = __builtin_expect((long )(! (! descriptor___2.enabled)), 0L);
11463 }
11464# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11465 if (tmp___13) {
11466 {
11467# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11468 __dynamic_pr_debug(& descriptor___2, "Loop detected: last one at %u indirect size %u\n",
11469 i, count);
11470 }
11471 } else {
11472
11473 }
11474# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11475 goto while_break___8;
11476 }
11477 while_break___26: ;
11478 }
11479 while_break___8: ;
11480# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11481 if (vq->error_ctx) {
11482 {
11483# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11484 eventfd_signal(vq->error_ctx, 1);
11485 }
11486 } else {
11487
11488 }
11489# 1062 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11490 goto while_break___7;
11491 }
11492 while_break___25: ;
11493 }
11494 while_break___7: ;
11495# 1065 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11496 return (-22);
11497 } else {
11498
11499 }
11500 {
11501# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11502 tmp___17 = memcpy_fromiovec((unsigned char *)(& desc), vq->indirect, (int )sizeof(desc));
11503 }
11504# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11505 if (tmp___17) {
11506# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11507 tmp___18 = 1;
11508 } else {
11509# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11510 tmp___18 = 0;
11511 }
11512 {
11513# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11514 tmp___19 = __builtin_expect((long )tmp___18, 0L);
11515 }
11516# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11517 if (tmp___19) {
11518 {
11519# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11520 while (1) {
11521 while_continue___9: ;
11522
11523 {
11524# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11525 while (1) {
11526 while_continue___10: ;
11527 {
11528# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11529 tmp___16 = __builtin_expect((long )(! (! descriptor___3.enabled)), 0L);
11530 }
11531# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11532 if (tmp___16) {
11533 {
11534# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11535 __dynamic_pr_debug(& descriptor___3, "Failed indirect descriptor: idx %d, %zx\n",
11536 i, (size_t )indirect->addr + (unsigned long )i * sizeof(desc));
11537 }
11538 } else {
11539
11540 }
11541# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11542 goto while_break___10;
11543 }
11544 while_break___28: ;
11545 }
11546 while_break___10: ;
11547# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11548 if (vq->error_ctx) {
11549 {
11550# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11551 eventfd_signal(vq->error_ctx, 1);
11552 }
11553 } else {
11554
11555 }
11556# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11557 goto while_break___9;
11558 }
11559 while_break___27: ;
11560 }
11561 while_break___9: ;
11562# 1071 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11563 return (-22);
11564 } else {
11565
11566 }
11567 {
11568# 1073 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11569 tmp___21 = __builtin_expect((long )(! (! ((int )desc.flags & 4))), 0L);
11570 }
11571# 1073 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11572 if (tmp___21) {
11573 {
11574# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11575 while (1) {
11576 while_continue___11: ;
11577
11578 {
11579# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11580 while (1) {
11581 while_continue___12: ;
11582 {
11583# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11584 tmp___20 = __builtin_expect((long )(! (! descriptor___4.enabled)), 0L);
11585 }
11586# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11587 if (tmp___20) {
11588 {
11589# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11590 __dynamic_pr_debug(& descriptor___4, "Nested indirect descriptor: idx %d, %zx\n",
11591 i, (size_t )indirect->addr + (unsigned long )i * sizeof(desc));
11592 }
11593 } else {
11594
11595 }
11596# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11597 goto while_break___12;
11598 }
11599 while_break___30: ;
11600 }
11601 while_break___12: ;
11602# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11603 if (vq->error_ctx) {
11604 {
11605# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11606 eventfd_signal(vq->error_ctx, 1);
11607 }
11608 } else {
11609
11610 }
11611# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11612 goto while_break___11;
11613 }
11614 while_break___29: ;
11615 }
11616 while_break___11: ;
11617# 1076 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11618 return (-22);
11619 } else {
11620
11621 }
11622 {
11623# 1079 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11624 ret = translate_desc(dev, desc.addr, desc.len, iov + iov_count, (int )(iov_size - iov_count));
11625# 1081 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11626 tmp___23 = __builtin_expect((long )(! (! (ret < 0))), 0L);
11627 }
11628# 1081 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11629 if (tmp___23) {
11630 {
11631# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11632 while (1) {
11633 while_continue___13: ;
11634
11635 {
11636# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11637 while (1) {
11638 while_continue___14: ;
11639 {
11640# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11641 tmp___22 = __builtin_expect((long )(! (! descriptor___5.enabled)), 0L);
11642 }
11643# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11644 if (tmp___22) {
11645 {
11646# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11647 __dynamic_pr_debug(& descriptor___5, "Translation failure %d indirect idx %d\n",
11648 ret, i);
11649 }
11650 } else {
11651
11652 }
11653# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11654 goto while_break___14;
11655 }
11656 while_break___32: ;
11657 }
11658 while_break___14: ;
11659# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11660 if (vq->error_ctx) {
11661 {
11662# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11663 eventfd_signal(vq->error_ctx, 1);
11664 }
11665 } else {
11666
11667 }
11668# 1082 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11669 goto while_break___13;
11670 }
11671 while_break___31: ;
11672 }
11673 while_break___13: ;
11674# 1084 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11675 return (ret);
11676 } else {
11677
11678 }
11679# 1087 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11680 if ((int )desc.flags & 2) {
11681 {
11682# 1088 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11683 *in_num = *in_num + (unsigned int )ret;
11684# 1089 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11685 tmp___24 = __builtin_expect((long )(! (! log)), 0L);
11686 }
11687# 1089 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11688 if (tmp___24) {
11689# 1090 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11690 (log + *log_num)->addr = desc.addr;
11691# 1091 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11692 (log + *log_num)->len = (u64 )desc.len;
11693# 1092 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11694 *log_num = *log_num + 1U;
11695 } else {
11696
11697 }
11698 } else {
11699 {
11700# 1097 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11701 tmp___26 = __builtin_expect((long )(! (! *in_num)), 0L);
11702 }
11703# 1097 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11704 if (tmp___26) {
11705 {
11706# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11707 while (1) {
11708 while_continue___15: ;
11709
11710 {
11711# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11712 while (1) {
11713 while_continue___16: ;
11714 {
11715# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11716 tmp___25 = __builtin_expect((long )(! (! descriptor___6.enabled)), 0L);
11717 }
11718# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11719 if (tmp___25) {
11720 {
11721# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11722 __dynamic_pr_debug(& descriptor___6, "Indirect descriptor has out after in: idx %d\n",
11723 i);
11724 }
11725 } else {
11726
11727 }
11728# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11729 goto while_break___16;
11730 }
11731 while_break___34: ;
11732 }
11733 while_break___16: ;
11734# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11735 if (vq->error_ctx) {
11736 {
11737# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11738 eventfd_signal(vq->error_ctx, 1);
11739 }
11740 } else {
11741
11742 }
11743# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11744 goto while_break___15;
11745 }
11746 while_break___33: ;
11747 }
11748 while_break___15: ;
11749# 1100 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11750 return (-22);
11751 } else {
11752
11753 }
11754# 1102 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11755 *out_num = *out_num + (unsigned int )ret;
11756 }
11757 {
11758# 1059 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11759 i = next_desc(& desc);
11760 }
11761# 1059 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11762 if (i != 4294967295U) {
11763
11764 } else {
11765# 1059 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11766 goto while_break___6;
11767 }
11768 }
11769 while_break___24: ;
11770 }
11771 while_break___6: ;
11772# 1105 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11773 return (0);
11774}
11775}
11776# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11777static struct _ddebug descriptor___7 __attribute__((__used__, __section__("__verbose"),
11778__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11779 "Failed to access avail idx at %p\n", 1130U, 0U, (char)0};
11780# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11781static struct _ddebug descriptor___8 __attribute__((__used__, __section__("__verbose"),
11782__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11783 "Guest moved used index from %u to %u", 1136U, 0U, (char)0};
11784# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11785static struct _ddebug descriptor___9 __attribute__((__used__, __section__("__verbose"),
11786__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11787 "Failed to read head: idx %d address %p\n", 1153U, 0U, (char)0};
11788# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11789static struct _ddebug descriptor___10 __attribute__((__used__, __section__("__verbose"),
11790__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11791 "Guest says index %u > %u is available", 1160U, 0U, (char)0};
11792# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11793static struct _ddebug descriptor___11 __attribute__((__used__, __section__("__verbose"),
11794__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11795 "Desc index is %u > %u, head = %u", 1174U, 0U, (char)0};
11796# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11797static struct _ddebug descriptor___12 __attribute__((__used__, __section__("__verbose"),
11798__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11799 "Loop detected: last one at %u vq size %u head %u\n", 1180U, 0U, (char)0};
11800# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11801static struct _ddebug descriptor___13 __attribute__((__used__, __section__("__verbose"),
11802__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11803 "Failed to get descriptor: idx %d addr %p\n", 1186U, 0U, (char)0};
11804# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11805static struct _ddebug descriptor___14 __attribute__((__used__, __section__("__verbose"),
11806__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11807 "Failure detected in indirect descriptor at idx %d\n", 1195U, 0U, (char)0};
11808# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11809static struct _ddebug descriptor___15 __attribute__((__used__, __section__("__verbose"),
11810__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11811 "Translation failure %d descriptor idx %d\n", 1205U, 0U, (char)0};
11812# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11813static struct _ddebug descriptor___16 __attribute__((__used__, __section__("__verbose"),
11814__aligned__(8))) = {"vhost_net", "vhost_get_vq_desc", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
11815 "Descriptor has out after in: idx %d\n", 1222U, 0U, (char)0};
11816# 1116 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11817int vhost_get_vq_desc(struct vhost_dev *dev , struct vhost_virtqueue *vq , struct iovec *iov ,
11818 unsigned int iov_size , unsigned int *out_num , unsigned int *in_num ,
11819 struct vhost_log *log , unsigned int *log_num )
11820{ struct vring_desc desc ;
11821 unsigned int i ;
11822 unsigned int head ;
11823 unsigned int found ;
11824 u16 last_avail_idx ;
11825 int ret ;
11826 long tmp___7 ;
11827 int __gu_err ;
11828 unsigned long __gu_val ;
11829 int tmp___8 ;
11830 int tmp___9 ;
11831 long tmp___10 ;
11832 long tmp___11 ;
11833 long tmp___12 ;
11834 long tmp___13 ;
11835 int __gu_err___0 ;
11836 unsigned long __gu_val___0 ;
11837 int tmp___14 ;
11838 int tmp___15 ;
11839 long tmp___16 ;
11840 long tmp___17 ;
11841 long tmp___18 ;
11842 unsigned int tmp___19 ;
11843 long tmp___20 ;
11844 unsigned int iov_count ;
11845 long tmp___21 ;
11846 long tmp___22 ;
11847 long tmp___23 ;
11848 int tmp___24 ;
11849 long tmp___25 ;
11850 long tmp___26 ;
11851 long tmp___27 ;
11852 long tmp___28 ;
11853 long tmp___29 ;
11854 long tmp___30 ;
11855 long tmp___31 ;
11856 long tmp___32 ;
11857 long tmp___33 ;
11858 long tmp___34 ;
11859 long tmp___35 ;
11860 int tmp ;
11861
11862 {
11863# 1122 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11864 found = 0U;
11865# 1127 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11866 last_avail_idx = vq->last_avail_idx;
11867 {
11868# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11869 while (1) {
11870 while_continue: ;
11871# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11872 __gu_err = 0;
11873# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11874 if ((int )sizeof((vq->avail)->idx) == 1) {
11875# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11876 goto case_1;
11877 } else
11878# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11879 if ((int )sizeof((vq->avail)->idx) == 2) {
11880# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11881 goto case_2;
11882 } else
11883# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11884 if ((int )sizeof((vq->avail)->idx) == 4) {
11885# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11886 goto case_4;
11887 } else
11888# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11889 if ((int )sizeof((vq->avail)->idx) == 8) {
11890# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11891 goto case_8;
11892 } else {
11893# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11894 goto switch_default;
11895# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11896 if (0) {
11897 case_1:
11898# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11899 __asm__ volatile ("1:\tmov"
11900 "b"
11901 " %2,%"
11902 "b"
11903 "1\n"
11904 "2:\n"
11905 ".section .fixup,\"ax\"\n"
11906 "3:\tmov %3,%0\n"
11907 "\txor"
11908 "b"
11909 " %"
11910 "b"
11911 "1,%"
11912 "b"
11913 "1\n"
11914 "\tjmp 2b\n"
11915 ".previous\n"
11916 " .section __ex_table,\"a\"\n"
11917 " "
11918 ".balign 8"
11919 " "
11920 "\n"
11921 " "
11922 ".quad"
11923 " "
11924 "1b"
11925 ","
11926 "3b"
11927 "\n"
11928 " .previous\n": "=r" (__gu_err), "=q" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
11929 "i" (-14), "0" (__gu_err));
11930# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11931 goto switch_break;
11932 case_2:
11933# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11934 __asm__ volatile ("1:\tmov"
11935 "w"
11936 " %2,%"
11937 "w"
11938 "1\n"
11939 "2:\n"
11940 ".section .fixup,\"ax\"\n"
11941 "3:\tmov %3,%0\n"
11942 "\txor"
11943 "w"
11944 " %"
11945 "w"
11946 "1,%"
11947 "w"
11948 "1\n"
11949 "\tjmp 2b\n"
11950 ".previous\n"
11951 " .section __ex_table,\"a\"\n"
11952 " "
11953 ".balign 8"
11954 " "
11955 "\n"
11956 " "
11957 ".quad"
11958 " "
11959 "1b"
11960 ","
11961 "3b"
11962 "\n"
11963 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
11964 "i" (-14), "0" (__gu_err));
11965# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11966 goto switch_break;
11967 case_4:
11968# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
11969 __asm__ volatile ("1:\tmov"
11970 "l"
11971 " %2,%"
11972 "k"
11973 "1\n"
11974 "2:\n"
11975 ".section .fixup,\"ax\"\n"
11976 "3:\tmov %3,%0\n"
11977 "\txor"
11978 "l"
11979 " %"
11980 "k"
11981 "1,%"
11982 "k"
11983 "1\n"
11984 "\tjmp 2b\n"
11985 ".previous\n"
11986 " .section __ex_table,\"a\"\n"
11987 " "
11988 ".balign 8"
11989 " "
11990 "\n"
11991 " "
11992 ".quad"
11993 " "
11994 "1b"
11995 ","
11996 "3b"
11997 "\n"
11998 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
11999 "i" (-14), "0" (__gu_err));
12000# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12001 goto switch_break;
12002 case_8:
12003# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12004 __asm__ volatile ("1:\tmov"
12005 "q"
12006 " %2,%"
12007 ""
12008 "1\n"
12009 "2:\n"
12010 ".section .fixup,\"ax\"\n"
12011 "3:\tmov %3,%0\n"
12012 "\txor"
12013 "q"
12014 " %"
12015 ""
12016 "1,%"
12017 ""
12018 "1\n"
12019 "\tjmp 2b\n"
12020 ".previous\n"
12021 " .section __ex_table,\"a\"\n"
12022 " "
12023 ".balign 8"
12024 " "
12025 "\n"
12026 " "
12027 ".quad"
12028 " "
12029 "1b"
12030 ","
12031 "3b"
12032 "\n"
12033 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
12034 "i" (-14), "0" (__gu_err));
12035# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12036 goto switch_break;
12037 switch_default:
12038 {
12039# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12040 tmp___8 = __get_user_bad();
12041# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12042 __gu_val = (unsigned long )tmp___8;
12043 }
12044 } else {
12045 switch_break: ;
12046 }
12047 }
12048# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12049 goto while_break;
12050 }
12051 while_break___24: ;
12052 }
12053 while_break:
12054# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12055 vq->avail_idx = (__u16 )__gu_val;
12056# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12057 if (__gu_err) {
12058# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12059 tmp___9 = 1;
12060 } else {
12061# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12062 tmp___9 = 0;
12063 }
12064 {
12065# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12066 tmp___10 = __builtin_expect((long )tmp___9, 0L);
12067 }
12068# 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12069 if (tmp___10) {
12070 {
12071# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12072 while (1) {
12073 while_continue___0: ;
12074
12075 {
12076# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12077 while (1) {
12078 while_continue___1: ;
12079 {
12080# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12081 tmp___7 = __builtin_expect((long )(! (! descriptor___7.enabled)), 0L);
12082 }
12083# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12084 if (tmp___7) {
12085 {
12086# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12087 __dynamic_pr_debug(& descriptor___7, "Failed to access avail idx at %p\n",
12088 & (vq->avail)->idx);
12089 }
12090 } else {
12091
12092 }
12093# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12094 goto while_break___1;
12095 }
12096 while_break___26: ;
12097 }
12098 while_break___1: ;
12099# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12100 if (vq->error_ctx) {
12101 {
12102# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12103 eventfd_signal(vq->error_ctx, 1);
12104 }
12105 } else {
12106
12107 }
12108# 1129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12109 goto while_break___0;
12110 }
12111 while_break___25: ;
12112 }
12113 while_break___0: ;
12114# 1131 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12115 return (-14);
12116 } else {
12117
12118 }
12119 {
12120# 1134 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12121 tmp___12 = __builtin_expect((long )(! (! ((unsigned int )((u16 )((int )vq->avail_idx - (int )last_avail_idx)) > vq->num))),
12122 0L);
12123 }
12124# 1134 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12125 if (tmp___12) {
12126 {
12127# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12128 while (1) {
12129 while_continue___2: ;
12130
12131 {
12132# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12133 while (1) {
12134 while_continue___3: ;
12135 {
12136# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12137 tmp___11 = __builtin_expect((long )(! (! descriptor___8.enabled)), 0L);
12138 }
12139# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12140 if (tmp___11) {
12141 {
12142# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12143 __dynamic_pr_debug(& descriptor___8, "Guest moved used index from %u to %u",
12144 (int )last_avail_idx, (int )vq->avail_idx);
12145 }
12146 } else {
12147
12148 }
12149# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12150 goto while_break___3;
12151 }
12152 while_break___28: ;
12153 }
12154 while_break___3: ;
12155# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12156 if (vq->error_ctx) {
12157 {
12158# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12159 eventfd_signal(vq->error_ctx, 1);
12160 }
12161 } else {
12162
12163 }
12164# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12165 goto while_break___2;
12166 }
12167 while_break___27: ;
12168 }
12169 while_break___2: ;
12170# 1137 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12171 return (-14);
12172 } else {
12173
12174 }
12175# 1141 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12176 if ((int )vq->avail_idx == (int )last_avail_idx) {
12177# 1142 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12178 return ((int )vq->num);
12179 } else {
12180
12181 }
12182# 1145 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12183 __asm__ volatile ("": : : "memory");
12184 {
12185# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12186 while (1) {
12187 while_continue___4: ;
12188# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12189 __gu_err___0 = 0;
12190# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12191 if ((int )sizeof((vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]) == 1) {
12192# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12193 goto case_1___0;
12194 } else
12195# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12196 if ((int )sizeof((vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]) == 2) {
12197# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12198 goto case_2___0;
12199 } else
12200# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12201 if ((int )sizeof((vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]) == 4) {
12202# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12203 goto case_4___0;
12204 } else
12205# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12206 if ((int )sizeof((vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]) == 8) {
12207# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12208 goto case_8___0;
12209 } else {
12210# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12211 goto switch_default___0;
12212# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12213 if (0) {
12214 case_1___0:
12215# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12216 __asm__ volatile ("1:\tmov"
12217 "b"
12218 " %2,%"
12219 "b"
12220 "1\n"
12221 "2:\n"
12222 ".section .fixup,\"ax\"\n"
12223 "3:\tmov %3,%0\n"
12224 "\txor"
12225 "b"
12226 " %"
12227 "b"
12228 "1,%"
12229 "b"
12230 "1\n"
12231 "\tjmp 2b\n"
12232 ".previous\n"
12233 " .section __ex_table,\"a\"\n"
12234 " "
12235 ".balign 8"
12236 " "
12237 "\n"
12238 " "
12239 ".quad"
12240 " "
12241 "1b"
12242 ","
12243 "3b"
12244 "\n"
12245 " .previous\n": "=r" (__gu_err___0), "=q" (__gu_val___0): "m" (*((struct __large_struct *)(& (vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]))),
12246 "i" (-14), "0" (__gu_err___0));
12247# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12248 goto switch_break___0;
12249 case_2___0:
12250# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12251 __asm__ volatile ("1:\tmov"
12252 "w"
12253 " %2,%"
12254 "w"
12255 "1\n"
12256 "2:\n"
12257 ".section .fixup,\"ax\"\n"
12258 "3:\tmov %3,%0\n"
12259 "\txor"
12260 "w"
12261 " %"
12262 "w"
12263 "1,%"
12264 "w"
12265 "1\n"
12266 "\tjmp 2b\n"
12267 ".previous\n"
12268 " .section __ex_table,\"a\"\n"
12269 " "
12270 ".balign 8"
12271 " "
12272 "\n"
12273 " "
12274 ".quad"
12275 " "
12276 "1b"
12277 ","
12278 "3b"
12279 "\n"
12280 " .previous\n": "=r" (__gu_err___0), "=r" (__gu_val___0): "m" (*((struct __large_struct *)(& (vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]))),
12281 "i" (-14), "0" (__gu_err___0));
12282# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12283 goto switch_break___0;
12284 case_4___0:
12285# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12286 __asm__ volatile ("1:\tmov"
12287 "l"
12288 " %2,%"
12289 "k"
12290 "1\n"
12291 "2:\n"
12292 ".section .fixup,\"ax\"\n"
12293 "3:\tmov %3,%0\n"
12294 "\txor"
12295 "l"
12296 " %"
12297 "k"
12298 "1,%"
12299 "k"
12300 "1\n"
12301 "\tjmp 2b\n"
12302 ".previous\n"
12303 " .section __ex_table,\"a\"\n"
12304 " "
12305 ".balign 8"
12306 " "
12307 "\n"
12308 " "
12309 ".quad"
12310 " "
12311 "1b"
12312 ","
12313 "3b"
12314 "\n"
12315 " .previous\n": "=r" (__gu_err___0), "=r" (__gu_val___0): "m" (*((struct __large_struct *)(& (vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]))),
12316 "i" (-14), "0" (__gu_err___0));
12317# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12318 goto switch_break___0;
12319 case_8___0:
12320# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12321 __asm__ volatile ("1:\tmov"
12322 "q"
12323 " %2,%"
12324 ""
12325 "1\n"
12326 "2:\n"
12327 ".section .fixup,\"ax\"\n"
12328 "3:\tmov %3,%0\n"
12329 "\txor"
12330 "q"
12331 " %"
12332 ""
12333 "1,%"
12334 ""
12335 "1\n"
12336 "\tjmp 2b\n"
12337 ".previous\n"
12338 " .section __ex_table,\"a\"\n"
12339 " "
12340 ".balign 8"
12341 " "
12342 "\n"
12343 " "
12344 ".quad"
12345 " "
12346 "1b"
12347 ","
12348 "3b"
12349 "\n"
12350 " .previous\n": "=r" (__gu_err___0), "=r" (__gu_val___0): "m" (*((struct __large_struct *)(& (vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]))),
12351 "i" (-14), "0" (__gu_err___0));
12352# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12353 goto switch_break___0;
12354 switch_default___0:
12355 {
12356# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12357 tmp___14 = __get_user_bad();
12358# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12359 __gu_val___0 = (unsigned long )tmp___14;
12360 }
12361 } else {
12362 switch_break___0: ;
12363 }
12364 }
12365# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12366 goto while_break___4;
12367 }
12368 while_break___29: ;
12369 }
12370 while_break___4:
12371# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12372 head = (unsigned int )((__u16 )__gu_val___0);
12373# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12374 if (__gu_err___0) {
12375# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12376 tmp___15 = 1;
12377 } else {
12378# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12379 tmp___15 = 0;
12380 }
12381 {
12382# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12383 tmp___16 = __builtin_expect((long )tmp___15, 0L);
12384 }
12385# 1149 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12386 if (tmp___16) {
12387 {
12388# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12389 while (1) {
12390 while_continue___5: ;
12391
12392 {
12393# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12394 while (1) {
12395 while_continue___6: ;
12396 {
12397# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12398 tmp___13 = __builtin_expect((long )(! (! descriptor___9.enabled)), 0L);
12399 }
12400# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12401 if (tmp___13) {
12402 {
12403# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12404 __dynamic_pr_debug(& descriptor___9, "Failed to read head: idx %d address %p\n",
12405 (int )last_avail_idx, & (vq->avail)->ring[(unsigned int )last_avail_idx % vq->num]);
12406 }
12407 } else {
12408
12409 }
12410# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12411 goto while_break___6;
12412 }
12413 while_break___31: ;
12414 }
12415 while_break___6: ;
12416# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12417 if (vq->error_ctx) {
12418 {
12419# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12420 eventfd_signal(vq->error_ctx, 1);
12421 }
12422 } else {
12423
12424 }
12425# 1151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12426 goto while_break___5;
12427 }
12428 while_break___30: ;
12429 }
12430 while_break___5: ;
12431# 1154 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12432 return (-14);
12433 } else {
12434
12435 }
12436 {
12437# 1158 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12438 tmp___18 = __builtin_expect((long )(! (! (head >= vq->num))), 0L);
12439 }
12440# 1158 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12441 if (tmp___18) {
12442 {
12443# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12444 while (1) {
12445 while_continue___7: ;
12446
12447 {
12448# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12449 while (1) {
12450 while_continue___8: ;
12451 {
12452# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12453 tmp___17 = __builtin_expect((long )(! (! descriptor___10.enabled)), 0L);
12454 }
12455# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12456 if (tmp___17) {
12457 {
12458# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12459 __dynamic_pr_debug(& descriptor___10, "Guest says index %u > %u is available",
12460 head, vq->num);
12461 }
12462 } else {
12463
12464 }
12465# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12466 goto while_break___8;
12467 }
12468 while_break___33: ;
12469 }
12470 while_break___8: ;
12471# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12472 if (vq->error_ctx) {
12473 {
12474# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12475 eventfd_signal(vq->error_ctx, 1);
12476 }
12477 } else {
12478
12479 }
12480# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12481 goto while_break___7;
12482 }
12483 while_break___32: ;
12484 }
12485 while_break___7: ;
12486# 1161 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12487 return (-22);
12488 } else {
12489
12490 }
12491 {
12492# 1165 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12493 tmp___19 = 0U;
12494# 1165 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12495 *in_num = tmp___19;
12496# 1165 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12497 *out_num = tmp___19;
12498# 1166 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12499 tmp___20 = __builtin_expect((long )(! (! log)), 0L);
12500 }
12501# 1166 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12502 if (tmp___20) {
12503# 1167 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12504 *log_num = 0U;
12505 } else {
12506
12507 }
12508# 1169 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12509 i = head;
12510 {
12511# 1170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12512 while (1) {
12513 while_continue___9: ;
12514 {
12515# 1171 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12516 iov_count = *in_num + *out_num;
12517# 1172 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12518 tmp___22 = __builtin_expect((long )(! (! (i >= vq->num))), 0L);
12519 }
12520# 1172 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12521 if (tmp___22) {
12522 {
12523# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12524 while (1) {
12525 while_continue___10: ;
12526
12527 {
12528# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12529 while (1) {
12530 while_continue___11: ;
12531 {
12532# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12533 tmp___21 = __builtin_expect((long )(! (! descriptor___11.enabled)), 0L);
12534 }
12535# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12536 if (tmp___21) {
12537 {
12538# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12539 __dynamic_pr_debug(& descriptor___11, "Desc index is %u > %u, head = %u",
12540 i, vq->num, head);
12541 }
12542 } else {
12543
12544 }
12545# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12546 goto while_break___11;
12547 }
12548 while_break___36: ;
12549 }
12550 while_break___11: ;
12551# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12552 if (vq->error_ctx) {
12553 {
12554# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12555 eventfd_signal(vq->error_ctx, 1);
12556 }
12557 } else {
12558
12559 }
12560# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12561 goto while_break___10;
12562 }
12563 while_break___35: ;
12564 }
12565 while_break___10: ;
12566# 1175 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12567 return (-22);
12568 } else {
12569
12570 }
12571# 1177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12572 found = found + 1U;
12573# 1177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12574 if (found > vq->num) {
12575# 1177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12576 tmp___24 = 1;
12577 } else {
12578# 1177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12579 tmp___24 = 0;
12580 }
12581 {
12582# 1177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12583 tmp___25 = __builtin_expect((long )tmp___24, 0L);
12584 }
12585# 1177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12586 if (tmp___25) {
12587 {
12588# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12589 while (1) {
12590 while_continue___12: ;
12591
12592 {
12593# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12594 while (1) {
12595 while_continue___13: ;
12596 {
12597# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12598 tmp___23 = __builtin_expect((long )(! (! descriptor___12.enabled)), 0L);
12599 }
12600# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12601 if (tmp___23) {
12602 {
12603# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12604 __dynamic_pr_debug(& descriptor___12, "Loop detected: last one at %u vq size %u head %u\n",
12605 i, vq->num, head);
12606 }
12607 } else {
12608
12609 }
12610# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12611 goto while_break___13;
12612 }
12613 while_break___38: ;
12614 }
12615 while_break___13: ;
12616# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12617 if (vq->error_ctx) {
12618 {
12619# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12620 eventfd_signal(vq->error_ctx, 1);
12621 }
12622 } else {
12623
12624 }
12625# 1178 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12626 goto while_break___12;
12627 }
12628 while_break___37: ;
12629 }
12630 while_break___12: ;
12631# 1181 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12632 return (-22);
12633 } else {
12634
12635 }
12636 {
12637# 1183 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12638 tmp = (int )__copy_from_user((void *)(& desc), (void const *)(vq->desc + i),
12639 (unsigned int )sizeof(desc));
12640# 1183 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12641 ret = tmp;
12642# 1184 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12643 tmp___27 = __builtin_expect((long )(! (! ret)), 0L);
12644 }
12645# 1184 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12646 if (tmp___27) {
12647 {
12648# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12649 while (1) {
12650 while_continue___14: ;
12651
12652 {
12653# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12654 while (1) {
12655 while_continue___15: ;
12656 {
12657# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12658 tmp___26 = __builtin_expect((long )(! (! descriptor___13.enabled)), 0L);
12659 }
12660# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12661 if (tmp___26) {
12662 {
12663# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12664 __dynamic_pr_debug(& descriptor___13, "Failed to get descriptor: idx %d addr %p\n",
12665 i, vq->desc + i);
12666 }
12667 } else {
12668
12669 }
12670# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12671 goto while_break___15;
12672 }
12673 while_break___40: ;
12674 }
12675 while_break___15: ;
12676# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12677 if (vq->error_ctx) {
12678 {
12679# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12680 eventfd_signal(vq->error_ctx, 1);
12681 }
12682 } else {
12683
12684 }
12685# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12686 goto while_break___14;
12687 }
12688 while_break___39: ;
12689 }
12690 while_break___14: ;
12691# 1187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12692 return (-14);
12693 } else {
12694
12695 }
12696# 1189 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12697 if ((int )desc.flags & 4) {
12698 {
12699# 1190 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12700 ret = get_indirect(dev, vq, iov, iov_size, out_num, in_num, log, log_num, & desc);
12701# 1193 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12702 tmp___29 = __builtin_expect((long )(! (! (ret < 0))), 0L);
12703 }
12704# 1193 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12705 if (tmp___29) {
12706 {
12707# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12708 while (1) {
12709 while_continue___16: ;
12710
12711 {
12712# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12713 while (1) {
12714 while_continue___17: ;
12715 {
12716# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12717 tmp___28 = __builtin_expect((long )(! (! descriptor___14.enabled)), 0L);
12718 }
12719# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12720 if (tmp___28) {
12721 {
12722# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12723 __dynamic_pr_debug(& descriptor___14, "Failure detected in indirect descriptor at idx %d\n",
12724 i);
12725 }
12726 } else {
12727
12728 }
12729# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12730 goto while_break___17;
12731 }
12732 while_break___42: ;
12733 }
12734 while_break___17: ;
12735# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12736 if (vq->error_ctx) {
12737 {
12738# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12739 eventfd_signal(vq->error_ctx, 1);
12740 }
12741 } else {
12742
12743 }
12744# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12745 goto while_break___16;
12746 }
12747 while_break___41: ;
12748 }
12749 while_break___16: ;
12750# 1196 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12751 return (ret);
12752 } else {
12753
12754 }
12755# 1198 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12756 goto __Cont;
12757 } else {
12758
12759 }
12760 {
12761# 1201 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12762 ret = translate_desc(dev, desc.addr, desc.len, iov + iov_count, (int )(iov_size - iov_count));
12763# 1203 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12764 tmp___31 = __builtin_expect((long )(! (! (ret < 0))), 0L);
12765 }
12766# 1203 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12767 if (tmp___31) {
12768 {
12769# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12770 while (1) {
12771 while_continue___18: ;
12772
12773 {
12774# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12775 while (1) {
12776 while_continue___19: ;
12777 {
12778# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12779 tmp___30 = __builtin_expect((long )(! (! descriptor___15.enabled)), 0L);
12780 }
12781# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12782 if (tmp___30) {
12783 {
12784# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12785 __dynamic_pr_debug(& descriptor___15, "Translation failure %d descriptor idx %d\n",
12786 ret, i);
12787 }
12788 } else {
12789
12790 }
12791# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12792 goto while_break___19;
12793 }
12794 while_break___44: ;
12795 }
12796 while_break___19: ;
12797# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12798 if (vq->error_ctx) {
12799 {
12800# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12801 eventfd_signal(vq->error_ctx, 1);
12802 }
12803 } else {
12804
12805 }
12806# 1204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12807 goto while_break___18;
12808 }
12809 while_break___43: ;
12810 }
12811 while_break___18: ;
12812# 1206 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12813 return (ret);
12814 } else {
12815
12816 }
12817# 1208 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12818 if ((int )desc.flags & 2) {
12819 {
12820# 1211 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12821 *in_num = *in_num + (unsigned int )ret;
12822# 1212 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12823 tmp___32 = __builtin_expect((long )(! (! log)), 0L);
12824 }
12825# 1212 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12826 if (tmp___32) {
12827# 1213 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12828 (log + *log_num)->addr = desc.addr;
12829# 1214 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12830 (log + *log_num)->len = (u64 )desc.len;
12831# 1215 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12832 *log_num = *log_num + 1U;
12833 } else {
12834
12835 }
12836 } else {
12837 {
12838# 1220 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12839 tmp___34 = __builtin_expect((long )(! (! *in_num)), 0L);
12840 }
12841# 1220 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12842 if (tmp___34) {
12843 {
12844# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12845 while (1) {
12846 while_continue___20: ;
12847
12848 {
12849# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12850 while (1) {
12851 while_continue___21: ;
12852 {
12853# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12854 tmp___33 = __builtin_expect((long )(! (! descriptor___16.enabled)), 0L);
12855 }
12856# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12857 if (tmp___33) {
12858 {
12859# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12860 __dynamic_pr_debug(& descriptor___16, "Descriptor has out after in: idx %d\n",
12861 i);
12862 }
12863 } else {
12864
12865 }
12866# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12867 goto while_break___21;
12868 }
12869 while_break___46: ;
12870 }
12871 while_break___21: ;
12872# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12873 if (vq->error_ctx) {
12874 {
12875# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12876 eventfd_signal(vq->error_ctx, 1);
12877 }
12878 } else {
12879
12880 }
12881# 1221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12882 goto while_break___20;
12883 }
12884 while_break___45: ;
12885 }
12886 while_break___20: ;
12887# 1223 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12888 return (-22);
12889 } else {
12890
12891 }
12892# 1225 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12893 *out_num = *out_num + (unsigned int )ret;
12894 }
12895 __Cont:
12896 {
12897# 1170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12898 i = next_desc(& desc);
12899 }
12900# 1170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12901 if (i != 4294967295U) {
12902
12903 } else {
12904# 1170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12905 goto while_break___9;
12906 }
12907 }
12908 while_break___34: ;
12909 }
12910 while_break___9:
12911# 1230 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12912 vq->last_avail_idx = (u16 )((int )vq->last_avail_idx + 1);
12913 {
12914# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12915 while (1) {
12916 while_continue___22: ;
12917 {
12918# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12919 tmp___35 = __builtin_expect((long )(! (! (! ((int )vq->used_flags & 1)))), 0L);
12920 }
12921# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12922 if (tmp___35) {
12923 {
12924# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12925 while (1) {
12926 while_continue___23: ;
12927# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12928 __asm__ volatile ("1:\tud2\n"
12929 ".pushsection __bug_table,\"a\"\n"
12930 "2:\t.long 1b - 2b, %c0 - 2b\n"
12931 "\t.word %c1, 0\n"
12932 "\t.org 2b+%c2\n"
12933 ".popsection": : "i" ("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"),
12934 "i" (1234), "i" (sizeof(struct bug_entry )));
12935 {
12936# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12937 while (1) {
12938 while_continue___24: ;
12939
12940 }
12941 while_break___49: ;
12942 }
12943# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12944 goto while_break___23;
12945 }
12946 while_break___48: ;
12947 }
12948 while_break___23: ;
12949 } else {
12950
12951 }
12952# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12953 goto while_break___22;
12954 }
12955 while_break___47: ;
12956 }
12957 while_break___22: ;
12958# 1235 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12959 return ((int )head);
12960}
12961}
12962# 1239 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12963void vhost_discard_vq_desc(struct vhost_virtqueue *vq , int n )
12964{
12965
12966 {
12967# 1241 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12968 vq->last_avail_idx = (u16 )((int )vq->last_avail_idx - n);
12969# 1242 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12970 return;
12971}
12972}
12973# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12974static struct _ddebug descriptor___17 __attribute__((__used__, __section__("__verbose"),
12975__aligned__(8))) = {"vhost_net", "vhost_add_used", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
12976 "Failed to write used id", 1254U, 0U, (char)0};
12977# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12978static struct _ddebug descriptor___18 __attribute__((__used__, __section__("__verbose"),
12979__aligned__(8))) = {"vhost_net", "vhost_add_used", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
12980 "Failed to write used len", 1258U, 0U, (char)0};
12981# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12982static struct _ddebug descriptor___19 __attribute__((__used__, __section__("__verbose"),
12983__aligned__(8))) = {"vhost_net", "vhost_add_used", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
12984 "Failed to increment used idx", 1264U, 0U, (char)0};
12985# 1246 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12986int vhost_add_used(struct vhost_virtqueue *vq , unsigned int head , int len )
12987{ struct vring_used_elem *used ;
12988 long tmp___7 ;
12989 int __pu_err ;
12990 long tmp___8 ;
12991 int __pu_err___0 ;
12992 long tmp___9 ;
12993 int __pu_err___1 ;
12994 long tmp___10 ;
12995 long tmp___11 ;
12996
12997 {
12998# 1252 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
12999 used = & (vq->used)->ring[(unsigned int )vq->last_used_idx % vq->num];
13000 {
13001# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13002 while (1) {
13003 while_continue: ;
13004# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13005 __pu_err = 0;
13006# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13007 if ((int )sizeof(used->id) == 1) {
13008# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13009 goto case_1;
13010 } else
13011# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13012 if ((int )sizeof(used->id) == 2) {
13013# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13014 goto case_2;
13015 } else
13016# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13017 if ((int )sizeof(used->id) == 4) {
13018# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13019 goto case_4;
13020 } else
13021# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13022 if ((int )sizeof(used->id) == 8) {
13023# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13024 goto case_8;
13025 } else {
13026# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13027 goto switch_default;
13028# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13029 if (0) {
13030 case_1:
13031# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13032 __asm__ volatile ("1:\tmov"
13033 "b"
13034 " %"
13035 "b"
13036 "1,%2\n"
13037 "2:\n"
13038 ".section .fixup,\"ax\"\n"
13039 "3:\tmov %3,%0\n"
13040 "\tjmp 2b\n"
13041 ".previous\n"
13042 " .section __ex_table,\"a\"\n"
13043 " "
13044 ".balign 8"
13045 " "
13046 "\n"
13047 " "
13048 ".quad"
13049 " "
13050 "1b"
13051 ","
13052 "3b"
13053 "\n"
13054 " .previous\n": "=r" (__pu_err): "iq" (head), "m" (*((struct __large_struct *)(& used->id))),
13055 "i" (-14), "0" (__pu_err));
13056# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13057 goto switch_break;
13058 case_2:
13059# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13060 __asm__ volatile ("1:\tmov"
13061 "w"
13062 " %"
13063 "w"
13064 "1,%2\n"
13065 "2:\n"
13066 ".section .fixup,\"ax\"\n"
13067 "3:\tmov %3,%0\n"
13068 "\tjmp 2b\n"
13069 ".previous\n"
13070 " .section __ex_table,\"a\"\n"
13071 " "
13072 ".balign 8"
13073 " "
13074 "\n"
13075 " "
13076 ".quad"
13077 " "
13078 "1b"
13079 ","
13080 "3b"
13081 "\n"
13082 " .previous\n": "=r" (__pu_err): "ir" (head), "m" (*((struct __large_struct *)(& used->id))),
13083 "i" (-14), "0" (__pu_err));
13084# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13085 goto switch_break;
13086 case_4:
13087# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13088 __asm__ volatile ("1:\tmov"
13089 "l"
13090 " %"
13091 "k"
13092 "1,%2\n"
13093 "2:\n"
13094 ".section .fixup,\"ax\"\n"
13095 "3:\tmov %3,%0\n"
13096 "\tjmp 2b\n"
13097 ".previous\n"
13098 " .section __ex_table,\"a\"\n"
13099 " "
13100 ".balign 8"
13101 " "
13102 "\n"
13103 " "
13104 ".quad"
13105 " "
13106 "1b"
13107 ","
13108 "3b"
13109 "\n"
13110 " .previous\n": "=r" (__pu_err): "ir" (head), "m" (*((struct __large_struct *)(& used->id))),
13111 "i" (-14), "0" (__pu_err));
13112# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13113 goto switch_break;
13114 case_8:
13115# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13116 __asm__ volatile ("1:\tmov"
13117 "q"
13118 " %"
13119 ""
13120 "1,%2\n"
13121 "2:\n"
13122 ".section .fixup,\"ax\"\n"
13123 "3:\tmov %3,%0\n"
13124 "\tjmp 2b\n"
13125 ".previous\n"
13126 " .section __ex_table,\"a\"\n"
13127 " "
13128 ".balign 8"
13129 " "
13130 "\n"
13131 " "
13132 ".quad"
13133 " "
13134 "1b"
13135 ","
13136 "3b"
13137 "\n"
13138 " .previous\n": "=r" (__pu_err): "er" (head), "m" (*((struct __large_struct *)(& used->id))),
13139 "i" (-14), "0" (__pu_err));
13140# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13141 goto switch_break;
13142 switch_default:
13143 {
13144# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13145 __put_user_bad();
13146 }
13147 } else {
13148 switch_break: ;
13149 }
13150 }
13151# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13152 goto while_break;
13153 }
13154 while_break___8: ;
13155 }
13156 while_break: ;
13157# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13158 if (__pu_err) {
13159 {
13160# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13161 while (1) {
13162 while_continue___0: ;
13163
13164 {
13165# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13166 while (1) {
13167 while_continue___1: ;
13168 {
13169# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13170 tmp___7 = __builtin_expect((long )(! (! descriptor___17.enabled)), 0L);
13171 }
13172# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13173 if (tmp___7) {
13174 {
13175# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13176 __dynamic_pr_debug(& descriptor___17, "Failed to write used id");
13177 }
13178 } else {
13179
13180 }
13181# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13182 goto while_break___1;
13183 }
13184 while_break___10: ;
13185 }
13186 while_break___1: ;
13187# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13188 if (vq->error_ctx) {
13189 {
13190# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13191 eventfd_signal(vq->error_ctx, 1);
13192 }
13193 } else {
13194
13195 }
13196# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13197 goto while_break___0;
13198 }
13199 while_break___9: ;
13200 }
13201 while_break___0: ;
13202# 1255 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13203 return (-14);
13204 } else {
13205
13206 }
13207 {
13208# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13209 while (1) {
13210 while_continue___2: ;
13211# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13212 __pu_err___0 = 0;
13213# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13214 if ((int )sizeof(used->len) == 1) {
13215# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13216 goto case_1___0;
13217 } else
13218# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13219 if ((int )sizeof(used->len) == 2) {
13220# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13221 goto case_2___0;
13222 } else
13223# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13224 if ((int )sizeof(used->len) == 4) {
13225# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13226 goto case_4___0;
13227 } else
13228# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13229 if ((int )sizeof(used->len) == 8) {
13230# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13231 goto case_8___0;
13232 } else {
13233# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13234 goto switch_default___0;
13235# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13236 if (0) {
13237 case_1___0:
13238# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13239 __asm__ volatile ("1:\tmov"
13240 "b"
13241 " %"
13242 "b"
13243 "1,%2\n"
13244 "2:\n"
13245 ".section .fixup,\"ax\"\n"
13246 "3:\tmov %3,%0\n"
13247 "\tjmp 2b\n"
13248 ".previous\n"
13249 " .section __ex_table,\"a\"\n"
13250 " "
13251 ".balign 8"
13252 " "
13253 "\n"
13254 " "
13255 ".quad"
13256 " "
13257 "1b"
13258 ","
13259 "3b"
13260 "\n"
13261 " .previous\n": "=r" (__pu_err___0): "iq" ((__u32 )len),
13262 "m" (*((struct __large_struct *)(& used->len))), "i" (-14),
13263 "0" (__pu_err___0));
13264# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13265 goto switch_break___0;
13266 case_2___0:
13267# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13268 __asm__ volatile ("1:\tmov"
13269 "w"
13270 " %"
13271 "w"
13272 "1,%2\n"
13273 "2:\n"
13274 ".section .fixup,\"ax\"\n"
13275 "3:\tmov %3,%0\n"
13276 "\tjmp 2b\n"
13277 ".previous\n"
13278 " .section __ex_table,\"a\"\n"
13279 " "
13280 ".balign 8"
13281 " "
13282 "\n"
13283 " "
13284 ".quad"
13285 " "
13286 "1b"
13287 ","
13288 "3b"
13289 "\n"
13290 " .previous\n": "=r" (__pu_err___0): "ir" ((__u32 )len),
13291 "m" (*((struct __large_struct *)(& used->len))), "i" (-14),
13292 "0" (__pu_err___0));
13293# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13294 goto switch_break___0;
13295 case_4___0:
13296# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13297 __asm__ volatile ("1:\tmov"
13298 "l"
13299 " %"
13300 "k"
13301 "1,%2\n"
13302 "2:\n"
13303 ".section .fixup,\"ax\"\n"
13304 "3:\tmov %3,%0\n"
13305 "\tjmp 2b\n"
13306 ".previous\n"
13307 " .section __ex_table,\"a\"\n"
13308 " "
13309 ".balign 8"
13310 " "
13311 "\n"
13312 " "
13313 ".quad"
13314 " "
13315 "1b"
13316 ","
13317 "3b"
13318 "\n"
13319 " .previous\n": "=r" (__pu_err___0): "ir" ((__u32 )len),
13320 "m" (*((struct __large_struct *)(& used->len))), "i" (-14),
13321 "0" (__pu_err___0));
13322# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13323 goto switch_break___0;
13324 case_8___0:
13325# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13326 __asm__ volatile ("1:\tmov"
13327 "q"
13328 " %"
13329 ""
13330 "1,%2\n"
13331 "2:\n"
13332 ".section .fixup,\"ax\"\n"
13333 "3:\tmov %3,%0\n"
13334 "\tjmp 2b\n"
13335 ".previous\n"
13336 " .section __ex_table,\"a\"\n"
13337 " "
13338 ".balign 8"
13339 " "
13340 "\n"
13341 " "
13342 ".quad"
13343 " "
13344 "1b"
13345 ","
13346 "3b"
13347 "\n"
13348 " .previous\n": "=r" (__pu_err___0): "er" ((__u32 )len),
13349 "m" (*((struct __large_struct *)(& used->len))), "i" (-14),
13350 "0" (__pu_err___0));
13351# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13352 goto switch_break___0;
13353 switch_default___0:
13354 {
13355# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13356 __put_user_bad();
13357 }
13358 } else {
13359 switch_break___0: ;
13360 }
13361 }
13362# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13363 goto while_break___2;
13364 }
13365 while_break___11: ;
13366 }
13367 while_break___2: ;
13368# 1257 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13369 if (__pu_err___0) {
13370 {
13371# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13372 while (1) {
13373 while_continue___3: ;
13374
13375 {
13376# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13377 while (1) {
13378 while_continue___4: ;
13379 {
13380# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13381 tmp___8 = __builtin_expect((long )(! (! descriptor___18.enabled)), 0L);
13382 }
13383# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13384 if (tmp___8) {
13385 {
13386# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13387 __dynamic_pr_debug(& descriptor___18, "Failed to write used len");
13388 }
13389 } else {
13390
13391 }
13392# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13393 goto while_break___4;
13394 }
13395 while_break___13: ;
13396 }
13397 while_break___4: ;
13398# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13399 if (vq->error_ctx) {
13400 {
13401# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13402 eventfd_signal(vq->error_ctx, 1);
13403 }
13404 } else {
13405
13406 }
13407# 1258 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13408 goto while_break___3;
13409 }
13410 while_break___12: ;
13411 }
13412 while_break___3: ;
13413# 1259 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13414 return (-14);
13415 } else {
13416
13417 }
13418# 1262 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13419 __asm__ volatile ("": : : "memory");
13420 {
13421# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13422 while (1) {
13423 while_continue___5: ;
13424# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13425 __pu_err___1 = 0;
13426# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13427 if ((int )sizeof((vq->used)->idx) == 1) {
13428# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13429 goto case_1___1;
13430 } else
13431# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13432 if ((int )sizeof((vq->used)->idx) == 2) {
13433# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13434 goto case_2___1;
13435 } else
13436# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13437 if ((int )sizeof((vq->used)->idx) == 4) {
13438# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13439 goto case_4___1;
13440 } else
13441# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13442 if ((int )sizeof((vq->used)->idx) == 8) {
13443# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13444 goto case_8___1;
13445 } else {
13446# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13447 goto switch_default___1;
13448# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13449 if (0) {
13450 case_1___1:
13451# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13452 __asm__ volatile ("1:\tmov"
13453 "b"
13454 " %"
13455 "b"
13456 "1,%2\n"
13457 "2:\n"
13458 ".section .fixup,\"ax\"\n"
13459 "3:\tmov %3,%0\n"
13460 "\tjmp 2b\n"
13461 ".previous\n"
13462 " .section __ex_table,\"a\"\n"
13463 " "
13464 ".balign 8"
13465 " "
13466 "\n"
13467 " "
13468 ".quad"
13469 " "
13470 "1b"
13471 ","
13472 "3b"
13473 "\n"
13474 " .previous\n": "=r" (__pu_err___1): "iq" ((__u16 )((int )vq->last_used_idx + 1)),
13475 "m" (*((struct __large_struct *)(& (vq->used)->idx))),
13476 "i" (-14), "0" (__pu_err___1));
13477# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13478 goto switch_break___1;
13479 case_2___1:
13480# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13481 __asm__ volatile ("1:\tmov"
13482 "w"
13483 " %"
13484 "w"
13485 "1,%2\n"
13486 "2:\n"
13487 ".section .fixup,\"ax\"\n"
13488 "3:\tmov %3,%0\n"
13489 "\tjmp 2b\n"
13490 ".previous\n"
13491 " .section __ex_table,\"a\"\n"
13492 " "
13493 ".balign 8"
13494 " "
13495 "\n"
13496 " "
13497 ".quad"
13498 " "
13499 "1b"
13500 ","
13501 "3b"
13502 "\n"
13503 " .previous\n": "=r" (__pu_err___1): "ir" ((__u16 )((int )vq->last_used_idx + 1)),
13504 "m" (*((struct __large_struct *)(& (vq->used)->idx))),
13505 "i" (-14), "0" (__pu_err___1));
13506# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13507 goto switch_break___1;
13508 case_4___1:
13509# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13510 __asm__ volatile ("1:\tmov"
13511 "l"
13512 " %"
13513 "k"
13514 "1,%2\n"
13515 "2:\n"
13516 ".section .fixup,\"ax\"\n"
13517 "3:\tmov %3,%0\n"
13518 "\tjmp 2b\n"
13519 ".previous\n"
13520 " .section __ex_table,\"a\"\n"
13521 " "
13522 ".balign 8"
13523 " "
13524 "\n"
13525 " "
13526 ".quad"
13527 " "
13528 "1b"
13529 ","
13530 "3b"
13531 "\n"
13532 " .previous\n": "=r" (__pu_err___1): "ir" ((__u16 )((int )vq->last_used_idx + 1)),
13533 "m" (*((struct __large_struct *)(& (vq->used)->idx))),
13534 "i" (-14), "0" (__pu_err___1));
13535# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13536 goto switch_break___1;
13537 case_8___1:
13538# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13539 __asm__ volatile ("1:\tmov"
13540 "q"
13541 " %"
13542 ""
13543 "1,%2\n"
13544 "2:\n"
13545 ".section .fixup,\"ax\"\n"
13546 "3:\tmov %3,%0\n"
13547 "\tjmp 2b\n"
13548 ".previous\n"
13549 " .section __ex_table,\"a\"\n"
13550 " "
13551 ".balign 8"
13552 " "
13553 "\n"
13554 " "
13555 ".quad"
13556 " "
13557 "1b"
13558 ","
13559 "3b"
13560 "\n"
13561 " .previous\n": "=r" (__pu_err___1): "er" ((__u16 )((int )vq->last_used_idx + 1)),
13562 "m" (*((struct __large_struct *)(& (vq->used)->idx))),
13563 "i" (-14), "0" (__pu_err___1));
13564# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13565 goto switch_break___1;
13566 switch_default___1:
13567 {
13568# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13569 __put_user_bad();
13570 }
13571 } else {
13572 switch_break___1: ;
13573 }
13574 }
13575# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13576 goto while_break___5;
13577 }
13578 while_break___14: ;
13579 }
13580 while_break___5: ;
13581# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13582 if (__pu_err___1) {
13583 {
13584# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13585 while (1) {
13586 while_continue___6: ;
13587
13588 {
13589# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13590 while (1) {
13591 while_continue___7: ;
13592 {
13593# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13594 tmp___9 = __builtin_expect((long )(! (! descriptor___19.enabled)), 0L);
13595 }
13596# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13597 if (tmp___9) {
13598 {
13599# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13600 __dynamic_pr_debug(& descriptor___19, "Failed to increment used idx");
13601 }
13602 } else {
13603
13604 }
13605# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13606 goto while_break___7;
13607 }
13608 while_break___16: ;
13609 }
13610 while_break___7: ;
13611# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13612 if (vq->error_ctx) {
13613 {
13614# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13615 eventfd_signal(vq->error_ctx, 1);
13616 }
13617 } else {
13618
13619 }
13620# 1264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13621 goto while_break___6;
13622 }
13623 while_break___15: ;
13624 }
13625 while_break___6: ;
13626# 1265 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13627 return (-14);
13628 } else {
13629
13630 }
13631 {
13632# 1267 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13633 tmp___10 = __builtin_expect((long )(! (! vq->log_used)), 0L);
13634 }
13635# 1267 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13636 if (tmp___10) {
13637 {
13638# 1269 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13639 __asm__ volatile ("": : : "memory");
13640# 1271 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13641 log_write(vq->log_base, vq->log_addr + (u64 )((void *)used - (void *)vq->used),
13642 (u64 )sizeof(*used));
13643# 1276 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13644 log_write(vq->log_base, vq->log_addr + (u64 )((unsigned int )(& ((struct vring_used *)0)->idx)),
13645 (u64 )sizeof((vq->used)->idx));
13646 }
13647# 1279 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13648 if (vq->log_ctx) {
13649 {
13650# 1280 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13651 eventfd_signal(vq->log_ctx, 1);
13652 }
13653 } else {
13654
13655 }
13656 } else {
13657
13658 }
13659 {
13660# 1282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13661 vq->last_used_idx = (u16 )((int )vq->last_used_idx + 1);
13662# 1287 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13663 tmp___11 = __builtin_expect((long )(! (! ((int )vq->last_used_idx == (int )vq->signalled_used))),
13664 0L);
13665 }
13666# 1287 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13667 if (tmp___11) {
13668# 1288 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13669 vq->signalled_used_valid = (bool )0;
13670 } else {
13671
13672 }
13673# 1289 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13674 return (0);
13675}
13676}
13677# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13678static int __vhost_add_used_n(struct vhost_virtqueue *vq , struct vring_used_elem *heads ,
13679 unsigned int count ) ;
13680# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13681static struct _ddebug descriptor___20 __attribute__((__used__, __section__("__verbose"),
13682__aligned__(8))) = {"vhost_net", "__vhost_add_used_n", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
13683 "Failed to write used", 1303U, 0U, (char)0};
13684# 1292 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13685static int __vhost_add_used_n(struct vhost_virtqueue *vq , struct vring_used_elem *heads ,
13686 unsigned int count )
13687{ struct vring_used_elem *used ;
13688 u16 old ;
13689 u16 new ;
13690 int start ;
13691 long tmp___7 ;
13692 int tmp___8 ;
13693 long tmp___9 ;
13694 u16 tmp___10 ;
13695 long tmp___11 ;
13696 int tmp ;
13697
13698 {
13699 {
13700# 1300 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13701 start = (int )((unsigned int )vq->last_used_idx % vq->num);
13702# 1301 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13703 used = (vq->used)->ring + start;
13704# 1302 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13705 tmp = (int )__copy_to_user((void *)used, (void const *)heads, (unsigned int )((unsigned long )count * sizeof(*used)));
13706# 1302 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13707 tmp___8 = tmp;
13708 }
13709# 1302 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13710 if (tmp___8) {
13711 {
13712# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13713 while (1) {
13714 while_continue: ;
13715
13716 {
13717# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13718 while (1) {
13719 while_continue___0: ;
13720 {
13721# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13722 tmp___7 = __builtin_expect((long )(! (! descriptor___20.enabled)), 0L);
13723 }
13724# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13725 if (tmp___7) {
13726 {
13727# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13728 __dynamic_pr_debug(& descriptor___20, "Failed to write used");
13729 }
13730 } else {
13731
13732 }
13733# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13734 goto while_break___0;
13735 }
13736 while_break___2: ;
13737 }
13738 while_break___0: ;
13739# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13740 if (vq->error_ctx) {
13741 {
13742# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13743 eventfd_signal(vq->error_ctx, 1);
13744 }
13745 } else {
13746
13747 }
13748# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13749 goto while_break;
13750 }
13751 while_break___1: ;
13752 }
13753 while_break: ;
13754# 1304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13755 return (-14);
13756 } else {
13757
13758 }
13759 {
13760# 1306 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13761 tmp___9 = __builtin_expect((long )(! (! vq->log_used)), 0L);
13762 }
13763# 1306 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13764 if (tmp___9) {
13765 {
13766# 1308 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13767 __asm__ volatile ("": : : "memory");
13768# 1310 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13769 log_write(vq->log_base, vq->log_addr + (u64 )((void *)used - (void *)vq->used),
13770 (u64 )((unsigned long )count * sizeof(*used)));
13771 }
13772 } else {
13773
13774 }
13775 {
13776# 1315 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13777 old = vq->last_used_idx;
13778# 1316 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13779 tmp___10 = (u16 )((unsigned int )vq->last_used_idx + count);
13780# 1316 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13781 vq->last_used_idx = tmp___10;
13782# 1316 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13783 new = tmp___10;
13784# 1321 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13785 tmp___11 = __builtin_expect((long )(! (! ((int )((u16 )((int )new - (int )vq->signalled_used)) < (int )((u16 )((int )new - (int )old))))),
13786 0L);
13787 }
13788# 1321 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13789 if (tmp___11) {
13790# 1322 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13791 vq->signalled_used_valid = (bool )0;
13792 } else {
13793
13794 }
13795# 1323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13796 return (0);
13797}
13798}
13799# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13800static struct _ddebug descriptor___21 __attribute__((__used__, __section__("__verbose"),
13801__aligned__(8))) = {"vhost_net", "vhost_add_used_n", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
13802 "Failed to increment used idx", 1347U, 0U, (char)0};
13803# 1328 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13804int vhost_add_used_n(struct vhost_virtqueue *vq , struct vring_used_elem *heads ,
13805 unsigned int count )
13806{ int start ;
13807 int n ;
13808 int r ;
13809 long tmp___7 ;
13810 int __ret_pu ;
13811 __u16 __pu_val ;
13812 long tmp___8 ;
13813
13814 {
13815# 1333 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13816 start = (int )((unsigned int )vq->last_used_idx % vq->num);
13817# 1334 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13818 n = (int )(vq->num - (unsigned int )start);
13819# 1335 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13820 if ((unsigned int )n < count) {
13821 {
13822# 1336 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13823 r = __vhost_add_used_n(vq, heads, (unsigned int )n);
13824 }
13825# 1337 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13826 if (r < 0) {
13827# 1338 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13828 return (r);
13829 } else {
13830
13831 }
13832# 1339 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13833 heads = heads + n;
13834# 1340 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13835 count = count - (unsigned int )n;
13836 } else {
13837
13838 }
13839 {
13840# 1342 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13841 r = __vhost_add_used_n(vq, heads, count);
13842# 1345 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13843 __asm__ volatile ("": : : "memory");
13844# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13845 might_fault();
13846# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13847 __pu_val = vq->last_used_idx;
13848 }
13849# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13850 if ((int )sizeof((vq->used)->idx) == 1) {
13851# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13852 goto case_1;
13853 } else
13854# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13855 if ((int )sizeof((vq->used)->idx) == 2) {
13856# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13857 goto case_2;
13858 } else
13859# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13860 if ((int )sizeof((vq->used)->idx) == 4) {
13861# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13862 goto case_4;
13863 } else
13864# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13865 if ((int )sizeof((vq->used)->idx) == 8) {
13866# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13867 goto case_8;
13868 } else {
13869# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13870 goto switch_default;
13871# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13872 if (0) {
13873 case_1:
13874# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13875 __asm__ volatile ("call __put_user_"
13876 "1": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->idx): "ebx");
13877# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13878 goto switch_break;
13879 case_2:
13880# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13881 __asm__ volatile ("call __put_user_"
13882 "2": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->idx): "ebx");
13883# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13884 goto switch_break;
13885 case_4:
13886# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13887 __asm__ volatile ("call __put_user_"
13888 "4": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->idx): "ebx");
13889# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13890 goto switch_break;
13891 case_8:
13892# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13893 __asm__ volatile ("call __put_user_"
13894 "8": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->idx): "ebx");
13895# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13896 goto switch_break;
13897 switch_default:
13898# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13899 __asm__ volatile ("call __put_user_"
13900 "X": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->idx): "ebx");
13901# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13902 goto switch_break;
13903 } else {
13904 switch_break: ;
13905 }
13906 }
13907# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13908 if (__ret_pu) {
13909 {
13910# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13911 while (1) {
13912 while_continue: ;
13913
13914 {
13915# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13916 while (1) {
13917 while_continue___0: ;
13918 {
13919# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13920 tmp___7 = __builtin_expect((long )(! (! descriptor___21.enabled)), 0L);
13921 }
13922# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13923 if (tmp___7) {
13924 {
13925# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13926 __dynamic_pr_debug(& descriptor___21, "Failed to increment used idx");
13927 }
13928 } else {
13929
13930 }
13931# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13932 goto while_break___0;
13933 }
13934 while_break___2: ;
13935 }
13936 while_break___0: ;
13937# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13938 if (vq->error_ctx) {
13939 {
13940# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13941 eventfd_signal(vq->error_ctx, 1);
13942 }
13943 } else {
13944
13945 }
13946# 1347 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13947 goto while_break;
13948 }
13949 while_break___1: ;
13950 }
13951 while_break: ;
13952# 1348 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13953 return (-14);
13954 } else {
13955
13956 }
13957 {
13958# 1350 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13959 tmp___8 = __builtin_expect((long )(! (! vq->log_used)), 0L);
13960 }
13961# 1350 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13962 if (tmp___8) {
13963 {
13964# 1352 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13965 log_write(vq->log_base, vq->log_addr + (u64 )((unsigned int )(& ((struct vring_used *)0)->idx)),
13966 (u64 )sizeof((vq->used)->idx));
13967 }
13968# 1355 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13969 if (vq->log_ctx) {
13970 {
13971# 1356 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13972 eventfd_signal(vq->log_ctx, 1);
13973 }
13974 } else {
13975
13976 }
13977 } else {
13978
13979 }
13980# 1358 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13981 return (r);
13982}
13983}
13984# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13985static bool vhost_notify(struct vhost_dev *dev , struct vhost_virtqueue *vq ) ;
13986# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13987static struct _ddebug descriptor___22 __attribute__((__used__, __section__("__verbose"),
13988__aligned__(8))) = {"vhost_net", "vhost_notify", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
13989 "Failed to get flags", 1377U, 0U, (char)0};
13990# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13991static struct _ddebug descriptor___23 __attribute__((__used__, __section__("__verbose"),
13992__aligned__(8))) = {"vhost_net", "vhost_notify", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
13993 "Failed to get used event idx", 1391U, 0U, (char)0};
13994# 1361 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
13995static bool vhost_notify(struct vhost_dev *dev , struct vhost_virtqueue *vq )
13996{ __u16 old ;
13997 __u16 new ;
13998 __u16 event ;
13999 bool v ;
14000 int tmp___7 ;
14001 long tmp___8 ;
14002 __u16 flags ;
14003 long tmp___9 ;
14004 int __gu_err ;
14005 unsigned long __gu_val ;
14006 int tmp___10 ;
14007 int tmp___11 ;
14008 u16 tmp___12 ;
14009 long tmp___13 ;
14010 long tmp___14 ;
14011 int __ret_gu ;
14012 unsigned long __val_gu ;
14013 int tmp___15 ;
14014
14015 {
14016 {
14017# 1368 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14018 __asm__ volatile ("mfence": : : "memory");
14019# 1370 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14020 tmp___7 = vhost_has_feature(dev, 24);
14021 }
14022# 1370 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14023 if (tmp___7) {
14024 {
14025# 1370 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14026 tmp___8 = __builtin_expect((long )(! (! ((int )vq->avail_idx == (int )vq->last_avail_idx))),
14027 0L);
14028 }
14029# 1370 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14030 if (tmp___8) {
14031# 1372 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14032 return ((bool )1);
14033 } else {
14034
14035 }
14036 } else {
14037
14038 }
14039 {
14040# 1374 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14041 tmp___11 = vhost_has_feature(dev, 29);
14042 }
14043# 1374 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14044 if (tmp___11) {
14045
14046 } else {
14047 {
14048# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14049 while (1) {
14050 while_continue: ;
14051# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14052 __gu_err = 0;
14053# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14054 if ((int )sizeof((vq->avail)->flags) == 1) {
14055# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14056 goto case_1;
14057 } else
14058# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14059 if ((int )sizeof((vq->avail)->flags) == 2) {
14060# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14061 goto case_2;
14062 } else
14063# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14064 if ((int )sizeof((vq->avail)->flags) == 4) {
14065# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14066 goto case_4;
14067 } else
14068# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14069 if ((int )sizeof((vq->avail)->flags) == 8) {
14070# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14071 goto case_8;
14072 } else {
14073# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14074 goto switch_default;
14075# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14076 if (0) {
14077 case_1:
14078# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14079 __asm__ volatile ("1:\tmov"
14080 "b"
14081 " %2,%"
14082 "b"
14083 "1\n"
14084 "2:\n"
14085 ".section .fixup,\"ax\"\n"
14086 "3:\tmov %3,%0\n"
14087 "\txor"
14088 "b"
14089 " %"
14090 "b"
14091 "1,%"
14092 "b"
14093 "1\n"
14094 "\tjmp 2b\n"
14095 ".previous\n"
14096 " .section __ex_table,\"a\"\n"
14097 " "
14098 ".balign 8"
14099 " "
14100 "\n"
14101 " "
14102 ".quad"
14103 " "
14104 "1b"
14105 ","
14106 "3b"
14107 "\n"
14108 " .previous\n": "=r" (__gu_err), "=q" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->flags))),
14109 "i" (-14), "0" (__gu_err));
14110# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14111 goto switch_break;
14112 case_2:
14113# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14114 __asm__ volatile ("1:\tmov"
14115 "w"
14116 " %2,%"
14117 "w"
14118 "1\n"
14119 "2:\n"
14120 ".section .fixup,\"ax\"\n"
14121 "3:\tmov %3,%0\n"
14122 "\txor"
14123 "w"
14124 " %"
14125 "w"
14126 "1,%"
14127 "w"
14128 "1\n"
14129 "\tjmp 2b\n"
14130 ".previous\n"
14131 " .section __ex_table,\"a\"\n"
14132 " "
14133 ".balign 8"
14134 " "
14135 "\n"
14136 " "
14137 ".quad"
14138 " "
14139 "1b"
14140 ","
14141 "3b"
14142 "\n"
14143 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->flags))),
14144 "i" (-14), "0" (__gu_err));
14145# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14146 goto switch_break;
14147 case_4:
14148# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14149 __asm__ volatile ("1:\tmov"
14150 "l"
14151 " %2,%"
14152 "k"
14153 "1\n"
14154 "2:\n"
14155 ".section .fixup,\"ax\"\n"
14156 "3:\tmov %3,%0\n"
14157 "\txor"
14158 "l"
14159 " %"
14160 "k"
14161 "1,%"
14162 "k"
14163 "1\n"
14164 "\tjmp 2b\n"
14165 ".previous\n"
14166 " .section __ex_table,\"a\"\n"
14167 " "
14168 ".balign 8"
14169 " "
14170 "\n"
14171 " "
14172 ".quad"
14173 " "
14174 "1b"
14175 ","
14176 "3b"
14177 "\n"
14178 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->flags))),
14179 "i" (-14), "0" (__gu_err));
14180# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14181 goto switch_break;
14182 case_8:
14183# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14184 __asm__ volatile ("1:\tmov"
14185 "q"
14186 " %2,%"
14187 ""
14188 "1\n"
14189 "2:\n"
14190 ".section .fixup,\"ax\"\n"
14191 "3:\tmov %3,%0\n"
14192 "\txor"
14193 "q"
14194 " %"
14195 ""
14196 "1,%"
14197 ""
14198 "1\n"
14199 "\tjmp 2b\n"
14200 ".previous\n"
14201 " .section __ex_table,\"a\"\n"
14202 " "
14203 ".balign 8"
14204 " "
14205 "\n"
14206 " "
14207 ".quad"
14208 " "
14209 "1b"
14210 ","
14211 "3b"
14212 "\n"
14213 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->flags))),
14214 "i" (-14), "0" (__gu_err));
14215# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14216 goto switch_break;
14217 switch_default:
14218 {
14219# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14220 tmp___10 = __get_user_bad();
14221# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14222 __gu_val = (unsigned long )tmp___10;
14223 }
14224 } else {
14225 switch_break: ;
14226 }
14227 }
14228# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14229 goto while_break;
14230 }
14231 while_break___4: ;
14232 }
14233 while_break:
14234# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14235 flags = (__u16 )__gu_val;
14236# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14237 if (__gu_err) {
14238 {
14239# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14240 while (1) {
14241 while_continue___0: ;
14242
14243 {
14244# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14245 while (1) {
14246 while_continue___1: ;
14247 {
14248# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14249 tmp___9 = __builtin_expect((long )(! (! descriptor___22.enabled)), 0L);
14250 }
14251# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14252 if (tmp___9) {
14253 {
14254# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14255 __dynamic_pr_debug(& descriptor___22, "Failed to get flags");
14256 }
14257 } else {
14258
14259 }
14260# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14261 goto while_break___1;
14262 }
14263 while_break___6: ;
14264 }
14265 while_break___1: ;
14266# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14267 if (vq->error_ctx) {
14268 {
14269# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14270 eventfd_signal(vq->error_ctx, 1);
14271 }
14272 } else {
14273
14274 }
14275# 1377 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14276 goto while_break___0;
14277 }
14278 while_break___5: ;
14279 }
14280 while_break___0: ;
14281# 1378 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14282 return ((bool )1);
14283 } else {
14284
14285 }
14286# 1380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14287 return ((bool )(! ((int )flags & 1)));
14288 }
14289 {
14290# 1382 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14291 old = vq->signalled_used;
14292# 1383 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14293 v = vq->signalled_used_valid;
14294# 1384 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14295 tmp___12 = vq->last_used_idx;
14296# 1384 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14297 vq->signalled_used = tmp___12;
14298# 1384 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14299 new = tmp___12;
14300# 1385 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14301 vq->signalled_used_valid = (bool )1;
14302# 1387 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14303 tmp___13 = __builtin_expect((long )(! (! (! v))), 0L);
14304 }
14305# 1387 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14306 if (tmp___13) {
14307# 1388 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14308 return ((bool )1);
14309 } else {
14310
14311 }
14312 {
14313# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14314 might_fault();
14315 }
14316# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14317 if ((int )sizeof((vq->avail)->ring[vq->num]) == 1) {
14318# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14319 goto case_1___0;
14320 } else
14321# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14322 if ((int )sizeof((vq->avail)->ring[vq->num]) == 2) {
14323# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14324 goto case_2___0;
14325 } else
14326# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14327 if ((int )sizeof((vq->avail)->ring[vq->num]) == 4) {
14328# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14329 goto case_4___0;
14330 } else
14331# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14332 if ((int )sizeof((vq->avail)->ring[vq->num]) == 8) {
14333# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14334 goto case_8___0;
14335 } else {
14336# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14337 goto switch_default___0;
14338# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14339 if (0) {
14340 case_1___0:
14341# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14342 __asm__ volatile ("call __get_user_"
14343 "1": "=a" (__ret_gu), "=d" (__val_gu): "0" (& (vq->avail)->ring[vq->num]));
14344# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14345 goto switch_break___0;
14346 case_2___0:
14347# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14348 __asm__ volatile ("call __get_user_"
14349 "2": "=a" (__ret_gu), "=d" (__val_gu): "0" (& (vq->avail)->ring[vq->num]));
14350# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14351 goto switch_break___0;
14352 case_4___0:
14353# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14354 __asm__ volatile ("call __get_user_"
14355 "4": "=a" (__ret_gu), "=d" (__val_gu): "0" (& (vq->avail)->ring[vq->num]));
14356# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14357 goto switch_break___0;
14358 case_8___0:
14359# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14360 __asm__ volatile ("call __get_user_"
14361 "8": "=a" (__ret_gu), "=d" (__val_gu): "0" (& (vq->avail)->ring[vq->num]));
14362# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14363 goto switch_break___0;
14364 switch_default___0:
14365# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14366 __asm__ volatile ("call __get_user_"
14367 "X": "=a" (__ret_gu), "=d" (__val_gu): "0" (& (vq->avail)->ring[vq->num]));
14368# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14369 goto switch_break___0;
14370 } else {
14371 switch_break___0: ;
14372 }
14373 }
14374# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14375 event = (u16 )__val_gu;
14376# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14377 if (__ret_gu) {
14378 {
14379# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14380 while (1) {
14381 while_continue___2: ;
14382
14383 {
14384# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14385 while (1) {
14386 while_continue___3: ;
14387 {
14388# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14389 tmp___14 = __builtin_expect((long )(! (! descriptor___23.enabled)), 0L);
14390 }
14391# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14392 if (tmp___14) {
14393 {
14394# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14395 __dynamic_pr_debug(& descriptor___23, "Failed to get used event idx");
14396 }
14397 } else {
14398
14399 }
14400# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14401 goto while_break___3;
14402 }
14403 while_break___8: ;
14404 }
14405 while_break___3: ;
14406# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14407 if (vq->error_ctx) {
14408 {
14409# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14410 eventfd_signal(vq->error_ctx, 1);
14411 }
14412 } else {
14413
14414 }
14415# 1391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14416 goto while_break___2;
14417 }
14418 while_break___7: ;
14419 }
14420 while_break___2: ;
14421# 1392 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14422 return ((bool )1);
14423 } else {
14424
14425 }
14426 {
14427# 1394 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14428 tmp___15 = vring_need_event(event, new, old);
14429 }
14430# 1394 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14431 return ((bool )tmp___15);
14432}
14433}
14434# 1398 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14435void vhost_signal(struct vhost_dev *dev , struct vhost_virtqueue *vq )
14436{ bool tmp___7 ;
14437
14438 {
14439# 1401 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14440 if (vq->call_ctx) {
14441 {
14442# 1401 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14443 tmp___7 = vhost_notify(dev, vq);
14444 }
14445# 1401 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14446 if (tmp___7) {
14447 {
14448# 1402 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14449 eventfd_signal(vq->call_ctx, 1);
14450 }
14451 } else {
14452
14453 }
14454 } else {
14455
14456 }
14457# 1403 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14458 return;
14459}
14460}
14461# 1406 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14462void vhost_add_used_and_signal(struct vhost_dev *dev , struct vhost_virtqueue *vq ,
14463 unsigned int head , int len )
14464{
14465
14466 {
14467 {
14468# 1410 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14469 vhost_add_used(vq, head, len);
14470# 1411 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14471 vhost_signal(dev, vq);
14472 }
14473# 1412 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14474 return;
14475}
14476}
14477# 1415 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14478void vhost_add_used_and_signal_n(struct vhost_dev *dev , struct vhost_virtqueue *vq ,
14479 struct vring_used_elem *heads , unsigned int count )
14480{
14481
14482 {
14483 {
14484# 1419 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14485 vhost_add_used_n(vq, heads, count);
14486# 1420 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14487 vhost_signal(dev, vq);
14488 }
14489# 1421 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14490 return;
14491}
14492}
14493# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14494static struct _ddebug descriptor___24 __attribute__((__used__, __section__("__verbose"),
14495__aligned__(8))) = {"vhost_net", "vhost_enable_notify", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
14496 "Failed to enable notification at %p: %d\n", 1436U, 0U, (char)0};
14497# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14498static struct _ddebug descriptor___25 __attribute__((__used__, __section__("__verbose"),
14499__aligned__(8))) = {"vhost_net", "vhost_enable_notify", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
14500 "Failed to update avail event index at %p: %d\n", 1443U, 0U, (char)0};
14501# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14502static struct _ddebug descriptor___26 __attribute__((__used__, __section__("__verbose"),
14503__aligned__(8))) = {"vhost_net", "vhost_enable_notify", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
14504 "Failed to check avail idx at %p: %d\n", 1467U, 0U, (char)0};
14505# 1424 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14506bool vhost_enable_notify(struct vhost_dev *dev , struct vhost_virtqueue *vq )
14507{ u16 avail_idx ;
14508 int r ;
14509 int __ret_pu ;
14510 __u16 __pu_val ;
14511 long tmp___7 ;
14512 int __ret_pu___0 ;
14513 u16 __pu_val___0 ;
14514 long tmp___8 ;
14515 int tmp___9 ;
14516 void *used ;
14517 int tmp___11 ;
14518 long tmp___12 ;
14519 int __gu_err ;
14520 unsigned long __gu_val ;
14521 int tmp___13 ;
14522 long tmp___14 ;
14523
14524 {
14525# 1429 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14526 if (! ((int )vq->used_flags & 1)) {
14527# 1430 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14528 return ((bool )0);
14529 } else {
14530
14531 }
14532 {
14533# 1431 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14534 vq->used_flags = (u16 )((int )vq->used_flags & -2);
14535# 1432 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14536 tmp___9 = vhost_has_feature(dev, 29);
14537 }
14538# 1432 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14539 if (tmp___9) {
14540 {
14541# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14542 might_fault();
14543# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14544 __pu_val___0 = vq->avail_idx;
14545 }
14546# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14547 if ((int )sizeof(*((u16 *)(& (vq->used)->ring[vq->num]))) == 1) {
14548# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14549 goto case_1;
14550 } else
14551# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14552 if ((int )sizeof(*((u16 *)(& (vq->used)->ring[vq->num]))) == 2) {
14553# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14554 goto case_2;
14555 } else
14556# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14557 if ((int )sizeof(*((u16 *)(& (vq->used)->ring[vq->num]))) == 4) {
14558# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14559 goto case_4;
14560 } else
14561# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14562 if ((int )sizeof(*((u16 *)(& (vq->used)->ring[vq->num]))) == 8) {
14563# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14564 goto case_8;
14565 } else {
14566# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14567 goto switch_default;
14568# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14569 if (0) {
14570 case_1:
14571# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14572 __asm__ volatile ("call __put_user_"
14573 "1": "=a" (__ret_pu___0): "0" (__pu_val___0), "c" ((u16 *)(& (vq->used)->ring[vq->num])): "ebx");
14574# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14575 goto switch_break;
14576 case_2:
14577# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14578 __asm__ volatile ("call __put_user_"
14579 "2": "=a" (__ret_pu___0): "0" (__pu_val___0), "c" ((u16 *)(& (vq->used)->ring[vq->num])): "ebx");
14580# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14581 goto switch_break;
14582 case_4:
14583# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14584 __asm__ volatile ("call __put_user_"
14585 "4": "=a" (__ret_pu___0): "0" (__pu_val___0), "c" ((u16 *)(& (vq->used)->ring[vq->num])): "ebx");
14586# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14587 goto switch_break;
14588 case_8:
14589# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14590 __asm__ volatile ("call __put_user_"
14591 "8": "=a" (__ret_pu___0): "0" (__pu_val___0), "c" ((u16 *)(& (vq->used)->ring[vq->num])): "ebx");
14592# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14593 goto switch_break;
14594 switch_default:
14595# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14596 __asm__ volatile ("call __put_user_"
14597 "X": "=a" (__ret_pu___0): "0" (__pu_val___0), "c" ((u16 *)(& (vq->used)->ring[vq->num])): "ebx");
14598# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14599 goto switch_break;
14600 } else {
14601 switch_break: ;
14602 }
14603 }
14604# 1440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14605 r = __ret_pu___0;
14606# 1441 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14607 if (r) {
14608 {
14609# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14610 while (1) {
14611 while_continue: ;
14612
14613 {
14614# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14615 while (1) {
14616 while_continue___0: ;
14617 {
14618# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14619 tmp___8 = __builtin_expect((long )(! (! descriptor___25.enabled)), 0L);
14620 }
14621# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14622 if (tmp___8) {
14623 {
14624# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14625 __dynamic_pr_debug(& descriptor___25, "Failed to update avail event index at %p: %d\n",
14626 (u16 *)(& (vq->used)->ring[vq->num]), r);
14627 }
14628 } else {
14629
14630 }
14631# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14632 goto while_break___0;
14633 }
14634 while_break___7: ;
14635 }
14636 while_break___0: ;
14637# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14638 if (vq->error_ctx) {
14639 {
14640# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14641 eventfd_signal(vq->error_ctx, 1);
14642 }
14643 } else {
14644
14645 }
14646# 1442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14647 goto while_break;
14648 }
14649 while_break___6: ;
14650 }
14651 while_break: ;
14652# 1444 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14653 return ((bool )0);
14654 } else {
14655
14656 }
14657 } else {
14658 {
14659# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14660 might_fault();
14661# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14662 __pu_val = vq->used_flags;
14663 }
14664# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14665 if ((int )sizeof((vq->used)->flags) == 1) {
14666# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14667 goto case_1___0;
14668 } else
14669# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14670 if ((int )sizeof((vq->used)->flags) == 2) {
14671# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14672 goto case_2___0;
14673 } else
14674# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14675 if ((int )sizeof((vq->used)->flags) == 4) {
14676# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14677 goto case_4___0;
14678 } else
14679# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14680 if ((int )sizeof((vq->used)->flags) == 8) {
14681# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14682 goto case_8___0;
14683 } else {
14684# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14685 goto switch_default___0;
14686# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14687 if (0) {
14688 case_1___0:
14689# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14690 __asm__ volatile ("call __put_user_"
14691 "1": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
14692# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14693 goto switch_break___0;
14694 case_2___0:
14695# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14696 __asm__ volatile ("call __put_user_"
14697 "2": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
14698# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14699 goto switch_break___0;
14700 case_4___0:
14701# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14702 __asm__ volatile ("call __put_user_"
14703 "4": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
14704# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14705 goto switch_break___0;
14706 case_8___0:
14707# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14708 __asm__ volatile ("call __put_user_"
14709 "8": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
14710# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14711 goto switch_break___0;
14712 switch_default___0:
14713# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14714 __asm__ volatile ("call __put_user_"
14715 "X": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
14716# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14717 goto switch_break___0;
14718 } else {
14719 switch_break___0: ;
14720 }
14721 }
14722# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14723 r = __ret_pu;
14724# 1434 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14725 if (r) {
14726 {
14727# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14728 while (1) {
14729 while_continue___1: ;
14730
14731 {
14732# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14733 while (1) {
14734 while_continue___2: ;
14735 {
14736# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14737 tmp___7 = __builtin_expect((long )(! (! descriptor___24.enabled)), 0L);
14738 }
14739# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14740 if (tmp___7) {
14741 {
14742# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14743 __dynamic_pr_debug(& descriptor___24, "Failed to enable notification at %p: %d\n",
14744 & (vq->used)->flags, r);
14745 }
14746 } else {
14747
14748 }
14749# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14750 goto while_break___2;
14751 }
14752 while_break___9: ;
14753 }
14754 while_break___2: ;
14755# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14756 if (vq->error_ctx) {
14757 {
14758# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14759 eventfd_signal(vq->error_ctx, 1);
14760 }
14761 } else {
14762
14763 }
14764# 1435 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14765 goto while_break___1;
14766 }
14767 while_break___8: ;
14768 }
14769 while_break___1: ;
14770# 1437 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14771 return ((bool )0);
14772 } else {
14773
14774 }
14775 }
14776 {
14777# 1447 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14778 tmp___12 = __builtin_expect((long )(! (! vq->log_used)), 0L);
14779 }
14780# 1447 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14781 if (tmp___12) {
14782 {
14783# 1450 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14784 __asm__ volatile ("": : : "memory");
14785# 1451 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14786 tmp___11 = vhost_has_feature(dev, 29);
14787 }
14788# 1451 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14789 if (tmp___11) {
14790# 1451 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14791 used = (void *)(& (vq->used)->flags);
14792 } else {
14793# 1451 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14794 used = (void *)((u16 *)(& (vq->used)->ring[vq->num]));
14795 }
14796 {
14797# 1455 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14798 log_write(vq->log_base, vq->log_addr + (u64 )(used - (void *)vq->used), (u64 )sizeof(u16 ));
14799 }
14800# 1458 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14801 if (vq->log_ctx) {
14802 {
14803# 1459 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14804 eventfd_signal(vq->log_ctx, 1);
14805 }
14806 } else {
14807
14808 }
14809 } else {
14810
14811 }
14812# 1463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14813 __asm__ volatile ("mfence": : : "memory");
14814 {
14815# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14816 while (1) {
14817 while_continue___3: ;
14818# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14819 __gu_err = 0;
14820# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14821 if ((int )sizeof((vq->avail)->idx) == 1) {
14822# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14823 goto case_1___1;
14824 } else
14825# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14826 if ((int )sizeof((vq->avail)->idx) == 2) {
14827# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14828 goto case_2___1;
14829 } else
14830# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14831 if ((int )sizeof((vq->avail)->idx) == 4) {
14832# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14833 goto case_4___1;
14834 } else
14835# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14836 if ((int )sizeof((vq->avail)->idx) == 8) {
14837# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14838 goto case_8___1;
14839 } else {
14840# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14841 goto switch_default___1;
14842# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14843 if (0) {
14844 case_1___1:
14845# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14846 __asm__ volatile ("1:\tmov"
14847 "b"
14848 " %2,%"
14849 "b"
14850 "1\n"
14851 "2:\n"
14852 ".section .fixup,\"ax\"\n"
14853 "3:\tmov %3,%0\n"
14854 "\txor"
14855 "b"
14856 " %"
14857 "b"
14858 "1,%"
14859 "b"
14860 "1\n"
14861 "\tjmp 2b\n"
14862 ".previous\n"
14863 " .section __ex_table,\"a\"\n"
14864 " "
14865 ".balign 8"
14866 " "
14867 "\n"
14868 " "
14869 ".quad"
14870 " "
14871 "1b"
14872 ","
14873 "3b"
14874 "\n"
14875 " .previous\n": "=r" (__gu_err), "=q" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
14876 "i" (-14), "0" (__gu_err));
14877# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14878 goto switch_break___1;
14879 case_2___1:
14880# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14881 __asm__ volatile ("1:\tmov"
14882 "w"
14883 " %2,%"
14884 "w"
14885 "1\n"
14886 "2:\n"
14887 ".section .fixup,\"ax\"\n"
14888 "3:\tmov %3,%0\n"
14889 "\txor"
14890 "w"
14891 " %"
14892 "w"
14893 "1,%"
14894 "w"
14895 "1\n"
14896 "\tjmp 2b\n"
14897 ".previous\n"
14898 " .section __ex_table,\"a\"\n"
14899 " "
14900 ".balign 8"
14901 " "
14902 "\n"
14903 " "
14904 ".quad"
14905 " "
14906 "1b"
14907 ","
14908 "3b"
14909 "\n"
14910 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
14911 "i" (-14), "0" (__gu_err));
14912# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14913 goto switch_break___1;
14914 case_4___1:
14915# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14916 __asm__ volatile ("1:\tmov"
14917 "l"
14918 " %2,%"
14919 "k"
14920 "1\n"
14921 "2:\n"
14922 ".section .fixup,\"ax\"\n"
14923 "3:\tmov %3,%0\n"
14924 "\txor"
14925 "l"
14926 " %"
14927 "k"
14928 "1,%"
14929 "k"
14930 "1\n"
14931 "\tjmp 2b\n"
14932 ".previous\n"
14933 " .section __ex_table,\"a\"\n"
14934 " "
14935 ".balign 8"
14936 " "
14937 "\n"
14938 " "
14939 ".quad"
14940 " "
14941 "1b"
14942 ","
14943 "3b"
14944 "\n"
14945 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
14946 "i" (-14), "0" (__gu_err));
14947# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14948 goto switch_break___1;
14949 case_8___1:
14950# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14951 __asm__ volatile ("1:\tmov"
14952 "q"
14953 " %2,%"
14954 ""
14955 "1\n"
14956 "2:\n"
14957 ".section .fixup,\"ax\"\n"
14958 "3:\tmov %3,%0\n"
14959 "\txor"
14960 "q"
14961 " %"
14962 ""
14963 "1,%"
14964 ""
14965 "1\n"
14966 "\tjmp 2b\n"
14967 ".previous\n"
14968 " .section __ex_table,\"a\"\n"
14969 " "
14970 ".balign 8"
14971 " "
14972 "\n"
14973 " "
14974 ".quad"
14975 " "
14976 "1b"
14977 ","
14978 "3b"
14979 "\n"
14980 " .previous\n": "=r" (__gu_err), "=r" (__gu_val): "m" (*((struct __large_struct *)(& (vq->avail)->idx))),
14981 "i" (-14), "0" (__gu_err));
14982# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14983 goto switch_break___1;
14984 switch_default___1:
14985 {
14986# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14987 tmp___13 = __get_user_bad();
14988# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14989 __gu_val = (unsigned long )tmp___13;
14990 }
14991 } else {
14992 switch_break___1: ;
14993 }
14994 }
14995# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
14996 goto while_break___3;
14997 }
14998 while_break___10: ;
14999 }
15000 while_break___3:
15001# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15002 avail_idx = (__u16 )__gu_val;
15003# 1464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15004 r = __gu_err;
15005# 1465 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15006 if (r) {
15007 {
15008# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15009 while (1) {
15010 while_continue___4: ;
15011
15012 {
15013# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15014 while (1) {
15015 while_continue___5: ;
15016 {
15017# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15018 tmp___14 = __builtin_expect((long )(! (! descriptor___26.enabled)), 0L);
15019 }
15020# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15021 if (tmp___14) {
15022 {
15023# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15024 __dynamic_pr_debug(& descriptor___26, "Failed to check avail idx at %p: %d\n",
15025 & (vq->avail)->idx, r);
15026 }
15027 } else {
15028
15029 }
15030# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15031 goto while_break___5;
15032 }
15033 while_break___12: ;
15034 }
15035 while_break___5: ;
15036# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15037 if (vq->error_ctx) {
15038 {
15039# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15040 eventfd_signal(vq->error_ctx, 1);
15041 }
15042 } else {
15043
15044 }
15045# 1466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15046 goto while_break___4;
15047 }
15048 while_break___11: ;
15049 }
15050 while_break___4: ;
15051# 1468 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15052 return ((bool )0);
15053 } else {
15054
15055 }
15056# 1471 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15057 return ((bool )((int )avail_idx != (int )vq->avail_idx));
15058}
15059}
15060# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15061static struct _ddebug descriptor___27 __attribute__((__used__, __section__("__verbose"),
15062__aligned__(8))) = {"vhost_net", "vhost_disable_notify", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c",
15063 "Failed to enable notification at %p: %d\n", 1486U, 0U, (char)0};
15064# 1475 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15065void vhost_disable_notify(struct vhost_dev *dev , struct vhost_virtqueue *vq )
15066{ int r ;
15067 int __ret_pu ;
15068 __u16 __pu_val ;
15069 long tmp___7 ;
15070 int tmp___8 ;
15071
15072 {
15073# 1479 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15074 if ((int )vq->used_flags & 1) {
15075# 1480 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15076 return;
15077 } else {
15078
15079 }
15080 {
15081# 1481 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15082 vq->used_flags = (u16 )((int )vq->used_flags | 1);
15083# 1482 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15084 tmp___8 = vhost_has_feature(dev, 29);
15085 }
15086# 1482 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15087 if (tmp___8) {
15088
15089 } else {
15090 {
15091# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15092 might_fault();
15093# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15094 __pu_val = vq->used_flags;
15095 }
15096# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15097 if ((int )sizeof((vq->used)->flags) == 1) {
15098# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15099 goto case_1;
15100 } else
15101# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15102 if ((int )sizeof((vq->used)->flags) == 2) {
15103# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15104 goto case_2;
15105 } else
15106# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15107 if ((int )sizeof((vq->used)->flags) == 4) {
15108# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15109 goto case_4;
15110 } else
15111# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15112 if ((int )sizeof((vq->used)->flags) == 8) {
15113# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15114 goto case_8;
15115 } else {
15116# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15117 goto switch_default;
15118# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15119 if (0) {
15120 case_1:
15121# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15122 __asm__ volatile ("call __put_user_"
15123 "1": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
15124# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15125 goto switch_break;
15126 case_2:
15127# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15128 __asm__ volatile ("call __put_user_"
15129 "2": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
15130# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15131 goto switch_break;
15132 case_4:
15133# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15134 __asm__ volatile ("call __put_user_"
15135 "4": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
15136# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15137 goto switch_break;
15138 case_8:
15139# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15140 __asm__ volatile ("call __put_user_"
15141 "8": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
15142# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15143 goto switch_break;
15144 switch_default:
15145# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15146 __asm__ volatile ("call __put_user_"
15147 "X": "=a" (__ret_pu): "0" (__pu_val), "c" (& (vq->used)->flags): "ebx");
15148# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15149 goto switch_break;
15150 } else {
15151 switch_break: ;
15152 }
15153 }
15154# 1483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15155 r = __ret_pu;
15156# 1484 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15157 if (r) {
15158 {
15159# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15160 while (1) {
15161 while_continue: ;
15162
15163 {
15164# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15165 while (1) {
15166 while_continue___0: ;
15167 {
15168# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15169 tmp___7 = __builtin_expect((long )(! (! descriptor___27.enabled)), 0L);
15170 }
15171# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15172 if (tmp___7) {
15173 {
15174# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15175 __dynamic_pr_debug(& descriptor___27, "Failed to enable notification at %p: %d\n",
15176 & (vq->used)->flags, r);
15177 }
15178 } else {
15179
15180 }
15181# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15182 goto while_break___0;
15183 }
15184 while_break___2: ;
15185 }
15186 while_break___0: ;
15187# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15188 if (vq->error_ctx) {
15189 {
15190# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15191 eventfd_signal(vq->error_ctx, 1);
15192 }
15193 } else {
15194
15195 }
15196# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15197 goto while_break;
15198 }
15199 while_break___1: ;
15200 }
15201 while_break: ;
15202 } else {
15203
15204 }
15205 }
15206# 1488 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/vhost.c.common.c"
15207 return;
15208}
15209}
15210# 5 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/engine-blast-assert.h"
15211void ldv_blast_assert(void)
15212{
15213
15214 {
15215 ERROR:
15216# 6 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/engine-blast-assert.h"
15217 goto ERROR;
15218}
15219}
15220# 7 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/engine-blast.h"
15221extern void *ldv_undefined_pointer(void) ;
15222# 1332 "include/linux/usb.h"
15223struct urb *usb_alloc_urb(int iso_packets , gfp_t mem_flags ) __attribute__((__ldv_model__)) ;
15224# 1333 "include/linux/usb.h"
15225void usb_free_urb(struct urb *urb ) __attribute__((__ldv_model__)) ;
15226# 1377 "include/linux/usb.h"
15227void *usb_alloc_coherent(struct usb_device *dev , size_t size , gfp_t mem_flags ,
15228 dma_addr_t *dma ) __attribute__((__ldv_model__)) ;
15229# 1379 "include/linux/usb.h"
15230void usb_free_coherent(struct usb_device *dev , size_t size , void *addr , dma_addr_t dma ) __attribute__((__ldv_model__)) ;
15231# 10 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15232void ldv_assume_stop(void) __attribute__((__ldv_model_inline__)) ;
15233# 17 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15234void ldv_check_final_state(void) __attribute__((__ldv_model__)) ;
15235# 22 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15236void ldv_assume_stop(void) __attribute__((__ldv_model_inline__)) ;
15237# 22 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15238void ldv_assume_stop(void)
15239{
15240
15241 {
15242 LDV_STOP:
15243# 23 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15244 goto LDV_STOP;
15245}
15246}
15247# 29 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15248int ldv_urb_state = 0;
15249# 31 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15250int ldv_coherent_state = 0;
15251# 62 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15252void *usb_alloc_coherent(struct usb_device *dev , size_t size , gfp_t mem_flags ,
15253 dma_addr_t *dma ) __attribute__((__ldv_model__)) ;
15254# 62 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15255void *usb_alloc_coherent(struct usb_device *dev , size_t size , gfp_t mem_flags ,
15256 dma_addr_t *dma )
15257{ void *arbitrary_memory ;
15258 void *tmp___7 ;
15259
15260 {
15261 {
15262# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15263 while (1) {
15264 while_continue: ;
15265 {
15266# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15267 tmp___7 = ldv_undefined_pointer();
15268# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15269 arbitrary_memory = tmp___7;
15270 }
15271# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15272 if (! arbitrary_memory) {
15273# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15274 return ((void *)0);
15275 } else {
15276
15277 }
15278# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15279 ldv_coherent_state = ldv_coherent_state + 1;
15280# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15281 return (arbitrary_memory);
15282# 64 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15283 goto while_break;
15284 }
15285 while_break___0: ;
15286 }
15287 while_break: ;
15288# 65 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15289 return ((void *)0);
15290}
15291}
15292# 68 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15293void usb_free_coherent(struct usb_device *dev , size_t size , void *addr , dma_addr_t dma ) __attribute__((__ldv_model__)) ;
15294# 68 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15295void usb_free_coherent(struct usb_device *dev , size_t size , void *addr , dma_addr_t dma )
15296{
15297
15298 {
15299 {
15300# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15301 while (1) {
15302 while_continue: ;
15303# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15304 if (! ((unsigned long )addr != (unsigned long )((void *)0))) {
15305 {
15306# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15307 ldv_assume_stop();
15308 }
15309 } else {
15310
15311 }
15312# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15313 if (addr) {
15314# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15315 if (ldv_coherent_state >= 1) {
15316
15317 } else {
15318 {
15319# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15320 ldv_blast_assert();
15321 }
15322 }
15323# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15324 ldv_coherent_state = ldv_coherent_state - 1;
15325 } else {
15326
15327 }
15328# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15329 goto while_break;
15330 }
15331 while_break___0: ;
15332 }
15333 while_break: ;
15334# 71 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15335 return;
15336}
15337}
15338# 74 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15339struct urb *usb_alloc_urb(int iso_packets , gfp_t mem_flags ) __attribute__((__ldv_model__)) ;
15340# 74 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15341struct urb *usb_alloc_urb(int iso_packets , gfp_t mem_flags )
15342{ void *arbitrary_memory ;
15343 void *tmp___7 ;
15344
15345 {
15346 {
15347# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15348 while (1) {
15349 while_continue: ;
15350 {
15351# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15352 tmp___7 = ldv_undefined_pointer();
15353# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15354 arbitrary_memory = tmp___7;
15355 }
15356# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15357 if (! arbitrary_memory) {
15358# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15359 return ((struct urb *)((void *)0));
15360 } else {
15361
15362 }
15363# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15364 ldv_urb_state = ldv_urb_state + 1;
15365# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15366 return ((struct urb *)arbitrary_memory);
15367# 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15368 goto while_break;
15369 }
15370 while_break___0: ;
15371 }
15372 while_break: ;
15373# 76 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15374 return ((struct urb *)0);
15375}
15376}
15377# 79 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15378void usb_free_urb(struct urb *urb ) __attribute__((__ldv_model__)) ;
15379# 79 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15380void usb_free_urb(struct urb *urb )
15381{
15382
15383 {
15384 {
15385# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15386 while (1) {
15387 while_continue: ;
15388# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15389 if (! ((unsigned long )urb != (unsigned long )((struct urb *)0))) {
15390 {
15391# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15392 ldv_assume_stop();
15393 }
15394 } else {
15395
15396 }
15397# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15398 if (urb) {
15399# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15400 if (ldv_urb_state >= 1) {
15401
15402 } else {
15403 {
15404# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15405 ldv_blast_assert();
15406 }
15407 }
15408# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15409 ldv_urb_state = ldv_urb_state - 1;
15410 } else {
15411
15412 }
15413# 80 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15414 goto while_break;
15415 }
15416 while_break___0: ;
15417 }
15418 while_break: ;
15419# 81 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15420 return;
15421}
15422}
15423# 84 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15424void ldv_check_final_state(void) __attribute__((__ldv_model__)) ;
15425# 84 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15426void ldv_check_final_state(void)
15427{
15428
15429 {
15430# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15431 if (ldv_urb_state == 0) {
15432
15433 } else {
15434 {
15435# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15436 ldv_blast_assert();
15437 }
15438 }
15439# 88 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15440 if (ldv_coherent_state == 0) {
15441
15442 } else {
15443 {
15444# 88 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15445 ldv_blast_assert();
15446 }
15447 }
15448# 89 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/kernel-rules/files/model0068.c"
15449 return;
15450}
15451}
15452# 22 "include/linux/err.h"
15453__inline static void * __attribute__((__warn_unused_result__)) ERR_PTR(long error )
15454{
15455
15456 {
15457# 24 "include/linux/err.h"
15458 return ((void *)error);
15459}
15460}
15461# 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
15462__inline static int atomic_read(atomic_t const *v )
15463{
15464
15465 {
15466# 25 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
15467 return ((int )*((int volatile *)(& v->counter)));
15468}
15469}
15470# 43 "include/linux/uio.h"
15471__inline static size_t iov_length(struct iovec const *iov , unsigned long nr_segs )
15472{ unsigned long seg ;
15473 size_t ret ;
15474
15475 {
15476# 46 "include/linux/uio.h"
15477 ret = (size_t )0;
15478# 48 "include/linux/uio.h"
15479 seg = 0UL;
15480 {
15481# 48 "include/linux/uio.h"
15482 while (1) {
15483 while_continue: ;
15484# 48 "include/linux/uio.h"
15485 if (seg < nr_segs) {
15486
15487 } else {
15488# 48 "include/linux/uio.h"
15489 goto while_break;
15490 }
15491# 49 "include/linux/uio.h"
15492 ret = ret + (size_t )(iov + seg)->iov_len;
15493# 48 "include/linux/uio.h"
15494 seg = seg + 1UL;
15495 }
15496 while_break___0: ;
15497 }
15498 while_break: ;
15499# 50 "include/linux/uio.h"
15500 return (ret);
15501}
15502}
15503# 327 "include/linux/socket.h"
15504extern int memcpy_toiovecend(struct iovec const *v , unsigned char *kdata , int offset ,
15505 int len ) ;
15506# 2336 "include/linux/fs.h"
15507extern loff_t noop_llseek(struct file *file , loff_t offset , int origin ) ;
15508# 198 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
15509__inline static void *compat_ptr(compat_uptr_t uptr )
15510{
15511
15512 {
15513# 200 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
15514 return ((void *)((unsigned long )uptr));
15515}
15516}
15517# 30 "include/linux/file.h"
15518extern struct file *fget(unsigned int fd ) ;
15519# 79 "include/linux/module.h"
15520int init_module(void) ;
15521# 80 "include/linux/module.h"
15522void cleanup_module(void) ;
15523# 99 "include/linux/module.h"
15524extern struct module __this_module ;
15525# 248 "include/linux/net.h"
15526extern struct socket *sockfd_lookup(int fd , int *err ) ;
15527# 808 "include/linux/skbuff.h"
15528__inline static struct sk_buff *skb_peek(struct sk_buff_head *list_ )
15529{ struct sk_buff *list ;
15530
15531 {
15532# 810 "include/linux/skbuff.h"
15533 list = ((struct sk_buff *)list_)->next;
15534# 811 "include/linux/skbuff.h"
15535 if ((unsigned long )list == (unsigned long )((struct sk_buff *)list_)) {
15536# 812 "include/linux/skbuff.h"
15537 list = (struct sk_buff *)((void *)0);
15538 } else {
15539
15540 }
15541# 813 "include/linux/skbuff.h"
15542 return (list);
15543}
15544}
15545# 58 "include/linux/miscdevice.h"
15546extern int misc_register(struct miscdevice *misc ) ;
15547# 59 "include/linux/miscdevice.h"
15548extern int misc_deregister(struct miscdevice *misc ) ;
15549# 96 "include/linux/if_tun.h"
15550extern struct socket *tun_get_socket(struct file * ) ;
15551# 12 "include/linux/if_macvlan.h"
15552extern struct socket *macvtap_get_socket(struct file * ) ;
15553# 59 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15554static int move_iovec_hdr(struct iovec *from , struct iovec *to , size_t len , int iov_count )
15555{ int seg ;
15556 size_t size ;
15557 __kernel_size_t _min1 ;
15558 size_t _min2 ;
15559 __kernel_size_t tmp___7 ;
15560
15561 {
15562# 62 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15563 seg = 0;
15564 {
15565# 65 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15566 while (1) {
15567 while_continue: ;
15568# 65 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15569 if (len) {
15570# 65 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15571 if (seg < iov_count) {
15572
15573 } else {
15574# 65 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15575 goto while_break;
15576 }
15577 } else {
15578# 65 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15579 goto while_break;
15580 }
15581# 66 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15582 _min1 = from->iov_len;
15583# 66 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15584 _min2 = len;
15585# 66 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15586 if (_min1 < _min2) {
15587# 66 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15588 tmp___7 = _min1;
15589 } else {
15590# 66 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15591 tmp___7 = _min2;
15592 }
15593# 66 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15594 size = tmp___7;
15595# 67 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15596 to->iov_base = from->iov_base;
15597# 68 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15598 to->iov_len = size;
15599# 69 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15600 from->iov_len = from->iov_len - size;
15601# 70 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15602 from->iov_base = from->iov_base + size;
15603# 71 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15604 len = len - size;
15605# 72 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15606 from = from + 1;
15607# 73 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15608 to = to + 1;
15609# 74 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15610 seg = seg + 1;
15611 }
15612 while_break___0: ;
15613 }
15614 while_break: ;
15615# 76 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15616 return (seg);
15617}
15618}
15619# 79 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15620static void copy_iovec_hdr(struct iovec const *from , struct iovec *to , size_t len ,
15621 int iovcount )
15622{ int seg ;
15623 size_t size ;
15624 __kernel_size_t _min1 ;
15625 size_t _min2 ;
15626 __kernel_size_t tmp___7 ;
15627
15628 {
15629# 82 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15630 seg = 0;
15631 {
15632# 85 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15633 while (1) {
15634 while_continue: ;
15635# 85 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15636 if (len) {
15637# 85 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15638 if (seg < iovcount) {
15639
15640 } else {
15641# 85 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15642 goto while_break;
15643 }
15644 } else {
15645# 85 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15646 goto while_break;
15647 }
15648# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15649 _min1 = (__kernel_size_t )from->iov_len;
15650# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15651 _min2 = len;
15652# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15653 if (_min1 < _min2) {
15654# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15655 tmp___7 = _min1;
15656 } else {
15657# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15658 tmp___7 = _min2;
15659 }
15660# 86 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15661 size = tmp___7;
15662# 87 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15663 to->iov_base = (void *)from->iov_base;
15664# 88 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15665 to->iov_len = size;
15666# 89 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15667 len = len - size;
15668# 90 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15669 from = from + 1;
15670# 91 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15671 to = to + 1;
15672# 92 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15673 seg = seg + 1;
15674 }
15675 while_break___0: ;
15676 }
15677 while_break: ;
15678# 94 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15679 return;
15680}
15681}
15682# 97 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15683static void tx_poll_stop(struct vhost_net *net )
15684{ long tmp___7 ;
15685
15686 {
15687 {
15688# 99 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15689 tmp___7 = __builtin_expect((long )(! (! ((unsigned int )net->tx_poll_state != 1U))),
15690 1L);
15691 }
15692# 99 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15693 if (tmp___7) {
15694# 100 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15695 return;
15696 } else {
15697
15698 }
15699 {
15700# 101 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15701 vhost_poll_stop(net->poll + 1);
15702# 102 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15703 net->tx_poll_state = (enum vhost_net_poll_state )2;
15704 }
15705# 103 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15706 return;
15707}
15708}
15709# 106 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15710static void tx_poll_start(struct vhost_net *net , struct socket *sock )
15711{ long tmp___7 ;
15712
15713 {
15714 {
15715# 108 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15716 tmp___7 = __builtin_expect((long )(! (! ((unsigned int )net->tx_poll_state != 2U))),
15717 0L);
15718 }
15719# 108 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15720 if (tmp___7) {
15721# 109 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15722 return;
15723 } else {
15724
15725 }
15726 {
15727# 110 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15728 vhost_poll_start(net->poll + 1, sock->file);
15729# 111 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15730 net->tx_poll_state = (enum vhost_net_poll_state )1;
15731 }
15732# 112 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15733 return;
15734}
15735}
15736# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15737static bool __warned___29 ;
15738# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15739static void handle_tx(struct vhost_net *net ) ;
15740# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15741static struct _ddebug descriptor___28 __attribute__((__used__, __section__("__verbose"),
15742__aligned__(8))) = {"vhost_net", "handle_tx", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
15743 "Unexpected descriptor format for TX: out %d, int %d\n", 178U, 0U, (char)0};
15744# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15745static struct _ddebug descriptor___29 __attribute__((__used__, __section__("__verbose"),
15746__aligned__(8))) = {"vhost_net", "handle_tx", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
15747 "Unexpected header len for TX: %zd expected %zd\n", 189U, 0U, (char)0};
15748# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15749static struct _ddebug descriptor___30 __attribute__((__used__, __section__("__verbose"),
15750__aligned__(8))) = {"vhost_net", "handle_tx", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
15751 "Truncated TX packet: len %d != %zd\n", 201U, 0U, (char)0};
15752# 116 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15753static void handle_tx(struct vhost_net *net )
15754{ struct vhost_virtqueue *vq ;
15755 unsigned int out ;
15756 unsigned int in ;
15757 unsigned int s ;
15758 int head ;
15759 struct msghdr msg ;
15760 size_t len ;
15761 size_t total_len ;
15762 int err ;
15763 int wmem ;
15764 size_t hdr_size ;
15765 struct socket *sock ;
15766 void *_________p1 ;
15767 int tmp___7 ;
15768 int tmp___8 ;
15769 long tmp___9 ;
15770 bool tmp___10 ;
15771 int tmp___11 ;
15772 long tmp___12 ;
15773 long tmp___13 ;
15774 int tmp___14 ;
15775 size_t tmp___15 ;
15776 long tmp___16 ;
15777 long tmp___17 ;
15778 long tmp___18 ;
15779 long tmp___19 ;
15780
15781 {
15782# 118 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15783 vq = net->dev.vqs + 1;
15784# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15785 msg.msg_name = (void *)0;
15786# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15787 msg.msg_namelen = 0;
15788# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15789 msg.msg_iov = vq->iov;
15790# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15791 msg.msg_iovlen = 0UL;
15792# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15793 msg.msg_control = (void *)0;
15794# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15795 msg.msg_controllen = (__kernel_size_t )0;
15796# 121 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15797 msg.msg_flags = 64U;
15798# 129 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15799 total_len = (size_t )0;
15800# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15801 _________p1 = (void *)*((void * volatile *)(& vq->private_data));
15802 {
15803# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15804 while (1) {
15805 while_continue: ;
15806 {
15807# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15808 tmp___7 = debug_lockdep_rcu_enabled();
15809 }
15810# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15811 if (tmp___7) {
15812# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15813 if (! __warned___29) {
15814 {
15815# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15816 tmp___8 = rcu_read_lock_held();
15817 }
15818 } else {
15819
15820 }
15821 } else {
15822
15823 }
15824# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15825 goto while_break;
15826 }
15827 while_break___7: ;
15828 }
15829 while_break: ;
15830 {
15831# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15832 while (1) {
15833 while_continue___0: ;
15834# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15835 goto while_break___0;
15836 }
15837 while_break___8: ;
15838 }
15839 while_break___0:
15840# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15841 sock = (struct socket *)_________p1;
15842# 136 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15843 if (! sock) {
15844# 137 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15845 return;
15846 } else {
15847
15848 }
15849 {
15850# 139 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15851 wmem = atomic_read((atomic_t const *)(& (sock->sk)->sk_wmem_alloc));
15852 }
15853# 140 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15854 if (wmem >= (sock->sk)->sk_sndbuf) {
15855 {
15856# 141 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15857 mutex_lock_nested(& vq->mutex, 0U);
15858# 142 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15859 tx_poll_start(net, sock);
15860# 143 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15861 mutex_unlock(& vq->mutex);
15862 }
15863# 144 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15864 return;
15865 } else {
15866
15867 }
15868 {
15869# 147 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15870 mutex_lock_nested(& vq->mutex, 0U);
15871# 148 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15872 vhost_disable_notify(& net->dev, vq);
15873 }
15874# 150 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15875 if (wmem < (sock->sk)->sk_sndbuf / 2) {
15876 {
15877# 151 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15878 tx_poll_stop(net);
15879 }
15880 } else {
15881
15882 }
15883# 152 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15884 hdr_size = vq->vhost_hlen;
15885 {
15886# 154 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15887 while (1) {
15888 while_continue___1: ;
15889 {
15890# 155 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15891 head = vhost_get_vq_desc(& net->dev, vq, vq->iov, (unsigned int )(sizeof(vq->iov) / sizeof(vq->iov[0]) + sizeof(struct __anonstruct_346 )),
15892 & out, & in, (struct vhost_log *)((void *)0), (unsigned int *)((void *)0));
15893# 160 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15894 tmp___9 = __builtin_expect((long )(! (! (head < 0))), 0L);
15895 }
15896# 160 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15897 if (tmp___9) {
15898# 161 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15899 goto while_break___1;
15900 } else {
15901
15902 }
15903# 163 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15904 if ((unsigned int )head == vq->num) {
15905 {
15906# 164 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15907 wmem = atomic_read((atomic_t const *)(& (sock->sk)->sk_wmem_alloc));
15908 }
15909# 165 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15910 if (wmem >= ((sock->sk)->sk_sndbuf * 3) / 4) {
15911 {
15912# 166 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15913 tx_poll_start(net, sock);
15914# 167 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15915 set_bit(0U, (unsigned long volatile *)(& sock->flags));
15916 }
15917# 168 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15918 goto while_break___1;
15919 } else {
15920
15921 }
15922 {
15923# 170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15924 tmp___10 = vhost_enable_notify(& net->dev, vq);
15925 }
15926# 170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15927 if (tmp___10) {
15928# 170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15929 tmp___11 = 1;
15930 } else {
15931# 170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15932 tmp___11 = 0;
15933 }
15934 {
15935# 170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15936 tmp___12 = __builtin_expect((long )tmp___11, 0L);
15937 }
15938# 170 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15939 if (tmp___12) {
15940 {
15941# 171 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15942 vhost_disable_notify(& net->dev, vq);
15943 }
15944# 172 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15945 goto __Cont;
15946 } else {
15947
15948 }
15949# 174 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15950 goto while_break___1;
15951 } else {
15952
15953 }
15954# 176 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15955 if (in) {
15956 {
15957# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15958 while (1) {
15959 while_continue___2: ;
15960
15961 {
15962# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15963 while (1) {
15964 while_continue___3: ;
15965 {
15966# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15967 tmp___13 = __builtin_expect((long )(! (! descriptor___28.enabled)), 0L);
15968 }
15969# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15970 if (tmp___13) {
15971 {
15972# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15973 __dynamic_pr_debug(& descriptor___28, "Unexpected descriptor format for TX: out %d, int %d\n",
15974 out, in);
15975 }
15976 } else {
15977
15978 }
15979# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15980 goto while_break___3;
15981 }
15982 while_break___11: ;
15983 }
15984 while_break___3: ;
15985# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15986 if (vq->error_ctx) {
15987 {
15988# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15989 eventfd_signal(vq->error_ctx, 1);
15990 }
15991 } else {
15992
15993 }
15994# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
15995 goto while_break___2;
15996 }
15997 while_break___10: ;
15998 }
15999 while_break___2: ;
16000# 179 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16001 goto while_break___1;
16002 } else {
16003
16004 }
16005 {
16006# 182 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16007 tmp___14 = move_iovec_hdr(vq->iov, vq->hdr, hdr_size, (int )out);
16008# 182 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16009 s = (unsigned int )tmp___14;
16010# 183 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16011 msg.msg_iovlen = (__kernel_size_t )out;
16012# 184 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16013 len = iov_length((struct iovec const *)(vq->iov), (unsigned long )out);
16014 }
16015# 186 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16016 if (! len) {
16017 {
16018# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16019 while (1) {
16020 while_continue___4: ;
16021
16022 {
16023# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16024 while (1) {
16025 while_continue___5: ;
16026 {
16027# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16028 tmp___16 = __builtin_expect((long )(! (! descriptor___29.enabled)), 0L);
16029 }
16030# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16031 if (tmp___16) {
16032 {
16033# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16034 tmp___15 = iov_length((struct iovec const *)(vq->hdr), (unsigned long )s);
16035# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16036 __dynamic_pr_debug(& descriptor___29, "Unexpected header len for TX: %zd expected %zd\n",
16037 tmp___15, hdr_size);
16038 }
16039 } else {
16040
16041 }
16042# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16043 goto while_break___5;
16044 }
16045 while_break___13: ;
16046 }
16047 while_break___5: ;
16048# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16049 if (vq->error_ctx) {
16050 {
16051# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16052 eventfd_signal(vq->error_ctx, 1);
16053 }
16054 } else {
16055
16056 }
16057# 187 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16058 goto while_break___4;
16059 }
16060 while_break___12: ;
16061 }
16062 while_break___4: ;
16063# 190 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16064 goto while_break___1;
16065 } else {
16066
16067 }
16068 {
16069# 193 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16070 err = (*((sock->ops)->sendmsg))((struct kiocb *)((void *)0), sock, & msg, len);
16071# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16072 tmp___17 = __builtin_expect((long )(! (! (err < 0))), 0L);
16073 }
16074# 194 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16075 if (tmp___17) {
16076 {
16077# 195 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16078 vhost_discard_vq_desc(vq, 1);
16079# 196 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16080 tx_poll_start(net, sock);
16081 }
16082# 197 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16083 goto while_break___1;
16084 } else {
16085
16086 }
16087# 199 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16088 if ((size_t )err != len) {
16089 {
16090# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16091 while (1) {
16092 while_continue___6: ;
16093 {
16094# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16095 tmp___18 = __builtin_expect((long )(! (! descriptor___30.enabled)), 0L);
16096 }
16097# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16098 if (tmp___18) {
16099 {
16100# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16101 __dynamic_pr_debug(& descriptor___30, "Truncated TX packet: len %d != %zd\n",
16102 err, len);
16103 }
16104 } else {
16105
16106 }
16107# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16108 goto while_break___6;
16109 }
16110 while_break___14: ;
16111 }
16112 while_break___6: ;
16113 } else {
16114
16115 }
16116 {
16117# 202 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16118 vhost_add_used_and_signal(& net->dev, vq, (unsigned int )head, 0);
16119# 203 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16120 total_len = total_len + len;
16121# 204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16122 tmp___19 = __builtin_expect((long )(! (! (total_len >= 524288UL))), 0L);
16123 }
16124# 204 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16125 if (tmp___19) {
16126 {
16127# 205 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16128 vhost_poll_queue(& vq->poll);
16129 }
16130# 206 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16131 goto while_break___1;
16132 } else {
16133
16134 }
16135 __Cont: ;
16136 }
16137 while_break___9: ;
16138 }
16139 while_break___1:
16140 {
16141# 210 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16142 mutex_unlock(& vq->mutex);
16143 }
16144# 211 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16145 return;
16146}
16147}
16148# 213 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16149static int peek_head_len(struct sock *sk )
16150{ struct sk_buff *head ;
16151 int len ;
16152 unsigned long flags ;
16153 raw_spinlock_t *tmp___7 ;
16154 long tmp___8 ;
16155
16156 {
16157# 216 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16158 len = 0;
16159 {
16160# 219 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16161 while (1) {
16162 while_continue: ;
16163
16164 {
16165# 219 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16166 while (1) {
16167 while_continue___0: ;
16168 {
16169# 219 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16170 tmp___7 = spinlock_check(& sk->sk_receive_queue.lock);
16171# 219 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16172 flags = _raw_spin_lock_irqsave(tmp___7);
16173 }
16174# 219 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16175 goto while_break___0;
16176 }
16177 while_break___2: ;
16178 }
16179 while_break___0: ;
16180# 219 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16181 goto while_break;
16182 }
16183 while_break___1: ;
16184 }
16185 while_break:
16186 {
16187# 220 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16188 head = skb_peek(& sk->sk_receive_queue);
16189# 221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16190 tmp___8 = __builtin_expect((long )(! (! head)), 1L);
16191 }
16192# 221 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16193 if (tmp___8) {
16194# 222 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16195 len = (int )head->len;
16196 } else {
16197
16198 }
16199 {
16200# 223 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16201 spin_unlock_irqrestore(& sk->sk_receive_queue.lock, flags);
16202 }
16203# 224 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16204 return (len);
16205}
16206}
16207# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16208static int get_rx_bufs(struct vhost_virtqueue *vq , struct vring_used_elem *heads ,
16209 int datalen , unsigned int *iovcount , struct vhost_log *log ,
16210 unsigned int *log_num , unsigned int quota ) ;
16211# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16212static struct _ddebug descriptor___31 __attribute__((__used__, __section__("__verbose"),
16213__aligned__(8))) = {"vhost_net", "get_rx_bufs", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
16214 "unexpected descriptor format for RX: out %d, in %d\n", 265U, 0U, (char)0};
16215# 237 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16216static int get_rx_bufs(struct vhost_virtqueue *vq , struct vring_used_elem *heads ,
16217 int datalen , unsigned int *iovcount , struct vhost_log *log ,
16218 unsigned int *log_num , unsigned int quota )
16219{ unsigned int out ;
16220 unsigned int in ;
16221 int seg ;
16222 int headcount ;
16223 unsigned int d ;
16224 int r ;
16225 int nlogs ;
16226 long tmp___7 ;
16227 int tmp___8 ;
16228 long tmp___9 ;
16229 int tmp___10 ;
16230 long tmp___11 ;
16231 long tmp___12 ;
16232 size_t tmp___13 ;
16233 long tmp___14 ;
16234
16235 {
16236# 246 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16237 seg = 0;
16238# 247 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16239 headcount = 0;
16240# 249 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16241 nlogs = 0;
16242 {
16243# 251 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16244 while (1) {
16245 while_continue: ;
16246# 251 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16247 if (datalen > 0) {
16248# 251 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16249 if ((unsigned int )headcount < quota) {
16250
16251 } else {
16252# 251 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16253 goto while_break;
16254 }
16255 } else {
16256# 251 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16257 goto while_break;
16258 }
16259 {
16260# 252 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16261 tmp___7 = __builtin_expect((long )(! (! (seg >= 1024))), 0L);
16262 }
16263# 252 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16264 if (tmp___7) {
16265# 253 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16266 r = -105;
16267# 254 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16268 goto err;
16269 } else {
16270
16271 }
16272 {
16273# 256 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16274 tmp___8 = vhost_get_vq_desc(vq->dev, vq, vq->iov + seg, (unsigned int )((sizeof(vq->iov) / sizeof(vq->iov[0]) + sizeof(struct __anonstruct_347 )) - (unsigned long )seg),
16275 & out, & in, log, log_num);
16276# 256 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16277 d = (unsigned int )tmp___8;
16278 }
16279# 259 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16280 if (d == vq->num) {
16281# 260 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16282 r = 0;
16283# 261 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16284 goto err;
16285 } else {
16286
16287 }
16288# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16289 if (out) {
16290# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16291 tmp___10 = 1;
16292 } else
16293# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16294 if (in <= 0U) {
16295# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16296 tmp___10 = 1;
16297 } else {
16298# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16299 tmp___10 = 0;
16300 }
16301 {
16302# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16303 tmp___11 = __builtin_expect((long )tmp___10, 0L);
16304 }
16305# 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16306 if (tmp___11) {
16307 {
16308# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16309 while (1) {
16310 while_continue___0: ;
16311
16312 {
16313# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16314 while (1) {
16315 while_continue___1: ;
16316 {
16317# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16318 tmp___9 = __builtin_expect((long )(! (! descriptor___31.enabled)), 0L);
16319 }
16320# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16321 if (tmp___9) {
16322 {
16323# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16324 __dynamic_pr_debug(& descriptor___31, "unexpected descriptor format for RX: out %d, in %d\n",
16325 out, in);
16326 }
16327 } else {
16328
16329 }
16330# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16331 goto while_break___1;
16332 }
16333 while_break___4: ;
16334 }
16335 while_break___1: ;
16336# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16337 if (vq->error_ctx) {
16338 {
16339# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16340 eventfd_signal(vq->error_ctx, 1);
16341 }
16342 } else {
16343
16344 }
16345# 264 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16346 goto while_break___0;
16347 }
16348 while_break___3: ;
16349 }
16350 while_break___0:
16351# 266 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16352 r = -22;
16353# 267 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16354 goto err;
16355 } else {
16356
16357 }
16358 {
16359# 269 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16360 tmp___12 = __builtin_expect((long )(! (! log)), 0L);
16361 }
16362# 269 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16363 if (tmp___12) {
16364# 270 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16365 nlogs = (int )((unsigned int )nlogs + *log_num);
16366# 271 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16367 log = log + *log_num;
16368 } else {
16369
16370 }
16371 {
16372# 273 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16373 (heads + headcount)->id = d;
16374# 274 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16375 tmp___13 = iov_length((struct iovec const *)(vq->iov + seg), (unsigned long )in);
16376# 274 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16377 (heads + headcount)->len = (__u32 )tmp___13;
16378# 275 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16379 datalen = (int )((__u32 )datalen - (heads + headcount)->len);
16380# 276 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16381 headcount = headcount + 1;
16382# 277 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16383 seg = (int )((unsigned int )seg + in);
16384 }
16385 }
16386 while_break___2: ;
16387 }
16388 while_break:
16389 {
16390# 279 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16391 (heads + (headcount - 1))->len = (heads + (headcount - 1))->len + (__u32 )datalen;
16392# 280 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16393 *iovcount = (unsigned int )seg;
16394# 281 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16395 tmp___14 = __builtin_expect((long )(! (! log)), 0L);
16396 }
16397# 281 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16398 if (tmp___14) {
16399# 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16400 *log_num = (unsigned int )nlogs;
16401 } else {
16402
16403 }
16404# 283 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16405 return (headcount);
16406 err:
16407 {
16408# 285 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16409 vhost_discard_vq_desc(vq, headcount);
16410 }
16411# 286 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16412 return (r);
16413}
16414}
16415# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16416static bool __warned___30 ;
16417# 363 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16418static void handle_rx(struct vhost_net *net ) ;
16419# 363 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16420static struct _ddebug descriptor___32 __attribute__((__used__, __section__("__verbose"),
16421__aligned__(8))) = {"vhost_net", "handle_rx", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
16422 "Discarded rx packet: len %d, expected %zd\n", 364U, 0U, (char)0};
16423# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16424static struct _ddebug descriptor___33 __attribute__((__used__, __section__("__verbose"),
16425__aligned__(8))) = {"vhost_net", "handle_rx", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
16426 "Unable to write vnet_hdr at addr %p\n", 372U, 0U, (char)0};
16427# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16428static struct _ddebug descriptor___34 __attribute__((__used__, __section__("__verbose"),
16429__aligned__(8))) = {"vhost_net", "handle_rx", "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
16430 "Failed num_buffers write", 380U, 0U, (char)0};
16431# 291 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16432static void handle_rx(struct vhost_net *net )
16433{ struct vhost_virtqueue *vq ;
16434 unsigned int in ;
16435 unsigned int log ;
16436 struct vhost_log *vq_log ;
16437 struct msghdr msg ;
16438 struct virtio_net_hdr_mrg_rxbuf hdr ;
16439 size_t total_len ;
16440 int err ;
16441 int headcount ;
16442 int mergeable ;
16443 size_t vhost_hlen ;
16444 size_t sock_hlen ;
16445 size_t vhost_len ;
16446 size_t sock_len ;
16447 struct socket *sock ;
16448 void *_________p1 ;
16449 int tmp___7 ;
16450 int tmp___8 ;
16451 int tmp___12 ;
16452 int tmp___13 ;
16453 long tmp___14 ;
16454 int tmp___16 ;
16455 long tmp___17 ;
16456 long tmp___18 ;
16457 bool tmp___19 ;
16458 int tmp___20 ;
16459 long tmp___21 ;
16460 long tmp___22 ;
16461 long tmp___23 ;
16462 long tmp___24 ;
16463 long tmp___25 ;
16464 long tmp___26 ;
16465 int tmp___27 ;
16466 long tmp___28 ;
16467 long tmp___29 ;
16468 int tmp___30 ;
16469 long tmp___31 ;
16470 long tmp___32 ;
16471 int tmp___33 ;
16472
16473 {
16474# 293 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16475 vq = net->dev.vqs + 0;
16476# 294 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16477 in = in;
16478# 296 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16479 msg.msg_name = (void *)0;
16480# 296 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16481 msg.msg_namelen = 0;
16482# 296 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16483 msg.msg_iov = vq->iov;
16484# 296 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16485 msg.msg_iovlen = 0UL;
16486# 296 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16487 msg.msg_control = (void *)0;
16488# 296 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16489 msg.msg_controllen = (__kernel_size_t )0;
16490# 296 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16491 msg.msg_flags = 64U;
16492# 304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16493 hdr.hdr.flags = (__u8 )0;
16494# 304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16495 hdr.hdr.gso_type = (__u8 )0;
16496# 304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16497 hdr.hdr.hdr_len = (unsigned short)0;
16498# 304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16499 hdr.hdr.gso_size = (unsigned short)0;
16500# 304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16501 hdr.hdr.csum_start = (unsigned short)0;
16502# 304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16503 hdr.hdr.csum_offset = (unsigned short)0;
16504# 304 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16505 hdr.num_buffers = (unsigned short)0;
16506# 308 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16507 total_len = (size_t )0;
16508# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16509 _________p1 = (void *)*((void * volatile *)(& vq->private_data));
16510 {
16511# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16512 while (1) {
16513 while_continue: ;
16514 {
16515# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16516 tmp___7 = debug_lockdep_rcu_enabled();
16517 }
16518# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16519 if (tmp___7) {
16520# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16521 if (! __warned___30) {
16522 {
16523# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16524 tmp___8 = rcu_read_lock_held();
16525 }
16526 } else {
16527
16528 }
16529 } else {
16530
16531 }
16532# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16533 goto while_break;
16534 }
16535 while_break___7: ;
16536 }
16537 while_break: ;
16538 {
16539# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16540 while (1) {
16541 while_continue___2: ;
16542# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16543 goto while_break___0;
16544 }
16545 while_break___8: ;
16546 }
16547 while_break___0:
16548# 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16549 sock = (struct socket *)_________p1;
16550# 315 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16551 if (! sock) {
16552# 316 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16553 return;
16554 } else {
16555
16556 }
16557 {
16558# 318 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16559 mutex_lock_nested(& vq->mutex, 0U);
16560# 319 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16561 vhost_disable_notify(& net->dev, vq);
16562# 320 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16563 vhost_hlen = vq->vhost_hlen;
16564# 321 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16565 sock_hlen = vq->sock_hlen;
16566# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16567 tmp___12 = vhost_has_feature(& net->dev, 26);
16568 }
16569# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16570 if (tmp___12) {
16571# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16572 tmp___13 = 1;
16573 } else {
16574# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16575 tmp___13 = 0;
16576 }
16577 {
16578# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16579 tmp___14 = __builtin_expect((long )tmp___13, 0L);
16580 }
16581# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16582 if (tmp___14) {
16583# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16584 vq_log = vq->log;
16585 } else {
16586# 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16587 vq_log = (struct vhost_log *)((void *)0);
16588 }
16589 {
16590# 325 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16591 mergeable = vhost_has_feature(& net->dev, 15);
16592 }
16593 {
16594# 327 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16595 while (1) {
16596 while_continue___3: ;
16597 while_continue___1:
16598 {
16599# 327 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16600 tmp___33 = peek_head_len(sock->sk);
16601# 327 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16602 sock_len = (size_t )tmp___33;
16603 }
16604# 327 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16605 if (sock_len) {
16606
16607 } else {
16608# 327 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16609 goto while_break___1;
16610 }
16611 {
16612# 328 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16613 sock_len = sock_len + sock_hlen;
16614# 329 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16615 vhost_len = sock_len + vhost_hlen;
16616# 330 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16617 tmp___17 = __builtin_expect((long )(! (! mergeable)), 1L);
16618 }
16619# 330 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16620 if (tmp___17) {
16621# 330 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16622 tmp___16 = 1024;
16623 } else {
16624# 330 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16625 tmp___16 = 1;
16626 }
16627 {
16628# 330 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16629 headcount = get_rx_bufs(vq, vq->heads, (int )vhost_len, & in, vq_log, & log, (unsigned int )tmp___16);
16630# 334 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16631 tmp___18 = __builtin_expect((long )(! (! (headcount < 0))), 0L);
16632 }
16633# 334 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16634 if (tmp___18) {
16635# 335 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16636 goto while_break___1;
16637 } else {
16638
16639 }
16640# 337 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16641 if (! headcount) {
16642 {
16643# 338 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16644 tmp___19 = vhost_enable_notify(& net->dev, vq);
16645 }
16646# 338 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16647 if (tmp___19) {
16648# 338 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16649 tmp___20 = 1;
16650 } else {
16651# 338 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16652 tmp___20 = 0;
16653 }
16654 {
16655# 338 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16656 tmp___21 = __builtin_expect((long )tmp___20, 0L);
16657 }
16658# 338 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16659 if (tmp___21) {
16660 {
16661# 341 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16662 vhost_disable_notify(& net->dev, vq);
16663 }
16664# 342 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16665 goto while_continue___1;
16666 } else {
16667
16668 }
16669# 346 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16670 goto while_break___1;
16671 } else {
16672
16673 }
16674 {
16675# 349 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16676 tmp___22 = __builtin_expect((long )(! (! vhost_hlen)), 0L);
16677 }
16678# 349 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16679 if (tmp___22) {
16680 {
16681# 351 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16682 move_iovec_hdr(vq->iov, vq->hdr, vhost_hlen, (int )in);
16683 }
16684 } else {
16685 {
16686# 355 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16687 copy_iovec_hdr((struct iovec const *)(vq->iov), vq->hdr, sock_hlen, (int )in);
16688 }
16689 }
16690 {
16691# 356 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16692 msg.msg_iovlen = (__kernel_size_t )in;
16693# 357 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16694 err = (*((sock->ops)->recvmsg))((struct kiocb *)((void *)0), sock, & msg, sock_len,
16695 96);
16696# 362 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16697 tmp___24 = __builtin_expect((long )(! (! ((size_t )err != sock_len))), 0L);
16698 }
16699# 362 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16700 if (tmp___24) {
16701 {
16702# 363 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16703 while (1) {
16704 while_continue___4: ;
16705 {
16706# 363 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16707 tmp___23 = __builtin_expect((long )(! (! descriptor___32.enabled)), 0L);
16708 }
16709# 363 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16710 if (tmp___23) {
16711 {
16712# 363 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16713 __dynamic_pr_debug(& descriptor___32, "Discarded rx packet: len %d, expected %zd\n",
16714 err, sock_len);
16715 }
16716 } else {
16717
16718 }
16719# 363 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16720 goto while_break___2;
16721 }
16722 while_break___10: ;
16723 }
16724 while_break___2:
16725 {
16726# 365 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16727 vhost_discard_vq_desc(vq, headcount);
16728 }
16729# 366 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16730 goto while_continue___1;
16731 } else {
16732
16733 }
16734 {
16735# 368 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16736 tmp___26 = __builtin_expect((long )(! (! vhost_hlen)), 0L);
16737 }
16738# 368 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16739 if (tmp___26) {
16740 {
16741# 368 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16742 tmp___27 = memcpy_toiovecend((struct iovec const *)(vq->hdr), (unsigned char *)(& hdr),
16743 0, (int )vhost_hlen);
16744 }
16745# 368 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16746 if (tmp___27) {
16747 {
16748# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16749 while (1) {
16750 while_continue___5: ;
16751
16752 {
16753# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16754 while (1) {
16755 while_continue___6: ;
16756 {
16757# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16758 tmp___25 = __builtin_expect((long )(! (! descriptor___33.enabled)), 0L);
16759 }
16760# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16761 if (tmp___25) {
16762 {
16763# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16764 __dynamic_pr_debug(& descriptor___33, "Unable to write vnet_hdr at addr %p\n",
16765 vq->iov[0].iov_base);
16766 }
16767 } else {
16768
16769 }
16770# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16771 goto while_break___4;
16772 }
16773 while_break___12: ;
16774 }
16775 while_break___4: ;
16776# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16777 if (vq->error_ctx) {
16778 {
16779# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16780 eventfd_signal(vq->error_ctx, 1);
16781 }
16782 } else {
16783
16784 }
16785# 371 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16786 goto while_break___3;
16787 }
16788 while_break___11: ;
16789 }
16790 while_break___3: ;
16791# 373 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16792 goto while_break___1;
16793 } else {
16794
16795 }
16796 } else {
16797
16798 }
16799 {
16800# 376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16801 tmp___29 = __builtin_expect((long )(! (! mergeable)), 1L);
16802 }
16803# 376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16804 if (tmp___29) {
16805 {
16806# 376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16807 tmp___30 = memcpy_toiovecend((struct iovec const *)(vq->hdr), (unsigned char *)(& headcount),
16808 (int )((unsigned int )(& ((struct virtio_net_hdr_mrg_rxbuf *)0)->num_buffers)),
16809 (int )sizeof(hdr.num_buffers));
16810 }
16811# 376 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16812 if (tmp___30) {
16813 {
16814# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16815 while (1) {
16816 while_continue___7: ;
16817
16818 {
16819# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16820 while (1) {
16821 while_continue___8: ;
16822 {
16823# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16824 tmp___28 = __builtin_expect((long )(! (! descriptor___34.enabled)), 0L);
16825 }
16826# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16827 if (tmp___28) {
16828 {
16829# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16830 __dynamic_pr_debug(& descriptor___34, "Failed num_buffers write");
16831 }
16832 } else {
16833
16834 }
16835# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16836 goto while_break___6;
16837 }
16838 while_break___14: ;
16839 }
16840 while_break___6: ;
16841# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16842 if (vq->error_ctx) {
16843 {
16844# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16845 eventfd_signal(vq->error_ctx, 1);
16846 }
16847 } else {
16848
16849 }
16850# 380 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16851 goto while_break___5;
16852 }
16853 while_break___13: ;
16854 }
16855 while_break___5:
16856 {
16857# 381 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16858 vhost_discard_vq_desc(vq, headcount);
16859 }
16860# 382 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16861 goto while_break___1;
16862 } else {
16863
16864 }
16865 } else {
16866
16867 }
16868 {
16869# 384 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16870 vhost_add_used_and_signal_n(& net->dev, vq, vq->heads, (unsigned int )headcount);
16871# 386 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16872 tmp___31 = __builtin_expect((long )(! (! vq_log)), 0L);
16873 }
16874# 386 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16875 if (tmp___31) {
16876 {
16877# 387 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16878 vhost_log_write(vq, vq_log, log, (u64 )vhost_len);
16879 }
16880 } else {
16881
16882 }
16883 {
16884# 388 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16885 total_len = total_len + vhost_len;
16886# 389 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16887 tmp___32 = __builtin_expect((long )(! (! (total_len >= 524288UL))), 0L);
16888 }
16889# 389 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16890 if (tmp___32) {
16891 {
16892# 390 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16893 vhost_poll_queue(& vq->poll);
16894 }
16895# 391 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16896 goto while_break___1;
16897 } else {
16898
16899 }
16900 }
16901 while_break___9: ;
16902 }
16903 while_break___1:
16904 {
16905# 395 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16906 mutex_unlock(& vq->mutex);
16907 }
16908# 396 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16909 return;
16910}
16911}
16912# 398 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16913static void handle_tx_kick(struct vhost_work *work )
16914{ struct vhost_virtqueue *vq ;
16915 struct vhost_work const *__mptr ;
16916 struct vhost_net *net ;
16917 struct vhost_dev const *__mptr___0 ;
16918
16919 {
16920 {
16921# 400 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16922 __mptr = (struct vhost_work const *)work;
16923# 400 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16924 vq = (struct vhost_virtqueue *)((char *)__mptr - (unsigned int )(& ((struct vhost_virtqueue *)0)->poll.work));
16925# 402 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16926 __mptr___0 = (struct vhost_dev const *)vq->dev;
16927# 402 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16928 net = (struct vhost_net *)((char *)__mptr___0 - (unsigned int )(& ((struct vhost_net *)0)->dev));
16929# 404 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16930 handle_tx(net);
16931 }
16932# 405 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16933 return;
16934}
16935}
16936# 407 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16937static void handle_rx_kick(struct vhost_work *work )
16938{ struct vhost_virtqueue *vq ;
16939 struct vhost_work const *__mptr ;
16940 struct vhost_net *net ;
16941 struct vhost_dev const *__mptr___0 ;
16942
16943 {
16944 {
16945# 409 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16946 __mptr = (struct vhost_work const *)work;
16947# 409 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16948 vq = (struct vhost_virtqueue *)((char *)__mptr - (unsigned int )(& ((struct vhost_virtqueue *)0)->poll.work));
16949# 411 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16950 __mptr___0 = (struct vhost_dev const *)vq->dev;
16951# 411 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16952 net = (struct vhost_net *)((char *)__mptr___0 - (unsigned int )(& ((struct vhost_net *)0)->dev));
16953# 413 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16954 handle_rx(net);
16955 }
16956# 414 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16957 return;
16958}
16959}
16960# 416 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16961static void handle_tx_net(struct vhost_work *work )
16962{ struct vhost_net *net ;
16963 struct vhost_work const *__mptr ;
16964
16965 {
16966 {
16967# 418 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16968 __mptr = (struct vhost_work const *)work;
16969# 418 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16970 net = (struct vhost_net *)((char *)__mptr - (unsigned int )(& ((struct vhost_net *)0)->poll[1].work));
16971# 420 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16972 handle_tx(net);
16973 }
16974# 421 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16975 return;
16976}
16977}
16978# 423 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16979static void handle_rx_net(struct vhost_work *work )
16980{ struct vhost_net *net ;
16981 struct vhost_work const *__mptr ;
16982
16983 {
16984 {
16985# 425 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16986 __mptr = (struct vhost_work const *)work;
16987# 425 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16988 net = (struct vhost_net *)((char *)__mptr - (unsigned int )(& ((struct vhost_net *)0)->poll[0].work));
16989# 427 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16990 handle_rx(net);
16991 }
16992# 428 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16993 return;
16994}
16995}
16996# 430 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
16997static int vhost_net_open(struct inode *inode , struct file *f )
16998{ struct vhost_net *n ;
16999 void *tmp___7 ;
17000 struct vhost_dev *dev ;
17001 int r ;
17002 long tmp___8 ;
17003
17004 {
17005 {
17006# 432 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17007 tmp___7 = kmalloc(sizeof(*n), 208U);
17008# 432 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17009 n = (struct vhost_net *)tmp___7;
17010 }
17011# 436 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17012 if (! n) {
17013# 437 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17014 return (-12);
17015 } else {
17016
17017 }
17018 {
17019# 439 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17020 dev = & n->dev;
17021# 440 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17022 n->vqs[1].handle_kick = & handle_tx_kick;
17023# 441 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17024 n->vqs[0].handle_kick = & handle_rx_kick;
17025# 442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17026 tmp___8 = vhost_dev_init(dev, n->vqs, 2);
17027# 442 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17028 r = (int )tmp___8;
17029 }
17030# 443 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17031 if (r < 0) {
17032 {
17033# 444 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17034 kfree((void const *)n);
17035 }
17036# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17037 return (r);
17038 } else {
17039
17040 }
17041 {
17042# 448 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17043 vhost_poll_init(n->poll + 1, & handle_tx_net, 4UL, dev);
17044# 449 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17045 vhost_poll_init(n->poll + 0, & handle_rx_net, 1UL, dev);
17046# 450 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17047 n->tx_poll_state = (enum vhost_net_poll_state )0;
17048# 452 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17049 f->private_data = (void *)n;
17050 }
17051# 454 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17052 return (0);
17053}
17054}
17055# 457 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17056static void vhost_net_disable_vq(struct vhost_net *n , struct vhost_virtqueue *vq )
17057{
17058
17059 {
17060# 460 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17061 if (! vq->private_data) {
17062# 461 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17063 return;
17064 } else {
17065
17066 }
17067# 462 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17068 if ((unsigned long )vq == (unsigned long )(n->vqs + 1)) {
17069 {
17070# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17071 tx_poll_stop(n);
17072# 464 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17073 n->tx_poll_state = (enum vhost_net_poll_state )0;
17074 }
17075 } else {
17076 {
17077# 466 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17078 vhost_poll_stop(n->poll + 0);
17079 }
17080 }
17081# 467 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17082 return;
17083}
17084}
17085# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17086static bool __warned___31 ;
17087# 469 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17088static void vhost_net_enable_vq(struct vhost_net *n , struct vhost_virtqueue *vq )
17089{ struct socket *sock ;
17090 int tmp___7 ;
17091 int tmp___8 ;
17092
17093 {
17094 {
17095# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17096 while (1) {
17097 while_continue: ;
17098 {
17099# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17100 tmp___7 = debug_lockdep_rcu_enabled();
17101 }
17102# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17103 if (tmp___7) {
17104# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17105 if (! __warned___31) {
17106 {
17107# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17108 tmp___8 = lock_is_held(& vq->mutex.dep_map);
17109 }
17110# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17111 if (tmp___8) {
17112
17113 } else {
17114 {
17115# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17116 __warned___31 = (bool )1;
17117# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17118 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
17119 (int const )475);
17120 }
17121 }
17122 } else {
17123
17124 }
17125 } else {
17126
17127 }
17128# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17129 goto while_break;
17130 }
17131 while_break___0: ;
17132 }
17133 while_break:
17134# 474 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17135 sock = (struct socket *)vq->private_data;
17136# 476 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17137 if (! sock) {
17138# 477 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17139 return;
17140 } else {
17141
17142 }
17143# 478 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17144 if ((unsigned long )vq == (unsigned long )(n->vqs + 1)) {
17145 {
17146# 479 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17147 n->tx_poll_state = (enum vhost_net_poll_state )2;
17148# 480 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17149 tx_poll_start(n, sock);
17150 }
17151 } else {
17152 {
17153# 482 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17154 vhost_poll_start(n->poll + 0, sock->file);
17155 }
17156 }
17157# 483 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17158 return;
17159}
17160}
17161# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17162static bool __warned___32 ;
17163# 485 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17164static struct socket *vhost_net_stop_vq(struct vhost_net *n , struct vhost_virtqueue *vq )
17165{ struct socket *sock ;
17166 int tmp___7 ;
17167 int tmp___8 ;
17168
17169 {
17170 {
17171# 490 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17172 mutex_lock_nested(& vq->mutex, 0U);
17173 }
17174 {
17175# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17176 while (1) {
17177 while_continue: ;
17178 {
17179# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17180 tmp___7 = debug_lockdep_rcu_enabled();
17181 }
17182# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17183 if (tmp___7) {
17184# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17185 if (! __warned___32) {
17186 {
17187# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17188 tmp___8 = lock_is_held(& vq->mutex.dep_map);
17189 }
17190# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17191 if (tmp___8) {
17192
17193 } else {
17194 {
17195# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17196 __warned___32 = (bool )1;
17197# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17198 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
17199 (int const )492);
17200 }
17201 }
17202 } else {
17203
17204 }
17205 } else {
17206
17207 }
17208# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17209 goto while_break;
17210 }
17211 while_break___0: ;
17212 }
17213 while_break:
17214 {
17215# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17216 sock = (struct socket *)vq->private_data;
17217# 493 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17218 vhost_net_disable_vq(n, vq);
17219# 494 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17220 __asm__ volatile ("": : : "memory");
17221# 494 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17222 vq->private_data = (void *)0;
17223# 495 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17224 mutex_unlock(& vq->mutex);
17225 }
17226# 496 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17227 return (sock);
17228}
17229}
17230# 499 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17231static void vhost_net_stop(struct vhost_net *n , struct socket **tx_sock , struct socket **rx_sock )
17232{
17233
17234 {
17235 {
17236# 502 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17237 *tx_sock = vhost_net_stop_vq(n, n->vqs + 1);
17238# 503 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17239 *rx_sock = vhost_net_stop_vq(n, n->vqs + 0);
17240 }
17241# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17242 return;
17243}
17244}
17245# 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17246static void vhost_net_flush_vq(struct vhost_net *n , int index )
17247{
17248
17249 {
17250 {
17251# 508 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17252 vhost_poll_flush(n->poll + index);
17253# 509 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17254 vhost_poll_flush(& (n->dev.vqs + index)->poll);
17255 }
17256# 510 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17257 return;
17258}
17259}
17260# 512 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17261static void vhost_net_flush(struct vhost_net *n )
17262{
17263
17264 {
17265 {
17266# 514 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17267 vhost_net_flush_vq(n, 1);
17268# 515 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17269 vhost_net_flush_vq(n, 0);
17270 }
17271# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17272 return;
17273}
17274}
17275# 518 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17276static int vhost_net_release(struct inode *inode , struct file *f )
17277{ struct vhost_net *n ;
17278 struct socket *tx_sock ;
17279 struct socket *rx_sock ;
17280
17281 {
17282 {
17283# 520 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17284 n = (struct vhost_net *)f->private_data;
17285# 524 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17286 vhost_net_stop(n, & tx_sock, & rx_sock);
17287# 525 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17288 vhost_net_flush(n);
17289# 526 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17290 vhost_dev_cleanup(& n->dev);
17291 }
17292# 527 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17293 if (tx_sock) {
17294 {
17295# 528 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17296 fput(tx_sock->file);
17297 }
17298 } else {
17299
17300 }
17301# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17302 if (rx_sock) {
17303 {
17304# 530 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17305 fput(rx_sock->file);
17306 }
17307 } else {
17308
17309 }
17310 {
17311# 533 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17312 vhost_net_flush(n);
17313# 534 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17314 kfree((void const *)n);
17315 }
17316# 535 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17317 return (0);
17318}
17319}
17320# 538 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17321static struct socket *get_raw_socket(int fd )
17322{ struct __anonstruct_uaddr_348 uaddr ;
17323 int uaddr_len ;
17324 int r ;
17325 struct socket *sock ;
17326 struct socket *tmp___7 ;
17327 void *tmp___8 ;
17328 void *tmp___9 ;
17329 void *tmp ;
17330 void *tmp___10 ;
17331
17332 {
17333 {
17334# 544 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17335 uaddr_len = (int )sizeof(uaddr);
17336# 545 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17337 tmp___7 = sockfd_lookup(fd, & r);
17338# 545 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17339 sock = tmp___7;
17340 }
17341# 547 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17342 if (! sock) {
17343 {
17344# 548 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17345 tmp = (void *)ERR_PTR(-88L);
17346# 548 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17347 tmp___8 = tmp;
17348 }
17349# 548 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17350 return ((struct socket *)tmp___8);
17351 } else {
17352
17353 }
17354# 551 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17355 if ((sock->sk)->sk_type != 3U) {
17356# 552 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17357 r = -94;
17358# 553 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17359 goto err;
17360 } else {
17361
17362 }
17363 {
17364# 556 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17365 r = (*((sock->ops)->getname))(sock, (struct sockaddr *)(& uaddr.sa), & uaddr_len,
17366 0);
17367 }
17368# 558 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17369 if (r) {
17370# 559 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17371 goto err;
17372 } else {
17373
17374 }
17375# 561 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17376 if ((int )uaddr.sa.sll_family != 17) {
17377# 562 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17378 r = -96;
17379# 563 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17380 goto err;
17381 } else {
17382
17383 }
17384# 565 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17385 return (sock);
17386 err:
17387 {
17388# 567 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17389 fput(sock->file);
17390# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17391 tmp___10 = (void *)ERR_PTR((long )r);
17392# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17393 tmp___9 = tmp___10;
17394 }
17395# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17396 return ((struct socket *)tmp___9);
17397}
17398}
17399# 571 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17400static struct socket *get_tap_socket(int fd )
17401{ struct file *file ;
17402 struct file *tmp___7 ;
17403 struct socket *sock ;
17404 void *tmp___8 ;
17405 long tmp___9 ;
17406 long tmp___10 ;
17407 void *tmp ;
17408 long tmp___11 ;
17409 long tmp___12 ;
17410
17411 {
17412 {
17413# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17414 tmp___7 = fget((unsigned int )fd);
17415# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17416 file = tmp___7;
17417 }
17418# 576 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17419 if (! file) {
17420 {
17421# 577 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17422 tmp = (void *)ERR_PTR(-9L);
17423# 577 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17424 tmp___8 = tmp;
17425 }
17426# 577 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17427 return ((struct socket *)tmp___8);
17428 } else {
17429
17430 }
17431 {
17432# 578 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17433 sock = tun_get_socket(file);
17434# 579 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17435 tmp___11 = (long )IS_ERR((void const *)sock);
17436# 579 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17437 tmp___9 = tmp___11;
17438 }
17439# 579 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17440 if (tmp___9) {
17441
17442 } else {
17443# 580 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17444 return (sock);
17445 }
17446 {
17447# 581 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17448 sock = macvtap_get_socket(file);
17449# 582 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17450 tmp___12 = (long )IS_ERR((void const *)sock);
17451# 582 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17452 tmp___10 = tmp___12;
17453 }
17454# 582 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17455 if (tmp___10) {
17456 {
17457# 583 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17458 fput(file);
17459 }
17460 } else {
17461
17462 }
17463# 584 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17464 return (sock);
17465}
17466}
17467# 587 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17468static struct socket *get_socket(int fd )
17469{ struct socket *sock ;
17470 long tmp___7 ;
17471 long tmp___8 ;
17472 void *tmp___9 ;
17473 long tmp ;
17474 long tmp___10 ;
17475 void *tmp___11 ;
17476
17477 {
17478# 592 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17479 if (fd == -1) {
17480# 593 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17481 return ((struct socket *)((void *)0));
17482 } else {
17483
17484 }
17485 {
17486# 594 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17487 sock = get_raw_socket(fd);
17488# 595 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17489 tmp = (long )IS_ERR((void const *)sock);
17490# 595 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17491 tmp___7 = tmp;
17492 }
17493# 595 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17494 if (tmp___7) {
17495
17496 } else {
17497# 596 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17498 return (sock);
17499 }
17500 {
17501# 597 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17502 sock = get_tap_socket(fd);
17503# 598 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17504 tmp___10 = (long )IS_ERR((void const *)sock);
17505# 598 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17506 tmp___8 = tmp___10;
17507 }
17508# 598 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17509 if (tmp___8) {
17510
17511 } else {
17512# 599 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17513 return (sock);
17514 }
17515 {
17516# 600 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17517 tmp___11 = (void *)ERR_PTR(-88L);
17518# 600 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17519 tmp___9 = tmp___11;
17520 }
17521# 600 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17522 return ((struct socket *)tmp___9);
17523}
17524}
17525# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17526static bool __warned___33 ;
17527# 603 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17528static long vhost_net_set_backend(struct vhost_net *n , unsigned int index , int fd )
17529{ struct socket *sock ;
17530 struct socket *oldsock ;
17531 struct vhost_virtqueue *vq ;
17532 int r ;
17533 long tmp___7 ;
17534 int tmp___8 ;
17535 long tmp___9 ;
17536 long tmp___10 ;
17537 int tmp___11 ;
17538 int tmp___12 ;
17539 long tmp ;
17540 long tmp___13 ;
17541
17542 {
17543 {
17544# 609 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17545 mutex_lock_nested(& n->dev.mutex, 0U);
17546# 610 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17547 tmp___7 = vhost_dev_check_owner(& n->dev);
17548# 610 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17549 r = (int )tmp___7;
17550 }
17551# 611 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17552 if (r) {
17553# 612 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17554 goto err;
17555 } else {
17556
17557 }
17558# 614 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17559 if (index >= 2U) {
17560# 615 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17561 r = -105;
17562# 616 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17563 goto err;
17564 } else {
17565
17566 }
17567 {
17568# 618 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17569 vq = n->vqs + index;
17570# 619 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17571 mutex_lock_nested(& vq->mutex, 0U);
17572# 622 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17573 tmp___8 = vhost_vq_access_ok(vq);
17574 }
17575# 622 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17576 if (tmp___8) {
17577
17578 } else {
17579# 623 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17580 r = -14;
17581# 624 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17582 goto err_vq;
17583 }
17584 {
17585# 626 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17586 sock = get_socket(fd);
17587# 627 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17588 tmp = (long )IS_ERR((void const *)sock);
17589# 627 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17590 tmp___10 = tmp;
17591 }
17592# 627 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17593 if (tmp___10) {
17594 {
17595# 628 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17596 tmp___13 = (long )PTR_ERR((void const *)sock);
17597# 628 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17598 tmp___9 = tmp___13;
17599# 628 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17600 r = (int )tmp___9;
17601 }
17602# 629 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17603 goto err_vq;
17604 } else {
17605
17606 }
17607 {
17608# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17609 while (1) {
17610 while_continue: ;
17611 {
17612# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17613 tmp___11 = debug_lockdep_rcu_enabled();
17614 }
17615# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17616 if (tmp___11) {
17617# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17618 if (! __warned___33) {
17619 {
17620# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17621 tmp___12 = lock_is_held(& vq->mutex.dep_map);
17622 }
17623# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17624 if (tmp___12) {
17625
17626 } else {
17627 {
17628# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17629 __warned___33 = (bool )1;
17630# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17631 lockdep_rcu_dereference("/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c",
17632 (int const )634);
17633 }
17634 }
17635 } else {
17636
17637 }
17638 } else {
17639
17640 }
17641# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17642 goto while_break;
17643 }
17644 while_break___0: ;
17645 }
17646 while_break:
17647# 633 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17648 oldsock = (struct socket *)vq->private_data;
17649# 635 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17650 if ((unsigned long )sock != (unsigned long )oldsock) {
17651 {
17652# 636 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17653 vhost_net_disable_vq(n, vq);
17654# 637 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17655 __asm__ volatile ("": : : "memory");
17656# 637 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17657 vq->private_data = (void *)sock;
17658# 638 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17659 vhost_net_enable_vq(n, vq);
17660 }
17661 } else {
17662
17663 }
17664 {
17665# 641 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17666 mutex_unlock(& vq->mutex);
17667 }
17668# 643 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17669 if (oldsock) {
17670 {
17671# 644 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17672 vhost_net_flush_vq(n, (int )index);
17673# 645 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17674 fput(oldsock->file);
17675 }
17676 } else {
17677
17678 }
17679 {
17680# 648 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17681 mutex_unlock(& n->dev.mutex);
17682 }
17683# 649 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17684 return (0L);
17685 err_vq:
17686 {
17687# 652 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17688 mutex_unlock(& vq->mutex);
17689 }
17690 err:
17691 {
17692# 654 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17693 mutex_unlock(& n->dev.mutex);
17694 }
17695# 655 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17696 return ((long )r);
17697}
17698}
17699# 658 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17700static long vhost_net_reset_owner(struct vhost_net *n )
17701{ struct socket *tx_sock ;
17702 struct socket *rx_sock ;
17703 long err ;
17704
17705 {
17706 {
17707# 660 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17708 tx_sock = (struct socket *)((void *)0);
17709# 661 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17710 rx_sock = (struct socket *)((void *)0);
17711# 664 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17712 mutex_lock_nested(& n->dev.mutex, 0U);
17713# 665 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17714 err = vhost_dev_check_owner(& n->dev);
17715 }
17716# 666 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17717 if (err) {
17718# 667 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17719 goto done;
17720 } else {
17721
17722 }
17723 {
17724# 668 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17725 vhost_net_stop(n, & tx_sock, & rx_sock);
17726# 669 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17727 vhost_net_flush(n);
17728# 670 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17729 err = vhost_dev_reset_owner(& n->dev);
17730 }
17731 done:
17732 {
17733# 672 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17734 mutex_unlock(& n->dev.mutex);
17735 }
17736# 673 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17737 if (tx_sock) {
17738 {
17739# 674 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17740 fput(tx_sock->file);
17741 }
17742 } else {
17743
17744 }
17745# 675 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17746 if (rx_sock) {
17747 {
17748# 676 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17749 fput(rx_sock->file);
17750 }
17751 } else {
17752
17753 }
17754# 677 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17755 return (err);
17756}
17757}
17758# 680 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17759static int vhost_net_set_features(struct vhost_net *n , u64 features )
17760{ size_t vhost_hlen ;
17761 size_t sock_hlen ;
17762 size_t hdr_len ;
17763 int i ;
17764 int tmp___7 ;
17765
17766 {
17767# 685 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17768 if (features & (unsigned long long )(1 << 15)) {
17769# 685 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17770 hdr_len = sizeof(struct virtio_net_hdr_mrg_rxbuf );
17771 } else {
17772# 685 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17773 hdr_len = sizeof(struct virtio_net_hdr );
17774 }
17775# 688 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17776 if (features & (unsigned long long )(1 << 27)) {
17777# 690 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17778 vhost_hlen = hdr_len;
17779# 691 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17780 sock_hlen = (size_t )0;
17781 } else {
17782# 694 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17783 vhost_hlen = (size_t )0;
17784# 695 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17785 sock_hlen = hdr_len;
17786 }
17787 {
17788# 697 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17789 mutex_lock_nested(& n->dev.mutex, 0U);
17790 }
17791# 698 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17792 if (features & (unsigned long long )(1 << 26)) {
17793 {
17794# 698 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17795 tmp___7 = vhost_log_access_ok(& n->dev);
17796 }
17797# 698 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17798 if (tmp___7) {
17799
17800 } else {
17801 {
17802# 700 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17803 mutex_unlock(& n->dev.mutex);
17804 }
17805# 701 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17806 return (-14);
17807 }
17808 } else {
17809
17810 }
17811# 703 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17812 n->dev.acked_features = (unsigned int )features;
17813# 704 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17814 __asm__ volatile ("": : : "memory");
17815# 705 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17816 i = 0;
17817 {
17818# 705 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17819 while (1) {
17820 while_continue: ;
17821# 705 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17822 if (i < 2) {
17823
17824 } else {
17825# 705 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17826 goto while_break;
17827 }
17828 {
17829# 706 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17830 mutex_lock_nested(& n->vqs[i].mutex, 0U);
17831# 707 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17832 n->vqs[i].vhost_hlen = vhost_hlen;
17833# 708 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17834 n->vqs[i].sock_hlen = sock_hlen;
17835# 709 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17836 mutex_unlock(& n->vqs[i].mutex);
17837# 705 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17838 i = i + 1;
17839 }
17840 }
17841 while_break___0: ;
17842 }
17843 while_break:
17844 {
17845# 711 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17846 vhost_net_flush(n);
17847# 712 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17848 mutex_unlock(& n->dev.mutex);
17849 }
17850# 713 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17851 return (0);
17852}
17853}
17854# 716 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17855static long vhost_net_ioctl(struct file *f , unsigned int ioctl , unsigned long arg )
17856{ struct vhost_net *n ;
17857 void *argp ;
17858 u64 *featurep ;
17859 struct vhost_vring_file backend ;
17860 u64 features ;
17861 int r ;
17862 unsigned long tmp___7 ;
17863 long tmp___8 ;
17864 int tmp___9 ;
17865 unsigned long tmp___10 ;
17866 int tmp___11 ;
17867 long tmp___12 ;
17868 long tmp___13 ;
17869 unsigned long tmp ;
17870 int tmp___14 ;
17871 unsigned long tmp___15 ;
17872
17873 {
17874# 719 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17875 n = (struct vhost_net *)f->private_data;
17876# 720 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17877 argp = (void *)arg;
17878# 721 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17879 featurep = (u64 *)argp;
17880# 727 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17881 if ((unsigned long )((int )ioctl) == ((unsigned long )(((1U << 30) | (unsigned int )(175 << 8)) | 48U) | (sizeof(struct vhost_vring_file ) << 16))) {
17882# 727 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17883 goto case_exp;
17884 } else
17885# 731 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17886 if ((unsigned long )((int )ioctl) == ((unsigned long )((2U << 30) | (unsigned int )(175 << 8)) | (sizeof(__u64 ) << 16))) {
17887# 731 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17888 goto case_exp___0;
17889 } else
17890# 736 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17891 if ((unsigned long )((int )ioctl) == ((unsigned long )((1U << 30) | (unsigned int )(175 << 8)) | (sizeof(__u64 ) << 16))) {
17892# 736 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17893 goto case_exp___1;
17894 } else
17895# 742 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17896 if ((unsigned int )((int )ioctl) == ((unsigned int )(175 << 8) | 2U)) {
17897# 742 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17898 goto case_exp___2;
17899 } else {
17900# 744 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17901 goto switch_default;
17902# 726 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17903 if (0) {
17904 case_exp:
17905 {
17906# 728 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17907 tmp = (unsigned long )copy_from_user((void *)(& backend), (void const *)argp,
17908 sizeof(backend));
17909# 728 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17910 tmp___7 = tmp;
17911 }
17912# 728 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17913 if (tmp___7) {
17914# 729 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17915 return (-14L);
17916 } else {
17917
17918 }
17919 {
17920# 730 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17921 tmp___8 = vhost_net_set_backend(n, backend.index, backend.fd);
17922 }
17923# 730 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17924 return (tmp___8);
17925 case_exp___0:
17926 {
17927# 732 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17928 features = (u64 )1023442944;
17929# 733 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17930 tmp___14 = (int )copy_to_user((void *)featurep, (void const *)(& features),
17931 (unsigned int )sizeof(features));
17932# 733 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17933 tmp___9 = tmp___14;
17934 }
17935# 733 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17936 if (tmp___9) {
17937# 734 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17938 return (-14L);
17939 } else {
17940
17941 }
17942# 735 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17943 return (0L);
17944 case_exp___1:
17945 {
17946# 737 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17947 tmp___15 = (unsigned long )copy_from_user((void *)(& features), (void const *)featurep,
17948 sizeof(features));
17949# 737 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17950 tmp___10 = tmp___15;
17951 }
17952# 737 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17953 if (tmp___10) {
17954# 738 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17955 return (-14L);
17956 } else {
17957
17958 }
17959# 739 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17960 if (features & 0x0fffffffc2ff7fffULL) {
17961# 740 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17962 return (-95L);
17963 } else {
17964
17965 }
17966 {
17967# 741 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17968 tmp___11 = vhost_net_set_features(n, features);
17969 }
17970# 741 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17971 return ((long )tmp___11);
17972 case_exp___2:
17973 {
17974# 743 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17975 tmp___12 = vhost_net_reset_owner(n);
17976 }
17977# 743 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17978 return (tmp___12);
17979 switch_default:
17980 {
17981# 745 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17982 mutex_lock_nested(& n->dev.mutex, 0U);
17983# 746 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17984 tmp___13 = vhost_dev_ioctl(& n->dev, ioctl, arg);
17985# 746 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17986 r = (int )tmp___13;
17987# 747 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17988 vhost_net_flush(n);
17989# 748 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17990 mutex_unlock(& n->dev.mutex);
17991 }
17992# 749 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
17993 return ((long )r);
17994 } else {
17995
17996 }
17997 }
17998}
17999}
18000# 754 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18001static long vhost_net_compat_ioctl(struct file *f , unsigned int ioctl , unsigned long arg )
18002{ void *tmp___7 ;
18003 long tmp___8 ;
18004
18005 {
18006 {
18007# 757 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18008 tmp___7 = compat_ptr((compat_uptr_t )arg);
18009# 757 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18010 tmp___8 = vhost_net_ioctl(f, ioctl, (unsigned long )tmp___7);
18011 }
18012# 757 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18013 return (tmp___8);
18014}
18015}
18016# 761 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18017static struct file_operations const vhost_net_fops =
18018# 761 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18019 {& __this_module, & noop_llseek, (ssize_t (*)(struct file * , char * , size_t ,
18020 loff_t * ))0, (ssize_t (*)(struct file * ,
18021 char const * ,
18022 size_t ,
18023 loff_t * ))0,
18024 (ssize_t (*)(struct kiocb * , struct iovec const * , unsigned long , loff_t ))0,
18025 (ssize_t (*)(struct kiocb * , struct iovec const * , unsigned long , loff_t ))0,
18026 (int (*)(struct file * , void * , int (*)(void * , char const * , int , loff_t ,
18027 u64 , unsigned int ) ))0, (unsigned int (*)(struct file * ,
18028 struct poll_table_struct * ))0,
18029 & vhost_net_ioctl, & vhost_net_compat_ioctl, (int (*)(struct file * , struct vm_area_struct * ))0,
18030 & vhost_net_open, (int (*)(struct file * , fl_owner_t id ))0, & vhost_net_release,
18031 (int (*)(struct file * , int datasync ))0, (int (*)(struct kiocb * , int datasync ))0,
18032 (int (*)(int , struct file * , int ))0, (int (*)(struct file * , int , struct file_lock * ))0,
18033 (ssize_t (*)(struct file * , struct page * , int , size_t , loff_t * , int ))0,
18034 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
18035 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
18036 int , struct file_lock * ))0,
18037 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
18038 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
18039 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file *file ,
18040 int mode ,
18041 loff_t offset ,
18042 loff_t len ))0};
18043# 772 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18044static struct miscdevice vhost_net_misc =
18045# 772 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18046 {255, "vhost-net", & vhost_net_fops, {(struct list_head *)0, (struct list_head *)0},
18047 (struct device *)0, (struct device *)0, (char const *)0, 0U};
18048# 778 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18049static int vhost_net_init(void)
18050{ int tmp___7 ;
18051
18052 {
18053 {
18054# 780 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18055 tmp___7 = misc_register(& vhost_net_misc);
18056 }
18057# 780 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18058 return (tmp___7);
18059}
18060}
18061# 782 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18062int init_module(void)
18063{ int tmp___7 ;
18064
18065 {
18066 {
18067# 782 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18068 tmp___7 = vhost_net_init();
18069 }
18070# 782 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18071 return (tmp___7);
18072}
18073}
18074# 784 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18075static void vhost_net_exit(void)
18076{
18077
18078 {
18079 {
18080# 786 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18081 misc_deregister(& vhost_net_misc);
18082 }
18083# 787 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18084 return;
18085}
18086}
18087# 788 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18088void cleanup_module(void)
18089{
18090
18091 {
18092 {
18093# 788 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18094 vhost_net_exit();
18095 }
18096# 788 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18097 return;
18098}
18099}
18100# 790 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18101static char const __mod_version790[14] __attribute__((__used__, __unused__, __section__(".modinfo"),
18102__aligned__(1))) =
18103# 790 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18104 { (char const )'v', (char const )'e', (char const )'r', (char const )'s',
18105 (char const )'i', (char const )'o', (char const )'n', (char const )'=',
18106 (char const )'0', (char const )'.', (char const )'0', (char const )'.',
18107 (char const )'1', (char const )'\000'};
18108# 791 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18109static char const __mod_license791[15] __attribute__((__used__, __unused__, __section__(".modinfo"),
18110__aligned__(1))) =
18111# 791 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18112 { (char const )'l', (char const )'i', (char const )'c', (char const )'e',
18113 (char const )'n', (char const )'s', (char const )'e', (char const )'=',
18114 (char const )'G', (char const )'P', (char const )'L', (char const )' ',
18115 (char const )'v', (char const )'2', (char const )'\000'};
18116# 792 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18117static char const __mod_author792[26] __attribute__((__used__, __unused__, __section__(".modinfo"),
18118__aligned__(1))) =
18119# 792 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18120 { (char const )'a', (char const )'u', (char const )'t', (char const )'h',
18121 (char const )'o', (char const )'r', (char const )'=', (char const )'M',
18122 (char const )'i', (char const )'c', (char const )'h', (char const )'a',
18123 (char const )'e', (char const )'l', (char const )' ', (char const )'S',
18124 (char const )'.', (char const )' ', (char const )'T', (char const )'s',
18125 (char const )'i', (char const )'r', (char const )'k', (char const )'i',
18126 (char const )'n', (char const )'\000'};
18127# 793 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18128static char const __mod_description793[51] __attribute__((__used__, __unused__,
18129__section__(".modinfo"), __aligned__(1))) =
18130# 793 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18131 { (char const )'d', (char const )'e', (char const )'s', (char const )'c',
18132 (char const )'r', (char const )'i', (char const )'p', (char const )'t',
18133 (char const )'i', (char const )'o', (char const )'n', (char const )'=',
18134 (char const )'H', (char const )'o', (char const )'s', (char const )'t',
18135 (char const )' ', (char const )'k', (char const )'e', (char const )'r',
18136 (char const )'n', (char const )'e', (char const )'l', (char const )' ',
18137 (char const )'a', (char const )'c', (char const )'c', (char const )'e',
18138 (char const )'l', (char const )'e', (char const )'r', (char const )'a',
18139 (char const )'t', (char const )'o', (char const )'r', (char const )' ',
18140 (char const )'f', (char const )'o', (char const )'r', (char const )' ',
18141 (char const )'v', (char const )'i', (char const )'r', (char const )'t',
18142 (char const )'i', (char const )'o', (char const )' ', (char const )'n',
18143 (char const )'e', (char const )'t', (char const )'\000'};
18144# 814 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18145extern void ldv_check_return_value(int res ) ;
18146# 817 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18147extern void ldv_initialize(void) ;
18148# 820 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18149extern int nondet_int(void) ;
18150# 823 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18151int LDV_IN_INTERRUPT ;
18152# 880 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18153static int res_vhost_net_open_12 ;
18154# 826 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18155void main(void)
18156{ struct inode *var_group1 ;
18157 struct file *var_group2 ;
18158 unsigned int var_vhost_net_ioctl_26_p1 ;
18159 unsigned long var_vhost_net_ioctl_26_p2 ;
18160 unsigned int var_vhost_net_compat_ioctl_27_p1 ;
18161 unsigned long var_vhost_net_compat_ioctl_27_p2 ;
18162 int tmp___7 ;
18163 int ldv_s_vhost_net_fops_file_operations ;
18164 int tmp___8 ;
18165 int tmp___9 ;
18166
18167 {
18168 {
18169# 894 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18170 LDV_IN_INTERRUPT = 1;
18171# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18172 ldv_initialize();
18173# 915 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18174 tmp___7 = vhost_net_init();
18175 }
18176# 915 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18177 if (tmp___7) {
18178# 916 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18179 goto ldv_final;
18180 } else {
18181
18182 }
18183# 917 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18184 ldv_s_vhost_net_fops_file_operations = 0;
18185 {
18186# 921 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18187 while (1) {
18188 while_continue: ;
18189 {
18190# 921 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18191 tmp___9 = nondet_int();
18192 }
18193# 921 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18194 if (tmp___9) {
18195
18196 } else
18197# 921 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18198 if (! (ldv_s_vhost_net_fops_file_operations == 0)) {
18199
18200 } else {
18201# 921 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18202 goto while_break;
18203 }
18204 {
18205# 925 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18206 tmp___8 = nondet_int();
18207 }
18208# 927 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18209 if (tmp___8 == 0) {
18210# 927 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18211 goto case_0;
18212 } else
18213# 954 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18214 if (tmp___8 == 1) {
18215# 954 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18216 goto case_1;
18217 } else
18218# 978 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18219 if (tmp___8 == 2) {
18220# 978 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18221 goto case_2;
18222 } else
18223# 1002 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18224 if (tmp___8 == 3) {
18225# 1002 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18226 goto case_3;
18227 } else {
18228# 1026 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18229 goto switch_default;
18230# 925 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18231 if (0) {
18232 case_0:
18233# 930 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18234 if (ldv_s_vhost_net_fops_file_operations == 0) {
18235 {
18236# 937 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18237 res_vhost_net_open_12 = vhost_net_open(var_group1, var_group2);
18238# 938 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18239 ldv_check_return_value(res_vhost_net_open_12);
18240 }
18241# 939 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18242 if (res_vhost_net_open_12) {
18243# 940 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18244 goto ldv_module_exit;
18245 } else {
18246
18247 }
18248# 947 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18249 ldv_s_vhost_net_fops_file_operations = ldv_s_vhost_net_fops_file_operations + 1;
18250 } else {
18251
18252 }
18253# 953 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18254 goto switch_break;
18255 case_1:
18256# 957 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18257 if (ldv_s_vhost_net_fops_file_operations == 1) {
18258 {
18259# 964 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18260 vhost_net_release(var_group1, var_group2);
18261# 971 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18262 ldv_s_vhost_net_fops_file_operations = 0;
18263 }
18264 } else {
18265
18266 }
18267# 977 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18268 goto switch_break;
18269 case_2:
18270 {
18271# 988 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18272 vhost_net_ioctl(var_group2, var_vhost_net_ioctl_26_p1, var_vhost_net_ioctl_26_p2);
18273 }
18274# 1001 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18275 goto switch_break;
18276 case_3:
18277 {
18278# 1013 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18279 vhost_net_compat_ioctl(var_group2, var_vhost_net_compat_ioctl_27_p1, var_vhost_net_compat_ioctl_27_p2);
18280 }
18281# 1025 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18282 goto switch_break;
18283 switch_default:
18284# 1026 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18285 goto switch_break;
18286 } else {
18287 switch_break: ;
18288 }
18289 }
18290 }
18291 while_break___0: ;
18292 }
18293 while_break: ;
18294 ldv_module_exit:
18295 {
18296# 1044 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18297 vhost_net_exit();
18298 }
18299 ldv_final:
18300 {
18301# 1047 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18302 ldv_check_final_state();
18303 }
18304# 1050 "/anthill/stuff/tacas-comp/work/current--X--drivers/vhost/vhost_net.ko--X--bulklinux-3.0.1--X--68_1/linux-3.0.1/csd_deg_dscv/12/dscv_tempdir/dscv/ri/68_1/drivers/vhost/net.c"
18305 return;
18306}
18307}