Searched refs:luns (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/tools/tools/vhba/mptest/
H A Dvhba_mptest.c41 SYSCTL_INT(_debug, OID_AUTO, vhba_notify_stop, CTLFLAG_RW, &vhba_notify_stop, 1, "notify when luns go away");
42 SYSCTL_INT(_debug, OID_AUTO, vhba_notify_start, CTLFLAG_RW, &vhba_notify_start, 1, "notify when luns arrive");
43 SYSCTL_INT(_debug, OID_AUTO, vhba_inject_hwerr, CTLFLAG_RW, &vhba_inject_hwerr, 0, "inject hardware error on lost luns");
60 int luns[2]; member in struct:__anon10726
85 vhbastatic.luns[0] = 1;
86 vhbastatic.luns[1] = 1;
151 if (vhba_inject_hwerr && csio->ccb_h.target_lun < MAX_LUN && vhbas->luns[csio->ccb_h.target_lun] == 0) {
156 if ((csio->ccb_h.target_lun >= MAX_LUN || vhbas->luns[csio->ccb_h.target_lun] == 0) && cdb[0] != INQUIRY && cdb[0] != REPORT_LUNS && cdb[0] != REQUEST_SENSE) {
418 if (vhbas->luns[lun]) {
424 vhbas->luns[lu
[all...]
/freebsd-9.3-release/sys/dev/mpr/
H A Dmpr_sas.h64 SLIST_HEAD(, mprsas_lun) luns; member in struct:mprsas_target
H A Dmpr_sas_lsi.c787 while (!SLIST_EMPTY(&targ->luns)) {
788 lun = SLIST_FIRST(&targ->luns);
789 SLIST_REMOVE_HEAD(&targ->luns, lun_link);
792 SLIST_INIT(&targ->luns);
990 while (!SLIST_EMPTY(&targ->luns)) {
991 lun = SLIST_FIRST(&targ->luns);
992 SLIST_REMOVE_HEAD(&targ->luns, lun_link);
995 SLIST_INIT(&targ->luns);
1045 SLIST_FOREACH(lun, &target->luns, lun_link) {
H A Dmpr_sas.c677 while (!SLIST_EMPTY(&targ->luns)) {
678 lun = SLIST_FIRST(&targ->luns);
679 SLIST_REMOVE_HEAD(&targ->luns, lun_link);
936 SLIST_FOREACH_SAFE(lun, &targ->luns, lun_link, lun_tmp) {
1828 SLIST_FOREACH(lun, &targ->luns, lun_link) {
3060 SLIST_FOREACH(lun, &target->luns, lun_link) {
3076 SLIST_INSERT_HEAD(&target->luns, lun, lun_link);
3158 SLIST_FOREACH(lun, &target->luns, lun_link) {
3173 SLIST_INSERT_HEAD(&target->luns, lun, lun_link);
3253 SLIST_FOREACH(lun, &target->luns, lun_lin
[all...]
H A Dmpr.c524 SLIST_FOREACH_SAFE(lun, &targ->luns, lun_link,
/freebsd-9.3-release/sys/dev/mps/
H A Dmps_sas.h60 SLIST_HEAD(, mpssas_lun) luns; member in struct:mpssas_target
H A Dmps_sas_lsi.c691 while(!SLIST_EMPTY(&targ->luns)) {
692 lun = SLIST_FIRST(&targ->luns);
693 SLIST_REMOVE_HEAD(&targ->luns, lun_link);
696 SLIST_INIT(&targ->luns);
889 while(!SLIST_EMPTY(&targ->luns)) {
890 lun = SLIST_FIRST(&targ->luns);
891 SLIST_REMOVE_HEAD(&targ->luns, lun_link);
894 SLIST_INIT(&targ->luns);
H A Dmps_sas.c663 while(!SLIST_EMPTY(&targ->luns)) {
664 lun = SLIST_FIRST(&targ->luns);
665 SLIST_REMOVE_HEAD(&targ->luns, lun_link);
875 SLIST_FOREACH_SAFE(lun, &targ->luns, lun_link, lun_tmp) {
1778 SLIST_FOREACH(lun, &targ->luns, lun_link) {
3205 SLIST_FOREACH(lun, &target->luns, lun_link) {
3221 SLIST_INSERT_HEAD(&target->luns, lun, lun_link);
3327 SLIST_FOREACH(lun, &target->luns, lun_link) {
3344 SLIST_INSERT_HEAD(&target->luns, lun,
3422 SLIST_FOREACH(lun, &target->luns, lun_lin
[all...]
H A Dmps.c497 SLIST_FOREACH_SAFE(lun, &targ->luns, lun_link,
/freebsd-9.3-release/sys/dev/firewire/
H A Dsbp.c228 struct sbp_dev **luns; member in struct:sbp_target
488 sdev = target->luns[lun];
496 target->luns[lun] = NULL;
502 newluns = (struct sbp_dev **) realloc(target->luns,
508 newluns = target->luns;
521 target->luns = newluns;
538 sdev = target->luns[lun];
546 target->luns[lun] = sdev;
572 target->luns[lun] = NULL;
601 sdev = target->luns[lu
[all...]
/freebsd-9.3-release/sys/cam/scsi/
H A Dscsi_xpt.c89 ((((x)->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) == \
91 (((x)->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) == \
94 if (((lp)->luns[(i)].lundata[0] & RPL_LUNDATA_ATYP_MASK) == \
96 (lval) = (lp)->luns[(i)].lundata[1]; \
98 (lval) = (lp)->luns[(i)].lundata[0]; \
101 (lval) |= (lp)->luns[(i)].lundata[1]; \
104 * If we're not quirked to search <= the first 8 luns
108 * we can look for luns above lun 8.
676 * luns. If you think a device has gone away start your scan from
815 "Unable to alloc report luns storag
[all...]
H A Dscsi_all.h1618 struct scsi_report_luns_lundata luns[0]; member in struct:scsi_report_luns_data
/freebsd-9.3-release/sys/cam/
H A Dcam_xpt_internal.h146 struct scsi_report_luns_data *luns; member in struct:cam_et
H A DREADME.quirks40 o CAM_QUIRK_NOLUNS - do not probe luns other than 0 since device
45 o CAM_QUIRK_HILUNS - probe all luns even if some respond "not present"
H A Dcam_xpt.c2529 * that luns are a 3 bit value and reserves only 3
2532 * luns, but have deprecated lun information in the
2807 * then devices/luns on a target, and then peripherals on a
4500 target->luns = NULL;
4535 if (target->luns)
4536 free(target->luns, M_CAMXPT);
/freebsd-9.3-release/usr.sbin/ctladm/
H A Dctladm.c1284 switch (lun_data->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) {
1286 lun_val = lun_data->luns[i].lundata[1];
1289 lun_val = (lun_data->luns[i].lundata[0] &
1291 (lun_data->luns[i].lundata[1] <<
1298 lun_data->luns[i].lundata[0] &
1516 * - report luns
1518 * - check OOA queue on direct access luns
1552 switch (lun_data->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) {
1554 lun_val = lun_data->luns[i].lundata[1];
1557 lun_val = (lun_data->luns[
[all...]
/freebsd-9.3-release/sys/dev/esp/
H A Dncr53c9x.c225 LIST_FOREACH(li, &ti->luns, link)
443 for (li = LIST_FIRST(&sc->sc_tinfo[t].luns); li;
594 LIST_FOREACH(li, &sc->sc_tinfo[target].luns, link) {
638 LIST_INIT(&sc->sc_tinfo[r].luns);
1288 LIST_INSERT_HEAD(&ti->luns, li, link);
2536 li = LIST_FIRST(&ti->luns);
2546 li = LIST_FIRST(&ti->luns);
3241 li = LIST_FIRST(&ti->luns);
3251 li = LIST_FIRST(&ti->luns);
H A Dncr53c9xvar.h197 LIST_HEAD(lun_list, ncr53c9x_linfo) luns; member in struct:ncr53c9x_tinfo
/freebsd-9.3-release/sbin/camcontrol/
H A Dcamcontrol.c6107 for (j = 0; j < sizeof(lundata->luns[i].lundata); j += 2) {
6110 switch (lundata->luns[i].lundata[j] &
6113 if ((lundata->luns[i].lundata[j] &
6116 lundata->luns[i].lundata[j] &
6119 && ((lundata->luns[i].lundata[j+2] &
6124 lundata->luns[i].lundata[j+1]);
6128 tmplun[0] = lundata->luns[i].lundata[j] &
6130 tmplun[1] = lundata->luns[i].lundata[j+1];
6138 (lundata->luns[i].lundata[j+1] &
6140 lundata->luns[
[all...]
/freebsd-9.3-release/sys/cam/ctl/
H A Dctl.c4311 * inventory changed UA for all other luns.
8680 lun_data->luns[num_filled].lundata[0] =
8682 lun_data->luns[num_filled].lundata[1] = lun->lun;
8688 lun_data->luns[num_filled].lundata[0] =
8695 lun_data->luns[num_filled].lundata[1] =
8716 * If request_lun is NULL, the LUN this report luns command
10455 * don't fall into the "reset" category (e.g. "reported luns data

Completed in 402 milliseconds