// 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: __dma_request_channel // with type: struct dma_chan *__dma_request_channel(const dma_cap_mask_t *, bool (*)(struct dma_chan *, void *), void *) // with return type: (struct dma_chan)* struct dma_chan *__dma_request_channel(const dma_cap_mask_t *arg0, bool (*arg1)(struct dma_chan *, void *), void *arg2) { // Pointer type return ldv_malloc(sizeof(struct dma_chan)); } // Function: __dynamic_dev_dbg // with type: int __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *arg1, const char *arg2, ...) { // 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: __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: __platform_driver_register // with type: int __platform_driver_register(struct platform_driver *, struct module *) // with return type: int int __VERIFIER_nondet_int(void); int __platform_driver_register(struct platform_driver *arg0, struct module *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: __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: _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 // 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_lock_irq // with type: void _raw_spin_lock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_lock_irq(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_irq // with type: void _raw_spin_unlock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_irq(raw_spinlock_t *arg0) { // 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: devm_kmalloc // with type: void *devm_kmalloc(struct device *, size_t , gfp_t ) // with return type: (void)* void *devm_kmalloc(struct device *arg0, size_t arg1, gfp_t arg2) { // Pointer type return ldv_malloc(0UL); } // Function: dma_release_channel // with type: void dma_release_channel(struct dma_chan *) // with return type: void void dma_release_channel(struct dma_chan *arg0) { // Void type return; } // Function: dma_sync_wait // with type: enum dma_status dma_sync_wait(struct dma_chan *, dma_cookie_t ) // with return type: enum dma_status int __VERIFIER_nondet_int(void); enum dma_status dma_sync_wait(struct dma_chan *arg0, dma_cookie_t arg1) { // Enum type return __VERIFIER_nondet_int(); } // Function: i2c_get_adapter // with type: struct i2c_adapter *i2c_get_adapter(int) // with return type: (struct i2c_adapter)* struct i2c_adapter *i2c_get_adapter(int arg0) { // Pointer type return ldv_malloc(sizeof(struct i2c_adapter)); } // Function: i2c_put_adapter // with type: void i2c_put_adapter(struct i2c_adapter *) // with return type: void void i2c_put_adapter(struct i2c_adapter *arg0) { // Void type return; } // Skip function: kfree // 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: 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_probe_2 // with type: int ldv_probe_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_2() { // 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; } // Skip function: malloc // Skip function: memcpy // Skip function: memset // 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: platform_driver_unregister // with type: void platform_driver_unregister(struct platform_driver *) // with return type: void void platform_driver_unregister(struct platform_driver *arg0) { // Void type return; } // Function: sg_init_table // with type: void sg_init_table(struct scatterlist *, unsigned int) // with return type: void void sg_init_table(struct scatterlist *arg0, unsigned int arg1) { // Void type return; } // Skip function: snprintf // 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: 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_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_board // with type: struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *, struct i2c_adapter *, struct i2c_board_info *, const unsigned short *) // with return type: (struct v4l2_subdev)* struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *arg0, struct i2c_adapter *arg1, struct i2c_board_info *arg2, const unsigned short *arg3) { // 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_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: videobuf_dma_contig_free // with type: void videobuf_dma_contig_free(struct videobuf_queue *, struct videobuf_buffer *) // with return type: void void videobuf_dma_contig_free(struct videobuf_queue *arg0, struct videobuf_buffer *arg1) { // 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_dma_contig_init // with type: void videobuf_queue_dma_contig_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_dma_contig_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_queue_is_busy // with type: int videobuf_queue_is_busy(struct videobuf_queue *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_queue_is_busy(struct videobuf_queue *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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_stop // with type: void videobuf_stop(struct videobuf_queue *) // with return type: void void videobuf_stop(struct videobuf_queue *arg0) { // Void type return; } // 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_dma_contig // with type: dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *) // with return type: dma_addr_t unsigned long __VERIFIER_nondet_ulong(void); dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *arg0) { // Typedef type // Real type: u64 // Typedef type // Real type: unsigned long long // Simple type return __VERIFIER_nondet_ulong(); } // Function: videobuf_waiton // with type: int videobuf_waiton(struct videobuf_queue *, struct videobuf_buffer *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_waiton(struct videobuf_queue *arg0, struct videobuf_buffer *arg1, int arg2, int arg3) { // Simple type return __VERIFIER_nondet_int(); }