// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_uint // Skip function: __VERIFIER_nondet_ulong // Skip function: __builtin_prefetch // Function: __const_udelay // with type: void __const_udelay(unsigned long) // with return type: void void __const_udelay(unsigned long 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: __pci_register_driver // with type: int __pci_register_driver(struct pci_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int __pci_register_driver(struct pci_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: __release_region // with type: void __release_region(struct resource *, resource_size_t , resource_size_t ) // with return type: void void __release_region(struct resource *arg0, resource_size_t arg1, resource_size_t arg2) { // Void type return; } // Function: __request_region // with type: struct resource *__request_region(struct resource *, resource_size_t , resource_size_t , const char *, int) // with return type: (struct resource)* struct resource *__request_region(struct resource *arg0, resource_size_t arg1, resource_size_t arg2, const char *arg3, int arg4) { // Pointer type return ldv_malloc(sizeof(struct resource)); } // 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_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: acpi_evaluate_integer // with type: acpi_status acpi_evaluate_integer(acpi_handle , acpi_string , struct acpi_object_list *, unsigned long long *) // with return type: acpi_status unsigned int __VERIFIER_nondet_uint(void); acpi_status acpi_evaluate_integer(acpi_handle arg0, acpi_string arg1, struct acpi_object_list *arg2, unsigned long long *arg3) { // Typedef type // Real type: u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: acpi_get_table // with type: acpi_status acpi_get_table(acpi_string , u32 , struct acpi_table_header **) // with return type: acpi_status unsigned int __VERIFIER_nondet_uint(void); acpi_status acpi_get_table(acpi_string arg0, u32 arg1, struct acpi_table_header **arg2) { // Typedef type // Real type: u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: acpi_install_gpe_handler // with type: acpi_status acpi_install_gpe_handler(acpi_handle , u32 , u32 , u32 (*)(void *), void *) // with return type: acpi_status unsigned int __VERIFIER_nondet_uint(void); acpi_status acpi_install_gpe_handler(acpi_handle arg0, u32 arg1, u32 arg2, u32 (*arg3)(void *), void *arg4) { // Typedef type // Real type: u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: acpi_remove_gpe_handler // with type: acpi_status acpi_remove_gpe_handler(acpi_handle , u32 , u32 (*)(void *)) // with return type: acpi_status unsigned int __VERIFIER_nondet_uint(void); acpi_status acpi_remove_gpe_handler(acpi_handle arg0, u32 arg1, u32 (*arg2)(void *)) { // Typedef type // Real type: u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: atomic_notifier_call_chain // with type: int atomic_notifier_call_chain(struct atomic_notifier_head *, unsigned long, void *) // with return type: int int __VERIFIER_nondet_int(void); int atomic_notifier_call_chain(struct atomic_notifier_head *arg0, unsigned long arg1, void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: atomic_notifier_chain_register // with type: int atomic_notifier_chain_register(struct atomic_notifier_head *, struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int atomic_notifier_chain_register(struct atomic_notifier_head *arg0, struct notifier_block *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: calloc // 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(); } // Function: del_timer_sync // with type: int del_timer_sync(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer_sync(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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_notice // with type: int dev_notice(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_notice(const struct device *arg0, const char *arg1, ...) { // 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: dmi_find_device // with type: const struct dmi_device *dmi_find_device(int, const char *, const struct dmi_device *) // with return type: (struct dmi_device)* const struct dmi_device *dmi_find_device(int arg0, const char *arg1, const struct dmi_device *arg2) { // Pointer type return ldv_malloc(sizeof(struct dmi_device)); } // Function: driver_register // with type: int driver_register(struct device_driver *) // with return type: int int __VERIFIER_nondet_int(void); int driver_register(struct device_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: driver_unregister // with type: void driver_unregister(struct device_driver *) // with return type: void void driver_unregister(struct device_driver *arg0) { // Void type return; } // 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: getnstimeofday // with type: void getnstimeofday(struct timespec *) // with return type: void void getnstimeofday(struct timespec *arg0) { // Void type return; } // Function: ioremap_nocache // with type: void *ioremap_nocache(resource_size_t , unsigned long) // with return type: (void)* void *ioremap_nocache(resource_size_t arg0, unsigned long arg1) { // Pointer type return ldv_malloc(0UL); } // Function: iounmap // with type: void iounmap(volatile void *) // with return type: void void iounmap(volatile void *arg0) { // Void type return; } // Function: ipmi_alloc_smi_msg // with type: struct ipmi_smi_msg *ipmi_alloc_smi_msg() // with return type: (struct ipmi_smi_msg)* struct ipmi_smi_msg *ipmi_alloc_smi_msg() { // Pointer type return ldv_malloc(sizeof(struct ipmi_smi_msg)); } // Function: ipmi_register_smi // with type: int ipmi_register_smi(struct ipmi_smi_handlers *, void *, struct ipmi_device_id *, struct device *, const char *, unsigned char) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_register_smi(struct ipmi_smi_handlers *arg0, void *arg1, struct ipmi_device_id *arg2, struct device *arg3, const char *arg4, unsigned char arg5) { // Simple type return __VERIFIER_nondet_int(); } // Function: ipmi_smi_add_proc_entry // with type: int ipmi_smi_add_proc_entry(ipmi_smi_t , char *, read_proc_t *, void *) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_smi_add_proc_entry(ipmi_smi_t arg0, char *arg1, read_proc_t *arg2, void *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: ipmi_smi_msg_received // with type: void ipmi_smi_msg_received(ipmi_smi_t , struct ipmi_smi_msg *) // with return type: void void ipmi_smi_msg_received(ipmi_smi_t arg0, struct ipmi_smi_msg *arg1) { // Void type return; } // Function: ipmi_smi_watchdog_pretimeout // with type: void ipmi_smi_watchdog_pretimeout(ipmi_smi_t ) // with return type: void void ipmi_smi_watchdog_pretimeout(ipmi_smi_t arg0) { // Void type return; } // Function: ipmi_unregister_smi // with type: int ipmi_unregister_smi(ipmi_smi_t ) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_unregister_smi(ipmi_smi_t arg0) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: kfree // Function: kstrdup // with type: char *kstrdup(const char *, gfp_t ) // with return type: (char)* char *kstrdup(const char *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: kthread_create // with type: struct task_struct *kthread_create(int (*)(void *), void *, const char *, ...) // with return type: (struct task_struct)* struct task_struct *kthread_create(int (*arg0)(void *), void *arg1, const char *arg2, ...) { // Pointer type return ldv_malloc(sizeof(struct task_struct)); } // Function: kthread_should_stop // with type: int kthread_should_stop() // with return type: int int __VERIFIER_nondet_int(void); int kthread_should_stop() { // Simple type return __VERIFIER_nondet_int(); } // Function: kthread_stop // with type: int kthread_stop(struct task_struct *) // with return type: int int __VERIFIER_nondet_int(void); int kthread_stop(struct task_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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: 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: 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: pci_disable_device // with type: void pci_disable_device(struct pci_dev *) // with return type: void void pci_disable_device(struct pci_dev *arg0) { // Void type return; } // Function: pci_enable_device // with type: int pci_enable_device(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_device(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_unregister_driver // with type: void pci_unregister_driver(struct pci_driver *) // with return type: void void pci_unregister_driver(struct pci_driver *arg0) { // Void type return; } // Function: platform_device_add // with type: int platform_device_add(struct platform_device *) // with return type: int int __VERIFIER_nondet_int(void); int platform_device_add(struct platform_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: platform_device_alloc // with type: struct platform_device *platform_device_alloc(const char *, int) // with return type: (struct platform_device)* struct platform_device *platform_device_alloc(const char *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct platform_device)); } // Function: platform_device_unregister // with type: void platform_device_unregister(struct platform_device *) // with return type: void void platform_device_unregister(struct platform_device *arg0) { // Void type return; } // Function: pnp_get_resource // with type: struct resource *pnp_get_resource(struct pnp_dev *, unsigned long, unsigned int) // with return type: (struct resource)* struct resource *pnp_get_resource(struct pnp_dev *arg0, unsigned long arg1, unsigned int arg2) { // Pointer type return ldv_malloc(sizeof(struct resource)); } // Function: pnp_register_driver // with type: int pnp_register_driver(struct pnp_driver *) // with return type: int int __VERIFIER_nondet_int(void); int pnp_register_driver(struct pnp_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pnp_unregister_driver // with type: void pnp_unregister_driver(struct pnp_driver *) // with return type: void void pnp_unregister_driver(struct pnp_driver *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: 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: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: schedule_timeout_interruptible // with type: long int schedule_timeout_interruptible(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout_interruptible(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: schedule_timeout_uninterruptible // with type: long int schedule_timeout_uninterruptible(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout_uninterruptible(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: set_user_nice // with type: void set_user_nice(struct task_struct *, long) // with return type: void void set_user_nice(struct task_struct *arg0, long arg1) { // Void type return; } // Function: simple_strtoul // with type: unsigned long int simple_strtoul(const char *, char **, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int simple_strtoul(const char *arg0, char **arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Skip function: sprintf // Skip function: strcat // Skip function: strchr // Skip function: strcmp // Skip function: strcpy // Skip function: strlen // Function: synchronize_sched // with type: void synchronize_sched() // with return type: void void synchronize_sched() { // Void type return; } // Function: wake_up_process // with type: int wake_up_process(struct task_struct *) // with return type: int int __VERIFIER_nondet_int(void); int wake_up_process(struct task_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); }