Showing error 987

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: ldv-linux-3.4/43_1a_cilled_safe_ok_nondet_linux-43_1a-drivers--media--rc--keymaps--rc-dntv-live-dvbt-pro.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 494
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

  1/* Generated by CIL v. 1.3.7 */
  2/* print_CIL_Input is true */
  3
  4#line 43 "include/asm-generic/int-ll64.h"
  5typedef unsigned char u8;
  6#line 46 "include/asm-generic/int-ll64.h"
  7typedef unsigned short u16;
  8#line 49 "include/asm-generic/int-ll64.h"
  9typedef unsigned int u32;
 10#line 52 "include/asm-generic/int-ll64.h"
 11typedef unsigned long long u64;
 12#line 14 "include/asm-generic/posix_types.h"
 13typedef long __kernel_long_t;
 14#line 15 "include/asm-generic/posix_types.h"
 15typedef unsigned long __kernel_ulong_t;
 16#line 75 "include/asm-generic/posix_types.h"
 17typedef __kernel_ulong_t __kernel_size_t;
 18#line 76 "include/asm-generic/posix_types.h"
 19typedef __kernel_long_t __kernel_ssize_t;
 20#line 27 "include/linux/types.h"
 21typedef unsigned short umode_t;
 22#line 63 "include/linux/types.h"
 23typedef __kernel_size_t size_t;
 24#line 68 "include/linux/types.h"
 25typedef __kernel_ssize_t ssize_t;
 26#line 202 "include/linux/types.h"
 27typedef unsigned int gfp_t;
 28#line 221 "include/linux/types.h"
 29struct __anonstruct_atomic_t_6 {
 30   int counter ;
 31};
 32#line 221 "include/linux/types.h"
 33typedef struct __anonstruct_atomic_t_6 atomic_t;
 34#line 226 "include/linux/types.h"
 35struct __anonstruct_atomic64_t_7 {
 36   long counter ;
 37};
 38#line 226 "include/linux/types.h"
 39typedef struct __anonstruct_atomic64_t_7 atomic64_t;
 40#line 227 "include/linux/types.h"
 41struct list_head {
 42   struct list_head *next ;
 43   struct list_head *prev ;
 44};
 45#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
 46struct page;
 47#line 58
 48struct page;
 49#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
 50struct arch_spinlock;
 51#line 327
 52struct arch_spinlock;
 53#line 433 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 54struct kmem_cache;
 55#line 23 "include/asm-generic/atomic-long.h"
 56typedef atomic64_t atomic_long_t;
 57#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 58typedef u16 __ticket_t;
 59#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 60typedef u32 __ticketpair_t;
 61#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 62struct __raw_tickets {
 63   __ticket_t head ;
 64   __ticket_t tail ;
 65};
 66#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 67union __anonunion_ldv_5907_29 {
 68   __ticketpair_t head_tail ;
 69   struct __raw_tickets tickets ;
 70};
 71#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 72struct arch_spinlock {
 73   union __anonunion_ldv_5907_29 ldv_5907 ;
 74};
 75#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 76typedef struct arch_spinlock arch_spinlock_t;
 77#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 78struct lockdep_map;
 79#line 34
 80struct lockdep_map;
 81#line 55 "include/linux/debug_locks.h"
 82struct stack_trace {
 83   unsigned int nr_entries ;
 84   unsigned int max_entries ;
 85   unsigned long *entries ;
 86   int skip ;
 87};
 88#line 26 "include/linux/stacktrace.h"
 89struct lockdep_subclass_key {
 90   char __one_byte ;
 91};
 92#line 53 "include/linux/lockdep.h"
 93struct lock_class_key {
 94   struct lockdep_subclass_key subkeys[8U] ;
 95};
 96#line 59 "include/linux/lockdep.h"
 97struct lock_class {
 98   struct list_head hash_entry ;
 99   struct list_head lock_entry ;
100   struct lockdep_subclass_key *key ;
101   unsigned int subclass ;
102   unsigned int dep_gen_id ;
103   unsigned long usage_mask ;
104   struct stack_trace usage_traces[13U] ;
105   struct list_head locks_after ;
106   struct list_head locks_before ;
107   unsigned int version ;
108   unsigned long ops ;
109   char const   *name ;
110   int name_version ;
111   unsigned long contention_point[4U] ;
112   unsigned long contending_point[4U] ;
113};
114#line 144 "include/linux/lockdep.h"
115struct lockdep_map {
116   struct lock_class_key *key ;
117   struct lock_class *class_cache[2U] ;
118   char const   *name ;
119   int cpu ;
120   unsigned long ip ;
121};
122#line 556 "include/linux/lockdep.h"
123struct raw_spinlock {
124   arch_spinlock_t raw_lock ;
125   unsigned int magic ;
126   unsigned int owner_cpu ;
127   void *owner ;
128   struct lockdep_map dep_map ;
129};
130#line 33 "include/linux/spinlock_types.h"
131struct __anonstruct_ldv_6122_33 {
132   u8 __padding[24U] ;
133   struct lockdep_map dep_map ;
134};
135#line 33 "include/linux/spinlock_types.h"
136union __anonunion_ldv_6123_32 {
137   struct raw_spinlock rlock ;
138   struct __anonstruct_ldv_6122_33 ldv_6122 ;
139};
140#line 33 "include/linux/spinlock_types.h"
141struct spinlock {
142   union __anonunion_ldv_6123_32 ldv_6123 ;
143};
144#line 76 "include/linux/spinlock_types.h"
145typedef struct spinlock spinlock_t;
146#line 445 "include/linux/elf.h"
147struct sock;
148#line 445
149struct sock;
150#line 446
151struct kobject;
152#line 446
153struct kobject;
154#line 447
155enum kobj_ns_type {
156    KOBJ_NS_TYPE_NONE = 0,
157    KOBJ_NS_TYPE_NET = 1,
158    KOBJ_NS_TYPES = 2
159} ;
160#line 453 "include/linux/elf.h"
161struct kobj_ns_type_operations {
162   enum kobj_ns_type type ;
163   void *(*grab_current_ns)(void) ;
164   void const   *(*netlink_ns)(struct sock * ) ;
165   void const   *(*initial_ns)(void) ;
166   void (*drop_ns)(void * ) ;
167};
168#line 57 "include/linux/kobject_ns.h"
169struct attribute {
170   char const   *name ;
171   umode_t mode ;
172   struct lock_class_key *key ;
173   struct lock_class_key skey ;
174};
175#line 98 "include/linux/sysfs.h"
176struct sysfs_ops {
177   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
178   ssize_t (*store)(struct kobject * , struct attribute * , char const   * , size_t  ) ;
179   void const   *(*namespace)(struct kobject * , struct attribute  const  * ) ;
180};
181#line 117
182struct sysfs_dirent;
183#line 117
184struct sysfs_dirent;
185#line 182 "include/linux/sysfs.h"
186struct kref {
187   atomic_t refcount ;
188};
189#line 49 "include/linux/kobject.h"
190struct kset;
191#line 49
192struct kobj_type;
193#line 49 "include/linux/kobject.h"
194struct kobject {
195   char const   *name ;
196   struct list_head entry ;
197   struct kobject *parent ;
198   struct kset *kset ;
199   struct kobj_type *ktype ;
200   struct sysfs_dirent *sd ;
201   struct kref kref ;
202   unsigned char state_initialized : 1 ;
203   unsigned char state_in_sysfs : 1 ;
204   unsigned char state_add_uevent_sent : 1 ;
205   unsigned char state_remove_uevent_sent : 1 ;
206   unsigned char uevent_suppress : 1 ;
207};
208#line 107 "include/linux/kobject.h"
209struct kobj_type {
210   void (*release)(struct kobject * ) ;
211   struct sysfs_ops  const  *sysfs_ops ;
212   struct attribute **default_attrs ;
213   struct kobj_ns_type_operations  const  *(*child_ns_type)(struct kobject * ) ;
214   void const   *(*namespace)(struct kobject * ) ;
215};
216#line 115 "include/linux/kobject.h"
217struct kobj_uevent_env {
218   char *envp[32U] ;
219   int envp_idx ;
220   char buf[2048U] ;
221   int buflen ;
222};
223#line 122 "include/linux/kobject.h"
224struct kset_uevent_ops {
225   int (* const  filter)(struct kset * , struct kobject * ) ;
226   char const   *(* const  name)(struct kset * , struct kobject * ) ;
227   int (* const  uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
228};
229#line 139 "include/linux/kobject.h"
230struct kset {
231   struct list_head list ;
232   spinlock_t list_lock ;
233   struct kobject kobj ;
234   struct kset_uevent_ops  const  *uevent_ops ;
235};
236#line 88 "include/linux/kmemleak.h"
237struct kmem_cache_cpu {
238   void **freelist ;
239   unsigned long tid ;
240   struct page *page ;
241   struct page *partial ;
242   int node ;
243   unsigned int stat[26U] ;
244};
245#line 55 "include/linux/slub_def.h"
246struct kmem_cache_node {
247   spinlock_t list_lock ;
248   unsigned long nr_partial ;
249   struct list_head partial ;
250   atomic_long_t nr_slabs ;
251   atomic_long_t total_objects ;
252   struct list_head full ;
253};
254#line 66 "include/linux/slub_def.h"
255struct kmem_cache_order_objects {
256   unsigned long x ;
257};
258#line 76 "include/linux/slub_def.h"
259struct kmem_cache {
260   struct kmem_cache_cpu *cpu_slab ;
261   unsigned long flags ;
262   unsigned long min_partial ;
263   int size ;
264   int objsize ;
265   int offset ;
266   int cpu_partial ;
267   struct kmem_cache_order_objects oo ;
268   struct kmem_cache_order_objects max ;
269   struct kmem_cache_order_objects min ;
270   gfp_t allocflags ;
271   int refcount ;
272   void (*ctor)(void * ) ;
273   int inuse ;
274   int align ;
275   int reserved ;
276   char const   *name ;
277   struct list_head list ;
278   struct kobject kobj ;
279   int remote_node_defrag_ratio ;
280   struct kmem_cache_node *node[1024U] ;
281};
282#line 1650 "include/linux/input.h"
283struct rc_map_table {
284   u32 scancode ;
285   u32 keycode ;
286};
287#line 35 "include/media/rc-map.h"
288struct rc_map {
289   struct rc_map_table *scan ;
290   unsigned int size ;
291   unsigned int len ;
292   unsigned int alloc ;
293   u64 rc_type ;
294   char const   *name ;
295   spinlock_t lock ;
296};
297#line 45 "include/media/rc-map.h"
298struct rc_map_list {
299   struct list_head list ;
300   struct rc_map map ;
301};
302#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
303void ldv_spin_lock(void) ;
304#line 3
305void ldv_spin_unlock(void) ;
306#line 4
307int ldv_spin_trylock(void) ;
308#line 220 "include/linux/slub_def.h"
309extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t  ) ;
310#line 223
311void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
312#line 11 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
313void ldv_check_alloc_flags(gfp_t flags ) ;
314#line 12
315void ldv_check_alloc_nonatomic(void) ;
316#line 14
317struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
318#line 53 "include/media/rc-map.h"
319extern int rc_map_register(struct rc_map_list * ) ;
320#line 54
321extern void rc_map_unregister(struct rc_map_list * ) ;
322#line 33 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
323static struct rc_map_table dntv_live_dvbt_pro[53U]  = 
324#line 33 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
325  {      {22U, 116U}, 
326        {91U, 102U}, 
327        {85U, 377U}, 
328        {88U, 386U}, 
329        {90U, 385U}, 
330        {89U, 389U}, 
331        {3U, 2U}, 
332        {1U, 3U}, 
333        {6U, 4U}, 
334        {9U, 5U}, 
335        {29U, 6U}, 
336        {31U, 7U}, 
337        {13U, 8U}, 
338        {25U, 9U}, 
339        {27U, 10U}, 
340        {12U, 223U}, 
341        {21U, 11U}, 
342        {74U, 355U}, 
343        {19U, 158U}, 
344        {0U, 15U}, 
345        {75U, 103U}, 
346        {78U, 105U}, 
347        {79U, 352U}, 
348        {82U, 106U}, 
349        {81U, 108U}, 
350        {30U, 115U}, 
351        {10U, 114U}, 
352        {2U, 403U}, 
353        {5U, 402U}, 
354        {17U, 167U}, 
355        {20U, 207U}, 
356        {76U, 119U}, 
357        {26U, 128U}, 
358        {64U, 168U}, 
359        {18U, 208U}, 
360        {65U, 165U}, 
361        {66U, 163U}, 
362        {84U, 212U}, 
363        {80U, 368U}, 
364        {71U, 378U}, 
365        {77U, 375U}, 
366        {67U, 370U}, 
367        {16U, 113U}, 
368        {73U, 392U}, 
369        {7U, 142U}, 
370        {8U, 393U}, 
371        {14U, 412U}, 
372        {69U, 372U}, 
373        {70U, 371U}, 
374        {86U, 398U}, 
375        {87U, 399U}, 
376        {92U, 400U}, 
377        {93U, 401U}};
378#line 90 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
379static struct rc_map_list dntv_live_dvbt_pro_map  =    {{(struct list_head *)0, (struct list_head *)0}, {(struct rc_map_table *)(& dntv_live_dvbt_pro),
380                                                     53U, 0U, 0U, 0ULL, "rc-dntv-live-dvbt-pro",
381                                                     {{{{{0U}}, 0U, 0U, (void *)0,
382                                                        {(struct lock_class_key *)0,
383                                                         {(struct lock_class *)0,
384                                                          (struct lock_class *)0},
385                                                         (char const   *)0, 0, 0UL}}}}}};
386#line 99 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
387static int init_rc_map_dntv_live_dvbt_pro(void) 
388{ int tmp ;
389
390  {
391  {
392#line 101
393  tmp = rc_map_register(& dntv_live_dvbt_pro_map);
394  }
395#line 101
396  return (tmp);
397}
398}
399#line 104 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
400static void exit_rc_map_dntv_live_dvbt_pro(void) 
401{ 
402
403  {
404  {
405#line 106
406  rc_map_unregister(& dntv_live_dvbt_pro_map);
407  }
408#line 107
409  return;
410}
411}
412#line 131
413extern void ldv_check_final_state(void) ;
414#line 137
415extern void ldv_initialize(void) ;
416#line 140
417extern int __VERIFIER_nondet_int(void) ;
418#line 143 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
419int LDV_IN_INTERRUPT  ;
420#line 146 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
421void main(void) 
422{ int tmp ;
423  int tmp___0 ;
424  int tmp___1 ;
425
426  {
427  {
428#line 158
429  LDV_IN_INTERRUPT = 1;
430#line 167
431  ldv_initialize();
432#line 173
433  tmp = init_rc_map_dntv_live_dvbt_pro();
434  }
435#line 173
436  if (tmp != 0) {
437#line 174
438    goto ldv_final;
439  } else {
440
441  }
442#line 176
443  goto ldv_19081;
444  ldv_19080: 
445  {
446#line 179
447  tmp___0 = __VERIFIER_nondet_int();
448  }
449  {
450#line 181
451  goto switch_default;
452#line 179
453  if (0) {
454    switch_default: /* CIL Label */ ;
455#line 181
456    goto ldv_19079;
457  } else {
458    switch_break: /* CIL Label */ ;
459  }
460  }
461  ldv_19079: ;
462  ldv_19081: 
463  {
464#line 176
465  tmp___1 = __VERIFIER_nondet_int();
466  }
467#line 176
468  if (tmp___1 != 0) {
469#line 177
470    goto ldv_19080;
471  } else {
472#line 179
473    goto ldv_19082;
474  }
475  ldv_19082: ;
476  {
477#line 193
478  exit_rc_map_dntv_live_dvbt_pro();
479  }
480  ldv_final: 
481  {
482#line 196
483  ldv_check_final_state();
484  }
485#line 199
486  return;
487}
488}
489#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
490void ldv_blast_assert(void) 
491{ 
492
493  {
494  ERROR: ;
495#line 6
496  goto ERROR;
497}
498}
499#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
500extern int __VERIFIER_nondet_int(void) ;
501#line 220 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
502int ldv_spin  =    0;
503#line 224 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
504void ldv_check_alloc_flags(gfp_t flags ) 
505{ 
506
507  {
508#line 227
509  if (ldv_spin != 0) {
510#line 227
511    if (flags != 32U) {
512      {
513#line 227
514      ldv_blast_assert();
515      }
516    } else {
517
518    }
519  } else {
520
521  }
522#line 230
523  return;
524}
525}
526#line 230
527extern struct page *ldv_some_page(void) ;
528#line 233 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
529struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) 
530{ struct page *tmp ;
531
532  {
533#line 236
534  if (ldv_spin != 0) {
535#line 236
536    if (flags != 32U) {
537      {
538#line 236
539      ldv_blast_assert();
540      }
541    } else {
542
543    }
544  } else {
545
546  }
547  {
548#line 238
549  tmp = ldv_some_page();
550  }
551#line 238
552  return (tmp);
553}
554}
555#line 242 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
556void ldv_check_alloc_nonatomic(void) 
557{ 
558
559  {
560#line 245
561  if (ldv_spin != 0) {
562    {
563#line 245
564    ldv_blast_assert();
565    }
566  } else {
567
568  }
569#line 248
570  return;
571}
572}
573#line 249 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
574void ldv_spin_lock(void) 
575{ 
576
577  {
578#line 252
579  ldv_spin = 1;
580#line 253
581  return;
582}
583}
584#line 256 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
585void ldv_spin_unlock(void) 
586{ 
587
588  {
589#line 259
590  ldv_spin = 0;
591#line 260
592  return;
593}
594}
595#line 263 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
596int ldv_spin_trylock(void) 
597{ int is_lock ;
598
599  {
600  {
601#line 268
602  is_lock = __VERIFIER_nondet_int();
603  }
604#line 270
605  if (is_lock != 0) {
606#line 273
607    return (0);
608  } else {
609#line 278
610    ldv_spin = 1;
611#line 280
612    return (1);
613  }
614}
615}
616#line 447 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/9144/dscv_tempdir/dscv/ri/43_1a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c.p"
617void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) 
618{ 
619
620  {
621  {
622#line 453
623  ldv_check_alloc_flags(ldv_func_arg2);
624#line 455
625  kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
626  }
627#line 456
628  return ((void *)0);
629}
630}