// 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: __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: __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: __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: 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: int dev_err(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_err(const struct device *arg0, const char *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: flush_workqueue // with type: void flush_workqueue(struct workqueue_struct *) // with return type: void void flush_workqueue(struct workqueue_struct *arg0) { // Void type return; } // Skip function: free // Function: i2c_add_adapter // with type: int i2c_add_adapter(struct i2c_adapter *) // with return type: int int __VERIFIER_nondet_int(void); int i2c_add_adapter(struct i2c_adapter *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: i2c_del_adapter // with type: void i2c_del_adapter(struct i2c_adapter *) // with return type: void void i2c_del_adapter(struct i2c_adapter *arg0) { // Void type return; } // Function: i2c_new_device // with type: struct i2c_client *i2c_new_device(struct i2c_adapter *, const struct i2c_board_info *) // with return type: (struct i2c_client)* struct i2c_client *i2c_new_device(struct i2c_adapter *arg0, const struct i2c_board_info *arg1) { // Pointer type return ldv_malloc(sizeof(struct i2c_client)); } // Skip function: kfree // Function: ldv_after_alloc // with type: void ldv_after_alloc(void *) // with return type: void void ldv_after_alloc(void *arg0) { // Void type return; } // Function: ldv_assert // with type: void ldv_assert(const char *, int) // with return type: void void ldv_assert(const char *arg0, int arg1) { // Void type return; } // Function: ldv_check_alloc_flags // with type: void ldv_check_alloc_flags(gfp_t ) // with return type: void void ldv_check_alloc_flags(gfp_t arg0) { // Void type return; } // Function: ldv_pre_probe // with type: void ldv_pre_probe() // with return type: void void ldv_pre_probe() { // Void type return; } // Function: ldv_pre_usb_register_driver // with type: int ldv_pre_usb_register_driver() // with return type: int int __VERIFIER_nondet_int(void); int ldv_pre_usb_register_driver() { // Simple type return __VERIFIER_nondet_int(); } // 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: 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: memcpy // Skip function: memset // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // 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: 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: 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 // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Skip function: snprintf // Skip function: strcpy // Skip function: strncpy // 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_alloc_urb // with type: struct urb *usb_alloc_urb(int, gfp_t ) // with return type: (struct urb)* struct urb *usb_alloc_urb(int arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct urb)); } // Function: usb_bulk_msg // with type: int usb_bulk_msg(struct usb_device *, unsigned int, void *, int, int *, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_bulk_msg(struct usb_device *arg0, unsigned int arg1, void *arg2, int arg3, int *arg4, int arg5) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_control_msg // with type: int usb_control_msg(struct usb_device *, unsigned int, __u8 , __u8 , __u16 , __u16 , void *, __u16 , int) // with return type: int int __VERIFIER_nondet_int(void); int usb_control_msg(struct usb_device *arg0, unsigned int arg1, __u8 arg2, __u8 arg3, __u16 arg4, __u16 arg5, void *arg6, __u16 arg7, int arg8) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_deregister // with type: void usb_deregister(struct usb_driver *) // with return type: void void usb_deregister(struct usb_driver *arg0) { // Void type return; } // 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_free_urb // with type: void usb_free_urb(struct urb *) // with return type: void void usb_free_urb(struct urb *arg0) { // Void type return; } // 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_register_driver // with type: int usb_register_driver(struct usb_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int usb_register_driver(struct usb_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_submit_urb // with type: int usb_submit_urb(struct urb *, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int usb_submit_urb(struct urb *arg0, gfp_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_ctrl_activate // with type: void v4l2_ctrl_activate(struct v4l2_ctrl *, bool ) // with return type: void void v4l2_ctrl_activate(struct v4l2_ctrl *arg0, bool arg1) { // Void type return; } // Function: v4l2_ctrl_cluster // with type: void v4l2_ctrl_cluster(unsigned int, struct v4l2_ctrl **) // with return type: void void v4l2_ctrl_cluster(unsigned int arg0, struct v4l2_ctrl **arg1) { // Void type return; } // 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_init_class // with type: int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *, unsigned int, struct lock_class_key *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *arg0, unsigned int arg1, struct lock_class_key *arg2, const char *arg3) { // Simple type return __VERIFIER_nondet_int(); } // 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_log_status // with type: int v4l2_ctrl_log_status(struct file *, void *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_ctrl_log_status(struct file *arg0, void *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_ctrl_new_std // with type: struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *, const struct v4l2_ctrl_ops *, u32 , s32 , s32 , u32 , s32 ) // with return type: (struct v4l2_ctrl)* struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *arg0, const struct v4l2_ctrl_ops *arg1, u32 arg2, s32 arg3, s32 arg4, u32 arg5, s32 arg6) { // Pointer type return ldv_malloc(sizeof(struct v4l2_ctrl)); } // Function: v4l2_ctrl_new_std_menu // with type: struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *, const struct v4l2_ctrl_ops *, u32 , s32 , s32 , s32 ) // with return type: (struct v4l2_ctrl)* struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *arg0, const struct v4l2_ctrl_ops *arg1, u32 arg2, s32 arg3, s32 arg4, s32 arg5) { // Pointer type return ldv_malloc(sizeof(struct v4l2_ctrl)); } // 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_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_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_add // with type: void v4l2_fh_add(struct v4l2_fh *) // with return type: void void v4l2_fh_add(struct v4l2_fh *arg0) { // Void type return; } // Function: v4l2_fh_init // with type: void v4l2_fh_init(struct v4l2_fh *, struct video_device *) // with return type: void void v4l2_fh_init(struct v4l2_fh *arg0, struct video_device *arg1) { // Void type return; } // 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: v4l2_match_dv_timings // with type: bool v4l2_match_dv_timings(const struct v4l2_dv_timings *, const struct v4l2_dv_timings *, unsigned int) // with return type: bool bool __VERIFIER_nondet_bool(void); bool v4l2_match_dv_timings(const struct v4l2_dv_timings *arg0, const struct v4l2_dv_timings *arg1, unsigned int arg2) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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_alloc // with type: struct video_device *video_device_alloc() // with return type: (struct video_device)* struct video_device *video_device_alloc() { // Pointer type return ldv_malloc(sizeof(struct video_device)); } // Function: video_device_release // with type: void video_device_release(struct video_device *) // with return type: void void video_device_release(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; }