// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __alloc_workqueue_key // with type: struct workqueue_struct *__alloc_workqueue_key(const char *, unsigned int, int, struct lock_class_key *, const char *, ...) // with return type: (struct workqueue_struct)* struct workqueue_struct *__alloc_workqueue_key(const char *arg0, unsigned int arg1, int arg2, struct lock_class_key *arg3, const char *arg4, ...) { // Pointer type return ldv_malloc(0UL); } // 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: __copy_to_user_overflow // with type: void __copy_to_user_overflow() // with return type: void void __copy_to_user_overflow() { // Void type return; } // Function: __dynamic_pr_debug // with type: void __dynamic_pr_debug(struct _ddebug *, const char *, ...) // with return type: void void __dynamic_pr_debug(struct _ddebug *arg0, const char *arg1, ...) { // Void type return; } // Function: __free_pages // with type: void __free_pages(struct page *, unsigned int) // with return type: void void __free_pages(struct page *arg0, unsigned int arg1) { // Void type return; } // Function: __get_free_pages // with type: unsigned long int __get_free_pages(gfp_t , unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __get_free_pages(gfp_t arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: __init_work // with type: void __init_work(struct work_struct *, int) // with return type: void void __init_work(struct work_struct *arg0, int arg1) { // 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: __might_fault // with type: void __might_fault(const char *, int) // with return type: void void __might_fault(const char *arg0, int arg1) { // Void type return; } // Function: __might_sleep // with type: void __might_sleep(const char *, int, int) // with return type: void void __might_sleep(const char *arg0, int arg1, int arg2) { // Void type return; } // Function: __msecs_to_jiffies // with type: unsigned long int __msecs_to_jiffies(const unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __msecs_to_jiffies(const unsigned int arg0) { // Simple type return __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; } // 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: __phys_addr // with type: unsigned long int __phys_addr(unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __phys_addr(unsigned long arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: __raw_spin_lock_init // with type: void __raw_spin_lock_init(raw_spinlock_t *, const char *, struct lock_class_key *) // with return type: void void __raw_spin_lock_init(raw_spinlock_t *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: __virt_addr_valid // with type: bool __virt_addr_valid(unsigned long) // with return type: bool bool __VERIFIER_nondet_bool(void); bool __virt_addr_valid(unsigned long arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: _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(); } // 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; } // 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_lock_irq // with type: void _raw_spin_lock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_lock_irq(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_lock_irqsave // with type: unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_spin_lock_nested // with type: void _raw_spin_lock_nested(raw_spinlock_t *, int) // with return type: void void _raw_spin_lock_nested(raw_spinlock_t *arg0, int arg1) { // 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_irq // with type: void _raw_spin_unlock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_irq(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_timer // with type: void add_timer(struct timer_list *) // with return type: void void add_timer(struct timer_list *arg0) { // Void type return; } // Function: alloc_pages_current // with type: struct page *alloc_pages_current(gfp_t , unsigned int) // with return type: (struct page)* struct page *alloc_pages_current(gfp_t arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct page)); } // Skip function: calloc // Function: clear_page // with type: void clear_page(void *) // with return type: void void clear_page(void *arg0) { // Void type return; } // Function: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *arg0) { // Void type return; } // Function: debug_dma_map_page // with type: void debug_dma_map_page(struct device *, struct page *, size_t , size_t , int, dma_addr_t , bool ) // with return type: void void debug_dma_map_page(struct device *arg0, struct page *arg1, size_t arg2, size_t arg3, int arg4, dma_addr_t arg5, bool arg6) { // Void type return; } // Function: debug_dma_map_sg // with type: void debug_dma_map_sg(struct device *, struct scatterlist *, int, int, int) // with return type: void void debug_dma_map_sg(struct device *arg0, struct scatterlist *arg1, int arg2, int arg3, int arg4) { // Void type return; } // Function: debug_dma_mapping_error // with type: void debug_dma_mapping_error(struct device *, dma_addr_t ) // with return type: void void debug_dma_mapping_error(struct device *arg0, dma_addr_t arg1) { // Void type return; } // Function: debug_dma_sync_single_for_cpu // with type: void debug_dma_sync_single_for_cpu(struct device *, dma_addr_t , size_t , int) // with return type: void void debug_dma_sync_single_for_cpu(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3) { // Void type return; } // Function: debug_dma_sync_single_for_device // with type: void debug_dma_sync_single_for_device(struct device *, dma_addr_t , size_t , int) // with return type: void void debug_dma_sync_single_for_device(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3) { // Void type return; } // Function: debug_dma_unmap_page // with type: void debug_dma_unmap_page(struct device *, dma_addr_t , size_t , int, bool ) // with return type: void void debug_dma_unmap_page(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3, bool arg4) { // Void type return; } // Function: debug_dma_unmap_sg // with type: void debug_dma_unmap_sg(struct device *, struct scatterlist *, int, int) // with return type: void void debug_dma_unmap_sg(struct device *arg0, struct scatterlist *arg1, int arg2, int arg3) { // Void type return; } // 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: destroy_workqueue // with type: void destroy_workqueue(struct workqueue_struct *) // with return type: void void destroy_workqueue(struct workqueue_struct *arg0) { // Void type return; } // 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: dev_printk // with type: void dev_printk(const char *, const struct device *, const char *, ...) // with return type: void void dev_printk(const char *arg0, const struct device *arg1, const char *arg2, ...) { // Void type return; } // Function: dev_warn // with type: void dev_warn(const struct device *, const char *, ...) // with return type: void void dev_warn(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: dma_alloc_attrs // with type: void *dma_alloc_attrs(struct device *, size_t , dma_addr_t *, gfp_t , struct dma_attrs *) // with return type: (void)* void *dma_alloc_attrs(struct device *arg0, size_t arg1, dma_addr_t *arg2, gfp_t arg3, struct dma_attrs *arg4) { // Pointer type return ldv_malloc(0UL); } // Function: dma_free_attrs // with type: void dma_free_attrs(struct device *, size_t , void *, dma_addr_t , struct dma_attrs *) // with return type: void void dma_free_attrs(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3, struct dma_attrs *arg4) { // Void type return; } // Function: dma_pool_alloc // with type: void *dma_pool_alloc(struct dma_pool *, gfp_t , dma_addr_t *) // with return type: (void)* void *dma_pool_alloc(struct dma_pool *arg0, gfp_t arg1, dma_addr_t *arg2) { // Pointer type return ldv_malloc(0UL); } // Function: dma_pool_create // with type: struct dma_pool *dma_pool_create(const char *, struct device *, size_t , size_t , size_t ) // with return type: (struct dma_pool)* struct dma_pool *dma_pool_create(const char *arg0, struct device *arg1, size_t arg2, size_t arg3, size_t arg4) { // Pointer type return ldv_malloc(0UL); } // Function: dma_pool_destroy // with type: void dma_pool_destroy(struct dma_pool *) // with return type: void void dma_pool_destroy(struct dma_pool *arg0) { // Void type return; } // Function: dma_pool_free // with type: void dma_pool_free(struct dma_pool *, void *, dma_addr_t ) // with return type: void void dma_pool_free(struct dma_pool *arg0, void *arg1, dma_addr_t arg2) { // Void type return; } // Function: dma_set_mask // with type: int dma_set_mask(struct device *, u64 ) // with return type: int int __VERIFIER_nondet_int(void); int dma_set_mask(struct device *arg0, u64 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: dma_supported // with type: int dma_supported(struct device *, u64 ) // with return type: int int __VERIFIER_nondet_int(void); int dma_supported(struct device *arg0, u64 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: down // with type: void down(struct semaphore *) // with return type: void void down(struct semaphore *arg0) { // Void type return; } // Function: find_first_bit // with type: unsigned long int find_first_bit(const unsigned long *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_first_bit(const unsigned long *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: find_first_zero_bit // with type: unsigned long int find_first_zero_bit(const unsigned long *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_first_zero_bit(const unsigned long *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: find_next_zero_bit // with type: unsigned long int find_next_zero_bit(const unsigned long *, unsigned long, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_next_zero_bit(const unsigned long *arg0, unsigned long arg1, unsigned long arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: finish_wait // with type: void finish_wait(wait_queue_head_t *, wait_queue_t *) // with return type: void void finish_wait(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Function: flush_workqueue // with type: void flush_workqueue(struct workqueue_struct *) // with return type: void void flush_workqueue(struct workqueue_struct *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: free_pages // with type: void free_pages(unsigned long, unsigned int) // with return type: void void free_pages(unsigned long arg0, unsigned int arg1) { // Void type return; } // Function: get_user_pages // with type: long int get_user_pages(struct task_struct *, struct mm_struct *, unsigned long, unsigned long, int, int, struct page **, struct vm_area_struct **) // with return type: long int long __VERIFIER_nondet_long(void); long int get_user_pages(struct task_struct *arg0, struct mm_struct *arg1, unsigned long arg2, unsigned long arg3, int arg4, int arg5, struct page **arg6, struct vm_area_struct **arg7) { // Simple type return __VERIFIER_nondet_long(); } // Function: get_zeroed_page // with type: unsigned long int get_zeroed_page(gfp_t ) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int get_zeroed_page(gfp_t arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: ib_alloc_device // with type: struct ib_device *ib_alloc_device(size_t ) // with return type: (struct ib_device)* struct ib_device *ib_alloc_device(size_t arg0) { // Pointer type return ldv_malloc(sizeof(struct ib_device)); } // Function: ib_create_ah // with type: struct ib_ah *ib_create_ah(struct ib_pd *, struct ib_ah_attr *) // with return type: (struct ib_ah)* struct ib_ah *ib_create_ah(struct ib_pd *arg0, struct ib_ah_attr *arg1) { // Pointer type return ldv_malloc(sizeof(struct ib_ah)); } // Function: ib_create_send_mad // with type: struct ib_mad_send_buf *ib_create_send_mad(struct ib_mad_agent *, u32 , u16 , int, int, int, gfp_t , u8 ) // with return type: (struct ib_mad_send_buf)* struct ib_mad_send_buf *ib_create_send_mad(struct ib_mad_agent *arg0, u32 arg1, u16 arg2, int arg3, int arg4, int arg5, gfp_t arg6, u8 arg7) { // Pointer type return ldv_malloc(sizeof(struct ib_mad_send_buf)); } // Function: ib_dealloc_device // with type: void ib_dealloc_device(struct ib_device *) // with return type: void void ib_dealloc_device(struct ib_device *arg0) { // Void type return; } // Function: ib_destroy_ah // with type: int ib_destroy_ah(struct ib_ah *) // with return type: int int __VERIFIER_nondet_int(void); int ib_destroy_ah(struct ib_ah *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_dispatch_event // with type: void ib_dispatch_event(struct ib_event *) // with return type: void void ib_dispatch_event(struct ib_event *arg0) { // Void type return; } // Function: ib_free_send_mad // with type: void ib_free_send_mad(struct ib_mad_send_buf *) // with return type: void void ib_free_send_mad(struct ib_mad_send_buf *arg0) { // Void type return; } // Function: ib_get_cached_gid // with type: int ib_get_cached_gid(struct ib_device *, u8 , int, union ib_gid *) // with return type: int int __VERIFIER_nondet_int(void); int ib_get_cached_gid(struct ib_device *arg0, u8 arg1, int arg2, union ib_gid *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_get_cached_pkey // with type: int ib_get_cached_pkey(struct ib_device *, u8 , int, u16 *) // with return type: int int __VERIFIER_nondet_int(void); int ib_get_cached_pkey(struct ib_device *arg0, u8 arg1, int arg2, u16 *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_modify_qp_is_ok // with type: int ib_modify_qp_is_ok(enum ib_qp_state , enum ib_qp_state , enum ib_qp_type , enum ib_qp_attr_mask , enum rdma_link_layer ) // with return type: int int __VERIFIER_nondet_int(void); int ib_modify_qp_is_ok(enum ib_qp_state arg0, enum ib_qp_state arg1, enum ib_qp_type arg2, enum ib_qp_attr_mask arg3, enum rdma_link_layer arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_post_send_mad // with type: int ib_post_send_mad(struct ib_mad_send_buf *, struct ib_mad_send_buf **) // with return type: int int __VERIFIER_nondet_int(void); int ib_post_send_mad(struct ib_mad_send_buf *arg0, struct ib_mad_send_buf **arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_query_port // with type: int ib_query_port(struct ib_device *, u8 , struct ib_port_attr *) // with return type: int int __VERIFIER_nondet_int(void); int ib_query_port(struct ib_device *arg0, u8 arg1, struct ib_port_attr *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_rate_to_mult // with type: int ib_rate_to_mult(enum ib_rate ) // with return type: int int __VERIFIER_nondet_int(void); int ib_rate_to_mult(enum ib_rate arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_register_device // with type: int ib_register_device(struct ib_device *, int (*)(struct ib_device *, u8 , struct kobject *)) // with return type: int int __VERIFIER_nondet_int(void); int ib_register_device(struct ib_device *arg0, int (*arg1)(struct ib_device *, u8 , struct kobject *)) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_register_mad_agent // with type: struct ib_mad_agent *ib_register_mad_agent(struct ib_device *, u8 , enum ib_qp_type , struct ib_mad_reg_req *, u8 , void (*)(struct ib_mad_agent *, struct ib_mad_send_wc *), void (*)(struct ib_mad_agent *, struct ib_mad_recv_wc *), void *, u32 ) // with return type: (struct ib_mad_agent)* struct ib_mad_agent *ib_register_mad_agent(struct ib_device *arg0, u8 arg1, enum ib_qp_type arg2, struct ib_mad_reg_req *arg3, u8 arg4, void (*arg5)(struct ib_mad_agent *, struct ib_mad_send_wc *), void (*arg6)(struct ib_mad_agent *, struct ib_mad_recv_wc *), void *arg7, u32 arg8) { // Pointer type return ldv_malloc(sizeof(struct ib_mad_agent)); } // Function: ib_ud_header_init // with type: void ib_ud_header_init(int, int, int, int, int, int, struct ib_ud_header *) // with return type: void void ib_ud_header_init(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, struct ib_ud_header *arg6) { // Void type return; } // Function: ib_ud_header_pack // with type: int ib_ud_header_pack(struct ib_ud_header *, void *) // with return type: int int __VERIFIER_nondet_int(void); int ib_ud_header_pack(struct ib_ud_header *arg0, void *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_umem_get // with type: struct ib_umem *ib_umem_get(struct ib_ucontext *, unsigned long, size_t , int, int) // with return type: (struct ib_umem)* struct ib_umem *ib_umem_get(struct ib_ucontext *arg0, unsigned long arg1, size_t arg2, int arg3, int arg4) { // Pointer type return ldv_malloc(sizeof(struct ib_umem)); } // Function: ib_umem_release // with type: void ib_umem_release(struct ib_umem *) // with return type: void void ib_umem_release(struct ib_umem *arg0) { // Void type return; } // Function: ib_unregister_device // with type: void ib_unregister_device(struct ib_device *) // with return type: void void ib_unregister_device(struct ib_device *arg0) { // Void type return; } // Function: ib_unregister_mad_agent // with type: int ib_unregister_mad_agent(struct ib_mad_agent *) // with return type: int int __VERIFIER_nondet_int(void); int ib_unregister_mad_agent(struct ib_mad_agent *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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; } // Skip function: kfree // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_shutdown_7 // with type: int ldv_shutdown_7() // with return type: int int __VERIFIER_nondet_int(void); int ldv_shutdown_7() { // Simple type return __VERIFIER_nondet_int(); } // 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; } // Function: lockdep_init_map // with type: void lockdep_init_map(struct lockdep_map *, const char *, struct lock_class_key *, int) // with return type: void void lockdep_init_map(struct lockdep_map *arg0, const char *arg1, struct lock_class_key *arg2, int arg3) { // Void type return; } // Skip function: malloc // Skip function: memcmp // 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: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: mult_to_ib_rate // with type: enum ib_rate mult_to_ib_rate(int) // with return type: enum ib_rate int __VERIFIER_nondet_int(void); enum ib_rate mult_to_ib_rate(int arg0) { // Enum type return __VERIFIER_nondet_int(); } // 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: pci_bus_read_config_dword // with type: int pci_bus_read_config_dword(struct pci_bus *, unsigned int, int, u32 *) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_read_config_dword(struct pci_bus *arg0, unsigned int arg1, int arg2, u32 *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_bus_write_config_dword // with type: int pci_bus_write_config_dword(struct pci_bus *, unsigned int, int, u32 ) // with return type: int int __VERIFIER_nondet_int(void); int pci_bus_write_config_dword(struct pci_bus *arg0, unsigned int arg1, int arg2, u32 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_dev_put // with type: void pci_dev_put(struct pci_dev *) // with return type: void void pci_dev_put(struct pci_dev *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_disable_msix // with type: void pci_disable_msix(struct pci_dev *) // with return type: void void pci_disable_msix(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_enable_msix_range // with type: int pci_enable_msix_range(struct pci_dev *, struct msix_entry *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_msix_range(struct pci_dev *arg0, struct msix_entry *arg1, int arg2, int arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_find_capability // with type: int pci_find_capability(struct pci_dev *, int) // with return type: int int __VERIFIER_nondet_int(void); int pci_find_capability(struct pci_dev *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_get_device // with type: struct pci_dev *pci_get_device(unsigned int, unsigned int, struct pci_dev *) // with return type: (struct pci_dev)* struct pci_dev *pci_get_device(unsigned int arg0, unsigned int arg1, struct pci_dev *arg2) { // Pointer type return ldv_malloc(sizeof(struct pci_dev)); } // Function: pci_release_regions // with type: void pci_release_regions(struct pci_dev *) // with return type: void void pci_release_regions(struct pci_dev *arg0) { // Void type return; } // Function: pci_request_regions // with type: int pci_request_regions(struct pci_dev *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pci_request_regions(struct pci_dev *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_set_master // with type: void pci_set_master(struct pci_dev *) // with return type: void void pci_set_master(struct pci_dev *arg0) { // Void type return; } // 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: pcie_capability_write_word // with type: int pcie_capability_write_word(struct pci_dev *, int, u16 ) // with return type: int int __VERIFIER_nondet_int(void); int pcie_capability_write_word(struct pci_dev *arg0, int arg1, u16 arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcie_set_readrq // with type: int pcie_set_readrq(struct pci_dev *, int) // with return type: int int __VERIFIER_nondet_int(void); int pcie_set_readrq(struct pci_dev *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcix_get_max_mmrbc // with type: int pcix_get_max_mmrbc(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pcix_get_max_mmrbc(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pcix_set_mmrbc // with type: int pcix_set_mmrbc(struct pci_dev *, int) // with return type: int int __VERIFIER_nondet_int(void); int pcix_set_mmrbc(struct pci_dev *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: prepare_to_wait_event // with type: long int prepare_to_wait_event(wait_queue_head_t *, wait_queue_t *, int) // with return type: long int long __VERIFIER_nondet_long(void); long int prepare_to_wait_event(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // Simple type return __VERIFIER_nondet_long(); } // 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: put_page // with type: void put_page(struct page *) // with return type: void void put_page(struct page *arg0) { // Void type return; } // Function: queue_delayed_work_on // with type: bool queue_delayed_work_on(int, struct workqueue_struct *, struct delayed_work *, unsigned long) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_delayed_work_on(int arg0, struct workqueue_struct *arg1, struct delayed_work *arg2, unsigned long arg3) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: queue_work_on // with type: bool queue_work_on(int, struct workqueue_struct *, struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_work_on(int arg0, struct workqueue_struct *arg1, struct work_struct *arg2) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: remap_pfn_range // with type: int remap_pfn_range(struct vm_area_struct *, unsigned long, unsigned long, unsigned long, pgprot_t ) // with return type: int int __VERIFIER_nondet_int(void); int remap_pfn_range(struct vm_area_struct *arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3, pgprot_t arg4) { // 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: round_jiffies // with type: unsigned long int round_jiffies(unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int round_jiffies(unsigned long arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: sg_init_table // with type: void sg_init_table(struct scatterlist *, unsigned int) // with return type: void void sg_init_table(struct scatterlist *arg0, unsigned int arg1) { // Void type return; } // Function: sg_next // with type: struct scatterlist *sg_next(struct scatterlist *) // with return type: (struct scatterlist)* struct scatterlist *sg_next(struct scatterlist *arg0) { // Pointer type return ldv_malloc(sizeof(struct scatterlist)); } // Skip function: snprintf // Skip function: sprintf // 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: synchronize_irq // with type: void synchronize_irq(unsigned int) // with return type: void void synchronize_irq(unsigned int arg0) { // Void type return; } // Function: up // with type: void up(struct semaphore *) // with return type: void void up(struct semaphore *arg0) { // 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_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; }