// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // 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: __root_device_register // with type: struct device *__root_device_register(const char *, struct module *) // with return type: (struct device)* struct device *__root_device_register(const char *arg0, struct module *arg1) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: __tasklet_hi_schedule // with type: void __tasklet_hi_schedule(struct tasklet_struct *) // with return type: void void __tasklet_hi_schedule(struct tasklet_struct *arg0) { // Void type return; } // Function: __tasklet_schedule // with type: void __tasklet_schedule(struct tasklet_struct *) // with return type: void void __tasklet_schedule(struct tasklet_struct *arg0) { // Void type return; } // Function: _raw_read_lock_irqsave // with type: unsigned long int _raw_read_lock_irqsave(rwlock_t *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _raw_read_lock_irqsave(rwlock_t *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_read_unlock_irqrestore // with type: void _raw_read_unlock_irqrestore(rwlock_t *, unsigned long) // with return type: void void _raw_read_unlock_irqrestore(rwlock_t *arg0, unsigned long 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_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: _raw_write_lock_irqsave // with type: unsigned long int _raw_write_lock_irqsave(rwlock_t *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _raw_write_lock_irqsave(rwlock_t *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_write_unlock_irqrestore // with type: void _raw_write_unlock_irqrestore(rwlock_t *, unsigned long) // with return type: void void _raw_write_unlock_irqrestore(rwlock_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: 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: bus_register // with type: int bus_register(struct bus_type *) // with return type: int int __VERIFIER_nondet_int(void); int bus_register(struct bus_type *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: bus_unregister // with type: void bus_unregister(struct bus_type *) // with return type: void void bus_unregister(struct bus_type *arg0) { // Void type return; } // Skip function: calloc // Function: capable // with type: bool capable(int) // with return type: bool bool __VERIFIER_nondet_bool(void); bool capable(int arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: crc_t10dif // with type: __u16 crc_t10dif(const unsigned char *, size_t ) // with return type: __u16 unsigned short __VERIFIER_nondet_ushort(void); __u16 crc_t10dif(const unsigned char *arg0, size_t arg1) { // Typedef type // Real type: unsigned short // Simple type return __VERIFIER_nondet_ushort(); } // 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_set_name // with type: int dev_set_name(struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_set_name(struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: device_register // with type: int device_register(struct device *) // with return type: int int __VERIFIER_nondet_int(void); int device_register(struct device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: device_unregister // with type: void device_unregister(struct device *) // with return type: void void device_unregister(struct device *arg0) { // Void type return; } // 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: 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_last_bit // with type: unsigned long int find_last_bit(const unsigned long *, unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int find_last_bit(const unsigned long *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: find_next_bit // with type: unsigned long int find_next_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_bit(const unsigned long *arg0, unsigned long arg1, unsigned long arg2) { // 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: hrtimer_cancel // with type: int hrtimer_cancel(struct hrtimer *) // with return type: int int __VERIFIER_nondet_int(void); int hrtimer_cancel(struct hrtimer *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: hrtimer_init // with type: void hrtimer_init(struct hrtimer *, clockid_t , enum hrtimer_mode ) // with return type: void void hrtimer_init(struct hrtimer *arg0, clockid_t arg1, enum hrtimer_mode arg2) { // Void type return; } // Function: hrtimer_start_range_ns // with type: void hrtimer_start_range_ns(struct hrtimer *, ktime_t , unsigned long, const enum hrtimer_mode ) // with return type: void void hrtimer_start_range_ns(struct hrtimer *arg0, ktime_t arg1, unsigned long arg2, const enum hrtimer_mode arg3) { // Void type return; } // Function: ip_compute_csum // with type: __sum16 ip_compute_csum(const void *, int) // with return type: __sum16 unsigned short __VERIFIER_nondet_ushort(void); __sum16 ip_compute_csum(const void *arg0, int arg1) { // Typedef type // Real type: __u16 // Typedef type // Real type: unsigned short // Simple type return __VERIFIER_nondet_ushort(); } // 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_probe_3 // with type: int ldv_probe_3() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_3() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_release_3 // with type: int ldv_release_3() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_3() { // Simple type return __VERIFIER_nondet_int(); } // 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: 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: memcmp // Skip function: memcpy // Skip function: memset // 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: root_device_unregister // with type: void root_device_unregister(struct device *) // with return type: void void root_device_unregister(struct device *arg0) { // Void type return; } // Function: scnprintf // with type: int scnprintf(char *, size_t , const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int scnprintf(char *arg0, size_t arg1, const char *arg2, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: scsi_add_host_with_dma // with type: int scsi_add_host_with_dma(struct Scsi_Host *, struct device *, struct device *) // with return type: int int __VERIFIER_nondet_int(void); int scsi_add_host_with_dma(struct Scsi_Host *arg0, struct device *arg1, struct device *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: scsi_build_sense_buffer // with type: void scsi_build_sense_buffer(int, u8 *, u8 , u8 , u8 ) // with return type: void void scsi_build_sense_buffer(int arg0, u8 *arg1, u8 arg2, u8 arg3, u8 arg4) { // Void type return; } // Function: scsi_change_queue_depth // with type: int scsi_change_queue_depth(struct scsi_device *, int) // with return type: int int __VERIFIER_nondet_int(void); int scsi_change_queue_depth(struct scsi_device *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: scsi_host_alloc // with type: struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *, int) // with return type: (struct Scsi_Host)* struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct Scsi_Host)); } // Function: scsi_host_put // with type: void scsi_host_put(struct Scsi_Host *) // with return type: void void scsi_host_put(struct Scsi_Host *arg0) { // Void type return; } // Function: scsi_remove_host // with type: void scsi_remove_host(struct Scsi_Host *) // with return type: void void scsi_remove_host(struct Scsi_Host *arg0) { // Void type return; } // Function: scsi_scan_host // with type: void scsi_scan_host(struct Scsi_Host *) // with return type: void void scsi_scan_host(struct Scsi_Host *arg0) { // Void type return; } // Function: sdev_prefix_printk // with type: void sdev_prefix_printk(const char *, const struct scsi_device *, const char *, const char *, ...) // with return type: void void sdev_prefix_printk(const char *arg0, const struct scsi_device *arg1, const char *arg2, const char *arg3, ...) { // Void type return; } // 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: sg_copy_buffer // with type: size_t sg_copy_buffer(struct scatterlist *, unsigned int, void *, size_t , off_t , bool ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t sg_copy_buffer(struct scatterlist *arg0, unsigned int arg1, void *arg2, size_t arg3, off_t arg4, bool arg5) { // 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_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_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; } // Skip function: snprintf // Skip function: sprintf // Skip function: sscanf // Skip function: strcpy // Skip function: strlen // Function: strncasecmp // with type: int strncasecmp(const char *, const char *, size_t ) // with return type: int int __VERIFIER_nondet_int(void); int strncasecmp(const char *arg0, const char *arg1, size_t arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: tasklet_init // with type: void tasklet_init(struct tasklet_struct *, void (*)(unsigned long), unsigned long) // with return type: void void tasklet_init(struct tasklet_struct *arg0, void (*arg1)(unsigned long), unsigned long arg2) { // Void type return; } // Function: tasklet_kill // with type: void tasklet_kill(struct tasklet_struct *) // with return type: void void tasklet_kill(struct tasklet_struct *arg0) { // Void type return; } // Function: vfree // with type: void vfree(const void *) // with return type: void void vfree(const void *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; }