// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // 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: __dynamic_pr_debug // with type: int __dynamic_pr_debug(struct _ddebug *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_pr_debug(struct _ddebug *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: __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: __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: __pci_reset_function // with type: int __pci_reset_function(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int __pci_reset_function(struct pci_dev *arg0) { // 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: _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_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: add_wait_queue // with type: void add_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void add_wait_queue(wait_queue_head_t *arg0, wait_queue_t *arg1) { // 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: disable_irq_nosync // with type: void disable_irq_nosync(unsigned int) // with return type: void void disable_irq_nosync(unsigned int arg0) { // Void type return; } // Function: enable_irq // with type: void enable_irq(unsigned int) // with return type: void void enable_irq(unsigned int arg0) { // Void type return; } // Function: eventfd_ctx_fdget // with type: struct eventfd_ctx *eventfd_ctx_fdget(int) // with return type: (struct eventfd_ctx)* struct eventfd_ctx *eventfd_ctx_fdget(int arg0) { // Pointer type return ldv_malloc(0UL); } // Function: eventfd_ctx_fileget // with type: struct eventfd_ctx *eventfd_ctx_fileget(struct file *) // with return type: (struct eventfd_ctx)* struct eventfd_ctx *eventfd_ctx_fileget(struct file *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: eventfd_ctx_put // with type: void eventfd_ctx_put(struct eventfd_ctx *) // with return type: void void eventfd_ctx_put(struct eventfd_ctx *arg0) { // Void type return; } // Function: eventfd_ctx_remove_wait_queue // with type: int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *, wait_queue_t *, __u64 *) // with return type: int int __VERIFIER_nondet_int(void); int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *arg0, wait_queue_t *arg1, __u64 *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: eventfd_fget // with type: struct file *eventfd_fget(int) // with return type: (struct file)* struct file *eventfd_fget(int arg0) { // Pointer type return ldv_malloc(sizeof(struct file)); } // Function: eventfd_signal // with type: __u64 eventfd_signal(struct eventfd_ctx *, __u64 ) // with return type: __u64 unsigned long __VERIFIER_nondet_ulong(void); __u64 eventfd_signal(struct eventfd_ctx *arg0, __u64 arg1) { // Typedef type // Real type: unsigned long long // Simple type return __VERIFIER_nondet_ulong(); } // Function: flush_work // with type: bool flush_work(struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool flush_work(struct work_struct *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: fput // with type: void fput(struct file *) // with return type: void void fput(struct file *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: iommu_group_get // with type: struct iommu_group *iommu_group_get(struct device *) // with return type: (struct iommu_group)* struct iommu_group *iommu_group_get(struct device *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: iommu_group_put // with type: void iommu_group_put(struct iommu_group *) // with return type: void void iommu_group_put(struct iommu_group *arg0) { // Void type return; } // Function: ioread16 // with type: unsigned int ioread16(void *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int ioread16(void *arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: ioread32 // with type: unsigned int ioread32(void *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int ioread32(void *arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: ioread8 // with type: unsigned int ioread8(void *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int ioread8(void *arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: iowrite16 // with type: void iowrite16(u16 , void *) // with return type: void void iowrite16(u16 arg0, void *arg1) { // Void type return; } // Function: iowrite32 // with type: void iowrite32(u32 , void *) // with return type: void void iowrite32(u32 arg0, void *arg1) { // Void type return; } // Function: iowrite8 // with type: void iowrite8(u8 , void *) // with return type: void void iowrite8(u8 arg0, void *arg1) { // Void type return; } // Function: kasprintf // with type: char *kasprintf(gfp_t , const char *, ...) // with return type: (char)* char *kasprintf(gfp_t arg0, const char *arg1, ...) { // Pointer type return ldv_malloc(sizeof(char)); } // Skip function: kfree // 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 // 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: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // Function: module_put // with type: void module_put(struct module *) // with return type: void void module_put(struct module *arg0) { // Void type return; } // 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_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_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_check_and_mask_intx // with type: bool pci_check_and_mask_intx(struct pci_dev *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool pci_check_and_mask_intx(struct pci_dev *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: pci_check_and_unmask_intx // with type: bool pci_check_and_unmask_intx(struct pci_dev *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool pci_check_and_unmask_intx(struct pci_dev *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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_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_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_msi_block // with type: int pci_enable_msi_block(struct pci_dev *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_msi_block(struct pci_dev *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_enable_msix // with type: int pci_enable_msix(struct pci_dev *, struct msix_entry *, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_msix(struct pci_dev *arg0, struct msix_entry *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_intx // with type: void pci_intx(struct pci_dev *, int) // with return type: void void pci_intx(struct pci_dev *arg0, int arg1) { // Void type return; } // Function: pci_intx_mask_supported // with type: bool pci_intx_mask_supported(struct pci_dev *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool pci_intx_mask_supported(struct pci_dev *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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_load_and_free_saved_state // with type: int pci_load_and_free_saved_state(struct pci_dev *, struct pci_saved_state **) // with return type: int int __VERIFIER_nondet_int(void); int pci_load_and_free_saved_state(struct pci_dev *arg0, struct pci_saved_state **arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_map_rom // with type: void *pci_map_rom(struct pci_dev *, size_t *) // with return type: (void)* void *pci_map_rom(struct pci_dev *arg0, size_t *arg1) { // Pointer type return ldv_malloc(0UL); } // Function: pci_release_selected_regions // with type: void pci_release_selected_regions(struct pci_dev *, int) // with return type: void void pci_release_selected_regions(struct pci_dev *arg0, int arg1) { // Void type return; } // Function: pci_request_selected_regions // with type: int pci_request_selected_regions(struct pci_dev *, int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pci_request_selected_regions(struct pci_dev *arg0, int arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_reset_function // with type: int pci_reset_function(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_reset_function(struct pci_dev *arg0) { // 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_store_saved_state // with type: struct pci_saved_state *pci_store_saved_state(struct pci_dev *) // with return type: (struct pci_saved_state)* struct pci_saved_state *pci_store_saved_state(struct pci_dev *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: pci_unmap_rom // with type: void pci_unmap_rom(struct pci_dev *, void *) // with return type: void void pci_unmap_rom(struct pci_dev *arg0, void *arg1) { // 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: pci_user_read_config_byte // with type: int pci_user_read_config_byte(struct pci_dev *, int, u8 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_user_read_config_byte(struct pci_dev *arg0, int arg1, u8 *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_user_read_config_dword // with type: int pci_user_read_config_dword(struct pci_dev *, int, u32 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_user_read_config_dword(struct pci_dev *arg0, int arg1, u32 *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_user_read_config_word // with type: int pci_user_read_config_word(struct pci_dev *, int, u16 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_user_read_config_word(struct pci_dev *arg0, int arg1, u16 *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_user_write_config_byte // with type: int pci_user_write_config_byte(struct pci_dev *, int, u8 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_user_write_config_byte(struct pci_dev *arg0, int arg1, u8 arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_user_write_config_dword // with type: int pci_user_write_config_dword(struct pci_dev *, int, u32 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_user_write_config_dword(struct pci_dev *arg0, int arg1, u32 arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_user_write_config_word // with type: int pci_user_write_config_word(struct pci_dev *, int, u16 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_user_write_config_word(struct pci_dev *arg0, int arg1, u16 arg2) { // Simple type return __VERIFIER_nondet_int(); } // 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_work // with type: bool queue_work(struct workqueue_struct *, struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_work(struct workqueue_struct *arg0, struct work_struct *arg1) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: remap_pfn_range // with type: int remap_pfn_range(struct vm_area_struct *, unsigned long, unsigned long, unsigned long, pgprot_t ) // with return type: int int __VERIFIER_nondet_int(void); int remap_pfn_range(struct vm_area_struct *arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3, pgprot_t arg4) { // 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_work // with type: bool schedule_work(struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool schedule_work(struct work_struct *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: try_module_get // with type: bool try_module_get(struct module *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool try_module_get(struct module *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: vfio_add_group_dev // with type: int vfio_add_group_dev(struct device *, const struct vfio_device_ops *, void *) // with return type: int int __VERIFIER_nondet_int(void); int vfio_add_group_dev(struct device *arg0, const struct vfio_device_ops *arg1, void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vfio_del_group_dev // with type: void *vfio_del_group_dev(struct device *) // with return type: (void)* void *vfio_del_group_dev(struct device *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: warn_slowpath_fmt // with type: void warn_slowpath_fmt(const char *, const int, const char *, ...) // with return type: void void warn_slowpath_fmt(const char *arg0, const int arg1, const char *arg2, ...) { // Void type return; } // 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; }