// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // 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: __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_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: __ldv_spin_lock // with type: void __ldv_spin_lock(spinlock_t *) // with return type: void void __ldv_spin_lock(spinlock_t *arg0) { // Void type return; } // Function: __raw_spin_lock_init // with type: void __raw_spin_lock_init(raw_spinlock_t *, const char *, struct lock_class_key *) // with return type: void void __raw_spin_lock_init(raw_spinlock_t *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: _raw_spin_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: bitrev16 // with type: u16 bitrev16(u16 ) // with return type: u16 unsigned short __VERIFIER_nondet_ushort(void); u16 bitrev16(u16 arg0) { // Typedef type // Real type: unsigned short // Simple type return __VERIFIER_nondet_ushort(); } // Function: bitrev32 // with type: u32 bitrev32(u32 ) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 bitrev32(u32 arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Skip function: calloc // Function: crc16 // with type: u16 crc16(u16 , const u8 *, size_t ) // with return type: u16 unsigned short __VERIFIER_nondet_ushort(void); u16 crc16(u16 arg0, const u8 *arg1, size_t arg2) { // Typedef type // Real type: unsigned short // Simple type return __VERIFIER_nondet_ushort(); } // Function: crc32_le // with type: u32 crc32_le(u32 , const unsigned char *, size_t ) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 crc32_le(u32 arg0, const unsigned char *arg1, size_t arg2) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: csum_partial // with type: __wsum csum_partial(const void *, int, __wsum ) // with return type: __wsum unsigned int __VERIFIER_nondet_uint(void); __wsum csum_partial(const void *arg0, int arg1, __wsum arg2) { // Typedef type // Real type: __u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // 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: eth_mac_addr // with type: int eth_mac_addr(struct net_device *, void *) // with return type: int int __VERIFIER_nondet_int(void); int eth_mac_addr(struct net_device *arg0, void *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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(); } // Skip function: free // 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: get_random_bytes // with type: void get_random_bytes(void *, int) // with return type: void void get_random_bytes(void *arg0, int arg1) { // Void type return; } // Skip function: kfree // Function: ldv_after_alloc // with type: void ldv_after_alloc(void *) // with return type: void void ldv_after_alloc(void *arg0) { // Void type return; } // Function: ldv_assert // with type: void ldv_assert(const char *, int) // with return type: void void ldv_assert(const char *arg0, int arg1) { // Void type return; } // Function: ldv_check_alloc_flags // with type: void ldv_check_alloc_flags(gfp_t ) // with return type: void void ldv_check_alloc_flags(gfp_t arg0) { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_pre_probe // with type: void ldv_pre_probe() // with return type: void void ldv_pre_probe() { // Void type return; } // Function: ldv_pre_usb_register_driver // with type: int ldv_pre_usb_register_driver() // with return type: int int __VERIFIER_nondet_int(void); int ldv_pre_usb_register_driver() { // Simple type return __VERIFIER_nondet_int(); } // Skip function: malloc // Skip function: memcpy // Skip function: memset // Function: mii_check_media // with type: unsigned int mii_check_media(struct mii_if_info *, unsigned int, unsigned int) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int mii_check_media(struct mii_if_info *arg0, unsigned int arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_uint(); } // 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_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: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: mutex_lock_nested // with type: void mutex_lock_nested(struct mutex *, unsigned int) // with return type: void void mutex_lock_nested(struct mutex *arg0, unsigned int arg1) { // Void type return; } // Function: mutex_unlock // with type: void mutex_unlock(struct mutex *) // with return type: void void mutex_unlock(struct mutex *arg0) { // Void type return; } // Function: netdev_info // with type: int netdev_info(const struct net_device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int netdev_info(const struct net_device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: netdev_warn // with type: int netdev_warn(const struct net_device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int netdev_warn(const struct net_device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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_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_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_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: usb_autopm_get_interface_no_resume // with type: void usb_autopm_get_interface_no_resume(struct usb_interface *) // with return type: void void usb_autopm_get_interface_no_resume(struct usb_interface *arg0) { // Void type return; } // Function: usb_autopm_put_interface // with type: void usb_autopm_put_interface(struct usb_interface *) // with return type: void void usb_autopm_put_interface(struct usb_interface *arg0) { // Void type return; } // Function: usb_deregister // with type: void usb_deregister(struct usb_driver *) // with return type: void void usb_deregister(struct usb_driver *arg0) { // Void type return; } // Function: usb_register_driver // with type: int usb_register_driver(struct usb_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int usb_register_driver(struct usb_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_change_mtu // with type: int usbnet_change_mtu(struct net_device *, int) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_change_mtu(struct net_device *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_defer_kevent // with type: void usbnet_defer_kevent(struct usbnet *, int) // with return type: void void usbnet_defer_kevent(struct usbnet *arg0, int arg1) { // Void type return; } // Function: usbnet_disconnect // with type: void usbnet_disconnect(struct usb_interface *) // with return type: void void usbnet_disconnect(struct usb_interface *arg0) { // Void type return; } // Function: usbnet_get_drvinfo // with type: void usbnet_get_drvinfo(struct net_device *, struct ethtool_drvinfo *) // with return type: void void usbnet_get_drvinfo(struct net_device *arg0, struct ethtool_drvinfo *arg1) { // Void type return; } // Function: usbnet_get_endpoints // with type: int usbnet_get_endpoints(struct usbnet *, struct usb_interface *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_get_endpoints(struct usbnet *arg0, struct usb_interface *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_get_link // with type: u32 usbnet_get_link(struct net_device *) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 usbnet_get_link(struct net_device *arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: usbnet_get_msglevel // with type: u32 usbnet_get_msglevel(struct net_device *) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 usbnet_get_msglevel(struct net_device *arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: usbnet_get_settings // with type: int usbnet_get_settings(struct net_device *, struct ethtool_cmd *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_get_settings(struct net_device *arg0, struct ethtool_cmd *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_nway_reset // with type: int usbnet_nway_reset(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_nway_reset(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_open // with type: int usbnet_open(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_open(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_probe // with type: int usbnet_probe(struct usb_interface *, const struct usb_device_id *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_probe(struct usb_interface *arg0, const struct usb_device_id *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_resume // with type: int usbnet_resume(struct usb_interface *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_resume(struct usb_interface *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_set_msglevel // with type: void usbnet_set_msglevel(struct net_device *, u32 ) // with return type: void void usbnet_set_msglevel(struct net_device *arg0, u32 arg1) { // Void type return; } // Function: usbnet_set_settings // with type: int usbnet_set_settings(struct net_device *, struct ethtool_cmd *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_set_settings(struct net_device *arg0, struct ethtool_cmd *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_skb_return // with type: void usbnet_skb_return(struct usbnet *, struct sk_buff *) // with return type: void void usbnet_skb_return(struct usbnet *arg0, struct sk_buff *arg1) { // Void type return; } // Function: usbnet_start_xmit // with type: netdev_tx_t usbnet_start_xmit(struct sk_buff *, struct net_device *) // with return type: netdev_tx_t int __VERIFIER_nondet_int(void); netdev_tx_t usbnet_start_xmit(struct sk_buff *arg0, struct net_device *arg1) { // Typedef type // Real type: enum netdev_tx // Enum type return __VERIFIER_nondet_int(); } // Function: usbnet_stop // with type: int usbnet_stop(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_stop(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_suspend // with type: int usbnet_suspend(struct usb_interface *, pm_message_t ) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_suspend(struct usb_interface *arg0, pm_message_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usbnet_tx_timeout // with type: void usbnet_tx_timeout(struct net_device *) // with return type: void void usbnet_tx_timeout(struct net_device *arg0) { // Void type return; } // Function: usbnet_write_cmd_async // with type: int usbnet_write_cmd_async(struct usbnet *, u8 , u8 , u16 , u16 , const void *, u16 ) // with return type: int int __VERIFIER_nondet_int(void); int usbnet_write_cmd_async(struct usbnet *arg0, u8 arg1, u8 arg2, u16 arg3, u16 arg4, const void *arg5, u16 arg6) { // Simple type return __VERIFIER_nondet_int(); }