Lines Matching defs:lun
115 int sid, lun;
137 sid = lun = -1;
141 scsi_find_sid_lun(sa, request->device.name, &sid, &lun);
142 if (ndmp_open_list_find(request->device.name, sid, lun) == 0 &&
161 switch (ndmp_open_list_add(connection, adptnm, sid, lun, devid)) {
187 (void) ndmp_open_list_del(adptnm, sid, lun);
212 (void) ndmp_open_list_del(adptnm, sid, lun);
219 session->ns_tape.td_lun = lun;
1208 int sid, lun;
1224 sid = lun = -1;
1227 scsi_find_sid_lun(sa, devname, &sid, &lun);
1228 if (ndmp_open_list_find(devname, sid, lun) == 0 &&
1296 adptnm, sid, lun, session->ns_tape.td_fd)) {
1316 session->ns_tape.td_lun = lun;