// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // 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: __class_create // with type: struct class *__class_create(struct module *, const char *, struct lock_class_key *) // with return type: (struct class)* struct class *__class_create(struct module *arg0, const char *arg1, struct lock_class_key *arg2) { // Pointer type return ldv_malloc(sizeof(struct class)); } // 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: __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: __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: __parport_register_driver // with type: int __parport_register_driver(struct parport_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int __parport_register_driver(struct parport_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: __register_chrdev // with type: int __register_chrdev(unsigned int, unsigned int, unsigned int, const char *, const struct file_operations *) // with return type: int int __VERIFIER_nondet_int(void); int __register_chrdev(unsigned int arg0, unsigned int arg1, unsigned int arg2, const char *arg3, const struct file_operations *arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: __unregister_chrdev // with type: void __unregister_chrdev(unsigned int, unsigned int, unsigned int, const char *) // with return type: void void __unregister_chrdev(unsigned int arg0, unsigned int arg1, unsigned int arg2, const char *arg3) { // Void type return; } // Function: _cond_resched // with type: int _cond_resched() // with return type: int int __VERIFIER_nondet_int(void); int _cond_resched() { // Simple type return __VERIFIER_nondet_int(); } // 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(); } // Skip function: calloc // Function: class_destroy // with type: void class_destroy(struct class *) // with return type: void void class_destroy(struct class *arg0) { // Void type return; } // Function: compat_get_timeval // with type: int compat_get_timeval(struct timeval *, const void *) // with return type: int int __VERIFIER_nondet_int(void); int compat_get_timeval(struct timeval *arg0, const void *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: device_create // with type: struct device *device_create(struct class *, struct device *, dev_t , void *, const char *, ...) // with return type: (struct device)* struct device *device_create(struct class *arg0, struct device *arg1, dev_t arg2, void *arg3, const char *arg4, ...) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: device_destroy // with type: void device_destroy(struct class *, dev_t ) // with return type: void void device_destroy(struct class *arg0, dev_t 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; } // Skip function: kfree // Function: ldv_close_1 // with type: int ldv_close_1() // with return type: int int __VERIFIER_nondet_int(void); int ldv_close_1() { // 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_open_1 // with type: int ldv_open_1() // with return type: int int __VERIFIER_nondet_int(void); int ldv_open_1() { // Simple type return __VERIFIER_nondet_int(); } // 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_probe_2 // with type: int ldv_probe_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_2() { // 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_release_2 // with type: int ldv_release_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_2() { // Simple type return __VERIFIER_nondet_int(); } // Skip function: malloc // Skip function: memchr // Skip function: memset // 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_lock_interruptible // with type: int mutex_lock_interruptible(struct mutex *) // with return type: int int __VERIFIER_nondet_int(void); int mutex_lock_interruptible(struct mutex *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: noop_llseek // with type: loff_t noop_llseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t noop_llseek(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: parport_claim // with type: int parport_claim(struct pardevice *) // with return type: int int __VERIFIER_nondet_int(void); int parport_claim(struct pardevice *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: parport_claim_or_block // with type: int parport_claim_or_block(struct pardevice *) // with return type: int int __VERIFIER_nondet_int(void); int parport_claim_or_block(struct pardevice *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: parport_negotiate // with type: int parport_negotiate(struct parport *, int) // with return type: int int __VERIFIER_nondet_int(void); int parport_negotiate(struct parport *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: parport_read // with type: ssize_t parport_read(struct parport *, void *, size_t ) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t parport_read(struct parport *arg0, void *arg1, size_t arg2) { // 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: parport_register_device // with type: struct pardevice *parport_register_device(struct parport *, const char *, int (*)(void *), void (*)(void *), void (*)(void *), int, void *) // with return type: (struct pardevice)* struct pardevice *parport_register_device(struct parport *arg0, const char *arg1, int (*arg2)(void *), void (*arg3)(void *), void (*arg4)(void *), int arg5, void *arg6) { // Pointer type return ldv_malloc(sizeof(struct pardevice)); } // Function: parport_release // with type: void parport_release(struct pardevice *) // with return type: void void parport_release(struct pardevice *arg0) { // Void type return; } // Function: parport_set_timeout // with type: long int parport_set_timeout(struct pardevice *, long) // with return type: long int long __VERIFIER_nondet_long(void); long int parport_set_timeout(struct pardevice *arg0, long arg1) { // Simple type return __VERIFIER_nondet_long(); } // Function: parport_unregister_device // with type: void parport_unregister_device(struct pardevice *) // with return type: void void parport_unregister_device(struct pardevice *arg0) { // Void type return; } // Function: parport_unregister_driver // with type: void parport_unregister_driver(struct parport_driver *) // with return type: void void parport_unregister_driver(struct parport_driver *arg0) { // Void type return; } // Function: parport_write // with type: ssize_t parport_write(struct parport *, const void *, size_t ) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t parport_write(struct parport *arg0, const void *arg1, size_t arg2) { // 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: 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: register_console // with type: void register_console(struct console *) // with return type: void void register_console(struct console *arg0) { // Void type return; } // 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: 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: strncmp // Function: unregister_console // with type: int unregister_console(struct console *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_console(struct console *arg0) { // 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(); }