// 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: __devm_gpiod_get_optional // with type: struct gpio_desc *__devm_gpiod_get_optional(struct device *, const char *, enum gpiod_flags ) // with return type: (struct gpio_desc)* struct gpio_desc *__devm_gpiod_get_optional(struct device *arg0, const char *arg1, enum gpiod_flags arg2) { // Pointer type return ldv_malloc(0UL); } // 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: __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: __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: __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: __platform_driver_register // with type: int __platform_driver_register(struct platform_driver *, struct module *) // with return type: int int __VERIFIER_nondet_int(void); int __platform_driver_register(struct platform_driver *arg0, struct module *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: __release_region // with type: void __release_region(struct resource *, resource_size_t , resource_size_t ) // with return type: void void __release_region(struct resource *arg0, resource_size_t arg1, resource_size_t arg2) { // Void type return; } // Function: __request_region // with type: struct resource *__request_region(struct resource *, resource_size_t , resource_size_t , const char *, int) // with return type: (struct resource)* struct resource *__request_region(struct resource *arg0, resource_size_t arg1, resource_size_t arg2, const char *arg3, int arg4) { // Pointer type return ldv_malloc(sizeof(struct resource)); } // 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_irq // with type: void _raw_spin_lock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_lock_irq(raw_spinlock_t *arg0) { // Void type return; } // 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_irq // with type: void _raw_spin_unlock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_irq(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; } // Skip function: calloc // 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: 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_wakeup_enable // with type: int device_wakeup_enable(struct device *) // with return type: int int __VERIFIER_nondet_int(void); int device_wakeup_enable(struct device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: devm_ioremap_resource // with type: void *devm_ioremap_resource(struct device *, struct resource *) // with return type: (void)* void *devm_ioremap_resource(struct device *arg0, struct resource *arg1) { // Pointer type return ldv_malloc(0UL); } // 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: down_write // with type: void down_write(struct rw_semaphore *) // with return type: void void down_write(struct rw_semaphore *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: gpiod_set_value_cansleep // with type: void gpiod_set_value_cansleep(struct gpio_desc *, int) // with return type: void void gpiod_set_value_cansleep(struct gpio_desc *arg0, int arg1) { // Void type return; } // Function: ioremap_nocache // with type: void *ioremap_nocache(resource_size_t , unsigned long) // with return type: (void)* void *ioremap_nocache(resource_size_t arg0, unsigned long arg1) { // Pointer type return ldv_malloc(0UL); } // Function: iounmap // with type: void iounmap(volatile void *) // with return type: void void iounmap(volatile void *arg0) { // Void type return; } // Skip function: kfree // Function: kmem_cache_create // with type: struct kmem_cache *kmem_cache_create(const char *, size_t , size_t , unsigned long, void (*)(void *)) // with return type: (struct kmem_cache)* struct kmem_cache *kmem_cache_create(const char *arg0, size_t arg1, size_t arg2, unsigned long arg3, void (*arg4)(void *)) { // Pointer type return ldv_malloc(0UL); } // Function: kmem_cache_destroy // with type: void kmem_cache_destroy(struct kmem_cache *) // with return type: void void kmem_cache_destroy(struct kmem_cache *arg0) { // Void type return; } // Function: kmem_cache_free // with type: void kmem_cache_free(struct kmem_cache *, void *) // with return type: void void kmem_cache_free(struct kmem_cache *arg0, void *arg1) { // Void type return; } // Function: ldv_check_final_state // with type: void ldv_check_final_state() // with return type: void void ldv_check_final_state() { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_some_page // with type: struct page *ldv_some_page() // with return type: (struct page)* struct page *ldv_some_page() { // Pointer type return ldv_malloc(sizeof(struct page)); } // 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; } // Skip function: malloc // 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: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: of_device_is_compatible // with type: int of_device_is_compatible(const struct device_node *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int of_device_is_compatible(const struct device_node *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: of_find_property // with type: struct property *of_find_property(const struct device_node *, const char *, int *) // with return type: (struct property)* struct property *of_find_property(const struct device_node *arg0, const char *arg1, int *arg2) { // Pointer type return ldv_malloc(sizeof(struct property)); } // Function: of_property_read_u32_array // with type: int of_property_read_u32_array(const struct device_node *, const char *, u32 *, size_t ) // with return type: int int __VERIFIER_nondet_int(void); int of_property_read_u32_array(const struct device_node *arg0, const char *arg1, u32 *arg2, size_t arg3) { // Simple type return __VERIFIER_nondet_int(); } // 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_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_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_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_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_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: platform_driver_unregister // with type: void platform_driver_unregister(struct platform_driver *) // with return type: void void platform_driver_unregister(struct platform_driver *arg0) { // Void type return; } // Function: platform_get_resource // with type: struct resource *platform_get_resource(struct platform_device *, unsigned int, unsigned int) // with return type: (struct resource)* struct resource *platform_get_resource(struct platform_device *arg0, unsigned int arg1, unsigned int arg2) { // Pointer type return ldv_malloc(sizeof(struct resource)); } // 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: 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(); } // Skip function: sprintf // Skip function: strlen // Function: up_write // with type: void up_write(struct rw_semaphore *) // with return type: void void up_write(struct rw_semaphore *arg0) { // Void type return; } // Function: usb_add_gadget_udc // with type: int usb_add_gadget_udc(struct device *, struct usb_gadget *) // with return type: int int __VERIFIER_nondet_int(void); int usb_add_gadget_udc(struct device *arg0, struct usb_gadget *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_add_hcd // with type: int usb_add_hcd(struct usb_hcd *, unsigned int, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int usb_add_hcd(struct usb_hcd *arg0, unsigned int arg1, unsigned long arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_create_hcd // with type: struct usb_hcd *usb_create_hcd(const struct hc_driver *, struct device *, const char *) // with return type: (struct usb_hcd)* struct usb_hcd *usb_create_hcd(const struct hc_driver *arg0, struct device *arg1, const char *arg2) { // Pointer type return ldv_malloc(sizeof(struct usb_hcd)); } // Function: usb_del_gadget_udc // with type: void usb_del_gadget_udc(struct usb_gadget *) // with return type: void void usb_del_gadget_udc(struct usb_gadget *arg0) { // Void type return; } // Function: usb_disabled // with type: int usb_disabled() // with return type: int int __VERIFIER_nondet_int(void); int usb_disabled() { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_gadget_set_state // with type: void usb_gadget_set_state(struct usb_gadget *, enum usb_device_state ) // with return type: void void usb_gadget_set_state(struct usb_gadget *arg0, enum usb_device_state arg1) { // Void type return; } // Function: usb_gadget_udc_reset // with type: void usb_gadget_udc_reset(struct usb_gadget *, struct usb_gadget_driver *) // with return type: void void usb_gadget_udc_reset(struct usb_gadget *arg0, struct usb_gadget_driver *arg1) { // Void type return; } // Function: usb_hcd_check_unlink_urb // with type: int usb_hcd_check_unlink_urb(struct usb_hcd *, struct urb *, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_hcd_check_unlink_urb(struct usb_hcd *arg0, struct urb *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_hcd_giveback_urb // with type: void usb_hcd_giveback_urb(struct usb_hcd *, struct urb *, int) // with return type: void void usb_hcd_giveback_urb(struct usb_hcd *arg0, struct urb *arg1, int arg2) { // Void type return; } // Function: usb_hcd_link_urb_to_ep // with type: int usb_hcd_link_urb_to_ep(struct usb_hcd *, struct urb *) // with return type: int int __VERIFIER_nondet_int(void); int usb_hcd_link_urb_to_ep(struct usb_hcd *arg0, struct urb *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_hcd_unlink_urb_from_ep // with type: void usb_hcd_unlink_urb_from_ep(struct usb_hcd *, struct urb *) // with return type: void void usb_hcd_unlink_urb_from_ep(struct usb_hcd *arg0, struct urb *arg1) { // Void type return; } // Function: usb_hub_clear_tt_buffer // with type: int usb_hub_clear_tt_buffer(struct urb *) // with return type: int int __VERIFIER_nondet_int(void); int usb_hub_clear_tt_buffer(struct urb *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_put_hcd // with type: void usb_put_hcd(struct usb_hcd *) // with return type: void void usb_put_hcd(struct usb_hcd *arg0) { // Void type return; } // Function: usb_remove_hcd // with type: void usb_remove_hcd(struct usb_hcd *) // with return type: void void usb_remove_hcd(struct usb_hcd *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; }