// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __const_udelay // with type: void __const_udelay(unsigned long) // with return type: void void __const_udelay(unsigned long arg0) { // Void type return; } // Function: __copy_user_nocache // with type: long int __copy_user_nocache(void *, const void *, unsigned int, int) // with return type: long int long __VERIFIER_nondet_long(void); long int __copy_user_nocache(void *arg0, const void *arg1, unsigned int arg2, int arg3) { // Simple type return __VERIFIER_nondet_long(); } // Function: __gpio_set_value // with type: void __gpio_set_value(unsigned int, int) // with return type: void void __gpio_set_value(unsigned int arg0, int arg1) { // Void type return; } // Function: __init_waitqueue_head // with type: void __init_waitqueue_head(wait_queue_head_t *, struct lock_class_key *) // with return type: void void __init_waitqueue_head(wait_queue_head_t *arg0, struct lock_class_key *arg1) { // 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: _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: _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: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *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: 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: free_irq // with type: void free_irq(unsigned int, void *) // with return type: void void free_irq(unsigned int arg0, void *arg1) { // Void type return; } // Function: gpio_direction_output // with type: int gpio_direction_output(unsigned int, int) // with return type: int int __VERIFIER_nondet_int(void); int gpio_direction_output(unsigned int arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: gpio_free // with type: void gpio_free(unsigned int) // with return type: void void gpio_free(unsigned int arg0) { // Void type return; } // Function: gpio_request // with type: int gpio_request(unsigned int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int gpio_request(unsigned int arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: i2c_del_driver // with type: void i2c_del_driver(struct i2c_driver *) // with return type: void void i2c_del_driver(struct i2c_driver *arg0) { // Void type return; } // Function: i2c_master_recv // with type: int i2c_master_recv(const struct i2c_client *, char *, int) // with return type: int int __VERIFIER_nondet_int(void); int i2c_master_recv(const struct i2c_client *arg0, char *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: i2c_master_send // with type: int i2c_master_send(const struct i2c_client *, const char *, int) // with return type: int int __VERIFIER_nondet_int(void); int i2c_master_send(const struct i2c_client *arg0, const char *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: i2c_register_driver // with type: int i2c_register_driver(struct module *, struct i2c_driver *) // with return type: int int __VERIFIER_nondet_int(void); int i2c_register_driver(struct module *arg0, struct i2c_driver *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: kfree // 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; } // 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: 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: regulator_bulk_disable // with type: int regulator_bulk_disable(int, struct regulator_bulk_data *) // with return type: int int __VERIFIER_nondet_int(void); int regulator_bulk_disable(int arg0, struct regulator_bulk_data *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: regulator_bulk_enable // with type: int regulator_bulk_enable(int, struct regulator_bulk_data *) // with return type: int int __VERIFIER_nondet_int(void); int regulator_bulk_enable(int arg0, struct regulator_bulk_data *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: regulator_bulk_free // with type: void regulator_bulk_free(int, struct regulator_bulk_data *) // with return type: void void regulator_bulk_free(int arg0, struct regulator_bulk_data *arg1) { // Void type return; } // Function: regulator_bulk_get // with type: int regulator_bulk_get(struct device *, int, struct regulator_bulk_data *) // with return type: int int __VERIFIER_nondet_int(void); int regulator_bulk_get(struct device *arg0, int arg1, struct regulator_bulk_data *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: request_threaded_irq // with type: int request_threaded_irq(unsigned int, irqreturn_t (*)(int, void *), irqreturn_t (*)(int, void *), unsigned long, const char *, void *) // with return type: int int __VERIFIER_nondet_int(void); int request_threaded_irq(unsigned int arg0, irqreturn_t (*arg1)(int, void *), irqreturn_t (*arg2)(int, void *), unsigned long arg3, const char *arg4, void *arg5) { // Simple type return __VERIFIER_nondet_int(); } // 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: unsigned long // Simple type return __VERIFIER_nondet_ulong(); } // Skip function: strncpy // Function: usecs_to_jiffies // with type: unsigned long int usecs_to_jiffies(const unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int usecs_to_jiffies(const unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: v4l2_ctrl_query_fill // with type: int v4l2_ctrl_query_fill(struct v4l2_queryctrl *, s32 , s32 , s32 , s32 ) // with return type: int int __VERIFIER_nondet_int(void); int v4l2_ctrl_query_fill(struct v4l2_queryctrl *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: v4l2_device_unregister_subdev // with type: void v4l2_device_unregister_subdev(struct v4l2_subdev *) // with return type: void void v4l2_device_unregister_subdev(struct v4l2_subdev *arg0) { // Void type return; } // Function: v4l2_i2c_subdev_init // with type: void v4l2_i2c_subdev_init(struct v4l2_subdev *, struct i2c_client *, const struct v4l2_subdev_ops *) // with return type: void void v4l2_i2c_subdev_init(struct v4l2_subdev *arg0, struct i2c_client *arg1, const struct v4l2_subdev_ops *arg2) { // Void type return; } // Function: wait_for_completion_timeout // with type: unsigned long int wait_for_completion_timeout(struct completion *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int wait_for_completion_timeout(struct completion *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: warn_slowpath_fmt // with type: void warn_slowpath_fmt(const char *, const int, const char *, ...) // with return type: void void warn_slowpath_fmt(const char *arg0, const int arg1, const char *arg2, ...) { // Void type return; }