// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // 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: __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: __ldv_spin_lock // with type: void __ldv_spin_lock(spinlock_t *) // with return type: void void __ldv_spin_lock(spinlock_t *arg0) { // 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: __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: __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: __request_module // with type: int __request_module(bool , const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __request_module(bool arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: _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: _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; } // Skip function: calloc // Function: cancel_delayed_work_sync // with type: bool cancel_delayed_work_sync(struct delayed_work *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_delayed_work_sync(struct delayed_work *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: find_first_zero_bit // with type: unsigned long int find_first_zero_bit(const unsigned long *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_first_zero_bit(const unsigned long *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: flush_work // with type: bool flush_work(struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool flush_work(struct work_struct *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: init_timer_key // with type: void init_timer_key(struct timer_list *, unsigned int, const char *, struct lock_class_key *) // with return type: void void init_timer_key(struct timer_list *arg0, unsigned int arg1, const char *arg2, struct lock_class_key *arg3) { // Void type return; } // 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_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // 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: ldv_switch_to_interrupt_context // with type: void ldv_switch_to_interrupt_context() // with return type: void void ldv_switch_to_interrupt_context() { // Void type return; } // Function: ldv_switch_to_process_context // with type: void ldv_switch_to_process_context() // with return type: void void ldv_switch_to_process_context() { // Void type return; } // 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: memcmp // Skip function: memcpy // Skip function: memset // 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: 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: queue_delayed_work_on // with type: bool queue_delayed_work_on(int, struct workqueue_struct *, struct delayed_work *, unsigned long) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_delayed_work_on(int arg0, struct workqueue_struct *arg1, struct delayed_work *arg2, unsigned long arg3) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: rc_allocate_device // with type: struct rc_dev *rc_allocate_device() // with return type: (struct rc_dev)* struct rc_dev *rc_allocate_device() { // Pointer type return ldv_malloc(sizeof(struct rc_dev)); } // Function: rc_free_device // with type: void rc_free_device(struct rc_dev *) // with return type: void void rc_free_device(struct rc_dev *arg0) { // Void type return; } // Function: rc_keydown // with type: void rc_keydown(struct rc_dev *, int, u8 ) // with return type: void void rc_keydown(struct rc_dev *arg0, int arg1, u8 arg2) { // Void type return; } // Function: rc_register_device // with type: int rc_register_device(struct rc_dev *) // with return type: int int __VERIFIER_nondet_int(void); int rc_register_device(struct rc_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: rc_unregister_device // with type: void rc_unregister_device(struct rc_dev *) // with return type: void void rc_unregister_device(struct rc_dev *arg0) { // Void type return; } // Skip function: snprintf // Skip function: strcpy // 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: 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_get_dev // with type: struct usb_device *usb_get_dev(struct usb_device *) // with return type: (struct usb_device)* struct usb_device *usb_get_dev(struct usb_device *arg0) { // Pointer type return ldv_malloc(sizeof(struct usb_device)); } // 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_put_dev // with type: void usb_put_dev(struct usb_device *) // with return type: void void usb_put_dev(struct usb_device *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_reset_configuration // with type: int usb_reset_configuration(struct usb_device *) // with return type: int int __VERIFIER_nondet_int(void); int usb_reset_configuration(struct usb_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: usb_unlink_urb // with type: int usb_unlink_urb(struct urb *) // with return type: int int __VERIFIER_nondet_int(void); int usb_unlink_urb(struct urb *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usleep_range // with type: void usleep_range(unsigned long, unsigned long) // with return type: void void usleep_range(unsigned long arg0, unsigned long arg1) { // Void type return; } // Function: v4l2_ctrl_add_handler // with type: int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *, struct v4l2_ctrl_handler *, bool (*)(const struct v4l2_ctrl *)) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *arg0, struct v4l2_ctrl_handler *arg1, bool (*arg2)(const struct v4l2_ctrl *)) { // 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_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_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_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_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_pending // with type: int v4l2_event_pending(struct v4l2_fh *) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_event_pending(struct v4l2_fh *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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_del // with type: void v4l2_fh_del(struct v4l2_fh *) // with return type: void void v4l2_fh_del(struct v4l2_fh *arg0) { // Void type return; } // Function: v4l2_fh_exit // with type: void v4l2_fh_exit(struct v4l2_fh *) // with return type: void void v4l2_fh_exit(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_get_timestamp // with type: void v4l2_get_timestamp(struct timeval *) // with return type: void void v4l2_get_timestamp(struct timeval *arg0) { // Void type return; } // Function: v4l2_i2c_new_subdev // with type: struct v4l2_subdev *v4l2_i2c_new_subdev(struct v4l2_device *, struct i2c_adapter *, const char *, u8 , const unsigned short *) // with return type: (struct v4l2_subdev)* struct v4l2_subdev *v4l2_i2c_new_subdev(struct v4l2_device *arg0, struct i2c_adapter *arg1, const char *arg2, u8 arg3, const unsigned short *arg4) { // Pointer type return ldv_malloc(sizeof(struct v4l2_subdev)); } // 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; } // Function: videobuf_dqbuf // with type: int videobuf_dqbuf(struct videobuf_queue *, struct v4l2_buffer *, int) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_dqbuf(struct videobuf_queue *arg0, struct v4l2_buffer *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_iolock // with type: int videobuf_iolock(struct videobuf_queue *, struct videobuf_buffer *, struct v4l2_framebuffer *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_iolock(struct videobuf_queue *arg0, struct videobuf_buffer *arg1, struct v4l2_framebuffer *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_mmap_free // with type: int videobuf_mmap_free(struct videobuf_queue *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_mmap_free(struct videobuf_queue *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_mmap_mapper // with type: int videobuf_mmap_mapper(struct videobuf_queue *, struct vm_area_struct *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_mmap_mapper(struct videobuf_queue *arg0, struct vm_area_struct *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_poll_stream // with type: unsigned int videobuf_poll_stream(struct file *, struct videobuf_queue *, poll_table *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int videobuf_poll_stream(struct file *arg0, struct videobuf_queue *arg1, poll_table *arg2) { // Simple type return __VERIFIER_nondet_uint(); } // Function: videobuf_qbuf // with type: int videobuf_qbuf(struct videobuf_queue *, struct v4l2_buffer *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_qbuf(struct videobuf_queue *arg0, struct v4l2_buffer *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_querybuf // with type: int videobuf_querybuf(struct videobuf_queue *, struct v4l2_buffer *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_querybuf(struct videobuf_queue *arg0, struct v4l2_buffer *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_queue_vmalloc_init // with type: void videobuf_queue_vmalloc_init(struct videobuf_queue *, const struct videobuf_queue_ops *, struct device *, spinlock_t *, enum v4l2_buf_type , enum v4l2_field , unsigned int, void *, struct mutex *) // with return type: void void videobuf_queue_vmalloc_init(struct videobuf_queue *arg0, const struct videobuf_queue_ops *arg1, struct device *arg2, spinlock_t *arg3, enum v4l2_buf_type arg4, enum v4l2_field arg5, unsigned int arg6, void *arg7, struct mutex *arg8) { // Void type return; } // Function: videobuf_read_stream // with type: ssize_t videobuf_read_stream(struct videobuf_queue *, char *, size_t , loff_t *, int, int) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t videobuf_read_stream(struct videobuf_queue *arg0, char *arg1, size_t arg2, loff_t *arg3, int arg4, int arg5) { // 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: videobuf_reqbufs // with type: int videobuf_reqbufs(struct videobuf_queue *, struct v4l2_requestbuffers *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_reqbufs(struct videobuf_queue *arg0, struct v4l2_requestbuffers *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_streamoff // with type: int videobuf_streamoff(struct videobuf_queue *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_streamoff(struct videobuf_queue *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_streamon // with type: int videobuf_streamon(struct videobuf_queue *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_streamon(struct videobuf_queue *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_to_vmalloc // with type: void *videobuf_to_vmalloc(struct videobuf_buffer *) // with return type: (void)* void *videobuf_to_vmalloc(struct videobuf_buffer *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: videobuf_vmalloc_free // with type: void videobuf_vmalloc_free(struct videobuf_buffer *) // with return type: void void videobuf_vmalloc_free(struct videobuf_buffer *arg0) { // Void type return; } // 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; }