// 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: __bitmap_weight // with type: int __bitmap_weight(const unsigned long *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int __bitmap_weight(const unsigned long *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: __blk_end_request // with type: bool __blk_end_request(struct request *, int, unsigned int) // with return type: bool bool __VERIFIER_nondet_bool(void); bool __blk_end_request(struct request *arg0, int arg1, unsigned int arg2) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: __blk_end_request_all // with type: void __blk_end_request_all(struct request *, int) // with return type: void void __blk_end_request_all(struct request *arg0, int arg1) { // 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: __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: __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: _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_disk // with type: void add_disk(struct gendisk *) // with return type: void void add_disk(struct gendisk *arg0) { // Void type return; } // Function: alloc_disk // with type: struct gendisk *alloc_disk(int) // with return type: (struct gendisk)* struct gendisk *alloc_disk(int arg0) { // Pointer type return ldv_malloc(sizeof(struct gendisk)); } // Function: blk_cleanup_queue // with type: void blk_cleanup_queue(struct request_queue *) // with return type: void void blk_cleanup_queue(struct request_queue *arg0) { // Void type return; } // Function: blk_dump_rq_flags // with type: void blk_dump_rq_flags(struct request *, char *) // with return type: void void blk_dump_rq_flags(struct request *arg0, char *arg1) { // Void type return; } // Function: blk_fetch_request // with type: struct request *blk_fetch_request(struct request_queue *) // with return type: (struct request)* struct request *blk_fetch_request(struct request_queue *arg0) { // Pointer type return ldv_malloc(sizeof(struct request)); } // Function: blk_init_queue // with type: struct request_queue *blk_init_queue(request_fn_proc *, spinlock_t *) // with return type: (struct request_queue)* struct request_queue *blk_init_queue(request_fn_proc *arg0, spinlock_t *arg1) { // Pointer type return ldv_malloc(sizeof(struct request_queue)); } // Function: blk_queue_bounce_limit // with type: void blk_queue_bounce_limit(struct request_queue *, u64 ) // with return type: void void blk_queue_bounce_limit(struct request_queue *arg0, u64 arg1) { // Void type return; } // Function: blk_queue_logical_block_size // with type: void blk_queue_logical_block_size(struct request_queue *, unsigned short) // with return type: void void blk_queue_logical_block_size(struct request_queue *arg0, unsigned short arg1) { // Void type return; } // Function: blk_queue_max_hw_sectors // with type: void blk_queue_max_hw_sectors(struct request_queue *, unsigned int) // with return type: void void blk_queue_max_hw_sectors(struct request_queue *arg0, unsigned int arg1) { // Void type return; } // Function: blk_queue_max_segment_size // with type: void blk_queue_max_segment_size(struct request_queue *, unsigned int) // with return type: void void blk_queue_max_segment_size(struct request_queue *arg0, unsigned int arg1) { // Void type return; } // Function: blk_queue_max_segments // with type: void blk_queue_max_segments(struct request_queue *, unsigned short) // with return type: void void blk_queue_max_segments(struct request_queue *arg0, unsigned short arg1) { // Void type return; } // Function: blk_queue_prep_rq // with type: void blk_queue_prep_rq(struct request_queue *, prep_rq_fn *) // with return type: void void blk_queue_prep_rq(struct request_queue *arg0, prep_rq_fn *arg1) { // Void type return; } // Function: blk_requeue_request // with type: void blk_requeue_request(struct request_queue *, struct request *) // with return type: void void blk_requeue_request(struct request_queue *arg0, struct request *arg1) { // Void type return; } // Function: blk_rq_map_sg // with type: int blk_rq_map_sg(struct request_queue *, struct request *, struct scatterlist *) // with return type: int int __VERIFIER_nondet_int(void); int blk_rq_map_sg(struct request_queue *arg0, struct request *arg1, struct scatterlist *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: blk_start_queue // with type: void blk_start_queue(struct request_queue *) // with return type: void void blk_start_queue(struct request_queue *arg0) { // Void type return; } // Function: blk_stop_queue // with type: void blk_stop_queue(struct request_queue *) // with return type: void void blk_stop_queue(struct request_queue *arg0) { // Void type return; } // Skip function: calloc // Function: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *arg0) { // Void type return; } // Function: del_gendisk // with type: void del_gendisk(struct gendisk *) // with return type: void void del_gendisk(struct gendisk *arg0) { // 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: 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: 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: get_random_bytes // with type: void get_random_bytes(void *, int) // with return type: void void get_random_bytes(void *arg0, int arg1) { // Void type return; } // Function: idr_alloc // with type: int idr_alloc(struct idr *, void *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int idr_alloc(struct idr *arg0, void *arg1, int arg2, int arg3, gfp_t arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_destroy // with type: void idr_destroy(struct idr *) // with return type: void void idr_destroy(struct idr *arg0) { // Void type return; } // Function: idr_remove // with type: void idr_remove(struct idr *, int) // with return type: void void idr_remove(struct idr *arg0, int arg1) { // 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; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_some_page // with type: struct page *ldv_some_page() // with return type: (struct page)* struct page *ldv_some_page() { // Pointer type return ldv_malloc(sizeof(struct page)); } // 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: memset // Function: memstick_init_req // with type: void memstick_init_req(struct memstick_request *, unsigned char, const void *, size_t ) // with return type: void void memstick_init_req(struct memstick_request *arg0, unsigned char arg1, const void *arg2, size_t arg3) { // Void type return; } // Function: memstick_init_req_sg // with type: void memstick_init_req_sg(struct memstick_request *, unsigned char, const struct scatterlist *) // with return type: void void memstick_init_req_sg(struct memstick_request *arg0, unsigned char arg1, const struct scatterlist *arg2) { // Void type return; } // Function: memstick_new_req // with type: void memstick_new_req(struct memstick_host *) // with return type: void void memstick_new_req(struct memstick_host *arg0) { // Void type return; } // Function: memstick_register_driver // with type: int memstick_register_driver(struct memstick_driver *) // with return type: int int __VERIFIER_nondet_int(void); int memstick_register_driver(struct memstick_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: memstick_unregister_driver // with type: void memstick_unregister_driver(struct memstick_driver *) // with return type: void void memstick_unregister_driver(struct memstick_driver *arg0) { // Void type return; } // 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: 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_disk // with type: void put_disk(struct gendisk *) // with return type: void void put_disk(struct gendisk *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: register_blkdev // with type: int register_blkdev(unsigned int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int register_blkdev(unsigned int arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: set_disk_ro // with type: void set_disk_ro(struct gendisk *, int) // with return type: void void set_disk_ro(struct gendisk *arg0, int arg1) { // Void type return; } // Function: sg_copy_from_buffer // with type: size_t sg_copy_from_buffer(struct scatterlist *, unsigned int, const void *, size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t sg_copy_from_buffer(struct scatterlist *arg0, unsigned int arg1, const void *arg2, size_t arg3) { // 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: sg_copy_to_buffer // with type: size_t sg_copy_to_buffer(struct scatterlist *, unsigned int, void *, size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t sg_copy_to_buffer(struct scatterlist *arg0, unsigned int arg1, void *arg2, size_t arg3) { // 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: sg_init_one // with type: void sg_init_one(struct scatterlist *, const void *, unsigned int) // with return type: void void sg_init_one(struct scatterlist *arg0, const void *arg1, unsigned int arg2) { // 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_miter_next // with type: bool sg_miter_next(struct sg_mapping_iter *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool sg_miter_next(struct sg_mapping_iter *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: sg_miter_start // with type: void sg_miter_start(struct sg_mapping_iter *, struct scatterlist *, unsigned int, unsigned int) // with return type: void void sg_miter_start(struct sg_mapping_iter *arg0, struct scatterlist *arg1, unsigned int arg2, unsigned int arg3) { // Void type return; } // Function: sg_miter_stop // with type: void sg_miter_stop(struct sg_mapping_iter *) // with return type: void void sg_miter_stop(struct sg_mapping_iter *arg0) { // Void type return; } // Function: sg_nents // with type: int sg_nents(struct scatterlist *) // with return type: int int __VERIFIER_nondet_int(void); int sg_nents(struct scatterlist *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: sprintf // Function: trace_hardirqs_off // with type: void trace_hardirqs_off() // with return type: void void trace_hardirqs_off() { // Void type return; } // Function: trace_hardirqs_on // with type: void trace_hardirqs_on() // with return type: void void trace_hardirqs_on() { // Void type return; } // Function: unregister_blkdev // with type: void unregister_blkdev(unsigned int, const char *) // with return type: void void unregister_blkdev(unsigned int arg0, const char *arg1) { // Void type return; } // Function: wait_for_completion // with type: void wait_for_completion(struct completion *) // with return type: void void wait_for_completion(struct completion *arg0) { // Void type return; } // 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; }