// 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 // Skip function: __VERIFIER_nondet_ushort // 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: __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: __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: _dev_info // with type: int _dev_info(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int _dev_info(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: _raw_spin_lock_irqsave // with type: unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: 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: 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: dev_warn // with type: int dev_warn(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_warn(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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; } // Skip function: kfree // 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(); } // Function: ldv_probe_3 // with type: int ldv_probe_3() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_3() { // 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: list_del // with type: void list_del(struct list_head *) // with return type: void void list_del(struct list_head *arg0) { // Void type return; } // Skip function: malloc // 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: 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: 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: snd_ac97_bus // with type: int snd_ac97_bus(struct snd_card *, int, struct snd_ac97_bus_ops *, void *, struct snd_ac97_bus **) // with return type: int int __VERIFIER_nondet_int(void); int snd_ac97_bus(struct snd_card *arg0, int arg1, struct snd_ac97_bus_ops *arg2, void *arg3, struct snd_ac97_bus **arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: snd_ac97_mixer // with type: int snd_ac97_mixer(struct snd_ac97_bus *, struct snd_ac97_template *, struct snd_ac97 **) // with return type: int int __VERIFIER_nondet_int(void); int snd_ac97_mixer(struct snd_ac97_bus *arg0, struct snd_ac97_template *arg1, struct snd_ac97 **arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: snd_card_create // with type: int snd_card_create(int, const char *, struct module *, int, struct snd_card **) // with return type: int int __VERIFIER_nondet_int(void); int snd_card_create(int arg0, const char *arg1, struct module *arg2, int arg3, struct snd_card **arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: snd_card_free // with type: int snd_card_free(struct snd_card *) // with return type: int int __VERIFIER_nondet_int(void); int snd_card_free(struct snd_card *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: snd_card_register // with type: int snd_card_register(struct snd_card *) // with return type: int int __VERIFIER_nondet_int(void); int snd_card_register(struct snd_card *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: snprintf // Skip function: sprintf // Skip function: strcpy // 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: 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_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_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_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: 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_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_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_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_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: vb2_buffer_done // with type: void vb2_buffer_done(struct vb2_buffer *, enum vb2_buffer_state ) // with return type: void void vb2_buffer_done(struct vb2_buffer *arg0, enum vb2_buffer_state arg1) { // Void type return; } // Function: vb2_fop_mmap // with type: int vb2_fop_mmap(struct file *, struct vm_area_struct *) // with return type: int int __VERIFIER_nondet_int(void); int vb2_fop_mmap(struct file *arg0, struct vm_area_struct *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_fop_poll // with type: unsigned int vb2_fop_poll(struct file *, poll_table *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int vb2_fop_poll(struct file *arg0, poll_table *arg1) { // Simple type return __VERIFIER_nondet_uint(); } // Function: vb2_fop_read // with type: ssize_t vb2_fop_read(struct file *, char *, size_t , loff_t *) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t vb2_fop_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: vb2_fop_release // with type: int vb2_fop_release(struct file *) // with return type: int int __VERIFIER_nondet_int(void); int vb2_fop_release(struct file *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_ioctl_dqbuf // with type: int vb2_ioctl_dqbuf(struct file *, void *, struct v4l2_buffer *) // with return type: int int __VERIFIER_nondet_int(void); int vb2_ioctl_dqbuf(struct file *arg0, void *arg1, struct v4l2_buffer *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_ioctl_qbuf // with type: int vb2_ioctl_qbuf(struct file *, void *, struct v4l2_buffer *) // with return type: int int __VERIFIER_nondet_int(void); int vb2_ioctl_qbuf(struct file *arg0, void *arg1, struct v4l2_buffer *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_ioctl_querybuf // with type: int vb2_ioctl_querybuf(struct file *, void *, struct v4l2_buffer *) // with return type: int int __VERIFIER_nondet_int(void); int vb2_ioctl_querybuf(struct file *arg0, void *arg1, struct v4l2_buffer *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_ioctl_reqbufs // with type: int vb2_ioctl_reqbufs(struct file *, void *, struct v4l2_requestbuffers *) // with return type: int int __VERIFIER_nondet_int(void); int vb2_ioctl_reqbufs(struct file *arg0, void *arg1, struct v4l2_requestbuffers *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_ioctl_streamoff // with type: int vb2_ioctl_streamoff(struct file *, void *, enum v4l2_buf_type ) // with return type: int int __VERIFIER_nondet_int(void); int vb2_ioctl_streamoff(struct file *arg0, void *arg1, enum v4l2_buf_type arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_ioctl_streamon // with type: int vb2_ioctl_streamon(struct file *, void *, enum v4l2_buf_type ) // with return type: int int __VERIFIER_nondet_int(void); int vb2_ioctl_streamon(struct file *arg0, void *arg1, enum v4l2_buf_type arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: vb2_ops_wait_finish // with type: void vb2_ops_wait_finish(struct vb2_queue *) // with return type: void void vb2_ops_wait_finish(struct vb2_queue *arg0) { // Void type return; } // Function: vb2_ops_wait_prepare // with type: void vb2_ops_wait_prepare(struct vb2_queue *) // with return type: void void vb2_ops_wait_prepare(struct vb2_queue *arg0) { // Void type return; } // Function: vb2_plane_vaddr // with type: void *vb2_plane_vaddr(struct vb2_buffer *, unsigned int) // with return type: (void)* void *vb2_plane_vaddr(struct vb2_buffer *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(0UL); } // Function: vb2_queue_init // with type: int vb2_queue_init(struct vb2_queue *) // with return type: int int __VERIFIER_nondet_int(void); int vb2_queue_init(struct vb2_queue *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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; }