// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // 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(); } // 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: __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: __get_page_tail // with type: bool __get_page_tail(struct page *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool __get_page_tail(struct page *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: __lock_page // with type: void __lock_page(struct page *) // with return type: void void __lock_page(struct page *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: __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: __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: _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(); } // Skip function: calloc // Function: cancel_delayed_work_sync // with type: bool cancel_delayed_work_sync(struct delayed_work *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_delayed_work_sync(struct delayed_work *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: class_destroy // with type: void class_destroy(struct class *) // with return type: void void class_destroy(struct class *arg0) { // Void type return; } // Function: compat_alloc_user_space // with type: void *compat_alloc_user_space(unsigned long) // with return type: (void)* void *compat_alloc_user_space(unsigned long arg0) { // Pointer type return ldv_malloc(0UL); } // Function: console_lock // with type: void console_lock() // with return type: void void console_lock() { // Void type return; } // Function: console_unlock // with type: void console_unlock() // with return type: void void console_unlock() { // Void type return; } // Function: copy_in_user // with type: unsigned long int copy_in_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int copy_in_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: default_llseek // with type: loff_t default_llseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t default_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: 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_create_file // with type: int device_create_file(struct device *, const struct device_attribute *) // with return type: int int __VERIFIER_nondet_int(void); int device_create_file(struct device *arg0, const struct device_attribute *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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_remove_file // with type: void device_remove_file(struct device *, const struct device_attribute *) // with return type: void void device_remove_file(struct device *arg0, const struct device_attribute *arg1) { // Void type return; } // Function: dump_page // with type: void dump_page(struct page *, const char *) // with return type: void void dump_page(struct page *arg0, const char *arg1) { // Void type return; } // Function: fb_find_logo // with type: const struct linux_logo *fb_find_logo(int) // with return type: (struct linux_logo)* const struct linux_logo *fb_find_logo(int arg0) { // Pointer type return ldv_malloc(sizeof(struct linux_logo)); } // Function: fb_is_primary_device // with type: int fb_is_primary_device(struct fb_info *) // with return type: int int __VERIFIER_nondet_int(void); int fb_is_primary_device(struct fb_info *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: fb_notifier_call_chain // with type: int fb_notifier_call_chain(unsigned long, void *) // with return type: int int __VERIFIER_nondet_int(void); int fb_notifier_call_chain(unsigned long arg0, void *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: file_update_time // with type: int file_update_time(struct file *) // with return type: int int __VERIFIER_nondet_int(void); int file_update_time(struct file *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: filemap_write_and_wait_range // with type: int filemap_write_and_wait_range(struct address_space *, loff_t , loff_t ) // with return type: int int __VERIFIER_nondet_int(void); int filemap_write_and_wait_range(struct address_space *arg0, loff_t arg1, loff_t arg2) { // Simple type return __VERIFIER_nondet_int(); } // 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: init_timer_key // with type: void init_timer_key(struct timer_list *, unsigned int, const char *, struct lock_class_key *) // with return type: void void init_timer_key(struct timer_list *arg0, unsigned int arg1, const char *arg2, struct lock_class_key *arg3) { // Void type return; } // Function: int_sqrt // with type: unsigned long int int_sqrt(unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int int_sqrt(unsigned long arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Skip function: kfree // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_probe_3 // with type: int ldv_probe_3() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_3() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_3 // with type: int ldv_release_3() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_3() { // 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: 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: memcmp // Skip function: memcpy // Skip function: memmove // Skip function: memset // 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_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: of_get_videomode // with type: int of_get_videomode(struct device_node *, struct videomode *, int) // with return type: int int __VERIFIER_nondet_int(void); int of_get_videomode(struct device_node *arg0, struct videomode *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: page_mkclean // with type: int page_mkclean(struct page *) // with return type: int int __VERIFIER_nondet_int(void); int page_mkclean(struct page *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pm_vt_switch_required // with type: void pm_vt_switch_required(struct device *, bool ) // with return type: void void pm_vt_switch_required(struct device *arg0, bool arg1) { // Void type return; } // Function: pm_vt_switch_unregister // with type: void pm_vt_switch_unregister(struct device *) // with return type: void void pm_vt_switch_unregister(struct device *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: 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: 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: 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_open // with type: int seq_open(struct file *, const struct seq_operations *) // with return type: int int __VERIFIER_nondet_int(void); int seq_open(struct file *arg0, const struct seq_operations *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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_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: seq_release // with type: int seq_release(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int seq_release(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: simple_strtol // with type: long int simple_strtol(const char *, char **, unsigned int) // with return type: long int long __VERIFIER_nondet_long(void); long int simple_strtol(const char *arg0, char **arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_long(); } // Function: simple_strtoul // with type: unsigned long int simple_strtoul(const char *, char **, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int simple_strtoul(const char *arg0, char **arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Skip function: snprintf // Skip function: sscanf // Skip function: strlen // Skip function: strncmp // Function: unlock_page // with type: void unlock_page(struct page *) // with return type: void void unlock_page(struct page *arg0) { // Void type return; } // Function: vm_get_page_prot // with type: pgprot_t vm_get_page_prot(unsigned long) // with return type: pgprot_t pgprot_t vm_get_page_prot(unsigned long arg0) { // Typedef type // Real type: struct pgprot // Composite type return *(struct pgprot *)ldv_xmalloc(sizeof(struct pgprot)); } // Function: vm_iomap_memory // with type: int vm_iomap_memory(struct vm_area_struct *, phys_addr_t , unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int vm_iomap_memory(struct vm_area_struct *arg0, phys_addr_t arg1, unsigned long arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vmalloc_to_page // with type: struct page *vmalloc_to_page(const void *) // with return type: (struct page)* struct page *vmalloc_to_page(const void *arg0) { // Pointer type return ldv_malloc(sizeof(struct page)); }