// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __alloc_workqueue_key // with type: struct workqueue_struct *__alloc_workqueue_key(const char *, unsigned int, int, struct lock_class_key *, const char *, ...) // with return type: (struct workqueue_struct)* struct workqueue_struct *__alloc_workqueue_key(const char *arg0, unsigned int arg1, int arg2, struct lock_class_key *arg3, const char *arg4, ...) { // Pointer type return ldv_malloc(0UL); } // Function: __bitmap_weight // with type: int __bitmap_weight(const unsigned long *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int __bitmap_weight(const unsigned long *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: __copy_from_user_overflow // with type: void __copy_from_user_overflow() // with return type: void void __copy_from_user_overflow() { // Void type return; } // Function: __dev_kfree_skb_any // with type: void __dev_kfree_skb_any(struct sk_buff *, enum skb_free_reason ) // with return type: void void __dev_kfree_skb_any(struct sk_buff *arg0, enum skb_free_reason arg1) { // Void type return; } // Function: __dynamic_dev_dbg // with type: void __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: void void __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *arg1, const char *arg2, ...) { // Void type return; } // Function: __dynamic_pr_debug // with type: void __dynamic_pr_debug(struct _ddebug *, const char *, ...) // with return type: void void __dynamic_pr_debug(struct _ddebug *arg0, const char *arg1, ...) { // Void type return; } // Function: __ieee80211_get_channel // with type: struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *, int) // with return type: (struct ieee80211_channel)* struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct ieee80211_channel)); } // 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: __list_del_entry // with type: void __list_del_entry(struct list_head *) // with return type: void void __list_del_entry(struct list_head *arg0) { // Void type return; } // Function: __might_fault // with type: void __might_fault(const char *, int) // with return type: void void __might_fault(const char *arg0, int arg1) { // Void type return; } // Function: __might_sleep // with type: void __might_sleep(const char *, int, int) // with return type: void void __might_sleep(const char *arg0, int arg1, int arg2) { // Void type return; } // Function: __msecs_to_jiffies // with type: unsigned long int __msecs_to_jiffies(const unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __msecs_to_jiffies(const unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: __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: _copy_from_user // with type: unsigned long int _copy_from_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_from_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _dev_info // with type: void _dev_info(const struct device *, const char *, ...) // with return type: void void _dev_info(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: _raw_spin_lock // with type: void _raw_spin_lock(raw_spinlock_t *) // with return type: void void _raw_spin_lock(raw_spinlock_t *arg0) { // 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 // with type: void _raw_spin_unlock(raw_spinlock_t *) // with return type: void void _raw_spin_unlock(raw_spinlock_t *arg0) { // Void type return; } // 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: alloc_netdev_mqs // with type: struct net_device *alloc_netdev_mqs(int, const char *, unsigned char, void (*)(struct net_device *), unsigned int, unsigned int) // with return type: (struct net_device)* struct net_device *alloc_netdev_mqs(int arg0, const char *arg1, unsigned char arg2, void (*arg3)(struct net_device *), unsigned int arg4, unsigned int arg5) { // Pointer type return ldv_malloc(sizeof(struct net_device)); } // Skip function: calloc // Function: cancel_delayed_work_sync // with type: bool cancel_delayed_work_sync(struct delayed_work *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_delayed_work_sync(struct delayed_work *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: cfg80211_cac_event // with type: void cfg80211_cac_event(struct net_device *, const struct cfg80211_chan_def *, enum nl80211_radar_event , gfp_t ) // with return type: void void cfg80211_cac_event(struct net_device *arg0, const struct cfg80211_chan_def *arg1, enum nl80211_radar_event arg2, gfp_t arg3) { // Void type return; } // Function: cfg80211_ch_switch_notify // with type: void cfg80211_ch_switch_notify(struct net_device *, struct cfg80211_chan_def *) // with return type: void void cfg80211_ch_switch_notify(struct net_device *arg0, struct cfg80211_chan_def *arg1) { // Void type return; } // Function: cfg80211_chandef_create // with type: void cfg80211_chandef_create(struct cfg80211_chan_def *, struct ieee80211_channel *, enum nl80211_channel_type ) // with return type: void void cfg80211_chandef_create(struct cfg80211_chan_def *arg0, struct ieee80211_channel *arg1, enum nl80211_channel_type arg2) { // Void type return; } // Function: cfg80211_chandef_dfs_required // with type: int cfg80211_chandef_dfs_required(struct wiphy *, const struct cfg80211_chan_def *, enum nl80211_iftype ) // with return type: int int __VERIFIER_nondet_int(void); int cfg80211_chandef_dfs_required(struct wiphy *arg0, const struct cfg80211_chan_def *arg1, enum nl80211_iftype arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: cfg80211_chandef_valid // with type: bool cfg80211_chandef_valid(const struct cfg80211_chan_def *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cfg80211_chandef_valid(const struct cfg80211_chan_def *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: cfg80211_classify8021d // with type: unsigned int cfg80211_classify8021d(struct sk_buff *, struct cfg80211_qos_map *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int cfg80211_classify8021d(struct sk_buff *arg0, struct cfg80211_qos_map *arg1) { // Simple type return __VERIFIER_nondet_uint(); } // Function: cfg80211_connect_result // with type: void cfg80211_connect_result(struct net_device *, const u8 *, const u8 *, size_t , const u8 *, size_t , u16 , gfp_t ) // with return type: void void cfg80211_connect_result(struct net_device *arg0, const u8 *arg1, const u8 *arg2, size_t arg3, const u8 *arg4, size_t arg5, u16 arg6, gfp_t arg7) { // Void type return; } // Function: cfg80211_cqm_rssi_notify // with type: void cfg80211_cqm_rssi_notify(struct net_device *, enum nl80211_cqm_rssi_threshold_event , gfp_t ) // with return type: void void cfg80211_cqm_rssi_notify(struct net_device *arg0, enum nl80211_cqm_rssi_threshold_event arg1, gfp_t arg2) { // Void type return; } // Function: cfg80211_del_sta_sinfo // with type: void cfg80211_del_sta_sinfo(struct net_device *, const u8 *, struct station_info *, gfp_t ) // with return type: void void cfg80211_del_sta_sinfo(struct net_device *arg0, const u8 *arg1, struct station_info *arg2, gfp_t arg3) { // Void type return; } // Function: cfg80211_disconnected // with type: void cfg80211_disconnected(struct net_device *, u16 , const u8 *, size_t , bool , gfp_t ) // with return type: void void cfg80211_disconnected(struct net_device *arg0, u16 arg1, const u8 *arg2, size_t arg3, bool arg4, gfp_t arg5) { // Void type return; } // Function: cfg80211_find_ie // with type: const u8 *cfg80211_find_ie(u8 , const u8 *, int) // with return type: (const u8 )* const u8 *cfg80211_find_ie(u8 arg0, const u8 *arg1, int arg2) { // Pointer type return ldv_malloc(sizeof(u8)); } // Function: cfg80211_find_vendor_ie // with type: const u8 *cfg80211_find_vendor_ie(unsigned int, u8 , const u8 *, int) // with return type: (const u8 )* const u8 *cfg80211_find_vendor_ie(unsigned int arg0, u8 arg1, const u8 *arg2, int arg3) { // Pointer type return ldv_malloc(sizeof(u8)); } // Function: cfg80211_get_bss // with type: struct cfg80211_bss *cfg80211_get_bss(struct wiphy *, struct ieee80211_channel *, const u8 *, const u8 *, size_t , enum ieee80211_bss_type , enum ieee80211_privacy ) // with return type: (struct cfg80211_bss)* struct cfg80211_bss *cfg80211_get_bss(struct wiphy *arg0, struct ieee80211_channel *arg1, const u8 *arg2, const u8 *arg3, size_t arg4, enum ieee80211_bss_type arg5, enum ieee80211_privacy arg6) { // Pointer type return ldv_malloc(sizeof(struct cfg80211_bss)); } // Function: cfg80211_ibss_joined // with type: void cfg80211_ibss_joined(struct net_device *, const u8 *, struct ieee80211_channel *, gfp_t ) // with return type: void void cfg80211_ibss_joined(struct net_device *arg0, const u8 *arg1, struct ieee80211_channel *arg2, gfp_t arg3) { // Void type return; } // Function: cfg80211_inform_bss_width // with type: struct cfg80211_bss *cfg80211_inform_bss_width(struct wiphy *, struct ieee80211_channel *, enum nl80211_bss_scan_width , enum cfg80211_bss_frame_type , const u8 *, u64 , u16 , u16 , const u8 *, size_t , s32 , gfp_t ) // with return type: (struct cfg80211_bss)* struct cfg80211_bss *cfg80211_inform_bss_width(struct wiphy *arg0, struct ieee80211_channel *arg1, enum nl80211_bss_scan_width arg2, enum cfg80211_bss_frame_type arg3, const u8 *arg4, u64 arg5, u16 arg6, u16 arg7, const u8 *arg8, size_t arg9, s32 arg10, gfp_t arg11) { // Pointer type return ldv_malloc(sizeof(struct cfg80211_bss)); } // Function: cfg80211_mgmt_tx_status // with type: void cfg80211_mgmt_tx_status(struct wireless_dev *, u64 , const u8 *, size_t , bool , gfp_t ) // with return type: void void cfg80211_mgmt_tx_status(struct wireless_dev *arg0, u64 arg1, const u8 *arg2, size_t arg3, bool arg4, gfp_t arg5) { // Void type return; } // Function: cfg80211_michael_mic_failure // with type: void cfg80211_michael_mic_failure(struct net_device *, const u8 *, enum nl80211_key_type , int, const u8 *, gfp_t ) // with return type: void void cfg80211_michael_mic_failure(struct net_device *arg0, const u8 *arg1, enum nl80211_key_type arg2, int arg3, const u8 *arg4, gfp_t arg5) { // Void type return; } // Function: cfg80211_new_sta // with type: void cfg80211_new_sta(struct net_device *, const u8 *, struct station_info *, gfp_t ) // with return type: void void cfg80211_new_sta(struct net_device *arg0, const u8 *arg1, struct station_info *arg2, gfp_t arg3) { // Void type return; } // Function: cfg80211_put_bss // with type: void cfg80211_put_bss(struct wiphy *, struct cfg80211_bss *) // with return type: void void cfg80211_put_bss(struct wiphy *arg0, struct cfg80211_bss *arg1) { // Void type return; } // Function: cfg80211_radar_event // with type: void cfg80211_radar_event(struct wiphy *, struct cfg80211_chan_def *, gfp_t ) // with return type: void void cfg80211_radar_event(struct wiphy *arg0, struct cfg80211_chan_def *arg1, gfp_t arg2) { // Void type return; } // Function: cfg80211_ready_on_channel // with type: void cfg80211_ready_on_channel(struct wireless_dev *, u64 , struct ieee80211_channel *, unsigned int, gfp_t ) // with return type: void void cfg80211_ready_on_channel(struct wireless_dev *arg0, u64 arg1, struct ieee80211_channel *arg2, unsigned int arg3, gfp_t arg4) { // Void type return; } // Function: cfg80211_remain_on_channel_expired // with type: void cfg80211_remain_on_channel_expired(struct wireless_dev *, u64 , struct ieee80211_channel *, gfp_t ) // with return type: void void cfg80211_remain_on_channel_expired(struct wireless_dev *arg0, u64 arg1, struct ieee80211_channel *arg2, gfp_t arg3) { // Void type return; } // Function: cfg80211_rx_mgmt // with type: bool cfg80211_rx_mgmt(struct wireless_dev *, int, int, const u8 *, size_t , u32 ) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cfg80211_rx_mgmt(struct wireless_dev *arg0, int arg1, int arg2, const u8 *arg3, size_t arg4, u32 arg5) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: cfg80211_scan_done // with type: void cfg80211_scan_done(struct cfg80211_scan_request *, bool ) // with return type: void void cfg80211_scan_done(struct cfg80211_scan_request *arg0, bool arg1) { // Void type return; } // Function: cfg80211_tdls_oper_request // with type: void cfg80211_tdls_oper_request(struct net_device *, const u8 *, enum nl80211_tdls_operation , u16 , gfp_t ) // with return type: void void cfg80211_tdls_oper_request(struct net_device *arg0, const u8 *arg1, enum nl80211_tdls_operation arg2, u16 arg3, gfp_t arg4) { // Void type return; } // Function: debug_lockdep_rcu_enabled // with type: int debug_lockdep_rcu_enabled() // with return type: int int __VERIFIER_nondet_int(void); int debug_lockdep_rcu_enabled() { // Simple type return __VERIFIER_nondet_int(); } // Function: debugfs_create_dir // with type: struct dentry *debugfs_create_dir(const char *, struct dentry *) // with return type: (struct dentry)* struct dentry *debugfs_create_dir(const char *arg0, struct dentry *arg1) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_create_file // with type: struct dentry *debugfs_create_file(const char *, umode_t , struct dentry *, void *, const struct file_operations *) // with return type: (struct dentry)* struct dentry *debugfs_create_file(const char *arg0, umode_t arg1, struct dentry *arg2, void *arg3, const struct file_operations *arg4) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_remove // with type: void debugfs_remove(struct dentry *) // with return type: void void debugfs_remove(struct dentry *arg0) { // Void type return; } // Function: debugfs_remove_recursive // with type: void debugfs_remove_recursive(struct dentry *) // with return type: void void debugfs_remove_recursive(struct dentry *arg0) { // Void type return; } // 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: destroy_workqueue // with type: void destroy_workqueue(struct workqueue_struct *) // with return type: void void destroy_workqueue(struct workqueue_struct *arg0) { // Void type return; } // Function: dev_coredumpv // with type: void dev_coredumpv(struct device *, const void *, size_t , gfp_t ) // with return type: void void dev_coredumpv(struct device *arg0, const void *arg1, size_t arg2, gfp_t arg3) { // Void type return; } // Function: dev_err // with type: void dev_err(const struct device *, const char *, ...) // with return type: void void dev_err(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: device_set_wakeup_enable // with type: int device_set_wakeup_enable(struct device *, bool ) // with return type: int int __VERIFIER_nondet_int(void); int device_set_wakeup_enable(struct device *arg0, bool arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: do_gettimeofday // with type: void do_gettimeofday(struct timeval *) // with return type: void void do_gettimeofday(struct timeval *arg0) { // Void type return; } // Function: down_interruptible // with type: int down_interruptible(struct semaphore *) // with return type: int int __VERIFIER_nondet_int(void); int down_interruptible(struct semaphore *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: eth_type_trans // with type: __be16 eth_type_trans(struct sk_buff *, struct net_device *) // with return type: __be16 unsigned short __VERIFIER_nondet_ushort(void); __be16 eth_type_trans(struct sk_buff *arg0, struct net_device *arg1) { // Typedef type // Real type: __u16 // Typedef type // Real type: unsigned short // Simple type return __VERIFIER_nondet_ushort(); } // 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: flush_workqueue // with type: void flush_workqueue(struct workqueue_struct *) // with return type: void void flush_workqueue(struct workqueue_struct *arg0) { // Void type return; } // Function: free_netdev // with type: void free_netdev(struct net_device *) // with return type: void void free_netdev(struct net_device *arg0) { // Void type return; } // Function: free_pages // with type: void free_pages(unsigned long, unsigned int) // with return type: void void free_pages(unsigned long arg0, unsigned int arg1) { // Void type return; } // Function: get_zeroed_page // with type: unsigned long int get_zeroed_page(gfp_t ) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int get_zeroed_page(gfp_t arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: idr_alloc // with type: int idr_alloc(struct idr *, void *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int idr_alloc(struct idr *arg0, void *arg1, int arg2, int arg3, gfp_t arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_destroy // with type: void idr_destroy(struct idr *) // with return type: void void idr_destroy(struct idr *arg0) { // Void type return; } // Function: idr_find_slowpath // with type: void *idr_find_slowpath(struct idr *, int) // with return type: (void)* void *idr_find_slowpath(struct idr *arg0, int arg1) { // Pointer type return ldv_malloc(0UL); } // Function: idr_for_each // with type: int idr_for_each(struct idr *, int (*)(int, void *, void *), void *) // with return type: int int __VERIFIER_nondet_int(void); int idr_for_each(struct idr *arg0, int (*arg1)(int, void *, void *), void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_init // with type: void idr_init(struct idr *) // with return type: void void idr_init(struct idr *arg0) { // Void type return; } // Function: idr_remove // with type: void idr_remove(struct idr *, int) // with return type: void void idr_remove(struct idr *arg0, int arg1) { // Void type return; } // Function: ieee80211_amsdu_to_8023s // with type: void ieee80211_amsdu_to_8023s(struct sk_buff *, struct sk_buff_head *, const u8 *, enum nl80211_iftype , const unsigned int, bool ) // with return type: void void ieee80211_amsdu_to_8023s(struct sk_buff *arg0, struct sk_buff_head *arg1, const u8 *arg2, enum nl80211_iftype arg3, const unsigned int arg4, bool arg5) { // Void type return; } // Function: ieee80211_bss_get_ie // with type: const u8 *ieee80211_bss_get_ie(struct cfg80211_bss *, u8 ) // with return type: (const u8 )* const u8 *ieee80211_bss_get_ie(struct cfg80211_bss *arg0, u8 arg1) { // Pointer type return ldv_malloc(sizeof(u8)); } // Function: ieee80211_channel_to_frequency // with type: int ieee80211_channel_to_frequency(int, enum ieee80211_band ) // with return type: int int __VERIFIER_nondet_int(void); int ieee80211_channel_to_frequency(int arg0, enum ieee80211_band arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: ieee80211_frequency_to_channel // with type: int ieee80211_frequency_to_channel(int) // with return type: int int __VERIFIER_nondet_int(void); int ieee80211_frequency_to_channel(int arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: init_timer_key // with type: void init_timer_key(struct timer_list *, unsigned int, const char *, struct lock_class_key *) // with return type: void void init_timer_key(struct timer_list *arg0, unsigned int arg1, const char *arg2, struct lock_class_key *arg3) { // Void type return; } // Function: jiffies_to_msecs // with type: unsigned int jiffies_to_msecs(const unsigned long) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int jiffies_to_msecs(const unsigned long arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Skip function: kfree // Function: kfree_skb // with type: void kfree_skb(struct sk_buff *) // with return type: void void kfree_skb(struct sk_buff *arg0) { // Void type return; } // 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: kstrtoull // with type: int kstrtoull(const char *, unsigned int, unsigned long long *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtoull(const char *arg0, unsigned int arg1, unsigned long long *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: ktime_get_with_offset // with type: ktime_t ktime_get_with_offset(enum tk_offsets ) // with return type: ktime_t ktime_t ktime_get_with_offset(enum tk_offsets arg0) { // Typedef type // Real type: union ktime // Composite type return *(union ktime *)ldv_xmalloc(sizeof(union ktime)); } // Function: ldv_bind_20 // with type: int ldv_bind_20() // with return type: int int __VERIFIER_nondet_int(void); int ldv_bind_20() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_ndo_init_21 // with type: int ldv_ndo_init_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_ndo_init_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_ndo_uninit_21 // with type: int ldv_ndo_uninit_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_ndo_uninit_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_10 // with type: int ldv_release_10() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_10() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_11 // with type: int ldv_release_11() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_11() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_12 // with type: int ldv_release_12() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_12() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_13 // with type: int ldv_release_13() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_13() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_14 // with type: int ldv_release_14() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_14() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_15 // with type: int ldv_release_15() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_15() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_16 // with type: int ldv_release_16() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_16() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_17 // with type: int ldv_release_17() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_17() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_18 // with type: int ldv_release_18() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_18() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_20 // with type: int ldv_release_20() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_20() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_9 // with type: int ldv_release_9() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_9() { // 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: lock_acquire // with type: void lock_acquire(struct lockdep_map *, unsigned int, int, int, int, struct lockdep_map *, unsigned long) // with return type: void void lock_acquire(struct lockdep_map *arg0, unsigned int arg1, int arg2, int arg3, int arg4, struct lockdep_map *arg5, unsigned long arg6) { // Void type return; } // Function: lock_release // with type: void lock_release(struct lockdep_map *, int, unsigned long) // with return type: void void lock_release(struct lockdep_map *arg0, int arg1, unsigned long arg2) { // 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; } // Function: lockdep_rcu_suspicious // with type: void lockdep_rcu_suspicious(const char *, const int, const char *) // with return type: void void lockdep_rcu_suspicious(const char *arg0, const int arg1, const char *arg2) { // Void type return; } // Function: lockdep_rtnl_is_held // with type: int lockdep_rtnl_is_held() // with return type: int int __VERIFIER_nondet_int(void); int lockdep_rtnl_is_held() { // Simple type return __VERIFIER_nondet_int(); } // Skip function: malloc // Skip function: memcmp // Skip function: memcpy // Skip function: memmove // 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_lock // with type: void mutex_lock(struct mutex *) // with return type: void void mutex_lock(struct mutex *arg0) { // Void type return; } // Function: mutex_trylock // with type: int mutex_trylock(struct mutex *) // with return type: int int __VERIFIER_nondet_int(void); int mutex_trylock(struct mutex *arg0) { // 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: mwifiex_is_11h_active // with type: int mwifiex_is_11h_active(struct mwifiex_private *) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_is_11h_active(struct mwifiex_private *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: netif_carrier_off // with type: void netif_carrier_off(struct net_device *) // with return type: void void netif_carrier_off(struct net_device *arg0) { // Void type return; } // Function: netif_carrier_on // with type: void netif_carrier_on(struct net_device *) // with return type: void void netif_carrier_on(struct net_device *arg0) { // Void type return; } // Function: netif_rx // with type: int netif_rx(struct sk_buff *) // with return type: int int __VERIFIER_nondet_int(void); int netif_rx(struct sk_buff *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: netif_rx_ni // with type: int netif_rx_ni(struct sk_buff *) // with return type: int int __VERIFIER_nondet_int(void); int netif_rx_ni(struct sk_buff *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: netif_tx_wake_queue // with type: void netif_tx_wake_queue(struct netdev_queue *) // with return type: void void netif_tx_wake_queue(struct netdev_queue *arg0) { // Void type return; } // Function: of_find_node_by_name // with type: struct device_node *of_find_node_by_name(struct device_node *, const char *) // with return type: (struct device_node)* struct device_node *of_find_node_by_name(struct device_node *arg0, const char *arg1) { // Pointer type return ldv_malloc(sizeof(struct device_node)); } // Function: of_property_read_u8_array // with type: int of_property_read_u8_array(const struct device_node *, const char *, u8 *, size_t ) // with return type: int int __VERIFIER_nondet_int(void); int of_property_read_u8_array(const struct device_node *arg0, const char *arg1, u8 *arg2, size_t arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: prandom_u32 // with type: u32 prandom_u32() // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 prandom_u32() { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: prepare_to_wait_event // with type: long int prepare_to_wait_event(wait_queue_head_t *, wait_queue_t *, int) // with return type: long int long __VERIFIER_nondet_long(void); long int prepare_to_wait_event(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // Simple type return __VERIFIER_nondet_long(); } // Function: print_hex_dump // with type: void print_hex_dump(const char *, const char *, int, int, int, const void *, size_t , bool ) // with return type: void void print_hex_dump(const char *arg0, const char *arg1, int arg2, int arg3, int arg4, const void *arg5, size_t arg6, bool arg7) { // 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_delayed_work_on // with type: bool queue_delayed_work_on(int, struct workqueue_struct *, struct delayed_work *, unsigned long) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_delayed_work_on(int arg0, struct workqueue_struct *arg1, struct delayed_work *arg2, unsigned long arg3) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: rcu_is_watching // with type: bool rcu_is_watching() // with return type: bool bool __VERIFIER_nondet_bool(void); bool rcu_is_watching() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: rcu_read_lock_held // with type: int rcu_read_lock_held() // with return type: int int __VERIFIER_nondet_int(void); int rcu_read_lock_held() { // Simple type return __VERIFIER_nondet_int(); } // Function: register_netdevice // with type: int register_netdevice(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int register_netdevice(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: regulatory_hint // with type: int regulatory_hint(struct wiphy *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int regulatory_hint(struct wiphy *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: release_firmware // with type: void release_firmware(const struct firmware *) // with return type: void void release_firmware(const struct firmware *arg0) { // Void type return; } // Function: request_firmware // with type: int request_firmware(const struct firmware **, const char *, struct device *) // with return type: int int __VERIFIER_nondet_int(void); int request_firmware(const struct firmware **arg0, const char *arg1, struct device *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: request_firmware_nowait // with type: int request_firmware_nowait(struct module *, bool , const char *, struct device *, gfp_t , void *, void (*)(const struct firmware *, void *)) // with return type: int int __VERIFIER_nondet_int(void); int request_firmware_nowait(struct module *arg0, bool arg1, const char *arg2, struct device *arg3, gfp_t arg4, void *arg5, void (*arg6)(const struct firmware *, void *)) { // Simple type return __VERIFIER_nondet_int(); } // Function: rtnl_lock // with type: void rtnl_lock() // with return type: void void rtnl_lock() { // Void type return; } // Function: rtnl_unlock // with type: void rtnl_unlock() // with return type: void void rtnl_unlock() { // Void type return; } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // 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: simple_open // with type: int simple_open(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int simple_open(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: simple_read_from_buffer // with type: ssize_t simple_read_from_buffer(void *, size_t , loff_t *, const void *, size_t ) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t simple_read_from_buffer(void *arg0, size_t arg1, loff_t *arg2, const void *arg3, size_t arg4) { // Typedef type // Real type: __kernel_ssize_t // Typedef type // Real type: __kernel_long_t // Typedef type // Real type: long // Simple type return __VERIFIER_nondet_long(); } // Function: simple_strtol // with type: long int simple_strtol(const char *, char **, unsigned int) // with return type: long int long __VERIFIER_nondet_long(void); long int simple_strtol(const char *arg0, char **arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_long(); } // Function: skb_clone // with type: struct sk_buff *skb_clone(struct sk_buff *, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *skb_clone(struct sk_buff *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // Function: skb_complete_wifi_ack // with type: void skb_complete_wifi_ack(struct sk_buff *, bool ) // with return type: void void skb_complete_wifi_ack(struct sk_buff *arg0, bool arg1) { // Void type return; } // Function: skb_copy // with type: struct sk_buff *skb_copy(const struct sk_buff *, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *skb_copy(const struct sk_buff *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // 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_push // with type: unsigned char *skb_push(struct sk_buff *, unsigned int) // with return type: (unsigned char)* unsigned char *skb_push(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_realloc_headroom // with type: struct sk_buff *skb_realloc_headroom(struct sk_buff *, unsigned int) // with return type: (struct sk_buff)* struct sk_buff *skb_realloc_headroom(struct sk_buff *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // 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 // Skip function: sprintf // Skip function: sscanf // Skip function: strcpy // Skip function: strlen // Skip function: strncmp // Function: unregister_netdevice_queue // with type: void unregister_netdevice_queue(struct net_device *, struct list_head *) // with return type: void void unregister_netdevice_queue(struct net_device *arg0, struct list_head *arg1) { // Void type return; } // Function: up // with type: void up(struct semaphore *) // with return type: void void up(struct semaphore *arg0) { // Void type return; } // Function: vfree // with type: void vfree(const void *) // with return type: void void vfree(const void *arg0) { // Void type return; } // Function: vmalloc // with type: void *vmalloc(unsigned long) // with return type: (void)* void *vmalloc(unsigned long arg0) { // Pointer type return ldv_malloc(arg0); } // Function: vzalloc // with type: void *vzalloc(unsigned long) // with return type: (void)* void *vzalloc(unsigned long arg0) { // Pointer type return ldv_malloc(0UL); } // 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: wiphy_free // with type: void wiphy_free(struct wiphy *) // with return type: void void wiphy_free(struct wiphy *arg0) { // Void type return; } // Function: wiphy_new_nm // with type: struct wiphy *wiphy_new_nm(const struct cfg80211_ops *, int, const char *) // with return type: (struct wiphy)* struct wiphy *wiphy_new_nm(const struct cfg80211_ops *arg0, int arg1, const char *arg2) { // Pointer type return ldv_malloc(sizeof(struct wiphy)); } // Function: wiphy_register // with type: int wiphy_register(struct wiphy *) // with return type: int int __VERIFIER_nondet_int(void); int wiphy_register(struct wiphy *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: wiphy_unregister // with type: void wiphy_unregister(struct wiphy *) // with return type: void void wiphy_unregister(struct wiphy *arg0) { // Void type return; }