Searched refs:targ_port (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.3-release/sys/cam/ctl/
H A Dctl_frontend.c152 if (port->targ_port >= 0)
153 port_num = port->targ_port;
189 port->targ_port = -1;
201 port->targ_port = port_num;
204 nport != NULL && nport->targ_port < port_num;
211 softc->ctl_ports[port->targ_port] = port;
228 if (port->targ_port == -1) {
237 ctl_clear_mask(softc->ctl_port_mask, port->targ_port);
238 softc->ctl_ports[port->targ_port] = NULL;
H A Dctl_tpc_local.c100 port->targ_port = -1;
115 scsi_ulto2b(port->targ_port, tid->rel_trgt_port_id);
330 io->io_hdr.nexus.targ_port = tsoftc->port.targ_port;
H A Dctl_frontend_cam_sim.c156 port->targ_port = -1;
177 softc->wwpn = softc->wwnn + port->targ_port + 1;
551 io->io_hdr.nexus.targ_port = softc->port.targ_port;
641 io->io_hdr.nexus.targ_port = softc->port.targ_port;
698 fc->port = softc->port.targ_port;
737 io->io_hdr.nexus.targ_port = softc->port.targ_port;
791 cpi->xport_specific.fc.port = softc->port.targ_port;
[all...]
H A Dctl_frontend_ioctl.c108 port->targ_port = -1;
428 io->io_hdr.nexus.targ_port = cfi_softc.port.targ_port;
H A Dctl_frontend.h183 * targ_port: The CTL layer assigns a "port number" to every
234 int32_t targ_port; /* passed back to FETD */ member in struct:ctl_port
H A Dctl.h63 int32_t targ_port; member in struct:ctl_port_entry
H A Dctl_scsi_all.c117 io->io_hdr.nexus.initid, io->io_hdr.nexus.targ_port,
H A Dctl.c825 if (port->targ_port < softc->port_min ||
826 port->targ_port >= softc->port_max ||
841 msg->hdr.nexus.targ_port = port->targ_port;
886 if (port->targ_port < softc->port_min ||
887 port->targ_port >= softc->port_max ||
903 msg->hdr.nexus.targ_port = port->targ_port;
939 msg.hdr.nexus.targ_port = initidx / CTL_MAX_INIT_PER_PORT;
1009 if (port->targ_port >
12025 ctl_abort_tasks_lun(struct ctl_lun *lun, uint32_t targ_port, uint32_t init_id, int other_sc) argument
13176 uint32_t targ_port = io->io_hdr.nexus.targ_port; local
[all...]
H A Dscsi_ctl.c406 port->targ_port = -1;
483 "remove", softc->port.targ_port,
1171 io->io_hdr.nexus.targ_port = bus_softc->port.targ_port;
1212 io->io_hdr.nexus.targ_port,
1450 io->io_hdr.nexus.targ_port = bus_softc->port.targ_port;
1645 /* Port Num */ (bus_softc->port.targ_port & 0xff);
H A Dctl_frontend_iscsi.c510 io->io_hdr.nexus.targ_port = cs->cs_target->ct_port.targ_port;
566 io->io_hdr.nexus.targ_port = cs->cs_target->ct_port.targ_port;
1063 io->io_hdr.nexus.targ_port = cs->cs_target->ct_port.targ_port;
2028 port->targ_port = -1;
2075 memcpy(req->kern_args[0].kvalue, &port->targ_port,
2076 sizeof(port->targ_port)); //XXX
H A Dctl_io.h183 uint32_t targ_port; /* Target port, filled in by PORT */ member in struct:ctl_nexus
H A Dctl_ioctl.h124 uint32_t targ_port; member in struct:ctl_lun_io_port_stats
H A Dctl_tpc.c1673 list->init_port = ctsio->io_hdr.nexus.targ_port;
1806 list->init_port = ctsio->io_hdr.nexus.targ_port;
1925 port = softc->ctl_ports[ctsio->io_hdr.nexus.targ_port];
1978 list->init_port = ctsio->io_hdr.nexus.targ_port;
2104 list->init_port = ctsio->io_hdr.nexus.targ_port;
/freebsd-10.3-release/usr.sbin/ctld/
H A Dkernel.c281 if (strcmp(name, "targ_port") == 0) {
358 } else if (strcmp(name, "targ_port") == 0) {
968 entry.targ_port = port->p_ctl_port;
998 entry.targ_port = port->p_ctl_port;
1051 entry.targ_port = port->p_ctl_port;
/freebsd-10.3-release/usr.bin/ctlstat/
H A Dctlstat.c356 stats[lun].ports[port].targ_port);
394 stats[lun].ports[port].targ_port);
/freebsd-10.3-release/usr.sbin/ctladm/
H A Dctladm.c389 int32_t targ_port = -1; local
423 targ_port = strtol(optarg, NULL, 0);
486 if ((port_type != CTL_PORT_NONE) && (targ_port != -1)) {
490 } else if ((targ_port == -1) && (port_type == CTL_PORT_NONE))
499 entry.targ_port = targ_port;
519 if (targ_port == -1) {
3517 if (strcmp(name, "targ_port") == 0) {
3593 } else if (strcmp(name, "targ_port") == 0) {
3852 " ctladm lunmap -p targ_port [
[all...]

Completed in 276 milliseconds