// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_size_t // Skip function: __VERIFIER_nondet_uint // Skip function: __VERIFIER_nondet_ulong // 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: __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: __video_register_device // with type: int __video_register_device(struct video_device *, int, int, int, struct module *) // with return type: int int __VERIFIER_nondet_int(void); int __video_register_device(struct video_device *arg0, int arg1, int arg2, int arg3, struct module *arg4) { // Simple type return __VERIFIER_nondet_int(); } // 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_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: dev_get_drvdata // with type: void *dev_get_drvdata(const struct device *) // with return type: (void)* void *dev_get_drvdata(const struct device *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: dev_set_drvdata // with type: int dev_set_drvdata(struct device *, void *) // with return type: int int __VERIFIER_nondet_int(void); int dev_set_drvdata(struct device *arg0, void *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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; } // Skip function: kfree // 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_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // 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(); } // Skip function: malloc // 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: module_put // with type: void module_put(struct module *) // with return type: void void module_put(struct module *arg0) { // 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: 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: 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: 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: 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(); } // Skip function: snprintf // Function: strlcat // with type: size_t strlcat(char *, const char *, __kernel_size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t strlcat(char *arg0, const char *arg1, __kernel_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(); } // 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(); } // 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: usb_alloc_coherent // with type: void *usb_alloc_coherent(struct usb_device *, size_t , gfp_t , dma_addr_t *) // with return type: (void)* void *usb_alloc_coherent(struct usb_device *arg0, size_t arg1, gfp_t arg2, dma_addr_t *arg3) { // Pointer type return ldv_malloc(0UL); } // Function: usb_clear_halt // with type: int usb_clear_halt(struct usb_device *, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_clear_halt(struct usb_device *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_free_coherent // with type: void usb_free_coherent(struct usb_device *, size_t , void *, dma_addr_t ) // with return type: void void usb_free_coherent(struct usb_device *arg0, size_t arg1, void *arg2, dma_addr_t arg3) { // Void type return; } // Function: usb_ifnum_to_if // with type: struct usb_interface *usb_ifnum_to_if(const struct usb_device *, unsigned int) // with return type: (struct usb_interface)* struct usb_interface *usb_ifnum_to_if(const struct usb_device *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct usb_interface)); } // Function: usb_kill_urb // with type: void usb_kill_urb(struct urb *) // with return type: void void usb_kill_urb(struct urb *arg0) { // Void type return; } // Function: usb_set_interface // with type: int usb_set_interface(struct usb_device *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_set_interface(struct usb_device *arg0, int arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_ctrl_g_ctrl // with type: s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *) // with return type: s32 int __VERIFIER_nondet_int(void); s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *arg0) { // Typedef type // Real type: int // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_ctrl_handler_free // with type: void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *) // with return type: void void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *arg0) { // Void type return; } // Function: v4l2_ctrl_handler_setup // with type: int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_ctrl_poll // with type: unsigned int v4l2_ctrl_poll(struct file *, struct poll_table_struct *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int v4l2_ctrl_poll(struct file *arg0, struct poll_table_struct *arg1) { // Simple type return __VERIFIER_nondet_uint(); } // Function: v4l2_ctrl_s_ctrl // with type: int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *, s32 ) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *arg0, s32 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_ctrl_subscribe_event // with type: int v4l2_ctrl_subscribe_event(struct v4l2_fh *, const struct v4l2_event_subscription *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_ctrl_subscribe_event(struct v4l2_fh *arg0, const struct v4l2_event_subscription *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_device_disconnect // with type: void v4l2_device_disconnect(struct v4l2_device *) // with return type: void void v4l2_device_disconnect(struct v4l2_device *arg0) { // Void type return; } // Function: v4l2_device_put // with type: int v4l2_device_put(struct v4l2_device *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_device_put(struct v4l2_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_device_register // with type: int v4l2_device_register(struct device *, struct v4l2_device *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_device_register(struct device *arg0, struct v4l2_device *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_device_unregister // with type: void v4l2_device_unregister(struct v4l2_device *) // with return type: void void v4l2_device_unregister(struct v4l2_device *arg0) { // Void type return; } // Function: v4l2_event_unsubscribe // with type: int v4l2_event_unsubscribe(struct v4l2_fh *, const struct v4l2_event_subscription *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_event_unsubscribe(struct v4l2_fh *arg0, const struct v4l2_event_subscription *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_fh_open // with type: int v4l2_fh_open(struct file *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_fh_open(struct file *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_fh_release // with type: int v4l2_fh_release(struct file *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_fh_release(struct file *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: vfree // with type: void vfree(const void *) // with return type: void void vfree(const void *arg0) { // Void type return; } // Function: video_devdata // with type: struct video_device *video_devdata(struct file *) // with return type: (struct video_device)* struct video_device *video_devdata(struct file *arg0) { // Pointer type return ldv_malloc(sizeof(struct video_device)); } // Function: video_device_release_empty // with type: void video_device_release_empty(struct video_device *) // with return type: void void video_device_release_empty(struct video_device *arg0) { // Void type return; } // Function: video_ioctl2 // with type: long int video_ioctl2(struct file *, unsigned int, unsigned long) // with return type: long int long __VERIFIER_nondet_long(void); long int video_ioctl2(struct file *arg0, unsigned int arg1, unsigned long arg2) { // Simple type return __VERIFIER_nondet_long(); } // Function: video_unregister_device // with type: void video_unregister_device(struct video_device *) // with return type: void void video_unregister_device(struct video_device *arg0) { // Void type return; } // Function: vm_insert_page // with type: int vm_insert_page(struct vm_area_struct *, unsigned long, struct page *) // with return type: int int __VERIFIER_nondet_int(void); int vm_insert_page(struct vm_area_struct *arg0, unsigned long arg1, struct page *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vmalloc_32 // with type: void *vmalloc_32(unsigned long) // with return type: (void)* void *vmalloc_32(unsigned long arg0) { // Pointer type return ldv_malloc(0UL); } // Function: vmalloc_to_page // with type: struct page *vmalloc_to_page(const void *) // with return type: (struct page)* struct page *vmalloc_to_page(const void *arg0) { // Pointer type return ldv_malloc(sizeof(struct page)); } // 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(); }