// 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: __copy_from_user_overflow // with type: void __copy_from_user_overflow() // with return type: void void __copy_from_user_overflow() { // 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: __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: __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: __wake_up // with type: void __wake_up(wait_queue_head_t *, unsigned int, int, void *) // with return type: void void __wake_up(wait_queue_head_t *arg0, unsigned int arg1, int arg2, void *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: _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; } // Function: add_wait_queue // with type: void add_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void add_wait_queue(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Skip function: calloc // Function: cancel_work_sync // with type: bool cancel_work_sync(struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_work_sync(struct work_struct *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: 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: 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: 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: 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_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_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; } // Function: inverse_translate // with type: u16 inverse_translate(struct vc_data *, int, int) // with return type: u16 unsigned short __VERIFIER_nondet_ushort(void); u16 inverse_translate(struct vc_data *arg0, int arg1, int arg2) { // Typedef type // Real type: unsigned short // Simple type return __VERIFIER_nondet_ushort(); } // Function: kd_mksound // with type: void kd_mksound(unsigned int, unsigned int) // with return type: void void kd_mksound(unsigned int arg0, unsigned int arg1) { // Void type return; } // Skip function: kfree // Function: kmemdup // with type: void *kmemdup(const void *, size_t , gfp_t ) // with return type: (void)* void *kmemdup(const void *arg0, size_t arg1, gfp_t arg2) { // Pointer type return ldv_malloc(0UL); } // Function: kobject_create_and_add // with type: struct kobject *kobject_create_and_add(const char *, struct kobject *) // with return type: (struct kobject)* struct kobject *kobject_create_and_add(const char *arg0, struct kobject *arg1) { // Pointer type return ldv_malloc(sizeof(struct kobject)); } // Function: kobject_put // with type: void kobject_put(struct kobject *) // with return type: void void kobject_put(struct kobject *arg0) { // Void type return; } // Function: kstrtoll // with type: int kstrtoll(const char *, unsigned int, long long *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtoll(const char *arg0, unsigned int arg1, long long *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: kthread_create_on_node // with type: struct task_struct *kthread_create_on_node(int (*)(void *), void *, int, const char *, ...) // with return type: (struct task_struct)* struct task_struct *kthread_create_on_node(int (*arg0)(void *), void *arg1, int arg2, const char *arg3, ...) { // Pointer type return ldv_malloc(sizeof(struct task_struct)); } // Function: kthread_should_stop // with type: bool kthread_should_stop() // with return type: bool bool __VERIFIER_nondet_bool(void); bool kthread_should_stop() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: kthread_stop // with type: int kthread_stop(struct task_struct *) // with return type: int int __VERIFIER_nondet_int(void); int kthread_stop(struct task_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv__builtin_va_end // with type: void ldv__builtin_va_end(__builtin_va_list *) // with return type: void void ldv__builtin_va_end(__builtin_va_list *arg0) { // Void type return; } // Function: ldv__builtin_va_start // with type: void ldv__builtin_va_start(__builtin_va_list *) // with return type: void void ldv__builtin_va_start(__builtin_va_list *arg0) { // Void type return; } // 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)); } // Skip function: malloc // Skip function: memcmp // Skip function: memcpy // Skip function: memset // Function: misc_deregister // with type: int misc_deregister(struct miscdevice *) // with return type: int int __VERIFIER_nondet_int(void); int misc_deregister(struct miscdevice *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: misc_register // with type: int misc_register(struct miscdevice *) // with return type: int int __VERIFIER_nondet_int(void); int misc_register(struct miscdevice *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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 // with type: void prepare_to_wait(wait_queue_head_t *, wait_queue_t *, int) // with return type: void void prepare_to_wait(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // 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(); } // Function: register_keyboard_notifier // with type: int register_keyboard_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int register_keyboard_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: register_vt_notifier // with type: int register_vt_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int register_vt_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: remove_wait_queue // with type: void remove_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void remove_wait_queue(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // 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(); } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // 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: scnprintf // with type: int scnprintf(char *, size_t , const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int scnprintf(char *arg0, size_t arg1, const char *arg2, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: screen_glyph // with type: u16 screen_glyph(struct vc_data *, int) // with return type: u16 unsigned short __VERIFIER_nondet_ushort(void); u16 screen_glyph(struct vc_data *arg0, int arg1) { // Typedef type // Real type: unsigned short // Simple type return __VERIFIER_nondet_ushort(); } // Function: set_user_nice // with type: void set_user_nice(struct task_struct *, long) // with return type: void void set_user_nice(struct task_struct *arg0, long arg1) { // 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(); } // Function: skip_spaces // with type: char *skip_spaces(const char *) // with return type: (char)* char *skip_spaces(const char *arg0) { // Pointer type return ldv_malloc(sizeof(char)); } // Skip function: snprintf // Skip function: sprintf // Function: start_tty // with type: void start_tty(struct tty_struct *) // with return type: void void start_tty(struct tty_struct *arg0) { // Void type return; } // Function: stop_tty // with type: void stop_tty(struct tty_struct *) // with return type: void void stop_tty(struct tty_struct *arg0) { // Void type return; } // Skip function: strchr // Skip function: strcmp // Skip function: strcpy // Function: string_unescape // with type: int string_unescape(char *, char *, size_t , unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int string_unescape(char *arg0, char *arg1, size_t arg2, unsigned int arg3) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: strlen // Skip function: strncpy // 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: trace_hardirqs_off // with type: void trace_hardirqs_off() // with return type: void void trace_hardirqs_off() { // Void type return; } // Function: trace_hardirqs_on // with type: void trace_hardirqs_on() // with return type: void void trace_hardirqs_on() { // Void type return; } // Function: tty_buffer_lock_exclusive // with type: void tty_buffer_lock_exclusive(struct tty_port *) // with return type: void void tty_buffer_lock_exclusive(struct tty_port *arg0) { // Void type return; } // Function: tty_buffer_unlock_exclusive // with type: void tty_buffer_unlock_exclusive(struct tty_port *) // with return type: void void tty_buffer_unlock_exclusive(struct tty_port *arg0) { // Void type return; } // Function: tty_kref_put // with type: void tty_kref_put(struct tty_struct *) // with return type: void void tty_kref_put(struct tty_struct *arg0) { // Void type return; } // Function: tty_ldisc_deref // with type: void tty_ldisc_deref(struct tty_ldisc *) // with return type: void void tty_ldisc_deref(struct tty_ldisc *arg0) { // Void type return; } // Function: tty_ldisc_ref_wait // with type: struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *) // with return type: (struct tty_ldisc)* struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *arg0) { // Pointer type return ldv_malloc(sizeof(struct tty_ldisc)); } // Function: unregister_keyboard_notifier // with type: int unregister_keyboard_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_keyboard_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: unregister_vt_notifier // with type: int unregister_vt_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_vt_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: vsnprintf // Function: vt_get_leds // with type: int vt_get_leds(int, int) // with return type: int int __VERIFIER_nondet_int(void); int vt_get_leds(int arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: wake_up_process // with type: int wake_up_process(struct task_struct *) // with return type: int int __VERIFIER_nondet_int(void); int wake_up_process(struct task_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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; } // Function: default_wake_function // with type: int default_wake_function(wait_queue_t *, unsigned int, int, void *) // with return type: int int __VERIFIER_nondet_int(void); int default_wake_function(wait_queue_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: autoremove_wake_function // with type: int autoremove_wake_function(wait_queue_t *, unsigned int, int, void *) // with return type: int int __VERIFIER_nondet_int(void); int autoremove_wake_function(wait_queue_t *arg0, unsigned int arg1, int arg2, void * arg3) { // Simple type return __VERIFIER_nondet_int(); }