// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __copy_from_user_overflow // with type: void __copy_from_user_overflow() // with return type: void void __copy_from_user_overflow() { // Void type return; } // Function: __dynamic_pr_debug // with type: int __dynamic_pr_debug(struct _ddebug *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_pr_debug(struct _ddebug *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: __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: __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_from_user // with type: unsigned long int _copy_from_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_from_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // 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; } // Function: add_wait_queue // with type: void add_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void add_wait_queue(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Skip function: calloc // Function: capable // with type: bool capable(int) // with return type: bool bool __VERIFIER_nondet_bool(void); bool capable(int arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: debug_dma_alloc_coherent // with type: void debug_dma_alloc_coherent(struct device *, size_t , dma_addr_t , void *) // with return type: void void debug_dma_alloc_coherent(struct device *arg0, size_t arg1, dma_addr_t arg2, void *arg3) { // Void type return; } // Function: debug_dma_free_coherent // with type: void debug_dma_free_coherent(struct device *, size_t , void *, dma_addr_t ) // with return type: void void debug_dma_free_coherent(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3) { // Void type return; } // Function: del_timer // with type: int del_timer(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: free // 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_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_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // 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; } // Skip function: malloc // Skip function: memset // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // Function: mod_timer // with type: int mod_timer(struct timer_list *, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int mod_timer(struct timer_list *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: module_put // with type: void module_put(struct module *) // with return type: void void module_put(struct module *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: 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: remove_wait_queue // with type: void remove_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void remove_wait_queue(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Function: saa7146_pgtable_alloc // with type: int saa7146_pgtable_alloc(struct pci_dev *, struct saa7146_pgtable *) // with return type: int int __VERIFIER_nondet_int(void); int saa7146_pgtable_alloc(struct pci_dev *arg0, struct saa7146_pgtable *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: saa7146_pgtable_build_single // with type: int saa7146_pgtable_build_single(struct pci_dev *, struct saa7146_pgtable *, struct scatterlist *, int) // with return type: int int __VERIFIER_nondet_int(void); int saa7146_pgtable_build_single(struct pci_dev *arg0, struct saa7146_pgtable *arg1, struct scatterlist *arg2, int arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: saa7146_pgtable_free // with type: void saa7146_pgtable_free(struct pci_dev *, struct saa7146_pgtable *) // with return type: void void saa7146_pgtable_free(struct pci_dev *arg0, struct saa7146_pgtable *arg1) { // Void type return; } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // 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(); } // 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: 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_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_video_std_frame_period // with type: void v4l2_video_std_frame_period(int, struct v4l2_fract *) // with return type: void void v4l2_video_std_frame_period(int arg0, struct v4l2_fract *arg1) { // 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_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_dma_free // with type: int videobuf_dma_free(struct videobuf_dmabuf *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_dma_free(struct videobuf_dmabuf *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: videobuf_dma_unmap // with type: int videobuf_dma_unmap(struct device *, struct videobuf_dmabuf *) // with return type: int int __VERIFIER_nondet_int(void); int videobuf_dma_unmap(struct device *arg0, struct videobuf_dmabuf *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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_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_cancel // with type: void videobuf_queue_cancel(struct videobuf_queue *) // with return type: void void videobuf_queue_cancel(struct videobuf_queue *arg0) { // Void type return; } // Function: videobuf_queue_sg_init // with type: void videobuf_queue_sg_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_sg_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_one // with type: ssize_t videobuf_read_one(struct videobuf_queue *, char *, size_t , loff_t *, int) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t videobuf_read_one(struct videobuf_queue *arg0, char *arg1, size_t arg2, loff_t *arg3, int arg4) { // 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_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 // with type: struct videobuf_dmabuf *videobuf_to_dma(struct videobuf_buffer *) // with return type: (struct videobuf_dmabuf)* struct videobuf_dmabuf *videobuf_to_dma(struct videobuf_buffer *arg0) { // Pointer type return ldv_malloc(sizeof(struct videobuf_dmabuf)); } // 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(); } // 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; } // Function: default_wake_function // with type: int default_wake_function(wait_queue_t *, unsigned int, int, void *) // with return type: int int __VERIFIER_nondet_int(void); int default_wake_function(wait_queue_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Simple type return __VERIFIER_nondet_int(); }