// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __dynamic_dev_dbg // with type: void __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: void void __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *arg1, const char *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: __platform_driver_probe // with type: int __platform_driver_probe(struct platform_driver *, int (*)(struct platform_device *), struct module *) // with return type: int int __VERIFIER_nondet_int(void); int __platform_driver_probe(struct platform_driver *arg0, int (*arg1)(struct platform_device *), struct module *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: _dev_info // with type: void _dev_info(const struct device *, const char *, ...) // with return type: void void _dev_info(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Skip function: calloc // Function: debug_lockdep_rcu_enabled // with type: int debug_lockdep_rcu_enabled() // with return type: int int __VERIFIER_nondet_int(void); int debug_lockdep_rcu_enabled() { // Simple type return __VERIFIER_nondet_int(); } // Function: debugfs_create_dir // with type: struct dentry *debugfs_create_dir(const char *, struct dentry *) // with return type: (struct dentry)* struct dentry *debugfs_create_dir(const char *arg0, struct dentry *arg1) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_create_file // with type: struct dentry *debugfs_create_file(const char *, umode_t , struct dentry *, void *, const struct file_operations *) // with return type: (struct dentry)* struct dentry *debugfs_create_file(const char *arg0, umode_t arg1, struct dentry *arg2, void *arg3, const struct file_operations *arg4) { // Pointer type return ldv_malloc(sizeof(struct dentry)); } // Function: debugfs_remove_recursive // with type: void debugfs_remove_recursive(struct dentry *) // with return type: void void debugfs_remove_recursive(struct dentry *arg0) { // Void type return; } // Function: decode_bch // with type: int decode_bch(struct bch_control *, const uint8_t *, unsigned int, const uint8_t *, const uint8_t *, const unsigned int *, unsigned int *) // with return type: int int __VERIFIER_nondet_int(void); int decode_bch(struct bch_control *arg0, const uint8_t *arg1, unsigned int arg2, const uint8_t *arg3, const uint8_t *arg4, const unsigned int *arg5, unsigned int *arg6) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_err // with type: void dev_err(const struct device *, const char *, ...) // with return type: void void dev_err(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: device_create_file // with type: int device_create_file(struct device *, const struct device_attribute *) // with return type: int int __VERIFIER_nondet_int(void); int device_create_file(struct device *arg0, const struct device_attribute *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: devm_ioremap // with type: void *devm_ioremap(struct device *, resource_size_t , resource_size_t ) // with return type: (void)* void *devm_ioremap(struct device *arg0, resource_size_t arg1, resource_size_t arg2) { // Pointer type return ldv_malloc(0UL); } // 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); } // Skip function: free // Function: free_bch // with type: void free_bch(struct bch_control *) // with return type: void void free_bch(struct bch_control *arg0) { // Void type return; } // Function: ftrace_event_reg // with type: int ftrace_event_reg(struct ftrace_event_call *, enum trace_reg , void *) // with return type: int int __VERIFIER_nondet_int(void); int ftrace_event_reg(struct ftrace_event_call *arg0, enum trace_reg arg1, void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: ftrace_raw_output_prep // with type: int ftrace_raw_output_prep(struct trace_iterator *, struct trace_event *) // with return type: int int __VERIFIER_nondet_int(void); int ftrace_raw_output_prep(struct trace_iterator *arg0, struct trace_event *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: init_bch // with type: struct bch_control *init_bch(int, int, unsigned int) // with return type: (struct bch_control)* struct bch_control *init_bch(int arg0, int arg1, unsigned int arg2) { // Pointer type return ldv_malloc(sizeof(struct bch_control)); } // Function: kasprintf // with type: char *kasprintf(gfp_t , const char *, ...) // with return type: (char)* char *kasprintf(gfp_t arg0, const char *arg1, ...) { // Pointer type return ldv_malloc(sizeof(char)); } // 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_pre_probe // with type: void ldv_pre_probe() // with return type: void void ldv_pre_probe() { // Void type return; } // Function: lock_is_held // with type: int lock_is_held(struct lockdep_map *) // with return type: int int __VERIFIER_nondet_int(void); int lock_is_held(struct lockdep_map *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: lockdep_rcu_suspicious // with type: void lockdep_rcu_suspicious(const char *, const int, const char *) // with return type: void void lockdep_rcu_suspicious(const char *arg0, const int arg1, const char *arg2) { // Void type return; } // Skip function: malloc // Skip function: memcpy // Skip function: memset // Function: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: mtd_device_parse_register // with type: int mtd_device_parse_register(struct mtd_info *, const char * const *, struct mtd_part_parser_data *, const struct mtd_partition *, int) // with return type: int int __VERIFIER_nondet_int(void); int mtd_device_parse_register(struct mtd_info *arg0, const char * const *arg1, struct mtd_part_parser_data *arg2, const struct mtd_partition *arg3, int arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: mtd_device_unregister // with type: int mtd_device_unregister(struct mtd_info *) // with return type: int int __VERIFIER_nondet_int(void); int mtd_device_unregister(struct mtd_info *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: platform_get_resource // with type: struct resource *platform_get_resource(struct platform_device *, unsigned int, unsigned int) // with return type: (struct resource)* struct resource *platform_get_resource(struct platform_device *arg0, unsigned int arg1, unsigned int arg2) { // Pointer type return ldv_malloc(sizeof(struct resource)); } // Function: rcu_is_watching // with type: bool rcu_is_watching() // with return type: bool bool __VERIFIER_nondet_bool(void); bool rcu_is_watching() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: rcu_lockdep_current_cpu_online // with type: bool rcu_lockdep_current_cpu_online() // with return type: bool bool __VERIFIER_nondet_bool(void); bool rcu_lockdep_current_cpu_online() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: seq_lseek // with type: loff_t seq_lseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t seq_lseek(struct file *arg0, loff_t arg1, int arg2) { // Typedef type // Real type: __kernel_loff_t // Typedef type // Real type: long long // Simple type return __VERIFIER_nondet_long(); } // Function: seq_printf // with type: int seq_printf(struct seq_file *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int seq_printf(struct seq_file *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: seq_puts // with type: int seq_puts(struct seq_file *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int seq_puts(struct seq_file *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: seq_read // with type: ssize_t seq_read(struct file *, char *, size_t , loff_t *) // with return type: ssize_t long __VERIFIER_nondet_long(void); ssize_t seq_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: single_open // with type: int single_open(struct file *, int (*)(struct seq_file *, void *), void *) // with return type: int int __VERIFIER_nondet_int(void); int single_open(struct file *arg0, int (*arg1)(struct seq_file *, void *), void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: single_release // with type: int single_release(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int single_release(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: sprintf // Function: trace_define_field // with type: int trace_define_field(struct ftrace_event_call *, const char *, const char *, int, int, int, int) // with return type: int int __VERIFIER_nondet_int(void); int trace_define_field(struct ftrace_event_call *arg0, const char *arg1, const char *arg2, int arg3, int arg4, int arg5, int arg6) { // Simple type return __VERIFIER_nondet_int(); } // Function: trace_event_raw_init // with type: int trace_event_raw_init(struct ftrace_event_call *) // with return type: int int __VERIFIER_nondet_int(void); int trace_event_raw_init(struct ftrace_event_call *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: trace_seq_printf // with type: void trace_seq_printf(struct trace_seq *, const char *, ...) // with return type: void void trace_seq_printf(struct trace_seq *arg0, const char *arg1, ...) { // Void type return; } // 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; }