Home
last modified time | relevance | path

Searched refs:adptnm (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tape.c113 char adptnm[SCSI_MAX_NAME]; in ndmpd_tape_open_v2() local
135 (void) strlcpy(adptnm, request->device.name, SCSI_MAX_NAME-2); in ndmpd_tape_open_v2()
136 adptnm[SCSI_MAX_NAME-1] = '\0'; in ndmpd_tape_open_v2()
161 switch (ndmp_open_list_add(connection, adptnm, sid, lun, devid)) { in ndmpd_tape_open_v2()
186 !is_tape_unit_ready(adptnm, 0)) { in ndmpd_tape_open_v2()
187 (void) ndmp_open_list_del(adptnm, sid, lun); in ndmpd_tape_open_v2()
212 (void) ndmp_open_list_del(adptnm, sid, lun); in ndmpd_tape_open_v2()
220 (void) strlcpy(session->ns_tape.td_adapter_name, adptnm, SCSI_MAX_NAME); in ndmpd_tape_open_v2()
1205 char adptnm[SCSI_MAX_NAME]; in common_tape_open() local
1222 (void) strlcpy(adptnm, devname, SCSI_MAX_NAME-2); in common_tape_open()
[all …]
H A Dndmpd_scsi.c415 char adptnm[SCSI_MAX_NAME]; in common_open() local
429 (void) strlcpy(adptnm, devname, SCSI_MAX_NAME-2); in common_open()
430 adptnm[SCSI_MAX_NAME-1] = '\0'; in common_open()
450 switch (ndmp_open_list_add(connection, adptnm, sid, lun, devid)) { in common_open()
468 (void) strlcpy(session->ns_scsi.sd_adapter_name, adptnm, SCSI_MAX_NAME); in common_open()
H A Dndmpd_util.c2405 is_tape_unit_ready(char *adptnm, int dev_id) in is_tape_unit_ready() argument
2412 if ((fd = open(adptnm, O_RDONLY | O_NDELAY)) < 0) in is_tape_unit_ready()