Lines Matching defs:sid
56 ushort_t controller, ushort_t sid, ushort_t lun);
416 int sid, lun;
431 sid = lun = -1;
433 scsi_find_sid_lun(sa, devname, &sid, &lun);
434 if (ndmp_open_list_find(devname, sid, lun) == NULL &&
450 switch (ndmp_open_list_add(connection, adptnm, sid, lun, devid)) {
471 if (sid != -1) {
472 session->ns_scsi.sd_sid = sid;
493 * sid (input) - SCSI target ID.
503 ushort_t controller, ushort_t sid, ushort_t lun)
513 } else if (!scsi_dev_exists(session->ns_scsi.sd_adapter_name, sid,
516 sid, lun);
519 type = scsi_get_devtype(session->ns_scsi.sd_adapter_name, sid,
524 sid, lun);
540 if (sid != session->ns_scsi.sd_sid || lun != session->ns_scsi.sd_lun) {
542 session->ns_scsi.sd_adapter_name, sid, lun, 0)) {
560 NDMP_LOG(LOG_DEBUG, "Updated sid %d lun %d", sid, lun);
561 session->ns_scsi.sd_sid = sid;
573 * gets the adapter, and returns the sid and lun number
576 scsi_find_sid_lun(scsi_adapter_t *sa, char *devname, int *sid, int *lun)
585 *sid = sl->sl_sid;
591 *sid = -1;