// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Skip function: __builtin_alloca // 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: __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: __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: __udelay // with type: void __udelay(unsigned long) // with return type: void void __udelay(unsigned long 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_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: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *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_get_required_mask // with type: u64 dma_get_required_mask(struct device *) // with return type: u64 unsigned long __VERIFIER_nondet_ulong(void); u64 dma_get_required_mask(struct device *arg0) { // Typedef type // Real type: unsigned long long // Simple type return __VERIFIER_nondet_ulong(); } // 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: 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: 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: kstrdup // with type: char *kstrdup(const char *, gfp_t ) // with return type: (char)* char *kstrdup(const char *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(char)); } // 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: ldv_resume_early_2 // with type: int ldv_resume_early_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_2() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_shutdown_2 // with type: int ldv_shutdown_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_shutdown_2() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_late_2 // with type: int ldv_suspend_late_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_2() { // Simple type return __VERIFIER_nondet_int(); } // Skip function: malloc // Skip function: memcpy // Skip function: memset // Function: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: panic // with type: void panic(const char *, ...) // with return type: void void panic(const char *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_dword // with type: int pci_bus_read_config_dword(struct pci_bus *, unsigned int, int, u32 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_read_config_dword(struct pci_bus *arg0, unsigned int arg1, int arg2, u32 *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_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_bus_write_config_dword // with type: int pci_bus_write_config_dword(struct pci_bus *, unsigned int, int, u32 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_write_config_dword(struct pci_bus *arg0, unsigned int arg1, int arg2, u32 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_dev_put // with type: void pci_dev_put(struct pci_dev *) // with return type: void void pci_dev_put(struct pci_dev *arg0) { // Void type return; } // 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_get_slot // with type: struct pci_dev *pci_get_slot(struct pci_bus *, unsigned int) // with return type: (struct pci_dev)* struct pci_dev *pci_get_slot(struct pci_bus *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct pci_dev)); } // 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_set_power_state // with type: int pci_set_power_state(struct pci_dev *, pci_power_t ) // with return type: int int __VERIFIER_nondet_int(void); int pci_set_power_state(struct pci_dev *arg0, pci_power_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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: scmd_printk // with type: void scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...) // with return type: void void scmd_printk(const char *arg0, const struct scsi_cmnd *arg1, const char *arg2, ...) { // Void type return; } // 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_block_requests // with type: void scsi_block_requests(struct Scsi_Host *) // with return type: void void scsi_block_requests(struct Scsi_Host *arg0) { // Void type return; } // 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_by_target // with type: struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *, u64 ) // with return type: (struct scsi_device)* struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *arg0, u64 arg1) { // Pointer type return ldv_malloc(sizeof(struct scsi_device)); } // 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_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_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_unblock_requests // with type: void scsi_unblock_requests(struct Scsi_Host *) // with return type: void void scsi_unblock_requests(struct Scsi_Host *arg0) { // Void type return; } // Function: sdev_prefix_printk // with type: void sdev_prefix_printk(const char *, const struct scsi_device *, const char *, const char *, ...) // with return type: void void sdev_prefix_printk(const char *arg0, const struct scsi_device *arg1, const char *arg2, const char *arg3, ...) { // Void type return; } // 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: seq_puts // with type: int seq_puts(struct seq_file *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int seq_puts(struct seq_file *arg0, const char *arg1) { // 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_strtol // with type: long int simple_strtol(const char *, char **, unsigned int) // with return type: long int long __VERIFIER_nondet_long(void); long int simple_strtol(const char *arg0, char **arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_long(); } // 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(); } // Function: spi_attach_transport // with type: struct scsi_transport_template *spi_attach_transport(struct spi_function_template *) // with return type: (struct scsi_transport_template)* struct scsi_transport_template *spi_attach_transport(struct spi_function_template *arg0) { // Pointer type return ldv_malloc(sizeof(struct scsi_transport_template)); } // Function: spi_display_xfer_agreement // with type: void spi_display_xfer_agreement(struct scsi_target *) // with return type: void void spi_display_xfer_agreement(struct scsi_target *arg0) { // Void type return; } // Function: spi_dv_device // with type: void spi_dv_device(struct scsi_device *) // with return type: void void spi_dv_device(struct scsi_device *arg0) { // Void type return; } // Function: spi_populate_ppr_msg // with type: int spi_populate_ppr_msg(unsigned char *, int, int, int, int) // with return type: int int __VERIFIER_nondet_int(void); int spi_populate_ppr_msg(unsigned char *arg0, int arg1, int arg2, int arg3, int arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: spi_populate_sync_msg // with type: int spi_populate_sync_msg(unsigned char *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int spi_populate_sync_msg(unsigned char *arg0, int arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: spi_populate_width_msg // with type: int spi_populate_width_msg(unsigned char *, int) // with return type: int int __VERIFIER_nondet_int(void); int spi_populate_width_msg(unsigned char *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: spi_release_transport // with type: void spi_release_transport(struct scsi_transport_template *) // with return type: void void spi_release_transport(struct scsi_transport_template *arg0) { // Void type return; } // Skip function: sprintf // Skip function: strcat // Skip function: strchr // Skip function: strcpy // Skip function: strlen // Skip function: strncmp // Function: strsep // with type: char *strsep(char **, const char *) // with return type: (char)* char *strsep(char **arg0, const char *arg1) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: wait_for_completion_timeout // with type: unsigned long int wait_for_completion_timeout(struct completion *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int wait_for_completion_timeout(struct completion *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // 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; }