// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __alloc_workqueue_key // with type: struct workqueue_struct *__alloc_workqueue_key(const char *, unsigned int, int, struct lock_class_key *, const char *, ...) // with return type: (struct workqueue_struct)* struct workqueue_struct *__alloc_workqueue_key(const char *arg0, unsigned int arg1, int arg2, struct lock_class_key *arg3, const char *arg4, ...) { // Pointer type return ldv_malloc(0UL); } // 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: __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: __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: __might_fault // with type: void __might_fault(const char *, int) // with return type: void void __might_fault(const char *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: __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: __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: __scsi_iterate_devices // with type: struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *, struct scsi_device *) // with return type: (struct scsi_device)* struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *arg0, struct scsi_device *arg1) { // Pointer type return ldv_malloc(sizeof(struct scsi_device)); } // 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: _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: _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_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: bfad_debugfs_exit // with type: void bfad_debugfs_exit(struct bfad_port_s *) // with return type: void void bfad_debugfs_exit(struct bfad_port_s *arg0) { // Void type return; } // Function: bfad_debugfs_init // with type: void bfad_debugfs_init(struct bfad_port_s *) // with return type: void void bfad_debugfs_init(struct bfad_port_s *arg0) { // Void type return; } // Function: blk_queue_max_segments // with type: void blk_queue_max_segments(struct request_queue *, unsigned short) // with return type: void void blk_queue_max_segments(struct request_queue *arg0, unsigned short arg1) { // Void type return; } // Skip function: calloc // Function: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *arg0) { // 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: destroy_workqueue // with type: void destroy_workqueue(struct workqueue_struct *) // with return type: void void destroy_workqueue(struct workqueue_struct *arg0) { // Void type return; } // Function: dev_printk // with type: void dev_printk(const char *, const struct device *, const char *, ...) // with return type: void void dev_printk(const char *arg0, const struct device *arg1, const char *arg2, ...) { // Void type return; } // Function: dma_alloc_attrs // with type: void *dma_alloc_attrs(struct device *, size_t , dma_addr_t *, gfp_t , struct dma_attrs *) // with return type: (void)* void *dma_alloc_attrs(struct device *arg0, size_t arg1, dma_addr_t *arg2, gfp_t arg3, struct dma_attrs *arg4) { // Pointer type return ldv_malloc(0UL); } // Function: dma_free_attrs // with type: void dma_free_attrs(struct device *, size_t , void *, dma_addr_t , struct dma_attrs *) // with return type: void void dma_free_attrs(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3, struct dma_attrs *arg4) { // 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: do_gettimeofday // with type: void do_gettimeofday(struct timeval *) // with return type: void void do_gettimeofday(struct timeval *arg0) { // Void type return; } // Function: fc_attach_transport // with type: struct scsi_transport_template *fc_attach_transport(struct fc_function_template *) // with return type: (struct scsi_transport_template)* struct scsi_transport_template *fc_attach_transport(struct fc_function_template *arg0) { // Pointer type return ldv_malloc(sizeof(struct scsi_transport_template)); } // Function: fc_get_event_number // with type: u32 fc_get_event_number() // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 fc_get_event_number() { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: fc_host_post_vendor_event // with type: void fc_host_post_vendor_event(struct Scsi_Host *, u32 , u32 , char *, u64 ) // with return type: void void fc_host_post_vendor_event(struct Scsi_Host *arg0, u32 arg1, u32 arg2, char *arg3, u64 arg4) { // Void type return; } // Function: fc_release_transport // with type: void fc_release_transport(struct scsi_transport_template *) // with return type: void void fc_release_transport(struct scsi_transport_template *arg0) { // Void type return; } // Function: fc_remote_port_add // with type: struct fc_rport *fc_remote_port_add(struct Scsi_Host *, int, struct fc_rport_identifiers *) // with return type: (struct fc_rport)* struct fc_rport *fc_remote_port_add(struct Scsi_Host *arg0, int arg1, struct fc_rport_identifiers *arg2) { // Pointer type return ldv_malloc(sizeof(struct fc_rport)); } // Function: fc_remote_port_delete // with type: void fc_remote_port_delete(struct fc_rport *) // with return type: void void fc_remote_port_delete(struct fc_rport *arg0) { // Void type return; } // Function: fc_remote_port_rolechg // with type: void fc_remote_port_rolechg(struct fc_rport *, u32 ) // with return type: void void fc_remote_port_rolechg(struct fc_rport *arg0, u32 arg1) { // Void type return; } // Function: fc_remove_host // with type: void fc_remove_host(struct Scsi_Host *) // with return type: void void fc_remove_host(struct Scsi_Host *arg0) { // Void type return; } // Function: fc_vport_create // with type: struct fc_vport *fc_vport_create(struct Scsi_Host *, int, struct fc_vport_identifiers *) // with return type: (struct fc_vport)* struct fc_vport *fc_vport_create(struct Scsi_Host *arg0, int arg1, struct fc_vport_identifiers *arg2) { // Pointer type return ldv_malloc(sizeof(struct fc_vport)); } // Function: fc_vport_terminate // with type: int fc_vport_terminate(struct fc_vport *) // with return type: int int __VERIFIER_nondet_int(void); int fc_vport_terminate(struct fc_vport *arg0) { // 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: fixed_size_llseek // with type: loff_t fixed_size_llseek(struct file *, loff_t , int, loff_t ) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t fixed_size_llseek(struct file *arg0, loff_t arg1, int arg2, loff_t arg3) { // Typedef type // Real type: __kernel_loff_t // Typedef type // Real type: long long // Simple type return __VERIFIER_nondet_long(); } // 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: 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: idr_alloc // with type: int idr_alloc(struct idr *, void *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int idr_alloc(struct idr *arg0, void *arg1, int arg2, int arg3, gfp_t arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_remove // with type: void idr_remove(struct idr *, int) // with return type: void void idr_remove(struct idr *arg0, int arg1) { // Void type return; } // Function: int_to_scsilun // with type: void int_to_scsilun(u64 , struct scsi_lun *) // with return type: void void int_to_scsilun(u64 arg0, struct scsi_lun *arg1) { // 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_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_probe_38 // with type: int ldv_probe_38() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_38() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_38 // with type: int ldv_release_38() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_38() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_shutdown_37 // with type: int ldv_shutdown_37() // with return type: int int __VERIFIER_nondet_int(void); int ldv_shutdown_37() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_38 // with type: int ldv_suspend_38() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_38() { // Simple type return __VERIFIER_nondet_int(); } // 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; } // 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 // Function: memdup_user // with type: void *memdup_user(const void *, size_t ) // with return type: (void)* void *memdup_user(const void *arg0, size_t arg1) { // Pointer type return ldv_malloc(0UL); } // 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: 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: 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_read_config_word // with type: int pci_bus_read_config_word(struct pci_bus *, unsigned int, int, u16 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_read_config_word(struct pci_bus *arg0, unsigned int arg1, int arg2, u16 *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_bus_write_config_word // with type: int pci_bus_write_config_word(struct pci_bus *, unsigned int, int, u16 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_write_config_word(struct pci_bus *arg0, unsigned int arg1, int arg2, u16 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_cleanup_aer_uncorrect_error_status // with type: int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *arg0) { // 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_disable_msix // with type: void pci_disable_msix(struct pci_dev *) // with return type: void void pci_disable_msix(struct pci_dev *arg0) { // Void type return; } // Function: pci_disable_pcie_error_reporting // with type: int pci_disable_pcie_error_reporting(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_disable_pcie_error_reporting(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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_msix_range // with type: int pci_enable_msix_range(struct pci_dev *, struct msix_entry *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_msix_range(struct pci_dev *arg0, struct msix_entry *arg1, int arg2, int arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_enable_pcie_error_reporting // with type: int pci_enable_pcie_error_reporting(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_pcie_error_reporting(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_iomap // with type: void *pci_iomap(struct pci_dev *, int, unsigned long) // with return type: (void)* void *pci_iomap(struct pci_dev *arg0, int arg1, unsigned long arg2) { // Pointer type return ldv_malloc(arg2); } // Function: pci_iounmap // with type: void pci_iounmap(struct pci_dev *, void *) // with return type: void void pci_iounmap(struct pci_dev *arg0, void *arg1) { // Void type return; } // Function: pci_release_regions // with type: void pci_release_regions(struct pci_dev *) // with return type: void void pci_release_regions(struct pci_dev *arg0) { // Void type return; } // Function: pci_request_regions // with type: int pci_request_regions(struct pci_dev *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pci_request_regions(struct pci_dev *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_restore_state // with type: void pci_restore_state(struct pci_dev *) // with return type: void void pci_restore_state(struct pci_dev *arg0) { // Void type return; } // Function: pci_save_state // with type: int pci_save_state(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_save_state(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: pcie_get_readrq // with type: int pcie_get_readrq(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pcie_get_readrq(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcie_set_readrq // with type: int pcie_set_readrq(struct pci_dev *, int) // with return type: int int __VERIFIER_nondet_int(void); int pcie_set_readrq(struct pci_dev *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: release_firmware // with type: void release_firmware(const struct firmware *) // with return type: void void release_firmware(const struct firmware *arg0) { // Void type return; } // Function: request_firmware // with type: int request_firmware(const struct firmware **, const char *, struct device *) // with return type: int int __VERIFIER_nondet_int(void); int request_firmware(const struct firmware **arg0, const char *arg1, struct device *arg2) { // 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: 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: 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_change_queue_depth // with type: int scsi_change_queue_depth(struct scsi_device *, int) // with return type: int int __VERIFIER_nondet_int(void); int scsi_change_queue_depth(struct scsi_device *arg0, int arg1) { // 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_device_lookup // with type: struct scsi_device *scsi_device_lookup(struct Scsi_Host *, uint , uint , u64 ) // with return type: (struct scsi_device)* struct scsi_device *scsi_device_lookup(struct Scsi_Host *arg0, uint arg1, uint arg2, u64 arg3) { // Pointer type return ldv_malloc(sizeof(struct scsi_device)); } // Function: scsi_device_put // with type: void scsi_device_put(struct scsi_device *) // with return type: void void scsi_device_put(struct scsi_device *arg0) { // Void type return; } // Function: scsi_dma_map // with type: int scsi_dma_map(struct scsi_cmnd *) // with return type: int int __VERIFIER_nondet_int(void); int scsi_dma_map(struct scsi_cmnd *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: scsi_dma_unmap // with type: void scsi_dma_unmap(struct scsi_cmnd *) // with return type: void void scsi_dma_unmap(struct scsi_cmnd *arg0) { // Void type return; } // 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_fc_rport // with type: int scsi_is_fc_rport(const struct device *) // with return type: int int __VERIFIER_nondet_int(void); int scsi_is_fc_rport(const struct device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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_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_track_queue_full // with type: int scsi_track_queue_full(struct scsi_device *, int) // with return type: int int __VERIFIER_nondet_int(void); int scsi_track_queue_full(struct scsi_device *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: scsilun_to_int // with type: u64 scsilun_to_int(struct scsi_lun *) // with return type: u64 unsigned long __VERIFIER_nondet_ulong(void); u64 scsilun_to_int(struct scsi_lun *arg0) { // Typedef type // Real type: unsigned long long // Simple type return __VERIFIER_nondet_ulong(); } // Function: sg_copy_from_buffer // with type: size_t sg_copy_from_buffer(struct scatterlist *, unsigned int, const void *, size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t sg_copy_from_buffer(struct scatterlist *arg0, unsigned int arg1, const void *arg2, size_t arg3) { // 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: sg_copy_to_buffer // with type: size_t sg_copy_to_buffer(struct scatterlist *, unsigned int, void *, size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t sg_copy_to_buffer(struct scatterlist *arg0, unsigned int arg1, void *arg2, size_t arg3) { // 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: 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_read_from_buffer // with type: ssize_t simple_read_from_buffer(void *, size_t , loff_t *, const void *, size_t ) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t simple_read_from_buffer(void *arg0, size_t arg1, loff_t *arg2, const void *arg3, size_t arg4) { // Typedef type // Real type: __kernel_ssize_t // Typedef type // Real type: __kernel_long_t // Typedef type // Real type: long // Simple type return __VERIFIER_nondet_long(); } // Skip function: snprintf // Skip function: sprintf // Skip function: sscanf // Skip function: strcmp // 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(); } // Skip function: strlen // Skip function: strncat // Skip function: strncmp // Skip function: strncpy // Skip function: strstr // Function: vfree // with type: void vfree(const void *) // with return type: void void vfree(const void *arg0) { // Void type return; } // Function: vmalloc // with type: void *vmalloc(unsigned long) // with return type: (void)* void *vmalloc(unsigned long arg0) { // Pointer type return ldv_malloc(arg0); } // 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: 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; }