// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // 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); } // 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: int __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *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: __release_region // with type: void __release_region(struct resource *, resource_size_t , resource_size_t ) // with return type: void void __release_region(struct resource *arg0, resource_size_t arg1, resource_size_t arg2) { // Void type return; } // Function: __request_region // with type: struct resource *__request_region(struct resource *, resource_size_t , resource_size_t , const char *, int) // with return type: (struct resource)* struct resource *__request_region(struct resource *arg0, resource_size_t arg1, resource_size_t arg2, const char *arg3, int arg4) { // Pointer type return ldv_malloc(sizeof(struct resource)); } // Function: __udelay // with type: void __udelay(unsigned long) // with return type: void void __udelay(unsigned long arg0) { // Void type return; } // Skip function: calloc // 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: dmi_check_system // with type: int dmi_check_system(const struct dmi_system_id *) // with return type: int int __VERIFIER_nondet_int(void); int dmi_check_system(const struct dmi_system_id *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: hwmon_device_register // with type: struct device *hwmon_device_register(struct device *) // with return type: (struct device)* struct device *hwmon_device_register(struct device *arg0) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: hwmon_device_unregister // with type: void hwmon_device_unregister(struct device *) // with return type: void void hwmon_device_unregister(struct device *arg0) { // Void type return; } // Function: input_allocate_polled_device // with type: struct input_polled_dev *input_allocate_polled_device() // with return type: (struct input_polled_dev)* struct input_polled_dev *input_allocate_polled_device() { // Pointer type return ldv_malloc(sizeof(struct input_polled_dev)); } // Function: input_event // with type: void input_event(struct input_dev *, unsigned int, unsigned int, int) // with return type: void void input_event(struct input_dev *arg0, unsigned int arg1, unsigned int arg2, int arg3) { // Void type return; } // Function: input_free_polled_device // with type: void input_free_polled_device(struct input_polled_dev *) // with return type: void void input_free_polled_device(struct input_polled_dev *arg0) { // Void type return; } // Function: input_register_polled_device // with type: int input_register_polled_device(struct input_polled_dev *) // with return type: int int __VERIFIER_nondet_int(void); int input_register_polled_device(struct input_polled_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_set_abs_params // with type: void input_set_abs_params(struct input_dev *, unsigned int, int, int, int, int) // with return type: void void input_set_abs_params(struct input_dev *arg0, unsigned int arg1, int arg2, int arg3, int arg4, int arg5) { // Void type return; } // Function: input_unregister_polled_device // with type: void input_unregister_polled_device(struct input_polled_dev *) // with return type: void void input_unregister_polled_device(struct input_polled_dev *arg0) { // Void type return; } // Skip function: kfree // Function: kmem_cache_alloc // with type: void *kmem_cache_alloc(struct kmem_cache *, gfp_t ) // with return type: (void)* void *kmem_cache_alloc(struct kmem_cache *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(0UL); } // Function: kstrtoull // with type: int kstrtoull(const char *, unsigned int, unsigned long long *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtoull(const char *arg0, unsigned int arg1, unsigned long long *arg2) { // Simple type return __VERIFIER_nondet_int(); } // 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_complete_4 // with type: int ldv_complete_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_complete_4() { // 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_4 // with type: int ldv_poweroff_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_late_4 // with type: int ldv_poweroff_late_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_late_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_noirq_4 // with type: int ldv_poweroff_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_prepare_4 // with type: int ldv_prepare_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_prepare_4() { // 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_restore_early_4 // with type: int ldv_restore_early_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_early_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_restore_noirq_4 // with type: int ldv_restore_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_early_4 // with type: int ldv_resume_early_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_noirq_4 // with type: int ldv_resume_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_some_page // with type: struct page___0 *ldv_some_page() // with return type: (struct page___0)* struct page___0 *ldv_some_page() { // Pointer type return ldv_malloc(sizeof(struct page___0)); } // Function: ldv_suspend_4 // with type: int ldv_suspend_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_late_4 // with type: int ldv_suspend_late_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_noirq_4 // with type: int ldv_suspend_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: led_classdev_register // with type: int led_classdev_register(struct device *, struct led_classdev *) // with return type: int int __VERIFIER_nondet_int(void); int led_classdev_register(struct device *arg0, struct led_classdev *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: led_classdev_unregister // with type: void led_classdev_unregister(struct led_classdev *) // with return type: void void led_classdev_unregister(struct led_classdev *arg0) { // Void type return; } // Skip function: malloc // Skip function: memcpy // 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_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: platform_device_register_full // with type: struct platform_device *platform_device_register_full(const struct platform_device_info *) // with return type: (struct platform_device)* struct platform_device *platform_device_register_full(const struct platform_device_info *arg0) { // Pointer type return ldv_malloc(sizeof(struct platform_device)); } // 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: 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(); } // Skip function: snprintf // Skip function: sprintf // Skip function: strcmp // 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; }