// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_u16 // Skip function: __VERIFIER_nondet_u32 // Skip function: __VERIFIER_nondet_u8 // Skip function: __VERIFIER_nondet_ulong // Function: __const_udelay // with type: void __const_udelay(unsigned long) // with return type: void void __const_udelay(unsigned long arg0) { // Void type return; } // 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: __list_add // with type: void __list_add(struct list_head *, struct list_head *, struct list_head *) // with return type: void void __list_add(struct list_head *arg0, struct list_head *arg1, struct list_head *arg2) { // Void type return; } // 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: _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; } // Function: ath6kl_core_cleanup // with type: void ath6kl_core_cleanup(struct ath6kl *) // with return type: void void ath6kl_core_cleanup(struct ath6kl *arg0) { // Void type return; } // Function: ath6kl_core_create // with type: struct ath6kl *ath6kl_core_create(struct device *) // with return type: (struct ath6kl)* struct ath6kl *ath6kl_core_create(struct device *arg0) { // Pointer type return ldv_malloc(sizeof(struct ath6kl)); } // Function: ath6kl_core_destroy // with type: void ath6kl_core_destroy(struct ath6kl *) // with return type: void void ath6kl_core_destroy(struct ath6kl *arg0) { // Void type return; } // Function: ath6kl_core_init // with type: int ath6kl_core_init(struct ath6kl *, enum ath6kl_htc_type ) // with return type: int int __VERIFIER_nondet_int(void); int ath6kl_core_init(struct ath6kl *arg0, enum ath6kl_htc_type arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: ath6kl_core_rx_complete // with type: void ath6kl_core_rx_complete(struct ath6kl *, struct sk_buff *, u8 ) // with return type: void void ath6kl_core_rx_complete(struct ath6kl *arg0, struct sk_buff *arg1, u8 arg2) { // Void type return; } // Function: ath6kl_core_tx_complete // with type: void ath6kl_core_tx_complete(struct ath6kl *, struct sk_buff *) // with return type: void void ath6kl_core_tx_complete(struct ath6kl *arg0, struct sk_buff *arg1) { // Void type return; } // Function: ath6kl_dbg // with type: void ath6kl_dbg(enum ATH6K_DEBUG_MASK , const char *, ...) // with return type: void void ath6kl_dbg(enum ATH6K_DEBUG_MASK arg0, const char *arg1, ...) { // Void type return; } // Function: ath6kl_err // with type: int ath6kl_err(const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int ath6kl_err(const char *arg0, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: ath6kl_stop_txrx // with type: void ath6kl_stop_txrx(struct ath6kl *) // with return type: void void ath6kl_stop_txrx(struct ath6kl *arg0) { // Void type return; } // Function: ath6kl_warn // with type: int ath6kl_warn(const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int ath6kl_warn(const char *arg0, ...) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: calloc // Function: flush_scheduled_work // with type: void flush_scheduled_work() // with return type: void void flush_scheduled_work() { // Void type return; } // Skip function: kfree // Function: kmemdup // with type: void *kmemdup(const void *, size_t , gfp_t ) // with return type: (void)* void *kmemdup(const void *arg0, size_t arg1, gfp_t arg2) { // Pointer type return ldv_malloc(0UL); } // Function: ldv_probe_2 // with type: int ldv_probe_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_2() { // Simple type return __VERIFIER_nondet_int(); } // Function: list_del // with type: void list_del(struct list_head *) // with return type: void void list_del(struct list_head *arg0) { // Void type return; } // 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: memset // 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: 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_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: usb_alloc_urb // with type: struct urb *usb_alloc_urb(int, gfp_t ) // with return type: (struct urb)* struct urb *usb_alloc_urb(int arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct urb)); } // Function: usb_anchor_urb // with type: void usb_anchor_urb(struct urb *, struct usb_anchor *) // with return type: void void usb_anchor_urb(struct urb *arg0, struct usb_anchor *arg1) { // Void type return; } // 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_free_urb // with type: void usb_free_urb(struct urb *) // with return type: void void usb_free_urb(struct urb *arg0) { // Void type return; } // Function: usb_get_dev // with type: struct usb_device *usb_get_dev(struct usb_device *) // with return type: (struct usb_device)* struct usb_device *usb_get_dev(struct usb_device *arg0) { // Pointer type return ldv_malloc(sizeof(struct usb_device)); } // Function: usb_kill_anchored_urbs // with type: void usb_kill_anchored_urbs(struct usb_anchor *) // with return type: void void usb_kill_anchored_urbs(struct usb_anchor *arg0) { // Void type return; } // Function: usb_put_dev // with type: void usb_put_dev(struct usb_device *) // with return type: void void usb_put_dev(struct usb_device *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_submit_urb // with type: int usb_submit_urb(struct urb *, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int usb_submit_urb(struct urb *arg0, gfp_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_unanchor_urb // with type: void usb_unanchor_urb(struct urb *) // with return type: void void usb_unanchor_urb(struct urb *arg0) { // Void type return; }