// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // 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: __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(); } // Skip function: __builtin_prefetch // Function: __const_udelay // with type: void __const_udelay(unsigned long) // with return type: void void __const_udelay(unsigned long arg0) { // Void type return; } // 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: __copy_to_user_overflow // with type: void __copy_to_user_overflow() // with return type: void void __copy_to_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: __free_page_frag // with type: void __free_page_frag(void *) // with return type: void void __free_page_frag(void *arg0) { // 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: __kmalloc // with type: void *__kmalloc(size_t , gfp_t ) // with return type: (void)* void *__kmalloc(size_t arg0, gfp_t arg1) { // Pointer type return ldv_malloc(arg0); } // Function: __local_bh_disable_ip // with type: void __local_bh_disable_ip(unsigned long, unsigned int) // with return type: void void __local_bh_disable_ip(unsigned long arg0, unsigned int arg1) { // Void type return; } // Function: __local_bh_enable_ip // with type: void __local_bh_enable_ip(unsigned long, unsigned int) // with return type: void void __local_bh_enable_ip(unsigned long arg0, unsigned int arg1) { // 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: __napi_schedule // with type: void __napi_schedule(struct napi_struct *) // with return type: void void __napi_schedule(struct napi_struct *arg0) { // 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: __pci_register_driver // with type: int __pci_register_driver(struct pci_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int __pci_register_driver(struct pci_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: __phys_addr // with type: unsigned long int __phys_addr(unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __phys_addr(unsigned long arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: __skb_gso_segment // with type: struct sk_buff *__skb_gso_segment(struct sk_buff *, netdev_features_t , bool ) // with return type: (struct sk_buff)* struct sk_buff *__skb_gso_segment(struct sk_buff *arg0, netdev_features_t arg1, bool arg2) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // Function: __udelay // with type: void __udelay(unsigned long) // with return type: void void __udelay(unsigned long arg0) { // Void type return; } // Function: __usecs_to_jiffies // with type: unsigned long int __usecs_to_jiffies(const unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __usecs_to_jiffies(const unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _cond_resched // with type: int _cond_resched() // with return type: int int __VERIFIER_nondet_int(void); int _cond_resched() { // Simple type return __VERIFIER_nondet_int(); } // 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: _copy_to_user // with type: unsigned long int _copy_to_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_to_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // 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_bh // with type: void _raw_spin_lock_bh(raw_spinlock_t *) // with return type: void void _raw_spin_lock_bh(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_bh // with type: void _raw_spin_unlock_bh(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_bh(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: add_timer // with type: void add_timer(struct timer_list *) // with return type: void void add_timer(struct timer_list *arg0) { // Void type return; } // Function: alloc_etherdev_mqs // with type: struct net_device *alloc_etherdev_mqs(int, unsigned int, unsigned int) // with return type: (struct net_device)* struct net_device *alloc_etherdev_mqs(int arg0, unsigned int arg1, unsigned int arg2) { // Pointer type return ldv_malloc(sizeof(struct net_device)); } // Function: build_skb // with type: struct sk_buff *build_skb(void *, unsigned int) // with return type: (struct sk_buff)* struct sk_buff *build_skb(void *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // 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: consume_skb // with type: void consume_skb(struct sk_buff *) // with return type: void void consume_skb(struct sk_buff *arg0) { // Void type return; } // Function: debug_dma_map_page // with type: void debug_dma_map_page(struct device *, struct page *, size_t , size_t , int, dma_addr_t , bool ) // with return type: void void debug_dma_map_page(struct device *arg0, struct page *arg1, size_t arg2, size_t arg3, int arg4, dma_addr_t arg5, bool arg6) { // Void type return; } // Function: debug_dma_mapping_error // with type: void debug_dma_mapping_error(struct device *, dma_addr_t ) // with return type: void void debug_dma_mapping_error(struct device *arg0, dma_addr_t arg1) { // Void type return; } // Function: debug_dma_sync_single_for_cpu // with type: void debug_dma_sync_single_for_cpu(struct device *, dma_addr_t , size_t , int) // with return type: void void debug_dma_sync_single_for_cpu(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3) { // Void type return; } // Function: debug_dma_sync_single_for_device // with type: void debug_dma_sync_single_for_device(struct device *, dma_addr_t , size_t , int) // with return type: void void debug_dma_sync_single_for_device(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3) { // Void type return; } // Function: debug_dma_unmap_page // with type: void debug_dma_unmap_page(struct device *, dma_addr_t , size_t , int, bool ) // with return type: void void debug_dma_unmap_page(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3, bool arg4) { // Void type return; } // 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_close // with type: int dev_close(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int dev_close(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: dev_warn // with type: void dev_warn(const struct device *, const char *, ...) // with return type: void void dev_warn(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: device_set_wakeup_capable // with type: void device_set_wakeup_capable(struct device *, bool ) // with return type: void void device_set_wakeup_capable(struct device *arg0, bool 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: dma_alloc_attrs // with type: void *dma_alloc_attrs(struct device *, size_t , dma_addr_t *, gfp_t , struct dma_attrs *) // with return type: (void)* void *dma_alloc_attrs(struct device *arg0, size_t arg1, dma_addr_t *arg2, gfp_t arg3, struct dma_attrs *arg4) { // Pointer type return ldv_malloc(0UL); } // Function: dma_free_attrs // with type: void dma_free_attrs(struct device *, size_t , void *, dma_addr_t , struct dma_attrs *) // with return type: void void dma_free_attrs(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3, struct dma_attrs *arg4) { // Void type return; } // Function: dma_set_mask // with type: int dma_set_mask(struct device *, u64 ) // with return type: int int __VERIFIER_nondet_int(void); int dma_set_mask(struct device *arg0, u64 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: dma_supported // with type: int dma_supported(struct device *, u64 ) // with return type: int int __VERIFIER_nondet_int(void); int dma_supported(struct device *arg0, u64 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: dql_completed // with type: void dql_completed(struct dql *, unsigned int) // with return type: void void dql_completed(struct dql *arg0, unsigned int arg1) { // Void type return; } // Function: dql_reset // with type: void dql_reset(struct dql *) // with return type: void void dql_reset(struct dql *arg0) { // Void type return; } // 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: eth_validate_addr // with type: int eth_validate_addr(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int eth_validate_addr(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ethtool_op_get_link // with type: u32 ethtool_op_get_link(struct net_device *) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 ethtool_op_get_link(struct net_device *arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // 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_irq // with type: void free_irq(unsigned int, void *) // with return type: void void free_irq(unsigned int arg0, void *arg1) { // 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: hwmon_device_register_with_groups // with type: struct device *hwmon_device_register_with_groups(struct device *, const char *, void *, const struct attribute_group **) // with return type: (struct device)* struct device *hwmon_device_register_with_groups(struct device *arg0, const char *arg1, void *arg2, const struct attribute_group **arg3) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: hwmon_device_unregister // with type: void hwmon_device_unregister(struct device *) // with return type: void void hwmon_device_unregister(struct device *arg0) { // Void type return; } // Function: iounmap // with type: void iounmap(volatile void *) // with return type: void void iounmap(volatile void *arg0) { // Void type return; } // Function: jiffies_to_usecs // with type: unsigned int jiffies_to_usecs(const unsigned long) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int jiffies_to_usecs(const unsigned long arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Skip function: kfree // 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_complete_6 // with type: int ldv_complete_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_complete_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_late_6 // with type: int ldv_freeze_late_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_late_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_noirq_6 // with type: int ldv_freeze_noirq_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_noirq_6() { // 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_7 // with type: int ldv_ndo_init_7() // with return type: int int __VERIFIER_nondet_int(void); int ldv_ndo_init_7() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_ndo_uninit_7 // with type: int ldv_ndo_uninit_7() // with return type: int int __VERIFIER_nondet_int(void); int ldv_ndo_uninit_7() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_late_6 // with type: int ldv_poweroff_late_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_late_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_noirq_6 // with type: int ldv_poweroff_noirq_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_noirq_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_prepare_6 // with type: int ldv_prepare_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_prepare_6() { // Simple type return __VERIFIER_nondet_int(); } // 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: ldv_restore_early_6 // with type: int ldv_restore_early_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_early_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_restore_noirq_6 // with type: int ldv_restore_noirq_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_noirq_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_early_6 // with type: int ldv_resume_early_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_noirq_6 // with type: int ldv_resume_noirq_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_noirq_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_5 // with type: int ldv_suspend_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_late_6 // with type: int ldv_suspend_late_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_noirq_6 // with type: int ldv_suspend_noirq_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_noirq_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_early_6 // with type: int ldv_thaw_early_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_early_6() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_noirq_6 // with type: int ldv_thaw_noirq_6() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_noirq_6() { // 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 // Function: mdiobus_alloc_size // with type: struct mii_bus *mdiobus_alloc_size(size_t ) // with return type: (struct mii_bus)* struct mii_bus *mdiobus_alloc_size(size_t arg0) { // Pointer type return ldv_malloc(sizeof(struct mii_bus)); } // Function: mdiobus_free // with type: void mdiobus_free(struct mii_bus *) // with return type: void void mdiobus_free(struct mii_bus *arg0) { // Void type return; } // Function: mdiobus_register // with type: int mdiobus_register(struct mii_bus *) // with return type: int int __VERIFIER_nondet_int(void); int mdiobus_register(struct mii_bus *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: mdiobus_unregister // with type: void mdiobus_unregister(struct mii_bus *) // with return type: void void mdiobus_unregister(struct mii_bus *arg0) { // Void type return; } // Skip function: memcmp // Skip function: memcpy // Skip function: memset // Function: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: msleep_interruptible // with type: unsigned long int msleep_interruptible(unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int msleep_interruptible(unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: napi_complete_done // with type: void napi_complete_done(struct napi_struct *, int) // with return type: void void napi_complete_done(struct napi_struct *arg0, int arg1) { // Void type return; } // Function: napi_disable // with type: void napi_disable(struct napi_struct *) // with return type: void void napi_disable(struct napi_struct *arg0) { // Void type return; } // Function: napi_gro_receive // with type: gro_result_t napi_gro_receive(struct napi_struct *, struct sk_buff *) // with return type: gro_result_t int __VERIFIER_nondet_int(void); gro_result_t napi_gro_receive(struct napi_struct *arg0, struct sk_buff *arg1) { // Typedef type // Real type: enum gro_result // Enum type return __VERIFIER_nondet_int(); } // Function: netdev_alloc_frag // with type: void *netdev_alloc_frag(unsigned int) // with return type: (void)* void *netdev_alloc_frag(unsigned int arg0) { // Pointer type return ldv_malloc(0UL); } // Function: netdev_err // with type: void netdev_err(const struct net_device *, const char *, ...) // with return type: void void netdev_err(const struct net_device *arg0, const char *arg1, ...) { // Void type return; } // Function: netdev_info // with type: void netdev_info(const struct net_device *, const char *, ...) // with return type: void void netdev_info(const struct net_device *arg0, const char *arg1, ...) { // Void type return; } // Function: netdev_notice // with type: void netdev_notice(const struct net_device *, const char *, ...) // with return type: void void netdev_notice(const struct net_device *arg0, const char *arg1, ...) { // Void type return; } // Function: netdev_rss_key_fill // with type: void netdev_rss_key_fill(void *, size_t ) // with return type: void void netdev_rss_key_fill(void *arg0, size_t arg1) { // Void type return; } // Function: netdev_update_features // with type: void netdev_update_features(struct net_device *) // with return type: void void netdev_update_features(struct net_device *arg0) { // Void type return; } // Function: netdev_warn // with type: void netdev_warn(const struct net_device *, const char *, ...) // with return type: void void netdev_warn(const struct net_device *arg0, const char *arg1, ...) { // Void type return; } // 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_device_attach // with type: void netif_device_attach(struct net_device *) // with return type: void void netif_device_attach(struct net_device *arg0) { // Void type return; } // Function: netif_device_detach // with type: void netif_device_detach(struct net_device *) // with return type: void void netif_device_detach(struct net_device *arg0) { // Void type return; } // Function: netif_get_num_default_rss_queues // with type: int netif_get_num_default_rss_queues() // with return type: int int __VERIFIER_nondet_int(void); int netif_get_num_default_rss_queues() { // Simple type return __VERIFIER_nondet_int(); } // Function: netif_napi_add // with type: void netif_napi_add(struct net_device *, struct napi_struct *, int (*)(struct napi_struct *, int), int) // with return type: void void netif_napi_add(struct net_device *arg0, struct napi_struct *arg1, int (*arg2)(struct napi_struct *, int), int arg3) { // Void type return; } // Function: netif_napi_del // with type: void netif_napi_del(struct napi_struct *) // with return type: void void netif_napi_del(struct napi_struct *arg0) { // Void type return; } // Function: netif_schedule_queue // with type: void netif_schedule_queue(struct netdev_queue *) // with return type: void void netif_schedule_queue(struct netdev_queue *arg0) { // Void type return; } // Function: netif_set_real_num_rx_queues // with type: int netif_set_real_num_rx_queues(struct net_device *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int netif_set_real_num_rx_queues(struct net_device *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: netif_set_real_num_tx_queues // with type: int netif_set_real_num_tx_queues(struct net_device *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int netif_set_real_num_tx_queues(struct net_device *arg0, unsigned int arg1) { // 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: ns_to_timespec // with type: struct timespec ns_to_timespec(const s64 ) // with return type: struct timespec struct timespec ns_to_timespec(const s64 arg0) { // Composite type return *(struct timespec *)ldv_xmalloc(sizeof(struct timespec)); } // Function: pci_bus_read_config_byte // with type: int pci_bus_read_config_byte(struct pci_bus *, unsigned int, int, u8 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_read_config_byte(struct pci_bus *arg0, unsigned int arg1, int arg2, u8 *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_bus_read_config_dword // with type: int pci_bus_read_config_dword(struct pci_bus *, unsigned int, int, u32 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_read_config_dword(struct pci_bus *arg0, unsigned int arg1, int arg2, u32 *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_bus_read_config_word // with type: int pci_bus_read_config_word(struct pci_bus *, unsigned int, int, u16 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_read_config_word(struct pci_bus *arg0, unsigned int arg1, int arg2, u16 *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_bus_write_config_byte // with type: int pci_bus_write_config_byte(struct pci_bus *, unsigned int, int, u8 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_write_config_byte(struct pci_bus *arg0, unsigned int arg1, int arg2, u8 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_bus_write_config_dword // with type: int pci_bus_write_config_dword(struct pci_bus *, unsigned int, int, u32 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_write_config_dword(struct pci_bus *arg0, unsigned int arg1, int arg2, u32 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_bus_write_config_word // with type: int pci_bus_write_config_word(struct pci_bus *, unsigned int, int, u16 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_write_config_word(struct pci_bus *arg0, unsigned int arg1, int arg2, u16 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_dev_present // with type: int pci_dev_present(const struct pci_device_id *) // with return type: int int __VERIFIER_nondet_int(void); int pci_dev_present(const struct pci_device_id *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_dev_put // with type: void pci_dev_put(struct pci_dev *) // with return type: void void pci_dev_put(struct pci_dev *arg0) { // Void type return; } // Function: pci_device_is_present // with type: bool pci_device_is_present(struct pci_dev *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool pci_device_is_present(struct pci_dev *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: pci_disable_device // with type: void pci_disable_device(struct pci_dev *) // with return type: void void pci_disable_device(struct pci_dev *arg0) { // Void type return; } // Function: pci_disable_msi // with type: void pci_disable_msi(struct pci_dev *) // with return type: void void pci_disable_msi(struct pci_dev *arg0) { // Void type return; } // Function: pci_disable_msix // with type: void pci_disable_msix(struct pci_dev *) // with return type: void void pci_disable_msix(struct pci_dev *arg0) { // Void type return; } // Function: pci_enable_device // with type: int pci_enable_device(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_device(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_enable_msi_range // with type: int pci_enable_msi_range(struct pci_dev *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_msi_range(struct pci_dev *arg0, int arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_enable_msix_range // with type: int pci_enable_msix_range(struct pci_dev *, struct msix_entry *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_msix_range(struct pci_dev *arg0, struct msix_entry *arg1, int arg2, int arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_find_capability // with type: int pci_find_capability(struct pci_dev *, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_find_capability(struct pci_dev *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_get_device // with type: struct pci_dev *pci_get_device(unsigned int, unsigned int, struct pci_dev *) // with return type: (struct pci_dev)* struct pci_dev *pci_get_device(unsigned int arg0, unsigned int arg1, struct pci_dev *arg2) { // Pointer type return ldv_malloc(sizeof(struct pci_dev)); } // Function: pci_get_slot // with type: struct pci_dev *pci_get_slot(struct pci_bus *, unsigned int) // with return type: (struct pci_dev)* struct pci_dev *pci_get_slot(struct pci_bus *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct pci_dev)); } // Function: pci_ioremap_bar // with type: void *pci_ioremap_bar(struct pci_dev *, int) // with return type: (void)* void *pci_ioremap_bar(struct pci_dev *arg0, int arg1) { // Pointer type return ldv_malloc(0UL); } // Function: pci_read_vpd // with type: ssize_t pci_read_vpd(struct pci_dev *, loff_t , size_t , void *) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t pci_read_vpd(struct pci_dev *arg0, loff_t arg1, size_t arg2, void *arg3) { // 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: pci_release_regions // with type: void pci_release_regions(struct pci_dev *) // with return type: void void pci_release_regions(struct pci_dev *arg0) { // Void type return; } // Function: pci_request_regions // with type: int pci_request_regions(struct pci_dev *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pci_request_regions(struct pci_dev *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_restore_state // with type: void pci_restore_state(struct pci_dev *) // with return type: void void pci_restore_state(struct pci_dev *arg0) { // Void type return; } // Function: pci_save_state // with type: int pci_save_state(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_save_state(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_set_master // with type: void pci_set_master(struct pci_dev *) // with return type: void void pci_set_master(struct pci_dev *arg0) { // Void type return; } // Function: pci_set_power_state // with type: int pci_set_power_state(struct pci_dev *, pci_power_t ) // with return type: int int __VERIFIER_nondet_int(void); int pci_set_power_state(struct pci_dev *arg0, pci_power_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_unregister_driver // with type: void pci_unregister_driver(struct pci_driver *) // with return type: void void pci_unregister_driver(struct pci_driver *arg0) { // Void type return; } // Function: pci_vpd_find_info_keyword // with type: int pci_vpd_find_info_keyword(const u8 *, unsigned int, unsigned int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pci_vpd_find_info_keyword(const u8 *arg0, unsigned int arg1, unsigned int arg2, const char *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_vpd_find_tag // with type: int pci_vpd_find_tag(const u8 *, unsigned int, unsigned int, u8 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_vpd_find_tag(const u8 *arg0, unsigned int arg1, unsigned int arg2, u8 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_wake_from_d3 // with type: int pci_wake_from_d3(struct pci_dev *, bool ) // with return type: int int __VERIFIER_nondet_int(void); int pci_wake_from_d3(struct pci_dev *arg0, bool arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcie_capability_clear_and_set_word // with type: int pcie_capability_clear_and_set_word(struct pci_dev *, int, u16 , u16 ) // with return type: int int __VERIFIER_nondet_int(void); int pcie_capability_clear_and_set_word(struct pci_dev *arg0, int arg1, u16 arg2, u16 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcie_capability_read_word // with type: int pcie_capability_read_word(struct pci_dev *, int, u16 *) // with return type: int int __VERIFIER_nondet_int(void); int pcie_capability_read_word(struct pci_dev *arg0, int arg1, u16 *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcie_capability_write_word // with type: int pcie_capability_write_word(struct pci_dev *, int, u16 ) // with return type: int int __VERIFIER_nondet_int(void); int pcie_capability_write_word(struct pci_dev *arg0, int arg1, u16 arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: phy_connect // with type: struct phy_device *phy_connect(struct net_device *, const char *, void (*)(struct net_device *), phy_interface_t ) // with return type: (struct phy_device)* struct phy_device *phy_connect(struct net_device *arg0, const char *arg1, void (*arg2)(struct net_device *), phy_interface_t arg3) { // Pointer type return ldv_malloc(sizeof(struct phy_device)); } // Function: phy_disconnect // with type: void phy_disconnect(struct phy_device *) // with return type: void void phy_disconnect(struct phy_device *arg0) { // Void type return; } // Function: phy_ethtool_gset // with type: int phy_ethtool_gset(struct phy_device *, struct ethtool_cmd *) // with return type: int int __VERIFIER_nondet_int(void); int phy_ethtool_gset(struct phy_device *arg0, struct ethtool_cmd *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: phy_ethtool_sset // with type: int phy_ethtool_sset(struct phy_device *, struct ethtool_cmd *) // with return type: int int __VERIFIER_nondet_int(void); int phy_ethtool_sset(struct phy_device *arg0, struct ethtool_cmd *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: phy_mii_ioctl // with type: int phy_mii_ioctl(struct phy_device *, struct ifreq *, int) // with return type: int int __VERIFIER_nondet_int(void); int phy_mii_ioctl(struct phy_device *arg0, struct ifreq *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: phy_start // with type: void phy_start(struct phy_device *) // with return type: void void phy_start(struct phy_device *arg0) { // Void type return; } // Function: phy_start_aneg // with type: int phy_start_aneg(struct phy_device *) // with return type: int int __VERIFIER_nondet_int(void); int phy_start_aneg(struct phy_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: phy_stop // with type: void phy_stop(struct phy_device *) // with return type: void void phy_stop(struct phy_device *arg0) { // 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: pskb_expand_head // with type: int pskb_expand_head(struct sk_buff *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int pskb_expand_head(struct sk_buff *arg0, int arg1, int arg2, gfp_t arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: ptp_clock_index // with type: int ptp_clock_index(struct ptp_clock *) // with return type: int int __VERIFIER_nondet_int(void); int ptp_clock_index(struct ptp_clock *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ptp_clock_register // with type: struct ptp_clock *ptp_clock_register(struct ptp_clock_info *, struct device *) // with return type: (struct ptp_clock)* struct ptp_clock *ptp_clock_register(struct ptp_clock_info *arg0, struct device *arg1) { // Pointer type return ldv_malloc(0UL); } // Function: ptp_clock_unregister // with type: int ptp_clock_unregister(struct ptp_clock *) // with return type: int int __VERIFIER_nondet_int(void); int ptp_clock_unregister(struct ptp_clock *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: register_netdev // with type: int register_netdev(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int register_netdev(struct net_device *arg0) { // 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_threaded_irq // with type: int request_threaded_irq(unsigned int, irqreturn_t (*)(int, void *), irqreturn_t (*)(int, void *), unsigned long, const char *, void *) // with return type: int int __VERIFIER_nondet_int(void); int request_threaded_irq(unsigned int arg0, irqreturn_t (*arg1)(int, void *), irqreturn_t (*arg2)(int, void *), unsigned long arg3, const char *arg4, void *arg5) { // 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: skb_checksum_help // with type: int skb_checksum_help(struct sk_buff *) // with return type: int int __VERIFIER_nondet_int(void); int skb_checksum_help(struct sk_buff *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: skb_clone_tx_timestamp // with type: void skb_clone_tx_timestamp(struct sk_buff *) // with return type: void void skb_clone_tx_timestamp(struct sk_buff *arg0) { // 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_copy_expand // with type: struct sk_buff *skb_copy_expand(const struct sk_buff *, int, int, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *skb_copy_expand(const struct sk_buff *arg0, int arg1, int arg2, gfp_t arg3) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // 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_tstamp_tx // with type: void skb_tstamp_tx(struct sk_buff *, struct skb_shared_hwtstamps *) // with return type: void void skb_tstamp_tx(struct sk_buff *arg0, struct skb_shared_hwtstamps *arg1) { // Void type return; } // Skip function: snprintf // Skip function: sprintf // Skip function: strcat // Skip function: strcpy // Function: strlcpy // with type: size_t strlcpy(char *, const char *, size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t strlcpy(char *arg0, const char *arg1, size_t arg2) { // Typedef type // Real type: __kernel_size_t // Typedef type // Real type: __kernel_ulong_t // Typedef type // Real type: unsigned long // Simple type return __VERIFIER_nondet_ulong(); } // Skip function: strlen // Skip function: strncat // Function: synchronize_irq // with type: void synchronize_irq(unsigned int) // with return type: void void synchronize_irq(unsigned int arg0) { // Void type return; } // Function: unregister_netdev // with type: void unregister_netdev(struct net_device *) // with return type: void void unregister_netdev(struct net_device *arg0) { // Void type return; } // Function: usleep_range // with type: void usleep_range(unsigned long, unsigned long) // with return type: void void usleep_range(unsigned long arg0, unsigned long arg1) { // Void type return; } // 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; }