// 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: __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: __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: __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: __msecs_to_jiffies // with type: unsigned long int __msecs_to_jiffies(const unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __msecs_to_jiffies(const unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: __ps2_command // with type: int __ps2_command(struct ps2dev *, unsigned char *, int) // with return type: int int __VERIFIER_nondet_int(void); int __ps2_command(struct ps2dev *arg0, unsigned char *arg1, int arg2) { // 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: __serio_register_driver // with type: int __serio_register_driver(struct serio_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int __serio_register_driver(struct serio_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: __serio_register_port // with type: void __serio_register_port(struct serio *, struct module *) // with return type: void void __serio_register_port(struct serio *arg0, struct module *arg1) { // 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: _raw_spin_lock_irq // with type: void _raw_spin_lock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_lock_irq(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_unlock_irq // with type: void _raw_spin_unlock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_irq(raw_spinlock_t *arg0) { // Void type return; } // Skip function: calloc // Function: del_timer // with type: int del_timer(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: del_timer_sync // with type: int del_timer_sync(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer_sync(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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_printk // with type: void dev_printk(const char *, const struct device *, const char *, ...) // with return type: void void dev_printk(const char *arg0, const struct device *arg1, const char *arg2, ...) { // Void type return; } // 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_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_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: 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: dmi_get_system_info // with type: const char *dmi_get_system_info(int) // with return type: (const char)* const char *dmi_get_system_info(int arg0) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: finish_wait // with type: void finish_wait(wait_queue_head_t *, wait_queue_t *) // with return type: void void finish_wait(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // 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: input_alloc_absinfo // with type: void input_alloc_absinfo(struct input_dev *) // with return type: void void input_alloc_absinfo(struct input_dev *arg0) { // Void type return; } // 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_device // with type: void input_free_device(struct input_dev *) // with return type: void void input_free_device(struct input_dev *arg0) { // Void type return; } // Function: input_mt_assign_slots // with type: int input_mt_assign_slots(struct input_dev *, int *, const struct input_mt_pos *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int input_mt_assign_slots(struct input_dev *arg0, int *arg1, const struct input_mt_pos *arg2, int arg3, int arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_mt_drop_unused // with type: void input_mt_drop_unused(struct input_dev *) // with return type: void void input_mt_drop_unused(struct input_dev *arg0) { // Void type return; } // Function: input_mt_init_slots // with type: int input_mt_init_slots(struct input_dev *, unsigned int, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int input_mt_init_slots(struct input_dev *arg0, unsigned int arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_mt_report_finger_count // with type: void input_mt_report_finger_count(struct input_dev *, int) // with return type: void void input_mt_report_finger_count(struct input_dev *arg0, int arg1) { // Void type return; } // Function: input_mt_report_pointer_emulation // with type: void input_mt_report_pointer_emulation(struct input_dev *, bool ) // with return type: void void input_mt_report_pointer_emulation(struct input_dev *arg0, bool arg1) { // Void type return; } // Function: input_mt_report_slot_state // with type: void input_mt_report_slot_state(struct input_dev *, unsigned int, bool ) // with return type: void void input_mt_report_slot_state(struct input_dev *arg0, unsigned int arg1, bool arg2) { // Void type return; } // Function: input_mt_sync_frame // with type: void input_mt_sync_frame(struct input_dev *) // with return type: void void input_mt_sync_frame(struct input_dev *arg0) { // Void type return; } // Function: input_register_device // with type: int input_register_device(struct input_dev *) // with return type: int int __VERIFIER_nondet_int(void); int input_register_device(struct input_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_set_capability // with type: void input_set_capability(struct input_dev *, unsigned int, unsigned int) // with return type: void void input_set_capability(struct input_dev *arg0, unsigned int arg1, unsigned int arg2) { // Void type return; } // Function: input_unregister_device // with type: void input_unregister_device(struct input_dev *) // with return type: void void input_unregister_device(struct input_dev *arg0) { // Void type return; } // Skip function: kfree // Function: kstrndup // with type: char *kstrndup(const char *, size_t , gfp_t ) // with return type: (char)* char *kstrndup(const char *arg0, size_t arg1, gfp_t arg2) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: kstrtoint // with type: int kstrtoint(const char *, unsigned int, int *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtoint(const char *arg0, unsigned int arg1, int *arg2) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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_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_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: 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: memset // Function: mod_timer // with type: int mod_timer(struct timer_list *, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int mod_timer(struct timer_list *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: mutex_lock_interruptible_nested // with type: int mutex_lock_interruptible_nested(struct mutex *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int mutex_lock_interruptible_nested(struct mutex *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: prepare_to_wait_event // with type: long int prepare_to_wait_event(wait_queue_head_t *, wait_queue_t *, int) // with return type: long int long __VERIFIER_nondet_long(void); long int prepare_to_wait_event(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // Simple type return __VERIFIER_nondet_long(); } // 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: ps2_begin_command // with type: void ps2_begin_command(struct ps2dev *) // with return type: void void ps2_begin_command(struct ps2dev *arg0) { // Void type return; } // Function: ps2_cmd_aborted // with type: void ps2_cmd_aborted(struct ps2dev *) // with return type: void void ps2_cmd_aborted(struct ps2dev *arg0) { // Void type return; } // Function: ps2_command // with type: int ps2_command(struct ps2dev *, unsigned char *, int) // with return type: int int __VERIFIER_nondet_int(void); int ps2_command(struct ps2dev *arg0, unsigned char *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: ps2_drain // with type: void ps2_drain(struct ps2dev *, int, int) // with return type: void void ps2_drain(struct ps2dev *arg0, int arg1, int arg2) { // Void type return; } // Function: ps2_end_command // with type: void ps2_end_command(struct ps2dev *) // with return type: void void ps2_end_command(struct ps2dev *arg0) { // Void type return; } // Function: ps2_handle_ack // with type: int ps2_handle_ack(struct ps2dev *, unsigned char) // with return type: int int __VERIFIER_nondet_int(void); int ps2_handle_ack(struct ps2dev *arg0, unsigned char arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: ps2_handle_response // with type: int ps2_handle_response(struct ps2dev *, unsigned char) // with return type: int int __VERIFIER_nondet_int(void); int ps2_handle_response(struct ps2dev *arg0, unsigned char arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: ps2_init // with type: void ps2_init(struct ps2dev *, struct serio *) // with return type: void void ps2_init(struct ps2dev *arg0, struct serio *arg1) { // Void type return; } // Function: ps2_sendbyte // with type: int ps2_sendbyte(struct ps2dev *, unsigned char, int) // with return type: int int __VERIFIER_nondet_int(void); int ps2_sendbyte(struct ps2dev *arg0, unsigned char arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // 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: schedule_timeout // with type: long int schedule_timeout(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: serio_close // with type: void serio_close(struct serio *) // with return type: void void serio_close(struct serio *arg0) { // Void type return; } // Function: serio_interrupt // with type: irqreturn_t serio_interrupt(struct serio *, unsigned char, unsigned int) // with return type: irqreturn_t int __VERIFIER_nondet_int(void); irqreturn_t serio_interrupt(struct serio *arg0, unsigned char arg1, unsigned int arg2) { // Typedef type // Real type: enum irqreturn // Enum type return __VERIFIER_nondet_int(); } // Function: serio_open // with type: int serio_open(struct serio *, struct serio_driver *) // with return type: int int __VERIFIER_nondet_int(void); int serio_open(struct serio *arg0, struct serio_driver *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: serio_reconnect // with type: void serio_reconnect(struct serio *) // with return type: void void serio_reconnect(struct serio *arg0) { // Void type return; } // Function: serio_unregister_child_port // with type: void serio_unregister_child_port(struct serio *) // with return type: void void serio_unregister_child_port(struct serio *arg0) { // Void type return; } // Function: serio_unregister_driver // with type: void serio_unregister_driver(struct serio_driver *) // with return type: void void serio_unregister_driver(struct serio_driver *arg0) { // Void type return; } // 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: sprintf // Function: strcasecmp // with type: int strcasecmp(const char *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int strcasecmp(const char *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: strcmp // Function: strlcpy // with type: size_t strlcpy(char *, const char *, size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t strlcpy(char *arg0, const char *arg1, size_t arg2) { // Typedef type // Real type: __kernel_size_t // Typedef type // Real type: __kernel_ulong_t // Typedef type // Real type: unsigned long // Simple type return __VERIFIER_nondet_ulong(); } // 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: sysfs_create_group // with type: int sysfs_create_group(struct kobject *, const struct attribute_group *) // with return type: int int __VERIFIER_nondet_int(void); int sysfs_create_group(struct kobject *arg0, const struct attribute_group *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: sysfs_remove_group // with type: void sysfs_remove_group(struct kobject *, const struct attribute_group *) // with return type: void void sysfs_remove_group(struct kobject *arg0, const struct attribute_group *arg1) { // Void type return; } // 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; }