// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_u16 // Skip function: __VERIFIER_nondet_ulong // 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: __list_add // with type: void __list_add(struct list_head *, struct list_head *, struct list_head *) // with return type: void void __list_add(struct list_head *arg0, struct list_head *arg1, struct list_head *arg2) { // Void type return; } // Function: __list_del_entry // with type: void __list_del_entry(struct list_head *) // with return type: void void __list_del_entry(struct list_head *arg0) { // Void type return; } // Function: __might_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: __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: _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: _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_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; } // Skip function: calloc // 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: disable_irq_nosync // with type: void disable_irq_nosync(unsigned int) // with return type: void void disable_irq_nosync(unsigned int arg0) { // Void type return; } // Function: driver_unregister // with type: void driver_unregister(struct device_driver *) // with return type: void void driver_unregister(struct device_driver *arg0) { // Void type return; } // Function: enable_irq // with type: void enable_irq(unsigned int) // with return type: void void enable_irq(unsigned int 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; } // Skip function: kfree // Function: kmem_cache_alloc // with type: void *kmem_cache_alloc(struct kmem_cache *, gfp_t ) // with return type: (void)* void *kmem_cache_alloc(struct kmem_cache *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(0UL); } // Function: kthread_create_on_node // with type: struct task_struct *kthread_create_on_node(int (*)(void *), void *, int, const char *, ...) // with return type: (struct task_struct)* struct task_struct *kthread_create_on_node(int (*arg0)(void *), void *arg1, int arg2, const char *arg3, ...) { // Pointer type return ldv_malloc(sizeof(struct task_struct)); } // Function: kthread_should_stop // with type: bool kthread_should_stop() // with return type: bool bool __VERIFIER_nondet_bool(void); bool kthread_should_stop() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: kthread_stop // with type: int kthread_stop(struct task_struct *) // with return type: int int __VERIFIER_nondet_int(void); int kthread_stop(struct task_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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___0 *ldv_some_page() // with return type: (struct page___0)* struct page___0 *ldv_some_page() { // Pointer type return ldv_malloc(sizeof(struct page___0)); } // 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: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int 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: 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: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: spi_register_driver // with type: int spi_register_driver(struct spi_driver *) // with return type: int int __VERIFIER_nondet_int(void); int spi_register_driver(struct spi_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: spi_setup // with type: int spi_setup(struct spi_device *) // with return type: int int __VERIFIER_nondet_int(void); int spi_setup(struct spi_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: spi_sync // with type: int spi_sync(struct spi_device *, struct spi_message *) // with return type: int int __VERIFIER_nondet_int(void); int spi_sync(struct spi_device *arg0, struct spi_message *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_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_resume_root_hub // with type: void usb_hcd_resume_root_hub(struct usb_hcd *) // with return type: void void usb_hcd_resume_root_hub(struct usb_hcd *arg0) { // Void type return; } // 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_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: wake_up_process // with type: int wake_up_process(struct task_struct *) // with return type: int int __VERIFIER_nondet_int(void); int wake_up_process(struct task_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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; }