// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_u16 // Skip function: __VERIFIER_nondet_u32 // 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: __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: __dynamic_dev_dbg // with type: int __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *arg1, const char *arg2, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: __dynamic_netdev_dbg // with type: int __dynamic_netdev_dbg(struct _ddebug *, const struct net_device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_netdev_dbg(struct _ddebug *arg0, const struct net_device *arg1, const char *arg2, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: __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: __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: __netif_schedule // with type: void __netif_schedule(struct Qdisc *) // with return type: void void __netif_schedule(struct Qdisc *arg0) { // Void type return; } // Function: __pci_enable_wake // with type: int __pci_enable_wake(struct pci_dev *, pci_power_t , bool , bool ) // with return type: int int __VERIFIER_nondet_int(void); int __pci_enable_wake(struct pci_dev *arg0, pci_power_t arg1, bool arg2, bool arg3) { // Simple type return __VERIFIER_nondet_int(); } // 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: _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: _dev_info // with type: int _dev_info(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int _dev_info(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: _raw_spin_lock // 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_trylock // with type: int _raw_spin_trylock(raw_spinlock_t *) // with return type: int int __VERIFIER_nondet_int(void); int _raw_spin_trylock(raw_spinlock_t *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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_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)); } // 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: debug_dma_alloc_coherent // with type: void debug_dma_alloc_coherent(struct device *, size_t , dma_addr_t , void *) // with return type: void void debug_dma_alloc_coherent(struct device *arg0, size_t arg1, dma_addr_t arg2, void *arg3) { // Void type return; } // Function: debug_dma_free_coherent // with type: void debug_dma_free_coherent(struct device *, size_t , void *, dma_addr_t ) // with return type: void void debug_dma_free_coherent(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3) { // 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_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_err // with type: int dev_err(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_err(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: 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: devm_gpio_request_one // with type: int devm_gpio_request_one(struct device *, unsigned int, unsigned long, const char *) // with return type: int int __VERIFIER_nondet_int(void); int devm_gpio_request_one(struct device *arg0, unsigned int arg1, unsigned long arg2, const char *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: devm_kmalloc // with type: void *devm_kmalloc(struct device *, size_t , gfp_t ) // with return type: (void)* void *devm_kmalloc(struct device *arg0, size_t arg1, gfp_t arg2) { // Pointer type return ldv_malloc(0UL); } // Function: disable_irq // with type: void disable_irq(unsigned int) // with return type: void void disable_irq(unsigned int arg0) { // 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: enable_irq // with type: void enable_irq(unsigned int) // with return type: void void enable_irq(unsigned int 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: 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: 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: generic_mii_ioctl // with type: int generic_mii_ioctl(struct mii_if_info *, struct mii_ioctl_data *, int, unsigned int *) // with return type: int int __VERIFIER_nondet_int(void); int generic_mii_ioctl(struct mii_if_info *arg0, struct mii_ioctl_data *arg1, int arg2, unsigned int *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: ioread32 // with type: unsigned int ioread32(void *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int ioread32(void *arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: iowrite32 // with type: void iowrite32(u32 , void *) // with return type: void void iowrite32(u32 arg0, void *arg1) { // Void type return; } // Skip function: kfree // Function: ldv_complete_5 // with type: int ldv_complete_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_complete_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_late_5 // with type: int ldv_freeze_late_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_late_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_noirq_5 // with type: int ldv_freeze_noirq_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_noirq_5() { // Simple type return __VERIFIER_nondet_int(); } // 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_5 // with type: int ldv_poweroff_late_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_late_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_noirq_5 // with type: int ldv_poweroff_noirq_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_noirq_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_prepare_5 // with type: int ldv_prepare_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_prepare_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_probe_4 // with type: int ldv_probe_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_probe_8 // with type: int ldv_probe_8() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_8() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_4 // with type: int ldv_release_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_8 // with type: int ldv_release_8() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_8() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_restore_early_5 // with type: int ldv_restore_early_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_early_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_restore_noirq_5 // with type: int ldv_restore_noirq_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_noirq_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_early_5 // with type: int ldv_resume_early_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_noirq_5 // with type: int ldv_resume_noirq_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_noirq_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_4 // with type: int ldv_suspend_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_late_5 // with type: int ldv_suspend_late_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_noirq_5 // with type: int ldv_suspend_noirq_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_noirq_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_early_5 // with type: int ldv_thaw_early_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_early_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_noirq_5 // with type: int ldv_thaw_noirq_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_noirq_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: lockdep_init_map // with type: void lockdep_init_map(struct lockdep_map *, const char *, struct lock_class_key *, int) // with return type: void void lockdep_init_map(struct lockdep_map *arg0, const char *arg1, struct lock_class_key *arg2, int arg3) { // Void type return; } // Skip function: malloc // Skip function: memcpy // Skip function: memset // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // Function: mii_check_gmii_support // with type: int mii_check_gmii_support(struct mii_if_info *) // with return type: int int __VERIFIER_nondet_int(void); int mii_check_gmii_support(struct mii_if_info *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: mii_ethtool_gset // with type: int mii_ethtool_gset(struct mii_if_info *, struct ethtool_cmd *) // with return type: int int __VERIFIER_nondet_int(void); int mii_ethtool_gset(struct mii_if_info *arg0, struct ethtool_cmd *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: mii_ethtool_sset // with type: int mii_ethtool_sset(struct mii_if_info *, struct ethtool_cmd *) // with return type: int int __VERIFIER_nondet_int(void); int mii_ethtool_sset(struct mii_if_info *arg0, struct ethtool_cmd *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: mii_link_ok // with type: int mii_link_ok(struct mii_if_info *) // with return type: int int __VERIFIER_nondet_int(void); int mii_link_ok(struct mii_if_info *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: mii_nway_restart // with type: int mii_nway_restart(struct mii_if_info *) // with return type: int int __VERIFIER_nondet_int(void); int mii_nway_restart(struct mii_if_info *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: napi_complete // with type: void napi_complete(struct napi_struct *) // with return type: void void napi_complete(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_err // with type: int netdev_err(const struct net_device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int netdev_err(const struct net_device *arg0, const char *arg1, ...) { // 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_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_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: pch_ch_control_write // with type: void pch_ch_control_write(struct pci_dev *, u32 ) // with return type: void void pch_ch_control_write(struct pci_dev *arg0, u32 arg1) { // Void type return; } // Function: pch_ch_event_read // with type: u32 pch_ch_event_read(struct pci_dev *) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 pch_ch_event_read(struct pci_dev *arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: pch_ch_event_write // with type: void pch_ch_event_write(struct pci_dev *, u32 ) // with return type: void void pch_ch_event_write(struct pci_dev *arg0, u32 arg1) { // Void type return; } // Function: pch_rx_snap_read // with type: u64 pch_rx_snap_read(struct pci_dev *) // with return type: u64 unsigned long __VERIFIER_nondet_ulong(void); u64 pch_rx_snap_read(struct pci_dev *arg0) { // Typedef type // Real type: unsigned long long // Simple type return __VERIFIER_nondet_ulong(); } // Function: pch_set_station_address // with type: int pch_set_station_address(u8 *, struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pch_set_station_address(u8 *arg0, struct pci_dev *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pch_src_uuid_hi_read // with type: u32 pch_src_uuid_hi_read(struct pci_dev *) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 pch_src_uuid_hi_read(struct pci_dev *arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: pch_src_uuid_lo_read // with type: u32 pch_src_uuid_lo_read(struct pci_dev *) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 pch_src_uuid_lo_read(struct pci_dev *arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: pch_tx_snap_read // with type: u64 pch_tx_snap_read(struct pci_dev *) // with return type: u64 unsigned long __VERIFIER_nondet_ulong(void); u64 pch_tx_snap_read(struct pci_dev *arg0) { // Typedef type // Real type: unsigned long long // Simple type return __VERIFIER_nondet_ulong(); } // 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_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_get_domain_bus_and_slot // with type: struct pci_dev *pci_get_domain_bus_and_slot(int, unsigned int, unsigned int) // with return type: (struct pci_dev)* struct pci_dev *pci_get_domain_bus_and_slot(int arg0, unsigned int arg1, unsigned int arg2) { // Pointer type return ldv_malloc(sizeof(struct pci_dev)); } // 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_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: pcim_enable_device // with type: int pcim_enable_device(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pcim_enable_device(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcim_iomap_regions // with type: int pcim_iomap_regions(struct pci_dev *, int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pcim_iomap_regions(struct pci_dev *arg0, int arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcim_iomap_table // with type: void * const *pcim_iomap_table(struct pci_dev *) // with return type: (const (void)*)* void * const *pcim_iomap_table(struct pci_dev *arg0) { // Pointer type return ldv_malloc(sizeof(void *)); } // 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: ptp_classify_raw // with type: unsigned int ptp_classify_raw(const struct sk_buff *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int ptp_classify_raw(const struct sk_buff *arg0) { // Simple type return __VERIFIER_nondet_uint(); } // 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: 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: round_jiffies // with type: unsigned long int round_jiffies(unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int round_jiffies(unsigned long arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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 // with type: __wsum skb_checksum(const struct sk_buff *, int, int, __wsum ) // with return type: __wsum unsigned int __VERIFIER_nondet_uint(void); __wsum skb_checksum(const struct sk_buff *arg0, int arg1, int arg2, __wsum arg3) { // Typedef type // Real type: __u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // 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_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; } // 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: 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(); } // Function: synchronize_irq // with type: void synchronize_irq(unsigned int) // with return type: void void synchronize_irq(unsigned int arg0) { // Void type return; } // Function: trace_hardirqs_off // with type: void trace_hardirqs_off() // with return type: void void trace_hardirqs_off() { // Void type return; } // Function: trace_hardirqs_on // with type: void trace_hardirqs_on() // with return type: void void trace_hardirqs_on() { // 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: vfree // with type: void vfree(const void *) // with return type: void void vfree(const void *arg0) { // Void type return; } // 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; }