/freebsd-10.0-release/sys/cam/ctl/ |
H A D | ctl_frontend.h | 175 * targ_port: The CTL layer assigns a "port number" to every 227 int32_t targ_port; /* passed back to FETD */ member in struct:ctl_frontend 284 * be the FC WWPN, if available. The targ_port field should be the same as 285 * the targ_port passed back from CTL in the ctl_frontend structure above. 289 int ctl_add_initiator(uint64_t wwpn, int32_t targ_port, uint32_t iid); 293 * targ_port field should be the same as the targ_port passed back in the 298 ctl_remove_initiator(int32_t targ_port, uint32_t iid);
|
H A D | ctl_frontend.c | 83 fe->targ_port = -1; 103 fe->targ_port = -1; 113 //fe->targ_port = port_num; 114 fe->targ_port = port_num + (master_shelf!=0 ? 0 : CTL_MAX_PORTS); 138 if (fe->targ_port == -1) { 150 port_num = (fe->targ_port < CTL_MAX_PORTS) ? fe->targ_port : 151 fe->targ_port - CTL_MAX_PORTS;
|
H A D | ctl_scsi_all.c | 118 io->io_hdr.nexus.targ_port, 128 io->io_hdr.nexus.targ_port, 135 io->io_hdr.nexus.targ_port,
|
H A D | ctl_frontend_cam_sim.c | 194 softc->wwpn = softc->wwnn + (softc->fe.targ_port & 0xff); 208 softc->wwpn = softc->wwnn + fe->targ_port + 1; 617 io->io_hdr.nexus.targ_port = softc->fe.targ_port; 708 io->io_hdr.nexus.targ_port = softc->fe.targ_port; 765 fc->port = softc->fe.targ_port; 803 io->io_hdr.nexus.targ_port = softc->fe.targ_port; 857 cpi->xport_specific.fc.port = softc->fe.targ_port; [all...] |
H A D | ctl.c | 358 static union ctl_io *ctl_malloc_io(ctl_io_type io_type, uint32_t targ_port, 522 tmp_io->io_hdr.nexus.targ_port, 616 io->io_hdr.nexus.targ_port, 1274 printf("port %d\n", fe->targ_port); 1388 ctl_remove_initiator(int32_t targ_port, uint32_t iid) argument 1396 if ((targ_port < 0) 1397 || (targ_port > CTL_MAX_PORTS)) { 1398 printf("%s: invalid port number %d\n", __func__, targ_port); 1409 softc->wwpn_iid[targ_port][iid].in_use = 0; 1421 ctl_add_initiator(uint64_t wwpn, int32_t targ_port, uint32_ argument 3314 ctl_malloc_io(ctl_io_type io_type, uint32_t targ_port, uint32_t targ_target, uint32_t targ_lun, int can_wait) argument 12317 uint32_t targ_port = ctl_port_idx(io->io_hdr.nexus.targ_port); local [all...] |
H A D | ctl.h | 63 int32_t targ_port; member in struct:ctl_port_entry
|
H A D | scsi_ctl.c | 508 softc->fe.targ_port, dev_chg->target); 511 softc->fe.targ_port, dev_chg->target); 518 "remove", softc->fe.targ_port, 1230 io->io_hdr.nexus.targ_port = bus_softc->fe.targ_port; 1267 io->io_hdr.nexus.targ_port, 1527 io->io_hdr.nexus.targ_port = bus_softc->fe.targ_port; 1760 /* Port Num */ (bus_softc->fe.targ_port & 0xff);
|
H A D | ctl_io.h | 204 uint32_t targ_port; /* Target port, filled in by PORT */ member in struct:ctl_nexus
|
H A D | ctl_frontend_iscsi.c | 549 io->io_hdr.nexus.targ_port = cs->cs_target->ct_softc->fe.targ_port; 615 io->io_hdr.nexus.targ_port = cs->cs_target->ct_softc->fe.targ_port; 1024 io->io_hdr.nexus.targ_port = cs->cs_target->ct_softc->fe.targ_port; 1052 io->io_hdr.nexus.targ_port = 1053 cs->cs_target->ct_softc->fe.targ_port; 1153 error = ctl_add_initiator(0x0, softc->fe.targ_port, cs->cs_ctl_initid); 1177 error = ctl_remove_initiator(softc->fe.targ_port, c [all...] |
H A D | ctl_ioctl.h | 171 uint32_t targ_port; member in struct:ctl_lun_io_port_stats
|
H A D | ctl_frontend_internal.c | 779 io->io_hdr.nexus.targ_port = lun->softc->fe.targ_port;
|
/freebsd-10.0-release/usr.sbin/ctladm/ |
H A D | ctladm.c | 436 cctl_port_dump(int fd, int quiet, int xml, int32_t targ_port, argument 511 if ((targ_port != -1) 512 && (targ_port != entry->targ_port)) 532 entry->targ_port, (entry->online) ? "YES" : "NO", 537 sbuf_printf(sb, "<targ_port id=\"%d\">\n", 538 entry->targ_port); 552 sbuf_printf(sb, "</targ_port>\n"); 571 && ((targ_port != -1) 599 int32_t targ_port local [all...] |
/freebsd-10.0-release/usr.bin/ctlstat/ |
H A D | ctlstat.c | 343 stats[lun].ports[port].targ_port); 377 stats[lun].ports[port].targ_port);
|
/freebsd-10.0-release/usr.sbin/ctld/ |
H A D | kernel.c | 634 entry.targ_port = -1; 654 entry.targ_port = -1;
|