// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_loff_t // Skip function: __VERIFIER_nondet_size_t // Skip function: __VERIFIER_nondet_ulong // Function: ___ratelimit // with type: int ___ratelimit(struct ratelimit_state *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int ___ratelimit(struct ratelimit_state *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: __alloc_skb // with type: struct sk_buff *__alloc_skb(unsigned int, gfp_t , int, int) // with return type: (struct sk_buff)* struct sk_buff *__alloc_skb(unsigned int arg0, gfp_t arg1, int arg2, int arg3) { // Pointer type struct sk_buff *skb = ldv_malloc(sizeof(struct sk_buff)); if(skb) { skb->head = ldv_malloc(arg0); skb->data = skb->head; skb->tail = 0; } return skb; } // 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: __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: __free_pages // with type: void __free_pages(struct page *, unsigned int) // with return type: void void __free_pages(struct page *arg0, unsigned int arg1) { // Void type return; } // Function: __genl_register_family // with type: int __genl_register_family(struct genl_family *) // with return type: int int __VERIFIER_nondet_int(void); int __genl_register_family(struct genl_family *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: __init_rwsem // with type: void __init_rwsem(struct rw_semaphore *, const char *, struct lock_class_key *) // with return type: void void __init_rwsem(struct rw_semaphore *arg0, const char *arg1, struct lock_class_key *arg2) { // 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: __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: __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: __list_del_entry // with type: void __list_del_entry(struct list_head *) // with return type: void void __list_del_entry(struct list_head *arg0) { // 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: __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: __netdev_alloc_skb // with type: struct sk_buff *__netdev_alloc_skb(struct net_device *, unsigned int, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *__netdev_alloc_skb(struct net_device *arg0, unsigned int arg1, gfp_t arg2) { // Pointer type struct sk_buff *skb = ldv_malloc(sizeof(struct sk_buff)); if(skb) { skb->dev = arg0; skb->head = ldv_malloc(arg1); skb->data = skb->head; skb->tail = 0; } return skb; } // Function: __raw_spin_lock_init // with type: void __raw_spin_lock_init(raw_spinlock_t *, const char *, struct lock_class_key *) // with return type: void void __raw_spin_lock_init(raw_spinlock_t *arg0, const char *arg1, struct lock_class_key *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: _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(); } // Function: _raw_spin_lock // with type: void _raw_spin_lock(raw_spinlock_t *) // with return type: void void _raw_spin_lock(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_unlock // with type: void _raw_spin_unlock(raw_spinlock_t *) // with return type: void void _raw_spin_unlock(raw_spinlock_t *arg0) { // 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: 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; } // Function: alloc_pages_current // with type: struct page *alloc_pages_current(gfp_t , unsigned int) // with return type: (struct page)* struct page *alloc_pages_current(gfp_t arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct page)); } // 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: capable // with type: bool capable(int) // with return type: bool bool __VERIFIER_nondet_bool(void); bool capable(int arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *arg0) { // Void type return; } // Function: config_group_find_item // with type: struct config_item *config_group_find_item(struct config_group *, const char *) // with return type: (struct config_item)* struct config_item *config_group_find_item(struct config_group *arg0, const char *arg1) { // Pointer type return ldv_malloc(sizeof(struct config_item)); } // Function: config_group_init // with type: void config_group_init(struct config_group *) // with return type: void void config_group_init(struct config_group *arg0) { // Void type return; } // Function: config_group_init_type_name // with type: void config_group_init_type_name(struct config_group *, const char *, struct config_item_type *) // with return type: void void config_group_init_type_name(struct config_group *arg0, const char *arg1, struct config_item_type *arg2) { // Void type return; } // Function: config_item_get // with type: struct config_item *config_item_get(struct config_item *) // with return type: (struct config_item)* struct config_item *config_item_get(struct config_item *arg0) { // Pointer type return ldv_malloc(sizeof(struct config_item)); } // Function: config_item_init_type_name // with type: void config_item_init_type_name(struct config_item *, const char *, struct config_item_type *) // with return type: void void config_item_init_type_name(struct config_item *arg0, const char *arg1, struct config_item_type *arg2) { // Void type return; } // Function: config_item_put // with type: void config_item_put(struct config_item *) // with return type: void void config_item_put(struct config_item *arg0) { // Void type return; } // Function: configfs_register_subsystem // with type: int configfs_register_subsystem(struct configfs_subsystem *) // with return type: int int __VERIFIER_nondet_int(void); int configfs_register_subsystem(struct configfs_subsystem *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: configfs_unregister_subsystem // with type: void configfs_unregister_subsystem(struct configfs_subsystem *) // with return type: void void configfs_unregister_subsystem(struct configfs_subsystem *arg0) { // Void type return; } // Function: debug_lockdep_rcu_enabled // with type: int debug_lockdep_rcu_enabled() // with return type: int int __VERIFIER_nondet_int(void); int debug_lockdep_rcu_enabled() { // Simple type return __VERIFIER_nondet_int(); } // Function: debugfs_create_dir // with type: struct dentry *debugfs_create_dir(const char *, struct dentry *) // with return type: (struct dentry)* struct dentry *debugfs_create_dir(const char *arg0, struct dentry *arg1) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_create_file // with type: struct dentry *debugfs_create_file(const char *, umode_t , struct dentry *, void *, const struct file_operations *) // with return type: (struct dentry)* struct dentry *debugfs_create_file(const char *arg0, umode_t arg1, struct dentry *arg2, void *arg3, const struct file_operations *arg4) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_remove // with type: void debugfs_remove(struct dentry *) // with return type: void void debugfs_remove(struct dentry *arg0) { // Void type return; } // Function: default_llseek // with type: loff_t default_llseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t default_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: 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: down_read // with type: void down_read(struct rw_semaphore *) // with return type: void void down_read(struct rw_semaphore *arg0) { // Void type return; } // Function: down_read_trylock // with type: int down_read_trylock(struct rw_semaphore *) // with return type: int int __VERIFIER_nondet_int(void); int down_read_trylock(struct rw_semaphore *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: down_write // with type: void down_write(struct rw_semaphore *) // with return type: void void down_write(struct rw_semaphore *arg0) { // 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: 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: genl_unregister_family // with type: int genl_unregister_family(struct genl_family *) // with return type: int int __VERIFIER_nondet_int(void); int genl_unregister_family(struct genl_family *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: genlmsg_put // with type: void *genlmsg_put(struct sk_buff *, u32 , u32 , struct genl_family *, int, u8 ) // with return type: (void)* void *genlmsg_put(struct sk_buff *arg0, u32 arg1, u32 arg2, struct genl_family *arg3, int arg4, u8 arg5) { // Pointer type return ldv_malloc(0UL); } // Function: get_random_bytes // with type: void get_random_bytes(void *, int) // with return type: void void get_random_bytes(void *arg0, int arg1) { // Void type return; } // Function: idr_alloc // with type: int idr_alloc(struct idr *, void *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int idr_alloc(struct idr *arg0, void *arg1, int arg2, int arg3, gfp_t arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_destroy // with type: void idr_destroy(struct idr *) // with return type: void void idr_destroy(struct idr *arg0) { // Void type return; } // Function: idr_find_slowpath // with type: void *idr_find_slowpath(struct idr *, int) // with return type: (void)* void *idr_find_slowpath(struct idr *arg0, int arg1) { // Pointer type return ldv_malloc(0UL); } // Function: idr_for_each // with type: int idr_for_each(struct idr *, int (*)(int, void *, void *), void *) // with return type: int int __VERIFIER_nondet_int(void); int idr_for_each(struct idr *arg0, int (*arg1)(int, void *, void *), void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_get_next // with type: void *idr_get_next(struct idr *, int *) // with return type: (void)* void *idr_get_next(struct idr *arg0, int *arg1) { // Pointer type return ldv_malloc(0UL); } // Function: idr_init // with type: void idr_init(struct idr *) // with return type: void void idr_init(struct idr *arg0) { // Void type return; } // Function: idr_preload // with type: void idr_preload(gfp_t ) // with return type: void void idr_preload(gfp_t arg0) { // Void type return; } // Function: idr_remove // with type: void idr_remove(struct idr *, int) // with return type: void void idr_remove(struct idr *arg0, int arg1) { // Void type return; } // Function: jiffies_to_msecs // with type: unsigned int jiffies_to_msecs(const unsigned long) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int jiffies_to_msecs(const unsigned long arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: jiffies_to_usecs // with type: unsigned int jiffies_to_usecs(const unsigned long) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int jiffies_to_usecs(const unsigned long arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: kernel_bind // with type: int kernel_bind(struct socket *, struct sockaddr *, int) // with return type: int int __VERIFIER_nondet_int(void); int kernel_bind(struct socket *arg0, struct sockaddr *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: kernel_getsockopt // with type: int kernel_getsockopt(struct socket *, int, int, char *, int *) // with return type: int int __VERIFIER_nondet_int(void); int kernel_getsockopt(struct socket *arg0, int arg1, int arg2, char *arg3, int *arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: kernel_recvmsg // with type: int kernel_recvmsg(struct socket *, struct msghdr *, struct kvec *, size_t , size_t , int) // with return type: int int __VERIFIER_nondet_int(void); int kernel_recvmsg(struct socket *arg0, struct msghdr *arg1, struct kvec *arg2, size_t arg3, size_t arg4, int arg5) { // Simple type return __VERIFIER_nondet_int(); } // Function: kernel_sendmsg // with type: int kernel_sendmsg(struct socket *, struct msghdr *, struct kvec *, size_t , size_t ) // with return type: int int __VERIFIER_nondet_int(void); int kernel_sendmsg(struct socket *arg0, struct msghdr *arg1, struct kvec *arg2, size_t arg3, size_t arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: kernel_sendpage // with type: int kernel_sendpage(struct socket *, struct page *, int, size_t , int) // with return type: int int __VERIFIER_nondet_int(void); int kernel_sendpage(struct socket *arg0, struct page *arg1, int arg2, size_t arg3, int arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: kernel_setsockopt // with type: int kernel_setsockopt(struct socket *, int, int, char *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int kernel_setsockopt(struct socket *arg0, int arg1, int arg2, char *arg3, unsigned int arg4) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: kfree // Function: kfree_skb // with type: void kfree_skb(struct sk_buff *) // with return type: void void kfree_skb(struct sk_buff *arg0) { // Void type return; } // 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: kmem_cache_create // with type: struct kmem_cache *kmem_cache_create(const char *, size_t , size_t , unsigned long, void (*)(void *)) // with return type: (struct kmem_cache)* struct kmem_cache *kmem_cache_create(const char *arg0, size_t arg1, size_t arg2, unsigned long arg3, void (*arg4)(void *)) { // Pointer type return ldv_malloc(sizeof(struct kmem_cache)); } // Function: kmem_cache_destroy // with type: void kmem_cache_destroy(struct kmem_cache *) // with return type: void void kmem_cache_destroy(struct kmem_cache *arg0) { // Void type return; } // Function: kmem_cache_free // with type: void kmem_cache_free(struct kmem_cache *, void *) // with return type: void void kmem_cache_free(struct kmem_cache *arg0, void *arg1) { // Void type return; } // Function: kobject_init_and_add // with type: int kobject_init_and_add(struct kobject *, struct kobj_type *, struct kobject *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int kobject_init_and_add(struct kobject *arg0, struct kobj_type *arg1, struct kobject *arg2, const char *arg3, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: kobject_put // with type: void kobject_put(struct kobject *) // with return type: void void kobject_put(struct kobject *arg0) { // Void type return; } // Function: kobject_uevent // with type: int kobject_uevent(struct kobject *, enum kobject_action ) // with return type: int int __VERIFIER_nondet_int(void); int kobject_uevent(struct kobject *arg0, enum kobject_action arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: kset_create_and_add // with type: struct kset *kset_create_and_add(const char *, const struct kset_uevent_ops *, struct kobject *) // with return type: (struct kset)* struct kset *kset_create_and_add(const char *arg0, const struct kset_uevent_ops *arg1, struct kobject *arg2) { // Pointer type return ldv_malloc(sizeof(struct kset)); } // Function: kset_unregister // with type: void kset_unregister(struct kset *) // with return type: void void kset_unregister(struct kset *arg0) { // Void type return; } // 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: 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: 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: ktime_get // with type: ktime_t ktime_get() // with return type: ktime_t ktime_t ktime_get() { // Typedef type // Real type: union ktime // Composite type return *(union ktime *)ldv_xmalloc(sizeof(union ktime)); } // 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_open_13 // with type: int ldv_open_13() // with return type: int int __VERIFIER_nondet_int(void); int ldv_open_13() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_probe_15 // with type: int ldv_probe_15() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_15() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_probe_23 // with type: int ldv_probe_23() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_23() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_probe_25 // with type: int ldv_probe_25() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_25() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_probe_27 // with type: int ldv_probe_27() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_27() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_probe_29 // with type: int ldv_probe_29() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_29() { // 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_13 // with type: int ldv_release_13() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_13() { // 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: list_del // with type: void list_del(struct list_head *) // with return type: void void list_del(struct list_head *arg0) { // Void type return; } // Function: lock_is_held // with type: int lock_is_held(struct lockdep_map *) // with return type: int int __VERIFIER_nondet_int(void); int lock_is_held(struct lockdep_map *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: lock_sock_nested // with type: void lock_sock_nested(struct sock *, int) // with return type: void void lock_sock_nested(struct sock *arg0, int arg1) { // Void type return; } // 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; } // Function: locks_copy_lock // with type: void locks_copy_lock(struct file_lock *, struct file_lock *) // with return type: void void locks_copy_lock(struct file_lock *arg0, struct file_lock *arg1) { // Void type return; } // Function: locks_init_lock // with type: void locks_init_lock(struct file_lock *) // with return type: void void locks_init_lock(struct file_lock *arg0) { // Void type return; } // Skip function: malloc // Skip function: memcmp // Skip function: memcpy // Skip function: memset // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // 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: module_put // with type: void module_put(struct module *) // with return type: void void module_put(struct module *arg0) { // Void type return; } // 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: netlink_unicast // with type: int netlink_unicast(struct sock *, struct sk_buff *, __u32 , int) // with return type: int int __VERIFIER_nondet_int(void); int netlink_unicast(struct sock *arg0, struct sk_buff *arg1, __u32 arg2, int arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: nla_reserve // with type: struct nlattr *nla_reserve(struct sk_buff *, int, int) // with return type: (struct nlattr)* struct nlattr *nla_reserve(struct sk_buff *arg0, int arg1, int arg2) { // Pointer type return ldv_malloc(sizeof(struct nlattr)); } // 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: ns_to_timeval // with type: struct timeval ns_to_timeval(const s64 ) // with return type: struct timeval struct timeval ns_to_timeval(const s64 arg0) { // Composite type return *(struct timeval *)ldv_xmalloc(sizeof(struct timeval)); } // Function: posix_lock_file // with type: int posix_lock_file(struct file *, struct file_lock *, struct file_lock *) // with return type: int int __VERIFIER_nondet_int(void); int posix_lock_file(struct file *arg0, struct file_lock *arg1, struct file_lock *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: posix_lock_file_wait // with type: int posix_lock_file_wait(struct file *, struct file_lock *) // with return type: int int __VERIFIER_nondet_int(void); int posix_lock_file_wait(struct file *arg0, struct file_lock *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: print_hex_dump // with type: void print_hex_dump(const char *, const char *, int, int, int, const void *, size_t , bool ) // with return type: void void print_hex_dump(const char *arg0, const char *arg1, int arg2, int arg3, int arg4, const void *arg5, size_t arg6, bool arg7) { // 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: pskb_expand_head // with type: int pskb_expand_head(struct sk_buff *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int pskb_expand_head(struct sk_buff *arg0, int arg1, int arg2, gfp_t arg3) { // 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: rb_erase // with type: void rb_erase(struct rb_node *, struct rb_root *) // with return type: void void rb_erase(struct rb_node *arg0, struct rb_root *arg1) { // Void type return; } // Function: rb_first // with type: struct rb_node *rb_first(const struct rb_root *) // with return type: (struct rb_node)* struct rb_node *rb_first(const struct rb_root *arg0) { // Pointer type return ldv_malloc(sizeof(struct rb_node)); } // Function: rb_insert_color // with type: void rb_insert_color(struct rb_node *, struct rb_root *) // with return type: void void rb_insert_color(struct rb_node *arg0, struct rb_root *arg1) { // Void type return; } // Function: rb_next // with type: struct rb_node *rb_next(const struct rb_node *) // with return type: (struct rb_node)* struct rb_node *rb_next(const struct rb_node *arg0) { // Pointer type return ldv_malloc(sizeof(struct rb_node)); } // Function: rcu_is_watching // with type: bool rcu_is_watching() // with return type: bool bool __VERIFIER_nondet_bool(void); bool rcu_is_watching() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: rcu_lockdep_current_cpu_online // with type: bool rcu_lockdep_current_cpu_online() // with return type: bool bool __VERIFIER_nondet_bool(void); bool rcu_lockdep_current_cpu_online() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: release_sock // with type: void release_sock(struct sock *) // with return type: void void release_sock(struct sock *arg0) { // Void type return; } // 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: 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: schedule_timeout_interruptible // with type: long int schedule_timeout_interruptible(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout_interruptible(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: sctp_do_peeloff // with type: int sctp_do_peeloff(struct sock *, sctp_assoc_t , struct socket **) // with return type: int int __VERIFIER_nondet_int(void); int sctp_do_peeloff(struct sock *arg0, sctp_assoc_t arg1, struct socket **arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: seq_lseek // with type: loff_t seq_lseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t seq_lseek(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: seq_open // with type: int seq_open(struct file *, const struct seq_operations *) // with return type: int int __VERIFIER_nondet_int(void); int seq_open(struct file *arg0, const struct seq_operations *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: seq_printf // with type: int seq_printf(struct seq_file *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int seq_printf(struct seq_file *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: seq_puts // with type: int seq_puts(struct seq_file *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int seq_puts(struct seq_file *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: seq_read // with type: ssize_t seq_read(struct file *, char *, size_t , loff_t *) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t seq_read(struct file *arg0, char *arg1, size_t arg2, loff_t *arg3) { // 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: seq_release // with type: int seq_release(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int seq_release(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: simple_open // with type: int simple_open(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int simple_open(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: simple_read_from_buffer // with type: ssize_t simple_read_from_buffer(void *, size_t , loff_t *, const void *, size_t ) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t simple_read_from_buffer(void *arg0, size_t arg1, loff_t *arg2, const void *arg3, size_t arg4) { // 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: skb_clone // with type: struct sk_buff *skb_clone(struct sk_buff *, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *skb_clone(struct sk_buff *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // Function: skb_copy // with type: struct sk_buff *skb_copy(const struct sk_buff *, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *skb_copy(const struct sk_buff *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // Skip function: snprintf // Function: sock_create_kern // with type: int sock_create_kern(int, int, int, struct socket **) // with return type: int int __VERIFIER_nondet_int(void); int sock_create_kern(int arg0, int arg1, int arg2, struct socket **arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: sock_release // with type: void sock_release(struct socket *) // with return type: void void sock_release(struct socket *arg0) { // Void type return; } // Skip function: sprintf // Skip function: strcat // 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: 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: up_read // with type: void up_read(struct rw_semaphore *) // with return type: void void up_read(struct rw_semaphore *arg0) { // Void type return; } // Function: up_write // with type: void up_write(struct rw_semaphore *) // with return type: void void up_write(struct rw_semaphore *arg0) { // Void type return; } // Function: vfree // with type: void vfree(const void *) // with return type: void void vfree(const void *arg0) { // Void type return; } // Function: vmalloc // with type: void *vmalloc(unsigned long) // with return type: (void)* void *vmalloc(unsigned long arg0) { // Pointer type return ldv_malloc(arg0); } // Function: wait_for_completion // with type: void wait_for_completion(struct completion *) // with return type: void void wait_for_completion(struct completion *arg0) { // Void type return; } // 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(); }