// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Skip function: __builtin_alloca // 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: __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: __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: __platform_driver_register // with type: int __platform_driver_register(struct platform_driver *, struct module *) // with return type: int int __VERIFIER_nondet_int(void); int __platform_driver_register(struct platform_driver *arg0, struct module *arg1) { // 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: __udelay // with type: void __udelay(unsigned long) // with return type: void void __udelay(unsigned long arg0) { // 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_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; } // Skip function: calloc // Function: cfb_copyarea // with type: void cfb_copyarea(struct fb_info *, const struct fb_copyarea *) // with return type: void void cfb_copyarea(struct fb_info *arg0, const struct fb_copyarea *arg1) { // Void type return; } // Function: cfb_fillrect // with type: void cfb_fillrect(struct fb_info *, const struct fb_fillrect *) // with return type: void void cfb_fillrect(struct fb_info *arg0, const struct fb_fillrect *arg1) { // Void type return; } // Function: cfb_imageblit // with type: void cfb_imageblit(struct fb_info *, const struct fb_image *) // with return type: void void cfb_imageblit(struct fb_info *arg0, const struct fb_image *arg1) { // Void type return; } // Function: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *arg0) { // Void type return; } // 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: 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: dma_alloc_attrs // with type: void *dma_alloc_attrs(struct device *, size_t , dma_addr_t *, gfp_t , struct dma_attrs *) // with return type: (void)* void *dma_alloc_attrs(struct device *arg0, size_t arg1, dma_addr_t *arg2, gfp_t arg3, struct dma_attrs *arg4) { // Pointer type return ldv_malloc(0UL); } // Function: dma_free_attrs // with type: void dma_free_attrs(struct device *, size_t , void *, dma_addr_t , struct dma_attrs *) // with return type: void void dma_free_attrs(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3, struct dma_attrs *arg4) { // Void type return; } // Function: fb_alloc_cmap // with type: int fb_alloc_cmap(struct fb_cmap *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int fb_alloc_cmap(struct fb_cmap *arg0, int arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: fb_dealloc_cmap // with type: void fb_dealloc_cmap(struct fb_cmap *) // with return type: void void fb_dealloc_cmap(struct fb_cmap *arg0) { // Void type return; } // Function: fb_destroy_modedb // with type: void fb_destroy_modedb(struct fb_videomode *) // with return type: void void fb_destroy_modedb(struct fb_videomode *arg0) { // Void type return; } // Function: fb_edid_to_monspecs // with type: void fb_edid_to_monspecs(unsigned char *, struct fb_monspecs *) // with return type: void void fb_edid_to_monspecs(unsigned char *arg0, struct fb_monspecs *arg1) { // Void type return; } // Function: fb_get_color_depth // with type: int fb_get_color_depth(struct fb_var_screeninfo *, struct fb_fix_screeninfo *) // with return type: int int __VERIFIER_nondet_int(void); int fb_get_color_depth(struct fb_var_screeninfo *arg0, struct fb_fix_screeninfo *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: fb_set_suspend // with type: void fb_set_suspend(struct fb_info *, int) // with return type: void void fb_set_suspend(struct fb_info *arg0, int arg1) { // Void type return; } // Function: framebuffer_alloc // with type: struct fb_info *framebuffer_alloc(size_t , struct device *) // with return type: (struct fb_info)* struct fb_info *framebuffer_alloc(size_t arg0, struct device *arg1) { // Pointer type return ldv_malloc(sizeof(struct fb_info)); } // Function: framebuffer_release // with type: void framebuffer_release(struct fb_info *) // with return type: void void framebuffer_release(struct fb_info *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: gpiochip_add // with type: int gpiochip_add(struct gpio_chip *) // with return type: int int __VERIFIER_nondet_int(void); int gpiochip_add(struct gpio_chip *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: gpiochip_remove // with type: void gpiochip_remove(struct gpio_chip *) // with return type: void void gpiochip_remove(struct gpio_chip *arg0) { // Void type return; } // Function: i2c_bit_add_bus // with type: int i2c_bit_add_bus(struct i2c_adapter *) // with return type: int int __VERIFIER_nondet_int(void); int i2c_bit_add_bus(struct i2c_adapter *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: i2c_del_adapter // with type: void i2c_del_adapter(struct i2c_adapter *) // with return type: void void i2c_del_adapter(struct i2c_adapter *arg0) { // Void type return; } // Function: i2c_transfer // with type: int i2c_transfer(struct i2c_adapter *, struct i2c_msg *, int) // with return type: int int __VERIFIER_nondet_int(void); int i2c_transfer(struct i2c_adapter *arg0, struct i2c_msg *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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: ioremap_wc // with type: void *ioremap_wc(resource_size_t , unsigned long) // with return type: (void)* void *ioremap_wc(resource_size_t arg0, unsigned long arg1) { // Pointer type return ldv_malloc(0UL); } // Function: iounmap // with type: void iounmap(volatile void *) // with return type: void void iounmap(volatile void *arg0) { // Void type return; } // Function: iowrite32 // with type: void iowrite32(u32 , void *) // with return type: void void iowrite32(u32 arg0, void *arg1) { // Void type return; } // Skip function: kfree // Function: kstrtou8 // with type: int kstrtou8(const char *, unsigned int, u8 *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtou8(const char *arg0, unsigned int arg1, u8 *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: kstrtou8_from_user // with type: int kstrtou8_from_user(const char *, size_t , unsigned int, u8 *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtou8_from_user(const char *arg0, size_t arg1, unsigned int arg2, u8 *arg3) { // 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_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_probe_8 // with type: int ldv_probe_8() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_8() { // 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: ldv_release_8 // with type: int ldv_release_8() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_8() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_early_5 // with type: int ldv_resume_early_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_shutdown_5 // with type: int ldv_shutdown_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_shutdown_5() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_late_5 // with type: int ldv_suspend_late_5() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_5() { // 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; } // Skip function: malloc // Skip function: memcmp // 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: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int 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_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_choose_state // with type: pci_power_t pci_choose_state(struct pci_dev *, pm_message_t ) // with return type: pci_power_t int __VERIFIER_nondet_int(void); pci_power_t pci_choose_state(struct pci_dev *arg0, pm_message_t arg1) { // Typedef type // Real type: int // Simple type return __VERIFIER_nondet_int(); } // Function: pci_dev_put // with type: void pci_dev_put(struct pci_dev *) // with return type: void void pci_dev_put(struct pci_dev *arg0) { // Void type return; } // 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_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_get_device // with type: struct pci_dev *pci_get_device(unsigned int, unsigned int, struct pci_dev *) // with return type: (struct pci_dev)* struct pci_dev *pci_get_device(unsigned int arg0, unsigned int arg1, struct pci_dev *arg2) { // Pointer type return ldv_malloc(sizeof(struct pci_dev)); } // 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: platform_device_add // with type: int platform_device_add(struct platform_device *) // with return type: int int __VERIFIER_nondet_int(void); int platform_device_add(struct platform_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: platform_device_alloc // with type: struct platform_device *platform_device_alloc(const char *, int) // with return type: (struct platform_device)* struct platform_device *platform_device_alloc(const char *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct platform_device)); } // Function: platform_device_put // with type: void platform_device_put(struct platform_device *) // with return type: void void platform_device_put(struct platform_device *arg0) { // Void type return; } // Function: platform_device_unregister // with type: void platform_device_unregister(struct platform_device *) // with return type: void void platform_device_unregister(struct platform_device *arg0) { // Void type return; } // Function: platform_driver_unregister // with type: void platform_driver_unregister(struct platform_driver *) // with return type: void void platform_driver_unregister(struct platform_driver *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: proc_mkdir // with type: struct proc_dir_entry *proc_mkdir(const char *, struct proc_dir_entry *) // with return type: (struct proc_dir_entry)* struct proc_dir_entry *proc_mkdir(const char *arg0, struct proc_dir_entry *arg1) { // Pointer type return ldv_malloc(0UL); } // Function: register_framebuffer // with type: int register_framebuffer(struct fb_info *) // with return type: int int __VERIFIER_nondet_int(void); int register_framebuffer(struct fb_info *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: 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: 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_putc // with type: int seq_putc(struct seq_file *, char) // with return type: int int __VERIFIER_nondet_int(void); int seq_putc(struct seq_file *arg0, 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: 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_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: sprintf // Skip function: strcmp // Skip function: strcpy // Skip function: strlen // Skip function: strncmp // Function: strsep // with type: char *strsep(char **, const char *) // with return type: (char)* char *strsep(char **arg0, const char *arg1) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: unregister_framebuffer // with type: int unregister_framebuffer(struct fb_info *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_framebuffer(struct fb_info *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: wait_for_completion_timeout // with type: unsigned long int wait_for_completion_timeout(struct completion *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int wait_for_completion_timeout(struct completion *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); }