// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // 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; } // 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_printk // with type: int dev_printk(const char *, const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_printk(const char *arg0, const struct device *arg1, const char *arg2, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_set_drvdata // with type: void dev_set_drvdata(struct device *, void *) // with return type: void void dev_set_drvdata(struct device *arg0, void *arg1) { // Void type return; } // 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: device_remove_file // with type: void device_remove_file(struct device *, const struct device_attribute *) // with return type: void void device_remove_file(struct device *arg0, const struct device_attribute *arg1) { // Void type return; } // Function: hwmon_device_register // with type: struct device *hwmon_device_register(struct device *) // with return type: (struct device)* struct device *hwmon_device_register(struct device *arg0) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: hwmon_device_unregister // with type: void hwmon_device_unregister(struct device *) // with return type: void void hwmon_device_unregister(struct device *arg0) { // Void type return; } // 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; } // Skip function: malloc // Skip function: memset // 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_unlock // with type: void mutex_unlock(struct mutex *) // with return type: void void mutex_unlock(struct mutex *arg0) { // Void type return; } // Function: platform_driver_register // with type: int platform_driver_register(struct platform_driver *) // with return type: int int __VERIFIER_nondet_int(void); int platform_driver_register(struct platform_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: s3c_adc_read // with type: int s3c_adc_read(struct s3c_adc_client *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int s3c_adc_read(struct s3c_adc_client *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: s3c_adc_register // with type: struct s3c_adc_client *s3c_adc_register(struct platform_device *, void (*)(struct s3c_adc_client *, unsigned int), void (*)(struct s3c_adc_client *, unsigned int, unsigned int, unsigned int *), unsigned int) // with return type: (struct s3c_adc_client)* struct s3c_adc_client *s3c_adc_register(struct platform_device *arg0, void (*arg1)(struct s3c_adc_client *, unsigned int), void (*arg2)(struct s3c_adc_client *, unsigned int, unsigned int, unsigned int *), unsigned int arg3) { // Pointer type return ldv_malloc(0UL); } // Function: s3c_adc_release // with type: void s3c_adc_release(struct s3c_adc_client *) // with return type: void void s3c_adc_release(struct s3c_adc_client *arg0) { // Void type return; } // Skip function: snprintf