// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __class_register // with type: int __class_register(struct class *, struct lock_class_key *) // with return type: int int __VERIFIER_nondet_int(void); int __class_register(struct class *arg0, struct lock_class_key *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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_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: __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: __list_add // with type: void __list_add(struct list_head *, struct list_head *, struct list_head *) // with return type: void void __list_add(struct list_head *arg0, struct list_head *arg1, struct list_head *arg2) { // Void type return; } // Function: __might_fault // with type: void __might_fault(const char *, int) // with return type: void void __might_fault(const char *arg0, int arg1) { // Void type return; } // Function: __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: __request_module // with type: int __request_module(bool , const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __request_module(bool arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: __wake_up // with type: void __wake_up(wait_queue_head_t *, unsigned int, int, void *) // with return type: void void __wake_up(wait_queue_head_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Void type return; } // Function: _copy_from_user // with type: unsigned long int _copy_from_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_from_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _copy_to_user // with type: unsigned long int _copy_to_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_to_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_spin_lock // 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: 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: bdi_destroy // with type: void bdi_destroy(struct backing_dev_info *) // with return type: void void bdi_destroy(struct backing_dev_info *arg0) { // Void type return; } // Function: bdi_init // with type: int bdi_init(struct backing_dev_info *) // with return type: int int __VERIFIER_nondet_int(void); int bdi_init(struct backing_dev_info *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: bdi_register // with type: int bdi_register(struct backing_dev_info *, struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int bdi_register(struct backing_dev_info *arg0, struct device *arg1, const char *arg2, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: bdput // with type: void bdput(struct block_device *) // with return type: void void bdput(struct block_device *arg0) { // Void type return; } // 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: class_unregister // with type: void class_unregister(struct class *) // with return type: void void class_unregister(struct class *arg0) { // Void type return; } // Function: deactivate_locked_super // with type: void deactivate_locked_super(struct super_block *) // with return type: void void deactivate_locked_super(struct super_block *arg0) { // Void type return; } // 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: dev_set_name // with type: int dev_set_name(struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_set_name(struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: device_register // with type: int device_register(struct device *) // with return type: int int __VERIFIER_nondet_int(void); int device_register(struct device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: device_unregister // with type: void device_unregister(struct device *) // with return type: void void device_unregister(struct device *arg0) { // Void type return; } // Function: fixed_size_llseek // with type: loff_t fixed_size_llseek(struct file *, loff_t , int, loff_t ) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t fixed_size_llseek(struct file *arg0, loff_t arg1, int arg2, loff_t arg3) { // Typedef type // Real type: __kernel_loff_t // Typedef type // Real type: long long // Simple type return __VERIFIER_nondet_long(); } // Function: generic_shutdown_super // with type: void generic_shutdown_super(struct super_block *) // with return type: void void generic_shutdown_super(struct super_block *arg0) { // Void type return; } // Function: idr_alloc // with type: int idr_alloc(struct idr *, void *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int idr_alloc(struct idr *arg0, void *arg1, int arg2, int arg3, gfp_t arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_find_slowpath // with type: void *idr_find_slowpath(struct idr *, int) // with return type: (void)* void *idr_find_slowpath(struct idr *arg0, int arg1) { // Pointer type return ldv_malloc(0UL); } // Function: idr_get_next // with type: void *idr_get_next(struct idr *, int *) // with return type: (void)* void *idr_get_next(struct idr *arg0, int *arg1) { // Pointer type return ldv_malloc(0UL); } // Function: idr_remove // with type: void idr_remove(struct idr *, int) // with return type: void void idr_remove(struct idr *arg0, int arg1) { // Void type return; } // Skip function: kfree // Function: kmemdup // with type: void *kmemdup(const void *, size_t , gfp_t ) // with return type: (void)* void *kmemdup(const void *arg0, size_t arg1, gfp_t arg2) { // Pointer type return ldv_malloc(0UL); } // 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: kstrtouint // with type: int kstrtouint(const char *, unsigned int, unsigned int *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtouint(const char *arg0, unsigned int arg1, unsigned int *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_complete_21 // with type: int ldv_complete_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_complete_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_late_21 // with type: int ldv_freeze_late_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_late_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_noirq_21 // with type: int ldv_freeze_noirq_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_noirq_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_poweroff_late_21 // with type: int ldv_poweroff_late_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_late_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_noirq_21 // with type: int ldv_poweroff_noirq_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_noirq_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_prepare_21 // with type: int ldv_prepare_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_prepare_21() { // Simple type return __VERIFIER_nondet_int(); } // 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_restore_early_21 // with type: int ldv_restore_early_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_early_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_restore_noirq_21 // with type: int ldv_restore_noirq_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_noirq_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_early_21 // with type: int ldv_resume_early_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_noirq_21 // with type: int ldv_resume_noirq_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_noirq_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_late_21 // with type: int ldv_suspend_late_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_noirq_21 // with type: int ldv_suspend_noirq_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_noirq_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_early_21 // with type: int ldv_thaw_early_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_early_21() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_noirq_21 // with type: int ldv_thaw_noirq_21() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_noirq_21() { // 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: lockref_get // with type: void lockref_get(struct lockref *) // with return type: void void lockref_get(struct lockref *arg0) { // Void type return; } // Function: lookup_bdev // with type: struct block_device *lookup_bdev(const char *) // with return type: (struct block_device)* struct block_device *lookup_bdev(const char *arg0) { // Pointer type return ldv_malloc(sizeof(struct block_device)); } // 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: mutex_lock_nested // with type: void mutex_lock_nested(struct mutex *, unsigned int) // with return type: void void mutex_lock_nested(struct mutex *arg0, unsigned int arg1) { // Void type return; } // Function: mutex_unlock // with type: void mutex_unlock(struct mutex *) // with return type: void void mutex_unlock(struct mutex *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: proc_create_data // with type: struct proc_dir_entry *proc_create_data(const char *, umode_t , struct proc_dir_entry *, const struct file_operations *, void *) // with return type: (struct proc_dir_entry)* struct proc_dir_entry *proc_create_data(const char *arg0, umode_t arg1, struct proc_dir_entry *arg2, const struct file_operations *arg3, void *arg4) { // Pointer type return ldv_malloc(0UL); } // Function: register_reboot_notifier // with type: int register_reboot_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int register_reboot_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: remove_proc_entry // with type: void remove_proc_entry(const char *, struct proc_dir_entry *) // with return type: void void remove_proc_entry(const char *arg0, struct proc_dir_entry *arg1) { // Void type return; } // Function: remove_wait_queue // with type: void remove_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void remove_wait_queue(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: seq_lseek // with type: loff_t seq_lseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t seq_lseek(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: 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_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: seq_read // with type: ssize_t seq_read(struct file *, char *, size_t , loff_t *) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t seq_read(struct file *arg0, char *arg1, size_t arg2, loff_t *arg3) { // Typedef type // Real type: __kernel_ssize_t // Typedef type // Real type: __kernel_long_t // Typedef type // Real type: long // Simple type return __VERIFIER_nondet_long(); } // Function: sget // with type: struct super_block *sget(struct file_system_type *, int (*)(struct super_block *, void *), int (*)(struct super_block *, void *), int, void *) // with return type: (struct super_block)* struct super_block *sget(struct file_system_type *arg0, int (*arg1)(struct super_block *, void *), int (*arg2)(struct super_block *, void *), int arg3, void *arg4) { // Pointer type return ldv_malloc(sizeof(struct super_block)); } // 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: single_open // with type: int single_open(struct file *, int (*)(struct seq_file *, void *), void *) // with return type: int int __VERIFIER_nondet_int(void); int single_open(struct file *arg0, int (*arg1)(struct seq_file *, void *), void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: single_release // with type: int single_release(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int single_release(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: snprintf // Skip function: strcmp // Function: sysfs_create_files // with type: int sysfs_create_files(struct kobject *, const struct attribute **) // with return type: int int __VERIFIER_nondet_int(void); int sysfs_create_files(struct kobject *arg0, const struct attribute **arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: sysfs_remove_files // with type: void sysfs_remove_files(struct kobject *, const struct attribute **) // with return type: void void sysfs_remove_files(struct kobject *arg0, const struct attribute **arg1) { // Void type return; } // Function: unregister_reboot_notifier // with type: int unregister_reboot_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_reboot_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: default_wake_function // with type: int default_wake_function(wait_queue_t *, unsigned int, int, void *) // with return type: int int __VERIFIER_nondet_int(void); int default_wake_function(wait_queue_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Simple type return __VERIFIER_nondet_int(); }