// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: ___ratelimit // with type: int ___ratelimit(struct ratelimit_state *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int ___ratelimit(struct ratelimit_state *arg0, const char *arg1) { // Simple type return __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); } // Skip function: __builtin_alloca // Function: __class_create // with type: struct class *__class_create(struct module *, const char *, struct lock_class_key *) // with return type: (struct class)* struct class *__class_create(struct module *arg0, const char *arg1, struct lock_class_key *arg2) { // Pointer type return ldv_malloc(sizeof(struct class)); } // Function: __compiletime_assert_402 // with type: void __compiletime_assert_402() // with return type: void void __compiletime_assert_402() { // 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: __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: __dynamic_pr_debug // with type: void __dynamic_pr_debug(struct _ddebug *, const char *, ...) // with return type: void void __dynamic_pr_debug(struct _ddebug *arg0, const char *arg1, ...) { // Void type return; } // Function: __get_free_pages // with type: unsigned long int __get_free_pages(gfp_t , unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __get_free_pages(gfp_t arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: __init_rwsem // with type: void __init_rwsem(struct rw_semaphore *, const char *, struct lock_class_key *) // with return type: void void __init_rwsem(struct rw_semaphore *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: __mmdrop // with type: void __mmdrop(struct mm_struct *) // with return type: void void __mmdrop(struct mm_struct *arg0) { // Void type return; } // Function: __mmu_notifier_register // with type: int __mmu_notifier_register(struct mmu_notifier *, struct mm_struct *) // with return type: int int __VERIFIER_nondet_int(void); int __mmu_notifier_register(struct mmu_notifier *arg0, struct mm_struct *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: __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: __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: __register_chrdev // with type: int __register_chrdev(unsigned int, unsigned int, unsigned int, const char *, const struct file_operations *) // with return type: int int __VERIFIER_nondet_int(void); int __register_chrdev(unsigned int arg0, unsigned int arg1, unsigned int arg2, const char *arg3, const struct file_operations *arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: __srcu_read_lock // with type: int __srcu_read_lock(struct srcu_struct *) // with return type: int int __VERIFIER_nondet_int(void); int __srcu_read_lock(struct srcu_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: __srcu_read_unlock // with type: void __srcu_read_unlock(struct srcu_struct *, int) // with return type: void void __srcu_read_unlock(struct srcu_struct *arg0, int arg1) { // Void type return; } // Function: __unregister_chrdev // with type: void __unregister_chrdev(unsigned int, unsigned int, unsigned int, const char *) // with return type: void void __unregister_chrdev(unsigned int arg0, unsigned int arg1, unsigned int arg2, const char *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_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 // 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: acpi_format_exception // with type: const char *acpi_format_exception(acpi_status ) // with return type: (const char)* const char *acpi_format_exception(acpi_status arg0) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: acpi_get_table // with type: acpi_status acpi_get_table(acpi_string , u32 , struct acpi_table_header **) // with return type: acpi_status unsigned int __VERIFIER_nondet_uint(void); acpi_status acpi_get_table(acpi_string arg0, u32 arg1, struct acpi_table_header **arg2) { // Typedef type // Real type: u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: amd_iommu_bind_pasid // with type: int amd_iommu_bind_pasid(struct pci_dev *, int, struct task_struct *) // with return type: int int __VERIFIER_nondet_int(void); int amd_iommu_bind_pasid(struct pci_dev *arg0, int arg1, struct task_struct *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: amd_iommu_device_info // with type: int amd_iommu_device_info(struct pci_dev *, struct amd_iommu_device_info *) // with return type: int int __VERIFIER_nondet_int(void); int amd_iommu_device_info(struct pci_dev *arg0, struct amd_iommu_device_info *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: amd_iommu_free_device // with type: void amd_iommu_free_device(struct pci_dev *) // with return type: void void amd_iommu_free_device(struct pci_dev *arg0) { // Void type return; } // Function: amd_iommu_init_device // with type: int amd_iommu_init_device(struct pci_dev *, int) // with return type: int int __VERIFIER_nondet_int(void); int amd_iommu_init_device(struct pci_dev *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: amd_iommu_set_invalid_ppr_cb // with type: int amd_iommu_set_invalid_ppr_cb(struct pci_dev *, int (*)(struct pci_dev *, int, unsigned long, u16 )) // with return type: int int __VERIFIER_nondet_int(void); int amd_iommu_set_invalid_ppr_cb(struct pci_dev *arg0, int (*arg1)(struct pci_dev *, int, unsigned long, u16 )) { // Simple type return __VERIFIER_nondet_int(); } // Function: amd_iommu_set_invalidate_ctx_cb // with type: int amd_iommu_set_invalidate_ctx_cb(struct pci_dev *, void (*)(struct pci_dev *, int)) // with return type: int int __VERIFIER_nondet_int(void); int amd_iommu_set_invalidate_ctx_cb(struct pci_dev *arg0, void (*arg1)(struct pci_dev *, int)) { // Simple type return __VERIFIER_nondet_int(); } // Function: amd_iommu_unbind_pasid // with type: void amd_iommu_unbind_pasid(struct pci_dev *, int) // with return type: void void amd_iommu_unbind_pasid(struct pci_dev *arg0, int arg1) { // Void type return; } // Skip function: calloc // Function: class_destroy // with type: void class_destroy(struct class *) // with return type: void void class_destroy(struct class *arg0) { // Void type return; } // Function: cpufreq_quick_get_max // with type: unsigned int cpufreq_quick_get_max(unsigned int) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int cpufreq_quick_get_max(unsigned int arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: debug_lockdep_rcu_enabled // with type: int debug_lockdep_rcu_enabled() // with return type: int int __VERIFIER_nondet_int(void); int debug_lockdep_rcu_enabled() { // Simple type return __VERIFIER_nondet_int(); } // Function: delayed_work_timer_fn // with type: void delayed_work_timer_fn(unsigned long) // with return type: void void delayed_work_timer_fn(unsigned long 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_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: device_create // with type: struct device *device_create(struct class *, struct device *, dev_t , void *, const char *, ...) // with return type: (struct device)* struct device *device_create(struct class *arg0, struct device *arg1, dev_t arg2, void *arg3, const char *arg4, ...) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: device_destroy // with type: void device_destroy(struct class *, dev_t ) // with return type: void void device_destroy(struct class *arg0, dev_t arg1) { // Void type return; } // Function: down_read // with type: void down_read(struct rw_semaphore *) // with return type: void void down_read(struct rw_semaphore *arg0) { // Void type return; } // Function: down_write // with type: void down_write(struct rw_semaphore *) // with return type: void void down_write(struct rw_semaphore *arg0) { // Void type return; } // 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_first_zero_bit // with type: unsigned long int find_first_zero_bit(const unsigned long *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_first_zero_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: find_next_zero_bit // with type: unsigned long int find_next_zero_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_zero_bit(const unsigned long *arg0, unsigned long arg1, unsigned long arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: find_vma // with type: struct vm_area_struct *find_vma(struct mm_struct *, unsigned long) // with return type: (struct vm_area_struct)* struct vm_area_struct *find_vma(struct mm_struct *arg0, unsigned long arg1) { // Pointer type return ldv_malloc(sizeof(struct vm_area_struct)); } // 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_pages // with type: void free_pages(unsigned long, unsigned int) // with return type: void void free_pages(unsigned long arg0, unsigned int arg1) { // Void type return; } // Function: getrawmonotonic64 // with type: void getrawmonotonic64(struct timespec *) // with return type: void void getrawmonotonic64(struct timespec *arg0) { // 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: kfd_get_pasid_limit // with type: unsigned int kfd_get_pasid_limit() // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int kfd_get_pasid_limit() { // Simple type return __VERIFIER_nondet_uint(); } // Skip function: kfree // Function: kobject_create_and_add // with type: struct kobject *kobject_create_and_add(const char *, struct kobject *) // with return type: (struct kobject)* struct kobject *kobject_create_and_add(const char *arg0, struct kobject *arg1) { // Pointer type return ldv_malloc(sizeof(struct kobject)); } // Function: kobject_del // with type: void kobject_del(struct kobject *) // with return type: void void kobject_del(struct kobject *arg0) { // Void type return; } // Function: kobject_init_and_add // with type: int kobject_init_and_add(struct kobject *, struct kobj_type *, struct kobject *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int kobject_init_and_add(struct kobject *arg0, struct kobj_type *arg1, struct kobject *arg2, const char *arg3, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: kobject_put // with type: void kobject_put(struct kobject *) // with return type: void void kobject_put(struct kobject *arg0) { // Void type return; } // Function: ktime_get_with_offset // with type: ktime_t ktime_get_with_offset(enum tk_offsets ) // with return type: ktime_t ktime_t ktime_get_with_offset(enum tk_offsets arg0) { // Typedef type // Real type: union ktime // Composite type return *(union ktime *)ldv_xmalloc(sizeof(union ktime)); } // 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_11 // with type: int ldv_release_11() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_11() { // 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: lock_acquire // with type: void lock_acquire(struct lockdep_map *, unsigned int, int, int, int, struct lockdep_map *, unsigned long) // with return type: void void lock_acquire(struct lockdep_map *arg0, unsigned int arg1, int arg2, int arg3, int arg4, struct lockdep_map *arg5, unsigned long arg6) { // Void type return; } // Function: lock_release // with type: void lock_release(struct lockdep_map *, int, unsigned long) // with return type: void void lock_release(struct lockdep_map *arg0, int arg1, unsigned long arg2) { // 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: memcpy // Skip function: memmove // Skip function: memset // Function: mmu_notifier_call_srcu // with type: void mmu_notifier_call_srcu(struct callback_head *, void (*)(struct callback_head *)) // with return type: void void mmu_notifier_call_srcu(struct callback_head *arg0, void (*arg1)(struct callback_head *)) { // Void type return; } // Function: mmu_notifier_unregister_no_release // with type: void mmu_notifier_unregister_no_release(struct mmu_notifier *, struct mm_struct *) // with return type: void void mmu_notifier_unregister_no_release(struct mmu_notifier *arg0, struct mm_struct *arg1) { // Void type return; } // Function: mutex_destroy // with type: void mutex_destroy(struct mutex *) // with return type: void void mutex_destroy(struct mutex *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: ns_to_timespec // with type: struct timespec ns_to_timespec(const s64 ) // with return type: struct timespec struct timespec ns_to_timespec(const s64 arg0) { // Composite type return *(struct timespec *)ldv_xmalloc(sizeof(struct timespec)); } // 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: process_srcu // with type: void process_srcu(struct work_struct *) // with return type: void void process_srcu(struct work_struct *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: 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: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: schedule_timeout_interruptible // with type: long int schedule_timeout_interruptible(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout_interruptible(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: send_sig // with type: int send_sig(int, struct task_struct *, int) // with return type: int int __VERIFIER_nondet_int(void); int send_sig(int arg0, struct task_struct *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: snprintf // Skip function: strcmp // Function: synchronize_sched // with type: void synchronize_sched() // with return type: void void synchronize_sched() { // Void type return; } // Function: synchronize_srcu // with type: void synchronize_srcu(struct srcu_struct *) // with return type: void void synchronize_srcu(struct srcu_struct *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: up_read // with type: void up_read(struct rw_semaphore *) // with return type: void void up_read(struct rw_semaphore *arg0) { // Void type return; } // Function: up_write // with type: void up_write(struct rw_semaphore *) // with return type: void void up_write(struct rw_semaphore *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: write_kernel_doorbell // with type: void write_kernel_doorbell(u32 *, u32 ) // with return type: void void write_kernel_doorbell(u32 *arg0, u32 arg1) { // Void type return; }