// 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: __bitmap_weight // with type: int __bitmap_weight(const unsigned long *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int __bitmap_weight(const unsigned long *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: __builtin_prefetch // 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: __cpu_to_node // with type: int __cpu_to_node(int) // with return type: int int __VERIFIER_nondet_int(void); int __cpu_to_node(int arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: __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_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: __phys_addr // with type: unsigned long int __phys_addr(unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __phys_addr(unsigned long arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: __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: _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_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_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_disk // with type: void add_disk(struct gendisk *) // with return type: void void add_disk(struct gendisk *arg0) { // Void type return; } // Function: alloc_disk_node // with type: struct gendisk *alloc_disk_node(int, int) // with return type: (struct gendisk)* struct gendisk *alloc_disk_node(int arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct gendisk)); } // Function: bdget_disk // with type: struct block_device *bdget_disk(struct gendisk *, int) // with return type: (struct block_device)* struct block_device *bdget_disk(struct gendisk *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct block_device)); } // Function: bdput // with type: void bdput(struct block_device *) // with return type: void void bdput(struct block_device *arg0) { // Void type return; } // Function: blk_cleanup_queue // with type: void blk_cleanup_queue(struct request_queue *) // with return type: void void blk_cleanup_queue(struct request_queue *arg0) { // Void type return; } // Function: blk_mq_alloc_request // with type: struct request *blk_mq_alloc_request(struct request_queue *, int, gfp_t , bool ) // with return type: (struct request)* struct request *blk_mq_alloc_request(struct request_queue *arg0, int arg1, gfp_t arg2, bool arg3) { // Pointer type return ldv_malloc(sizeof(struct request)); } // Function: blk_mq_alloc_tag_set // with type: int blk_mq_alloc_tag_set(struct blk_mq_tag_set *) // with return type: int int __VERIFIER_nondet_int(void); int blk_mq_alloc_tag_set(struct blk_mq_tag_set *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: blk_mq_end_request // with type: void blk_mq_end_request(struct request *, int) // with return type: void void blk_mq_end_request(struct request *arg0, int arg1) { // Void type return; } // Function: blk_mq_free_tag_set // with type: void blk_mq_free_tag_set(struct blk_mq_tag_set *) // with return type: void void blk_mq_free_tag_set(struct blk_mq_tag_set *arg0) { // Void type return; } // Function: blk_mq_init_queue // with type: struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *) // with return type: (struct request_queue)* struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *arg0) { // Pointer type return ldv_malloc(sizeof(struct request_queue)); } // Function: blk_mq_map_queue // with type: struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *, const int) // with return type: (struct blk_mq_hw_ctx)* struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *arg0, const int arg1) { // Pointer type return ldv_malloc(sizeof(struct blk_mq_hw_ctx)); } // Function: blk_mq_start_request // with type: void blk_mq_start_request(struct request *) // with return type: void void blk_mq_start_request(struct request *arg0) { // Void type return; } // Function: blk_mq_start_stopped_hw_queues // with type: void blk_mq_start_stopped_hw_queues(struct request_queue *, bool ) // with return type: void void blk_mq_start_stopped_hw_queues(struct request_queue *arg0, bool arg1) { // Void type return; } // Function: blk_mq_stop_hw_queues // with type: void blk_mq_stop_hw_queues(struct request_queue *) // with return type: void void blk_mq_stop_hw_queues(struct request_queue *arg0) { // Void type return; } // Function: blk_mq_tag_to_rq // with type: struct request *blk_mq_tag_to_rq(struct blk_mq_tags *, unsigned int) // with return type: (struct request)* struct request *blk_mq_tag_to_rq(struct blk_mq_tags *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct request)); } // Function: blk_put_request // with type: void blk_put_request(struct request *) // with return type: void void blk_put_request(struct request *arg0) { // 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_flush // with type: void blk_queue_flush(struct request_queue *, unsigned int) // with return type: void void blk_queue_flush(struct request_queue *arg0, unsigned int arg1) { // Void type return; } // Function: blk_queue_io_min // with type: void blk_queue_io_min(struct request_queue *, unsigned int) // with return type: void void blk_queue_io_min(struct request_queue *arg0, unsigned int arg1) { // Void type return; } // Function: blk_queue_max_discard_sectors // with type: void blk_queue_max_discard_sectors(struct request_queue *, unsigned int) // with return type: void void blk_queue_max_discard_sectors(struct request_queue *arg0, unsigned int 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_max_segment_size // with type: void blk_queue_max_segment_size(struct request_queue *, unsigned int) // with return type: void void blk_queue_max_segment_size(struct request_queue *arg0, unsigned int arg1) { // 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; } // Function: blk_queue_physical_block_size // with type: void blk_queue_physical_block_size(struct request_queue *, unsigned int) // with return type: void void blk_queue_physical_block_size(struct request_queue *arg0, unsigned int arg1) { // Void type return; } // Function: blk_rq_map_sg // with type: int blk_rq_map_sg(struct request_queue *, struct request *, struct scatterlist *) // with return type: int int __VERIFIER_nondet_int(void); int blk_rq_map_sg(struct request_queue *arg0, struct request *arg1, struct scatterlist *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: calloc // Function: capable // with type: bool capable(int) // with return type: bool bool __VERIFIER_nondet_bool(void); bool capable(int 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: cpumask_of_node // with type: const struct cpumask *cpumask_of_node(int) // with return type: (struct cpumask)* const struct cpumask *cpumask_of_node(int arg0) { // Pointer type return ldv_malloc(sizeof(struct cpumask)); } // Function: debug_dma_map_page // with type: void debug_dma_map_page(struct device *, struct page *, size_t , size_t , int, dma_addr_t , bool ) // with return type: void void debug_dma_map_page(struct device *arg0, struct page *arg1, size_t arg2, size_t arg3, int arg4, dma_addr_t arg5, bool arg6) { // Void type return; } // Function: debug_dma_map_sg // with type: void debug_dma_map_sg(struct device *, struct scatterlist *, int, int, int) // with return type: void void debug_dma_map_sg(struct device *arg0, struct scatterlist *arg1, int arg2, int arg3, int arg4) { // Void type return; } // Function: debug_dma_unmap_page // with type: void debug_dma_unmap_page(struct device *, dma_addr_t , size_t , int, bool ) // with return type: void void debug_dma_unmap_page(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3, bool arg4) { // Void type return; } // Function: debug_dma_unmap_sg // with type: void debug_dma_unmap_sg(struct device *, struct scatterlist *, int, int) // with return type: void void debug_dma_unmap_sg(struct device *arg0, struct scatterlist *arg1, int arg2, int arg3) { // Void type return; } // Function: debugfs_create_dir // with type: struct dentry *debugfs_create_dir(const char *, struct dentry *) // with return type: (struct dentry)* struct dentry *debugfs_create_dir(const char *arg0, struct dentry *arg1) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_create_file // with type: struct dentry *debugfs_create_file(const char *, umode_t , struct dentry *, void *, const struct file_operations *) // with return type: (struct dentry)* struct dentry *debugfs_create_file(const char *arg0, umode_t arg1, struct dentry *arg2, void *arg3, const struct file_operations *arg4) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_remove // with type: void debugfs_remove(struct dentry *) // with return type: void void debugfs_remove(struct dentry *arg0) { // Void type return; } // Function: debugfs_remove_recursive // with type: void debugfs_remove_recursive(struct dentry *) // with return type: void void debugfs_remove_recursive(struct dentry *arg0) { // Void type return; } // Function: del_gendisk // with type: void del_gendisk(struct gendisk *) // with return type: void void del_gendisk(struct gendisk *arg0) { // Void type return; } // 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_driver_string // with type: const char *dev_driver_string(const struct device *) // with return type: (const char)* const char *dev_driver_string(const struct device *arg0) { // Pointer type return ldv_malloc(sizeof(char)); } // 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: 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: devm_free_irq // with type: void devm_free_irq(struct device *, unsigned int, void *) // with return type: void void devm_free_irq(struct device *arg0, unsigned int arg1, void *arg2) { // Void type return; } // Function: devm_request_threaded_irq // with type: int devm_request_threaded_irq(struct device *, 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 devm_request_threaded_irq(struct device *arg0, unsigned int arg1, irqreturn_t (*arg2)(int, void *), irqreturn_t (*arg3)(int, void *), unsigned long arg4, const char *arg5, void *arg6) { // Simple type return __VERIFIER_nondet_int(); } // 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: dmam_alloc_coherent // with type: void *dmam_alloc_coherent(struct device *, size_t , dma_addr_t *, gfp_t ) // with return type: (void)* void *dmam_alloc_coherent(struct device *arg0, size_t arg1, dma_addr_t *arg2, gfp_t arg3) { // Pointer type return ldv_malloc(0UL); } // Function: dmam_free_coherent // with type: void dmam_free_coherent(struct device *, size_t , void *, dma_addr_t ) // with return type: void void dmam_free_coherent(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3) { // Void type return; } // Function: down_trylock // with type: int down_trylock(struct semaphore *) // with return type: int int __VERIFIER_nondet_int(void); int down_trylock(struct semaphore *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: find_first_bit // with type: unsigned long int find_first_bit(const unsigned long *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_first_bit(const unsigned long *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: find_next_bit // with type: unsigned long int find_next_bit(const unsigned long *, unsigned long, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_next_bit(const unsigned long *arg0, unsigned long arg1, unsigned long arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: ida_get_new_above // with type: int ida_get_new_above(struct ida *, int, int *) // with return type: int int __VERIFIER_nondet_int(void); int ida_get_new_above(struct ida *arg0, int arg1, int *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: ida_pre_get // with type: int ida_pre_get(struct ida *, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int ida_pre_get(struct ida *arg0, gfp_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: ida_remove // with type: void ida_remove(struct ida *, int) // with return type: void void ida_remove(struct ida *arg0, int arg1) { // Void type return; } // Function: irq_set_affinity_hint // with type: int irq_set_affinity_hint(unsigned int, const struct cpumask *) // with return type: int int __VERIFIER_nondet_int(void); int irq_set_affinity_hint(unsigned int arg0, const struct cpumask *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: jiffies_to_msecs // with type: unsigned int jiffies_to_msecs(const unsigned long) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int jiffies_to_msecs(const unsigned long arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Skip function: kfree // Function: kobject_get // with type: struct kobject *kobject_get(struct kobject *) // with return type: (struct kobject)* struct kobject *kobject_get(struct kobject *arg0) { // Pointer type return ldv_malloc(sizeof(struct kobject)); } // Function: kobject_put // with type: void kobject_put(struct kobject *) // with return type: void void kobject_put(struct kobject *arg0) { // Void type return; } // 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_release_12 // with type: int ldv_release_12() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_12() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_13 // with type: int ldv_release_13() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_13() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_14 // with type: int ldv_release_14() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_14() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_early_9 // with type: int ldv_resume_early_9() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_9() { // Simple type return __VERIFIER_nondet_int(); } // 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: ldv_suspend_late_9 // with type: int ldv_suspend_late_9() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_9() { // 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: memcpy // Skip function: memmove // Skip function: memset // Function: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: no_llseek // with type: loff_t no_llseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t no_llseek(struct file *arg0, loff_t arg1, int arg2) { // Typedef type // Real type: __kernel_loff_t // Typedef type // Real type: long long // Simple type return __VERIFIER_nondet_long(); } // 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_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_msi // with type: void pci_disable_msi(struct pci_dev *) // with return type: void void pci_disable_msi(struct pci_dev *arg0) { // Void type return; } // Function: pci_enable_msi_range // with type: int pci_enable_msi_range(struct pci_dev *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_msi_range(struct pci_dev *arg0, int arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_find_capability // with type: int pci_find_capability(struct pci_dev *, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_find_capability(struct pci_dev *arg0, int 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_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: pcim_enable_device // with type: int pcim_enable_device(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pcim_enable_device(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcim_iomap_regions // with type: int pcim_iomap_regions(struct pci_dev *, int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pcim_iomap_regions(struct pci_dev *arg0, int arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcim_iomap_table // with type: void * const *pcim_iomap_table(struct pci_dev *) // with return type: (const (void)*)* void * const *pcim_iomap_table(struct pci_dev *arg0) { // Pointer type return ldv_malloc(sizeof(void *)); } // Function: pcim_iounmap_regions // with type: void pcim_iounmap_regions(struct pci_dev *, int) // with return type: void void pcim_iounmap_regions(struct pci_dev *arg0, int arg1) { // 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: put_disk // with type: void put_disk(struct gendisk *) // with return type: void void put_disk(struct gendisk *arg0) { // Void type return; } // 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: register_blkdev // with type: int register_blkdev(unsigned int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int register_blkdev(unsigned int arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: sg_init_table // with type: void sg_init_table(struct scatterlist *, unsigned int) // with return type: void void sg_init_table(struct scatterlist *arg0, unsigned int arg1) { // Void type return; } // 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_open // with type: int simple_open(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int simple_open(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: snprintf // Skip function: sprintf // 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 // Function: synchronize_irq // with type: void synchronize_irq(unsigned int) // with return type: void void synchronize_irq(unsigned int arg0) { // Void type return; } // Function: sysfs_create_file_ns // with type: int sysfs_create_file_ns(struct kobject *, const struct attribute *, const void *) // with return type: int int __VERIFIER_nondet_int(void); int sysfs_create_file_ns(struct kobject *arg0, const struct attribute *arg1, const void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: sysfs_remove_file_ns // with type: void sysfs_remove_file_ns(struct kobject *, const struct attribute *, const void *) // with return type: void void sysfs_remove_file_ns(struct kobject *arg0, const struct attribute *arg1, const void *arg2) { // Void type return; } // Function: unregister_blkdev // with type: void unregister_blkdev(unsigned int, const char *) // with return type: void void unregister_blkdev(unsigned int arg0, const char *arg1) { // Void type return; } // Function: up // with type: void up(struct semaphore *) // with return type: void void up(struct semaphore *arg0) { // Void type return; } // 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; }