Lines Matching defs:devip
1065 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdev->hostdata; in sdebug_err_add() local
1082 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdev->hostdata; in sdebug_err_remove() local
1111 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdev->hostdata; in sdebug_error_show() local
1527 static void clear_luns_changed_on_target(struct sdebug_dev_info *devip) in clear_luns_changed_on_target()
1540 static int make_ua(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in make_ua()
1993 static int inquiry_vpd_b1(struct sdebug_dev_info *devip, unsigned char *arr) in inquiry_vpd_b1()
2024 static int inquiry_vpd_b6(struct sdebug_dev_info *devip, unsigned char *arr) in inquiry_vpd_b6()
2065 static int resp_inquiry(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_inquiry()
2236 struct sdebug_dev_info *devip) in resp_requests()
2289 static int resp_start_stop(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_start_stop()
2353 struct sdebug_dev_info *devip) in resp_readcap()
2372 struct sdebug_dev_info *devip) in resp_readcap16()
2418 struct sdebug_dev_info *devip) in resp_report_tgtpgs()
2495 struct sdebug_dev_info *devip) in resp_rsup_opcodes()
2647 struct sdebug_dev_info *devip) in resp_rsup_tmfs()
2896 static int process_medium_part_m_pg(struct sdebug_dev_info *devip, in process_medium_part_m_pg()
2961 struct sdebug_dev_info *devip) in resp_mode_sense()
3173 struct sdebug_dev_info *devip) in resp_mode_select()
3344 struct sdebug_dev_info *devip) in resp_log_sense()
3445 struct sdebug_dev_info *devip) in resp_read_blklimits()
3456 struct sdebug_dev_info *devip) in resp_locate()
3488 struct sdebug_dev_info *devip) in resp_write_filemarks()
3518 struct sdebug_dev_info *devip) in resp_space()
3636 struct sdebug_dev_info *devip) in resp_read_position()
3659 struct sdebug_dev_info *devip) in resp_rewind()
3666 static int partition_tape(struct sdebug_dev_info *devip, int nbr_partitions, in partition_tape()
3694 struct sdebug_dev_info *devip) in resp_format_medium()
3723 struct sdebug_dev_info *devip) in resp_erase()
3735 static inline bool sdebug_dev_is_zoned(struct sdebug_dev_info *devip) in sdebug_dev_is_zoned()
3740 static struct sdeb_zone_state *zbc_zone(struct sdebug_dev_info *devip, in zbc_zone()
3777 static void zbc_close_zone(struct sdebug_dev_info *devip, in zbc_close_zone()
3802 static void zbc_close_imp_open_zone(struct sdebug_dev_info *devip) in zbc_close_imp_open_zone()
3815 static void zbc_open_zone(struct sdebug_dev_info *devip, in zbc_open_zone()
3846 static inline void zbc_set_zone_full(struct sdebug_dev_info *devip, in zbc_set_zone_full()
3864 static void zbc_inc_wp(struct sdebug_dev_info *devip, in zbc_inc_wp()
3910 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in check_zbc_access_params() local
3986 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in check_device_access_params() local
4014 static inline struct sdeb_store_info *devip2sip(struct sdebug_dev_info *devip, in devip2sip()
4468 static int resp_read_tape(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_read_tape()
4560 static int resp_read_dt0(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_read_dt0()
4867 static int resp_write_tape(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_write_tape()
4928 static int resp_write_dt0(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_write_dt0()
5082 struct sdebug_dev_info *devip) in resp_write_scat()
5255 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in resp_write_same() local
5319 struct sdebug_dev_info *devip) in resp_write_same_10()
5344 struct sdebug_dev_info *devip) in resp_write_same_16()
5375 struct sdebug_dev_info *devip) in resp_write_buffer()
5421 struct sdebug_dev_info *devip) in resp_comp_write()
5492 static int resp_unmap(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_unmap()
5550 struct sdebug_dev_info *devip) in resp_get_lba_status()
5592 struct sdebug_dev_info *devip) in resp_get_stream_status()
5637 struct sdebug_dev_info *devip) in resp_sync_cache()
5672 struct sdebug_dev_info *devip) in resp_pre_fetch()
5725 struct sdebug_dev_info *devip) in resp_report_luns()
5817 static int resp_verify(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_verify()
5897 struct sdebug_dev_info *devip) in resp_report_zones()
6038 struct sdebug_dev_info *devip) in resp_atomic_write()
6097 static void zbc_open_all(struct sdebug_dev_info *devip) in zbc_open_all()
6108 static int resp_open_zone(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_open_zone()
6175 static void zbc_close_all(struct sdebug_dev_info *devip) in zbc_close_all()
6184 struct sdebug_dev_info *devip) in resp_close_zone()
6231 static void zbc_finish_zone(struct sdebug_dev_info *devip, in zbc_finish_zone()
6247 static void zbc_finish_all(struct sdebug_dev_info *devip) in zbc_finish_all()
6256 struct sdebug_dev_info *devip) in resp_finish_zone()
6303 static void zbc_rwp_zone(struct sdebug_dev_info *devip, in zbc_rwp_zone()
6328 static void zbc_rwp_all(struct sdebug_dev_info *devip) in zbc_rwp_all()
6336 static int resp_rwp_zone(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_rwp_zone()
6443 static int sdebug_device_create_zones(struct sdebug_dev_info *devip) in sdebug_device_create_zones()
6558 struct sdebug_dev_info *devip; in sdebug_device_create() local
6600 struct sdebug_dev_info *devip; in find_build_dev_info() local
6643 struct sdebug_dev_info *devip = in scsi_debug_sdev_configure() local
6697 struct sdebug_dev_info *devip = in scsi_debug_sdev_destroy() local
6804 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in sdebug_fail_abort() local
6878 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in sdebug_fail_lun_reset() local
6903 static void scsi_tape_reset_clear(struct sdebug_dev_info *devip) in scsi_tape_reset_clear()
6920 struct sdebug_dev_info *devip = sdp->hostdata; in scsi_debug_device_reset() local
6960 struct sdebug_dev_info *devip; in scsi_debug_target_reset() local
6995 struct sdebug_dev_info *devip; in scsi_debug_bus_reset() local
7019 struct sdebug_dev_info *devip; in scsi_debug_host_reset() local
7153 static int schedule_resp(struct scsi_cmnd *cmnd, struct sdebug_dev_info *devip, in schedule_resp()
8948 struct sdebug_dev_info *devip = sdev->hostdata; in sdebug_change_qdepth() local
8990 static int resp_not_ready(struct scsi_cmnd *scp, struct sdebug_dev_info *devip) in resp_not_ready()
9135 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in sdebug_timeout_cmd() local
9163 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in sdebug_fail_queue_cmd() local
9192 struct sdebug_dev_info *devip = (struct sdebug_dev_info *)sdp->hostdata; in sdebug_fail_cmd() local
9237 struct sdebug_dev_info *devip; in scsi_debug_queuecommand() local