// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_uint // Skip function: __VERIFIER_nondet_ulong // Function: __init_waitqueue_head // with type: void __init_waitqueue_head(wait_queue_head_t *, const char *, struct lock_class_key *) // with return type: void void __init_waitqueue_head(wait_queue_head_t *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: __init_work // with type: void __init_work(struct work_struct *, int) // with return type: void void __init_work(struct work_struct *arg0, int arg1) { // Void type return; } // Function: __netdev_alloc_skb // with type: struct sk_buff *__netdev_alloc_skb(struct net_device *, unsigned int, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *__netdev_alloc_skb(struct net_device *arg0, unsigned int arg1, gfp_t arg2) { // Pointer type struct sk_buff *skb = ldv_malloc(sizeof(struct sk_buff)); if(skb) { skb->dev = arg0; skb->head = ldv_malloc(arg1); skb->data = skb->head; skb->tail = 0; } return skb; } // Function: __raw_spin_lock_init // with type: void __raw_spin_lock_init(raw_spinlock_t *, const char *, struct lock_class_key *) // with return type: void void __raw_spin_lock_init(raw_spinlock_t *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: __tasklet_hi_schedule // with type: void __tasklet_hi_schedule(struct tasklet_struct *) // with return type: void void __tasklet_hi_schedule(struct tasklet_struct *arg0) { // Void type return; } // Function: __tasklet_schedule // with type: void __tasklet_schedule(struct tasklet_struct *) // with return type: void void __tasklet_schedule(struct tasklet_struct *arg0) { // Void type return; } // Function: __wake_up // with type: void __wake_up(wait_queue_head_t *, unsigned int, int, void *) // with return type: void void __wake_up(wait_queue_head_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Void type return; } // Function: _dev_info // with type: int _dev_info(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int _dev_info(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: _raw_spin_lock_irqsave // with type: unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_spin_unlock_irqrestore // with type: void _raw_spin_unlock_irqrestore(raw_spinlock_t *, unsigned long) // with return type: void void _raw_spin_unlock_irqrestore(raw_spinlock_t *arg0, unsigned long arg1) { // Void type return; } // Skip function: calloc // Function: cancel_work_sync // with type: bool cancel_work_sync(struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_work_sync(struct work_struct *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: del_timer // with type: int del_timer(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: del_timer_sync // with type: int del_timer_sync(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer_sync(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_err // with type: int dev_err(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_err(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_kfree_skb_any // with type: void dev_kfree_skb_any(struct sk_buff *) // with return type: void void dev_kfree_skb_any(struct sk_buff *arg0) { // Void type return; } // Function: dev_notice // with type: int dev_notice(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_notice(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_warn // with type: int dev_warn(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_warn(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: finish_wait // with type: void finish_wait(wait_queue_head_t *, wait_queue_t *) // with return type: void void finish_wait(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Function: gigaset_add_event // with type: struct event_t *gigaset_add_event(struct cardstate *, struct at_state_t *, int, void *, int, void *) // with return type: (struct event_t)* struct event_t *gigaset_add_event(struct cardstate *arg0, struct at_state_t *arg1, int arg2, void *arg3, int arg4, void *arg5) { // Pointer type return ldv_malloc(sizeof(struct event_t)); } // Function: gigaset_blockdriver // with type: void gigaset_blockdriver(struct gigaset_driver *) // with return type: void void gigaset_blockdriver(struct gigaset_driver *arg0) { // Void type return; } // Function: gigaset_dbg_buffer // with type: void gigaset_dbg_buffer(enum debuglevel , const unsigned char *, size_t , const unsigned char *) // with return type: void void gigaset_dbg_buffer(enum debuglevel arg0, const unsigned char *arg1, size_t arg2, const unsigned char *arg3) { // Void type return; } // Function: gigaset_fill_inbuf // with type: int gigaset_fill_inbuf(struct inbuf_t *, const unsigned char *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int gigaset_fill_inbuf(struct inbuf_t *arg0, const unsigned char *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: gigaset_freecs // with type: void gigaset_freecs(struct cardstate *) // with return type: void void gigaset_freecs(struct cardstate *arg0) { // Void type return; } // Function: gigaset_freedriver // with type: void gigaset_freedriver(struct gigaset_driver *) // with return type: void void gigaset_freedriver(struct gigaset_driver *arg0) { // Void type return; } // Function: gigaset_handle_modem_response // with type: void gigaset_handle_modem_response(struct cardstate *) // with return type: void void gigaset_handle_modem_response(struct cardstate *arg0) { // Void type return; } // Function: gigaset_if_receive // with type: void gigaset_if_receive(struct cardstate *, unsigned char *, size_t ) // with return type: void void gigaset_if_receive(struct cardstate *arg0, unsigned char *arg1, size_t arg2) { // Void type return; } // Function: gigaset_initcs // with type: struct cardstate *gigaset_initcs(struct gigaset_driver *, int, int, int, int, const char *) // with return type: (struct cardstate)* struct cardstate *gigaset_initcs(struct gigaset_driver *arg0, int arg1, int arg2, int arg3, int arg4, const char *arg5) { // Pointer type return ldv_malloc(sizeof(struct cardstate)); } // Function: gigaset_initdriver // with type: struct gigaset_driver *gigaset_initdriver(unsigned int, unsigned int, const char *, const char *, const struct gigaset_ops *, struct module *) // with return type: (struct gigaset_driver)* struct gigaset_driver *gigaset_initdriver(unsigned int arg0, unsigned int arg1, const char *arg2, const char *arg3, const struct gigaset_ops *arg4, struct module *arg5) { // Pointer type return ldv_malloc(sizeof(struct gigaset_driver)); } // Function: gigaset_isdn_rcv_err // with type: void gigaset_isdn_rcv_err(struct bc_state *) // with return type: void void gigaset_isdn_rcv_err(struct bc_state *arg0) { // Void type return; } // Function: gigaset_shutdown // with type: int gigaset_shutdown(struct cardstate *) // with return type: int int __VERIFIER_nondet_int(void); int gigaset_shutdown(struct cardstate *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: gigaset_skb_rcvd // with type: void gigaset_skb_rcvd(struct bc_state *, struct sk_buff *) // with return type: void void gigaset_skb_rcvd(struct bc_state *arg0, struct sk_buff *arg1) { // Void type return; } // Function: gigaset_skb_sent // with type: void gigaset_skb_sent(struct bc_state *, struct sk_buff *) // with return type: void void gigaset_skb_sent(struct bc_state *arg0, struct sk_buff *arg1) { // Void type return; } // Function: gigaset_start // with type: int gigaset_start(struct cardstate *) // with return type: int int __VERIFIER_nondet_int(void); int gigaset_start(struct cardstate *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: gigaset_stop // with type: void gigaset_stop(struct cardstate *) // with return type: void void gigaset_stop(struct cardstate *arg0) { // Void type return; } // Skip function: kfree // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_probe_5 // with type: int ldv_probe_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_5 // with type: int ldv_release_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: lockdep_init_map // with type: void lockdep_init_map(struct lockdep_map *, const char *, struct lock_class_key *, int) // with return type: void void lockdep_init_map(struct lockdep_map *arg0, const char *arg1, struct lock_class_key *arg2, int arg3) { // Void type return; } // Skip function: malloc // Skip function: memcmp // Skip function: memset // Function: mod_timer // with type: int mod_timer(struct timer_list *, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int mod_timer(struct timer_list *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: mutex_unlock // with type: void mutex_unlock(struct mutex *) // with return type: void void mutex_unlock(struct mutex *arg0) { // Void type return; } // Function: prepare_to_wait // with type: void prepare_to_wait(wait_queue_head_t *, wait_queue_t *, int) // with return type: void void prepare_to_wait(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // Void type return; } // Function: printk // with type: int printk(const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int printk(const char *arg0, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: queue_work_on // with type: bool queue_work_on(int, struct workqueue_struct *, struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_work_on(int arg0, struct workqueue_struct *arg1, struct work_struct *arg2) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: schedule_timeout // with type: long int schedule_timeout(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: skb_dequeue // with type: struct sk_buff *skb_dequeue(struct sk_buff_head *) // with return type: (struct sk_buff)* struct sk_buff *skb_dequeue(struct sk_buff_head *arg0) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // Function: skb_pull // with type: unsigned char *skb_pull(struct sk_buff *, unsigned int) // with return type: (unsigned char)* unsigned char *skb_pull(struct sk_buff *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(unsigned char)); } // Function: skb_put // with type: unsigned char *skb_put(struct sk_buff *, unsigned int) // with return type: (unsigned char)* unsigned char *skb_put(struct sk_buff *arg0, unsigned int arg1) { unsigned char *ret_val = arg0->data + arg0->tail; // a more precise implementation of skb_put would actually re-allocate memory // here arg0->tail += arg1; // Pointer type return ret_val; } // Function: skb_queue_head // with type: void skb_queue_head(struct sk_buff_head *, struct sk_buff *) // with return type: void void skb_queue_head(struct sk_buff_head *arg0, struct sk_buff *arg1) { // Void type return; } // Function: skb_queue_tail // with type: void skb_queue_tail(struct sk_buff_head *, struct sk_buff *) // with return type: void void skb_queue_tail(struct sk_buff_head *arg0, struct sk_buff *arg1) { // Void type return; } // Function: skb_trim // with type: void skb_trim(struct sk_buff *, unsigned int) // with return type: void void skb_trim(struct sk_buff *arg0, unsigned int arg1) { // Void type return; } // Skip function: snprintf // Function: tasklet_init // with type: void tasklet_init(struct tasklet_struct *, void (*)(unsigned long), unsigned long) // with return type: void void tasklet_init(struct tasklet_struct *arg0, void (*arg1)(unsigned long), unsigned long arg2) { // Void type return; } // Function: tasklet_kill // with type: void tasklet_kill(struct tasklet_struct *) // with return type: void void tasklet_kill(struct tasklet_struct *arg0) { // Void type return; } // Function: usb_clear_halt // with type: int usb_clear_halt(struct usb_device *, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_clear_halt(struct usb_device *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_control_msg // with type: int usb_control_msg(struct usb_device *, unsigned int, __u8 , __u8 , __u16 , __u16 , void *, __u16 , int) // with return type: int int __VERIFIER_nondet_int(void); int usb_control_msg(struct usb_device *arg0, unsigned int arg1, __u8 arg2, __u8 arg3, __u16 arg4, __u16 arg5, void *arg6, __u16 arg7, int arg8) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_deregister // with type: void usb_deregister(struct usb_driver *) // with return type: void void usb_deregister(struct usb_driver *arg0) { // Void type return; } // Function: usb_kill_urb // with type: void usb_kill_urb(struct urb *) // with return type: void void usb_kill_urb(struct urb *arg0) { // Void type return; } // Function: usb_lock_device_for_reset // with type: int usb_lock_device_for_reset(struct usb_device *, const struct usb_interface *) // with return type: int int __VERIFIER_nondet_int(void); int usb_lock_device_for_reset(struct usb_device *arg0, const struct usb_interface *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_queue_reset_device // with type: void usb_queue_reset_device(struct usb_interface *) // with return type: void void usb_queue_reset_device(struct usb_interface *arg0) { // Void type return; } // Function: usb_register_driver // with type: int usb_register_driver(struct usb_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int usb_register_driver(struct usb_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_reset_device // with type: int usb_reset_device(struct usb_device *) // with return type: int int __VERIFIER_nondet_int(void); int usb_reset_device(struct usb_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_set_interface // with type: int usb_set_interface(struct usb_device *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_set_interface(struct usb_device *arg0, int arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_unlink_urb // with type: int usb_unlink_urb(struct urb *) // with return type: int int __VERIFIER_nondet_int(void); int usb_unlink_urb(struct urb *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: warn_slowpath_null // with type: void warn_slowpath_null(const char *, const int) // with return type: void void warn_slowpath_null(const char *arg0, const int arg1) { // Void type return; } // Function: autoremove_wake_function // with type: int autoremove_wake_function(wait_queue_t *, unsigned int, int, void *) // with return type: int int __VERIFIER_nondet_int(void); int autoremove_wake_function(wait_queue_t *arg0, unsigned int arg1, int arg2, void * arg3) { // Simple type return __VERIFIER_nondet_int(); }