Home
last modified time | relevance | path

Searched refs:ns_scsi (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_scsi.c105 if (session->ns_scsi.sd_is_open == -1) { in ndmpd_scsi_close_v2()
112 (void) ndmp_open_list_del(session->ns_scsi.sd_adapter_name, in ndmpd_scsi_close_v2()
113 session->ns_scsi.sd_sid, in ndmpd_scsi_close_v2()
114 session->ns_scsi.sd_lun); in ndmpd_scsi_close_v2()
115 (void) close(session->ns_scsi.sd_devid); in ndmpd_scsi_close_v2()
117 session->ns_scsi.sd_is_open = -1; in ndmpd_scsi_close_v2()
118 session->ns_scsi.sd_devid = -1; in ndmpd_scsi_close_v2()
119 session->ns_scsi.sd_sid = 0; in ndmpd_scsi_close_v2()
120 session->ns_scsi.sd_lun = 0; in ndmpd_scsi_close_v2()
121 session->ns_scsi.sd_valid_target_set = FALSE; in ndmpd_scsi_close_v2()
[all …]
H A Dndmpd_comm.c820 session.ns_scsi.sd_is_open = -1; in connection_handler()
821 session.ns_scsi.sd_devid = -1; in connection_handler()
823 session.ns_scsi.sd_sid = 0; in connection_handler()
824 session.ns_scsi.sd_lun = 0; in connection_handler()
825 session.ns_scsi.sd_valid_target_set = 0; in connection_handler()
826 (void) memset(session.ns_scsi.sd_adapter_name, 0, in connection_handler()
827 sizeof (session.ns_scsi.sd_adapter_name)); in connection_handler()
898 if (session.ns_scsi.sd_is_open != -1) { in connection_handler()
900 session.ns_scsi.sd_is_open); in connection_handler()
901 (void) ndmp_open_list_del(session.ns_scsi.sd_adapter_name, in connection_handler()
[all …]
H A Dndmpd_connect.c796 ndmp_door_put_int32(enc_ctx, session->ns_scsi.sd_is_open); in ndmp_connect_get_scsi_v2()
797 ndmp_door_put_string(enc_ctx, session->ns_scsi.sd_adapter_name); in ndmp_connect_get_scsi_v2()
798 ndmp_door_put_int32(enc_ctx, session->ns_scsi.sd_valid_target_set); in ndmp_connect_get_scsi_v2()
799 if (session->ns_scsi.sd_valid_target_set) { in ndmp_connect_get_scsi_v2()
800 ndmp_door_put_int32(enc_ctx, session->ns_scsi.sd_sid); in ndmp_connect_get_scsi_v2()
801 ndmp_door_put_int32(enc_ctx, session->ns_scsi.sd_lun); in ndmp_connect_get_scsi_v2()
H A Dndmpd_tape.c122 if (session->ns_tape.td_fd != -1 || session->ns_scsi.sd_is_open != -1) { in ndmpd_tape_open_v2()
1214 if (session->ns_tape.td_fd != -1 || session->ns_scsi.sd_is_open != -1) { in common_tape_open()
H A Dndmpd.h493 ndmpd_session_scsi_desc_t ns_scsi; member