Lines Matching refs:targ_lun

860 	msg->hdr.nexus.targ_lun = lun->lun;
1018 msg.hdr.nexus.targ_lun = lun->lun;
1136 uint32_t targ_lun;
1138 targ_lun = msg->hdr.nexus.targ_mapped_lun;
1140 if (targ_lun >= ctl_max_luns ||
1141 (lun = softc->ctl_luns[targ_lun]) == NULL) {
1156 __func__, targ_lun);
1190 __func__, targ_lun,
1376 uint32_t initidx, targ_lun;
1378 targ_lun = msg->hdr.nexus.targ_mapped_lun;
1380 if (targ_lun >= ctl_max_luns ||
1381 (lun = softc->ctl_luns[targ_lun]) == NULL) {
2277 uint32_t targ_lun;
2279 targ_lun = ctsio->io_hdr.nexus.targ_mapped_lun;
2290 if (targ_lun >= ctl_max_luns ||
2291 (lun = softc->ctl_luns[targ_lun]) == NULL) {
4921 msg.hdr.nexus.targ_lun = lun->lun;
5016 msg.hdr.nexus.targ_lun = lun->lun;
8576 uint32_t residx, targ_lun;
8578 targ_lun = msg->hdr.nexus.targ_mapped_lun;
8580 if (targ_lun >= ctl_max_luns ||
8581 (lun = softc->ctl_luns[targ_lun]) == NULL) {
11347 uint32_t targ_lun;
11349 targ_lun = rio->io_hdr.nexus.targ_mapped_lun;
11350 CTL_DEBUG_PRINT(("FAILOVER for lun %u\n", targ_lun));
11354 if (targ_lun > ctl_max_luns ||
11355 (lun = softc->ctl_luns[targ_lun]) == NULL) {
11430 uint32_t initidx, targ_lun;
11433 targ_lun = ctsio->io_hdr.nexus.targ_mapped_lun;
11434 if (targ_lun < ctl_max_luns)
11435 lun = softc->ctl_luns[targ_lun];
11846 uint32_t targ_lun, initidx;
11848 targ_lun = io->io_hdr.nexus.targ_mapped_lun;
11851 if (targ_lun >= ctl_max_luns ||
11852 (lun = softc->ctl_luns[targ_lun]) == NULL) {
11923 uint32_t targ_lun;
11928 targ_lun = io->io_hdr.nexus.targ_mapped_lun;
11930 if (targ_lun >= ctl_max_luns ||
11931 (lun = softc->ctl_luns[targ_lun]) == NULL) {
12018 uint32_t targ_lun;
12023 targ_lun = io->io_hdr.nexus.targ_mapped_lun;
12025 if (targ_lun >= ctl_max_luns ||
12026 (lun = softc->ctl_luns[targ_lun]) == NULL) {
12100 uint32_t targ_lun;
12102 targ_lun = io->io_hdr.nexus.targ_mapped_lun;
12104 if (targ_lun >= ctl_max_luns ||
12105 (lun = softc->ctl_luns[targ_lun]) == NULL) {
12138 uint32_t targ_lun, initidx;
12140 targ_lun = io->io_hdr.nexus.targ_mapped_lun;
12142 if (targ_lun >= ctl_max_luns ||
12143 (lun = softc->ctl_luns[targ_lun]) == NULL) {
12225 uint32_t targ_lun;
12227 targ_lun = io->io_hdr.nexus.targ_mapped_lun;
12234 if (targ_lun >= ctl_max_luns ||
12235 (lun = softc->ctl_luns[targ_lun]) == NULL) {
12254 if (targ_lun >= ctl_max_luns ||
12255 (lun = softc->ctl_luns[targ_lun]) == NULL) {
12522 io->io_hdr.nexus.targ_lun);
12925 io->io_hdr.nexus.targ_lun);
13164 uint32_t initidx, p, targ_lun;
13168 targ_lun = ctl_lun_map_from_port(port, io->io_hdr.nexus.targ_lun);
13179 if (targ_lun >= ctl_max_luns ||
13180 (lun = softc->ctl_luns[targ_lun]) == NULL) {
13223 ctl_lun_map_from_port(port, io->io_hdr.nexus.targ_lun);
13254 ctl_lun_map_from_port(port, io->io_hdr.nexus.targ_lun);
13322 io->io_hdr.nexus.targ_lun,
13519 msg.hdr.nexus.targ_lun = lun->lun;