// 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: __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: __init_waitqueue_head // with type: void __init_waitqueue_head(wait_queue_head_t *, const char *, struct lock_class_key *) // with return type: void void __init_waitqueue_head(wait_queue_head_t *arg0, const char *arg1, struct lock_class_key *arg2) { // 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: __ldv_usb_unlock_device // with type: void __ldv_usb_unlock_device(struct usb_device *) // with return type: void void __ldv_usb_unlock_device(struct usb_device *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: __mutex_init // with type: void __mutex_init(struct mutex *, const char *, struct lock_class_key *) // with return type: void void __mutex_init(struct mutex *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: __wake_up // with type: void __wake_up(wait_queue_head_t *, unsigned int, int, void *) // with return type: void void __wake_up(wait_queue_head_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Void type return; } // 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_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_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_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: blk_queue_bounce_limit // with type: void blk_queue_bounce_limit(struct request_queue *, u64 ) // with return type: void void blk_queue_bounce_limit(struct request_queue *arg0, u64 arg1) { // Void type return; } // Function: blk_queue_max_hw_sectors // with type: void blk_queue_max_hw_sectors(struct request_queue *, unsigned int) // with return type: void void blk_queue_max_hw_sectors(struct request_queue *arg0, unsigned int arg1) { // Void type return; } // Function: blk_queue_update_dma_alignment // with type: void blk_queue_update_dma_alignment(struct request_queue *, int) // with return type: void void blk_queue_update_dma_alignment(struct request_queue *arg0, int arg1) { // Void type return; } // Skip function: calloc // Function: cancel_delayed_work_sync // with type: bool cancel_delayed_work_sync(struct delayed_work *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_delayed_work_sync(struct delayed_work *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *arg0) { // Void type return; } // Function: dev_notice // with type: void dev_notice(const struct device *, const char *, ...) // with return type: void void dev_notice(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: dev_vprintk_emit // with type: int dev_vprintk_emit(int, const struct device *, const char *, va_list *) // with return type: int int __VERIFIER_nondet_int(void); int dev_vprintk_emit(int arg0, const struct device *arg1, const char *arg2, va_list *arg3) { // Simple type return __VERIFIER_nondet_int(); } // 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_create_file // with type: int device_create_file(struct device *, const struct device_attribute *) // with return type: int int __VERIFIER_nondet_int(void); int device_create_file(struct device *arg0, const struct device_attribute *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: finish_wait // with type: void finish_wait(wait_queue_head_t *, wait_queue_t *) // with return type: void void finish_wait(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // 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: init_timer_key // with type: void init_timer_key(struct timer_list *, unsigned int, const char *, struct lock_class_key *) // with return type: void void init_timer_key(struct timer_list *arg0, unsigned int arg1, const char *arg2, struct lock_class_key *arg3) { // Void type return; } // Skip function: kfree // 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__builtin_va_end // with type: void ldv__builtin_va_end(__builtin_va_list *) // with return type: void void ldv__builtin_va_end(__builtin_va_list *arg0) { // Void type return; } // Function: ldv__builtin_va_start // with type: void ldv__builtin_va_start(__builtin_va_list *) // with return type: void void ldv__builtin_va_start(__builtin_va_list *arg0) { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // 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_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: 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: memcmp // Skip function: memcpy // Skip function: memset // 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: prepare_to_wait_event // with type: long int prepare_to_wait_event(wait_queue_head_t *, wait_queue_t *, int) // with return type: long int long __VERIFIER_nondet_long(void); long int prepare_to_wait_event(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // Simple type return __VERIFIER_nondet_long(); } // 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: 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: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: schedule_timeout // with type: long int schedule_timeout(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: schedule_timeout_uninterruptible // with type: long int schedule_timeout_uninterruptible(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout_uninterruptible(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: scsi_add_host_with_dma // with type: int scsi_add_host_with_dma(struct Scsi_Host *, struct device *, struct device *) // with return type: int int __VERIFIER_nondet_int(void); int scsi_add_host_with_dma(struct Scsi_Host *arg0, struct device *arg1, struct device *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: scsi_cmd_get_serial // with type: void scsi_cmd_get_serial(struct Scsi_Host *, struct scsi_cmnd *) // with return type: void void scsi_cmd_get_serial(struct Scsi_Host *arg0, struct scsi_cmnd *arg1) { // Void type return; } // Function: scsi_eh_prep_cmnd // with type: void scsi_eh_prep_cmnd(struct scsi_cmnd *, struct scsi_eh_save *, unsigned char *, int, unsigned int) // with return type: void void scsi_eh_prep_cmnd(struct scsi_cmnd *arg0, struct scsi_eh_save *arg1, unsigned char *arg2, int arg3, unsigned int arg4) { // Void type return; } // Function: scsi_eh_restore_cmnd // with type: void scsi_eh_restore_cmnd(struct scsi_cmnd *, struct scsi_eh_save *) // with return type: void void scsi_eh_restore_cmnd(struct scsi_cmnd *arg0, struct scsi_eh_save *arg1) { // Void type return; } // Function: scsi_extd_sense_format // with type: const char *scsi_extd_sense_format(unsigned char, unsigned char, const char **) // with return type: (const char)* const char *scsi_extd_sense_format(unsigned char arg0, unsigned char arg1, const char **arg2) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: scsi_get_host_dev // with type: struct scsi_device *scsi_get_host_dev(struct Scsi_Host *) // with return type: (struct scsi_device)* struct scsi_device *scsi_get_host_dev(struct Scsi_Host *arg0) { // Pointer type return ldv_malloc(sizeof(struct scsi_device)); } // Function: scsi_host_alloc // with type: struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *, int) // with return type: (struct Scsi_Host)* struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct Scsi_Host)); } // Function: scsi_host_put // with type: void scsi_host_put(struct Scsi_Host *) // with return type: void void scsi_host_put(struct Scsi_Host *arg0) { // Void type return; } // Function: scsi_is_host_device // with type: int scsi_is_host_device(const struct device *) // with return type: int int __VERIFIER_nondet_int(void); int scsi_is_host_device(const struct device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: scsi_normalize_sense // with type: bool scsi_normalize_sense(const u8 *, int, struct scsi_sense_hdr *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool scsi_normalize_sense(const u8 *arg0, int arg1, struct scsi_sense_hdr *arg2) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: scsi_remove_host // with type: void scsi_remove_host(struct Scsi_Host *) // with return type: void void scsi_remove_host(struct Scsi_Host *arg0) { // Void type return; } // Function: scsi_report_bus_reset // with type: void scsi_report_bus_reset(struct Scsi_Host *, int) // with return type: void void scsi_report_bus_reset(struct Scsi_Host *arg0, int arg1) { // Void type return; } // Function: scsi_report_device_reset // with type: void scsi_report_device_reset(struct Scsi_Host *, int, int) // with return type: void void scsi_report_device_reset(struct Scsi_Host *arg0, int arg1, int arg2) { // Void type return; } // Function: scsi_scan_host // with type: void scsi_scan_host(struct Scsi_Host *) // with return type: void void scsi_scan_host(struct Scsi_Host *arg0) { // Void type return; } // Function: scsi_sense_desc_find // with type: const u8 *scsi_sense_desc_find(const u8 *, int, int) // with return type: (const u8 )* const u8 *scsi_sense_desc_find(const u8 *arg0, int arg1, int arg2) { // Pointer type return ldv_malloc(sizeof(u8)); } // Function: scsi_sense_key_string // with type: const char *scsi_sense_key_string(unsigned char) // with return type: (const char)* const char *scsi_sense_key_string(unsigned char arg0) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: seq_printf // with type: int seq_printf(struct seq_file *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int seq_printf(struct seq_file *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: seq_putc // with type: int seq_putc(struct seq_file *, char) // with return type: int int __VERIFIER_nondet_int(void); int seq_putc(struct seq_file *arg0, char arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: sg_miter_next // with type: bool sg_miter_next(struct sg_mapping_iter *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool sg_miter_next(struct sg_mapping_iter *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: sg_miter_skip // with type: bool sg_miter_skip(struct sg_mapping_iter *, off_t ) // with return type: bool bool __VERIFIER_nondet_bool(void); bool sg_miter_skip(struct sg_mapping_iter *arg0, off_t arg1) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: sg_miter_start // with type: void sg_miter_start(struct sg_mapping_iter *, struct scatterlist *, unsigned int, unsigned int) // with return type: void void sg_miter_start(struct sg_mapping_iter *arg0, struct scatterlist *arg1, unsigned int arg2, unsigned int arg3) { // Void type return; } // Function: sg_miter_stop // with type: void sg_miter_stop(struct sg_mapping_iter *) // with return type: void void sg_miter_stop(struct sg_mapping_iter *arg0) { // Void type return; } // Function: sg_nents // with type: int sg_nents(struct scatterlist *) // with return type: int int __VERIFIER_nondet_int(void); int sg_nents(struct scatterlist *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: sg_next // with type: struct scatterlist *sg_next(struct scatterlist *) // with return type: (struct scatterlist)* struct scatterlist *sg_next(struct scatterlist *arg0) { // Pointer type return ldv_malloc(sizeof(struct scatterlist)); } // Function: simple_strtoul // with type: unsigned long int simple_strtoul(const char *, char **, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int simple_strtoul(const char *arg0, char **arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Skip function: snprintf // Skip function: sprintf // Skip function: sscanf // Skip function: strlen // Function: usb_alloc_coherent // with type: void *usb_alloc_coherent(struct usb_device *, size_t , gfp_t , dma_addr_t *) // with return type: (void)* void *usb_alloc_coherent(struct usb_device *arg0, size_t arg1, gfp_t arg2, dma_addr_t *arg3) { // Pointer type return ldv_malloc(0UL); } // Function: usb_alloc_urb // with type: struct urb *usb_alloc_urb(int, gfp_t ) // with return type: (struct urb)* struct urb *usb_alloc_urb(int arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct urb)); } // 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_autopm_put_interface_no_suspend // with type: void usb_autopm_put_interface_no_suspend(struct usb_interface *) // with return type: void void usb_autopm_put_interface_no_suspend(struct usb_interface *arg0) { // Void type return; } // Function: usb_control_msg // with type: int usb_control_msg(struct usb_device *, unsigned int, __u8 , __u8 , __u16 , __u16 , void *, __u16 , int) // with return type: int int __VERIFIER_nondet_int(void); int usb_control_msg(struct usb_device *arg0, unsigned int arg1, __u8 arg2, __u8 arg3, __u16 arg4, __u16 arg5, void *arg6, __u16 arg7, int arg8) { // Simple type return __VERIFIER_nondet_int(); } // 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_free_coherent // with type: void usb_free_coherent(struct usb_device *, size_t , void *, dma_addr_t ) // with return type: void void usb_free_coherent(struct usb_device *arg0, size_t arg1, void *arg2, dma_addr_t arg3) { // Void type return; } // Function: usb_free_urb // with type: void usb_free_urb(struct urb *) // with return type: void void usb_free_urb(struct urb *arg0) { // Void type return; } // Function: usb_kill_urb // with type: void usb_kill_urb(struct urb *) // with return type: void void usb_kill_urb(struct urb *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: usb_reset_device // with type: int usb_reset_device(struct usb_device *) // with return type: int int __VERIFIER_nondet_int(void); int usb_reset_device(struct usb_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_reset_endpoint // with type: void usb_reset_endpoint(struct usb_device *, unsigned int) // with return type: void void usb_reset_endpoint(struct usb_device *arg0, unsigned int arg1) { // Void type return; } // Function: usb_sg_cancel // with type: void usb_sg_cancel(struct usb_sg_request *) // with return type: void void usb_sg_cancel(struct usb_sg_request *arg0) { // Void type return; } // Function: usb_sg_init // with type: int usb_sg_init(struct usb_sg_request *, struct usb_device *, unsigned int, unsigned int, struct scatterlist *, int, size_t , gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int usb_sg_init(struct usb_sg_request *arg0, struct usb_device *arg1, unsigned int arg2, unsigned int arg3, struct scatterlist *arg4, int arg5, size_t arg6, gfp_t arg7) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_sg_wait // with type: void usb_sg_wait(struct usb_sg_request *) // with return type: void void usb_sg_wait(struct usb_sg_request *arg0) { // Void type return; } // Function: usb_submit_urb // with type: int usb_submit_urb(struct urb *, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int usb_submit_urb(struct urb *arg0, gfp_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_unlink_urb // with type: int usb_unlink_urb(struct urb *) // with return type: int int __VERIFIER_nondet_int(void); int usb_unlink_urb(struct urb *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: wait_for_completion // with type: void wait_for_completion(struct completion *) // with return type: void void wait_for_completion(struct completion *arg0) { // Void type return; } // Function: wait_for_completion_interruptible // with type: int wait_for_completion_interruptible(struct completion *) // with return type: int int __VERIFIER_nondet_int(void); int wait_for_completion_interruptible(struct completion *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: wait_for_completion_interruptible_timeout // with type: long int wait_for_completion_interruptible_timeout(struct completion *, unsigned long) // with return type: long int long __VERIFIER_nondet_long(void); long int wait_for_completion_interruptible_timeout(struct completion *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_long(); } // 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; }