// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __const_udelay // with type: void __const_udelay(unsigned long) // with return type: void void __const_udelay(unsigned long arg0) { // 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: __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: __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: _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: add_uevent_var // with type: int add_uevent_var(struct kobj_uevent_env *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int add_uevent_var(struct kobj_uevent_env *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: bus_for_each_dev // with type: int bus_for_each_dev(struct bus_type *, struct device *, void *, int (*)(struct device *, void *)) // with return type: int int __VERIFIER_nondet_int(void); int bus_for_each_dev(struct bus_type *arg0, struct device *arg1, void *arg2, int (*arg3)(struct device *, void *)) { // Simple type return __VERIFIER_nondet_int(); } // Function: bus_register // with type: int bus_register(struct bus_type *) // with return type: int int __VERIFIER_nondet_int(void); int bus_register(struct bus_type *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: bus_rescan_devices // with type: int bus_rescan_devices(struct bus_type *) // with return type: int int __VERIFIER_nondet_int(void); int bus_rescan_devices(struct bus_type *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: bus_unregister // with type: void bus_unregister(struct bus_type *) // with return type: void void bus_unregister(struct bus_type *arg0) { // Void type return; } // Skip function: calloc // Function: class_interface_register // with type: int class_interface_register(struct class_interface *) // with return type: int int __VERIFIER_nondet_int(void); int class_interface_register(struct class_interface *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: class_interface_unregister // with type: void class_interface_unregister(struct class_interface *) // with return type: void void class_interface_unregister(struct class_interface *arg0) { // Void type return; } // Function: crc32_le // with type: u32 crc32_le(u32 , const unsigned char *, size_t ) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 crc32_le(u32 arg0, const unsigned char *arg1, size_t arg2) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // 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_notice // with type: void dev_notice(const struct device *, const char *, ...) // with return type: void void dev_notice(const struct device *arg0, const char *arg1, ...) { // Void type return; } // 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: 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_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: driver_attach // with type: int driver_attach(struct device_driver *) // with return type: int int __VERIFIER_nondet_int(void); int driver_attach(struct device_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: driver_create_file // with type: int driver_create_file(struct device_driver *, const struct driver_attribute *) // with return type: int int __VERIFIER_nondet_int(void); int driver_create_file(struct device_driver *arg0, const struct driver_attribute *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: driver_register // with type: int driver_register(struct device_driver *) // with return type: int int __VERIFIER_nondet_int(void); int driver_register(struct device_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: driver_remove_file // with type: void driver_remove_file(struct device_driver *, const struct driver_attribute *) // with return type: void void driver_remove_file(struct device_driver *arg0, const struct driver_attribute *arg1) { // Void type return; } // Function: driver_unregister // with type: void driver_unregister(struct device_driver *) // with return type: void void driver_unregister(struct device_driver *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: get_device // with type: struct device *get_device(struct device *) // with return type: (struct device)* struct device *get_device(struct device *arg0) { // Pointer type return ldv_malloc(sizeof(struct device)); } // 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: iounmap // with type: void iounmap(volatile void *) // with return type: void void iounmap(volatile void *arg0) { // 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: ldv_check_final_state // with type: void ldv_check_final_state() // with return type: void void ldv_check_final_state() { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_probe_1 // with type: int ldv_probe_1() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_1() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_1 // with type: int ldv_release_1() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_1() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_some_page // with type: struct page *ldv_some_page() // with return type: (struct page)* struct page *ldv_some_page() { // Pointer type return ldv_malloc(sizeof(struct page)); } // 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 // Skip function: memmove // Skip function: memset // 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_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: pccard_register_pcmcia // with type: int pccard_register_pcmcia(struct pcmcia_socket *, struct pcmcia_callback *) // with return type: int int __VERIFIER_nondet_int(void); int pccard_register_pcmcia(struct pcmcia_socket *arg0, struct pcmcia_callback *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcmcia_get_socket // with type: struct pcmcia_socket *pcmcia_get_socket(struct pcmcia_socket *) // with return type: (struct pcmcia_socket)* struct pcmcia_socket *pcmcia_get_socket(struct pcmcia_socket *arg0) { // Pointer type return ldv_malloc(sizeof(struct pcmcia_socket)); } // Function: pcmcia_parse_uevents // with type: void pcmcia_parse_uevents(struct pcmcia_socket *, unsigned int) // with return type: void void pcmcia_parse_uevents(struct pcmcia_socket *arg0, unsigned int arg1) { // Void type return; } // Function: pcmcia_put_socket // with type: void pcmcia_put_socket(struct pcmcia_socket *) // with return type: void void pcmcia_put_socket(struct pcmcia_socket *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: put_device // with type: void put_device(struct device *) // with return type: void void put_device(struct device *arg0) { // Void type return; } // Function: release_firmware // with type: void release_firmware(const struct firmware *) // with return type: void void release_firmware(const struct firmware *arg0) { // Void type return; } // Function: release_resource // with type: int release_resource(struct resource *) // with return type: int int __VERIFIER_nondet_int(void); int release_resource(struct resource *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: request_firmware // with type: int request_firmware(const struct firmware **, const char *, struct device *) // with return type: int int __VERIFIER_nondet_int(void); int request_firmware(const struct firmware **arg0, const char *arg1, struct device *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: request_resource // with type: int request_resource(struct resource *, struct resource *) // with return type: int int __VERIFIER_nondet_int(void); int request_resource(struct resource *arg0, struct resource *arg1) { // 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(); } // Skip function: sprintf // Skip function: sscanf // Skip function: strcmp // Skip function: strlen // Skip function: strncmp // Skip function: strncpy // Function: sysfs_create_bin_file // with type: int sysfs_create_bin_file(struct kobject *, const struct bin_attribute *) // with return type: int int __VERIFIER_nondet_int(void); int sysfs_create_bin_file(struct kobject *arg0, const struct bin_attribute *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: sysfs_remove_bin_file // with type: void sysfs_remove_bin_file(struct kobject *, const struct bin_attribute *) // with return type: void void sysfs_remove_bin_file(struct kobject *arg0, const struct bin_attribute *arg1) { // Void type return; } // 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: 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; }