Symbol: CTL_MAX_INIT_PER_PORT
sys/cam/ctl/ctl.c
1014
msg.login.max_init_per_port = CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
1020
for (i = 0; i < CTL_MAX_INIT_PER_PORT; i++) {
sys/cam/ctl/ctl.c
1060
for (i = 0; i < CTL_MAX_INIT_PER_PORT; i++) {
sys/cam/ctl/ctl.c
12348
ps = lun->pending_sense[initidx / CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
12350
ps[initidx % CTL_MAX_INIT_PER_PORT].error_code = 0;
sys/cam/ctl/ctl.c
12795
p = initidx / CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
12796
i = initidx % CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
1393
msg->login.max_init_per_port != CTL_MAX_INIT_PER_PORT) {
sys/cam/ctl/ctl.c
14072
p = initidx / CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
14074
lun->pending_sense[p] = malloc(sizeof(*ps) * CTL_MAX_INIT_PER_PORT,
sys/cam/ctl/ctl.c
14078
ps += initidx % CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
1788
pu = lun->pending_ua[initidx / CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
1791
pu[initidx % CTL_MAX_INIT_PER_PORT] |= ua;
sys/cam/ctl/ctl.c
1802
for (i = 0; i < CTL_MAX_INIT_PER_PORT; i++) {
sys/cam/ctl/ctl.c
1803
if (port * CTL_MAX_INIT_PER_PORT + i == except)
sys/cam/ctl/ctl.c
1829
pu = lun->pending_ua[initidx / CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
1832
pu[initidx % CTL_MAX_INIT_PER_PORT] &= ~ua;
sys/cam/ctl/ctl.c
1845
for (j = 0; j < CTL_MAX_INIT_PER_PORT; j++) {
sys/cam/ctl/ctl.c
1846
if (i * CTL_MAX_INIT_PER_PORT + j == except)
sys/cam/ctl/ctl.c
1985
softc->init_min = softc->port_min * CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
1986
softc->init_max = softc->port_max * CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
2125
if (iid > CTL_MAX_INIT_PER_PORT) {
sys/cam/ctl/ctl.c
2127
__func__, iid, CTL_MAX_INIT_PER_PORT);
sys/cam/ctl/ctl.c
2155
if (iid >= CTL_MAX_INIT_PER_PORT) {
sys/cam/ctl/ctl.c
2157
__func__, wwpn, iid, CTL_MAX_INIT_PER_PORT);
sys/cam/ctl/ctl.c
2165
for (i = 0; i < CTL_MAX_INIT_PER_PORT; i++) {
sys/cam/ctl/ctl.c
2179
for (i = 0; i < CTL_MAX_INIT_PER_PORT; i++) {
sys/cam/ctl/ctl.c
2192
for (i = 0; i < CTL_MAX_INIT_PER_PORT; i++) {
sys/cam/ctl/ctl.c
2882
for (k = 0; k < CTL_MAX_INIT_PER_PORT; k++){
sys/cam/ctl/ctl.c
2900
for (j = 0; j < CTL_MAX_INIT_PER_PORT; j++) {
sys/cam/ctl/ctl.c
3433
for (j = 0; j < CTL_MAX_INIT_PER_PORT; j++) {
sys/cam/ctl/ctl.c
3627
return (nexus->initid + (nexus->targ_port * CTL_MAX_INIT_PER_PORT));
sys/cam/ctl/ctl.c
379
#define CTL_MAX_INITIATORS (CTL_MAX_INIT_PER_PORT * ctl_max_ports)
sys/cam/ctl/ctl.c
3873
t = lun->pr_keys[residx/CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
3876
return (t[residx % CTL_MAX_INIT_PER_PORT]);
sys/cam/ctl/ctl.c
3884
t = lun->pr_keys[residx/CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
3887
t[residx % CTL_MAX_INIT_PER_PORT] = 0;
sys/cam/ctl/ctl.c
3896
i = residx/CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
3900
p = malloc(sizeof(uint64_t) * CTL_MAX_INIT_PER_PORT, M_CTL,
sys/cam/ctl/ctl.c
3914
t = lun->pr_keys[residx/CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
3916
t[residx % CTL_MAX_INIT_PER_PORT] = key;
sys/cam/ctl/ctl.c
7866
scsi_ulto2b(i / CTL_MAX_INIT_PER_PORT,
sys/cam/ctl/ctl.c
7869
port = softc->ctl_ports[i / CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
7872
i % CTL_MAX_INIT_PER_PORT,
sys/cam/ctl/ctl.c
9338
ps = lun->pending_sense[initidx / CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
9340
ps += initidx % CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
986
msg->hdr.nexus.targ_port = initidx / CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl.c
987
msg->hdr.nexus.initid = initidx % CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl_error.c
504
p = initidx / CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl_error.c
505
i = initidx % CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl_error.c
541
p = initidx / CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl_error.c
544
ua = malloc(sizeof(ctl_ua_type) * CTL_MAX_INIT_PER_PORT,
sys/cam/ctl/ctl_error.c
549
for (i = 0; i < CTL_MAX_INIT_PER_PORT; i++)
sys/cam/ctl/ctl_error.c
556
i = initidx % CTL_MAX_INIT_PER_PORT;
sys/cam/ctl/ctl_frontend.c
171
port->max_initiators = CTL_MAX_INIT_PER_PORT;
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
834
np->ids = new_unrhdr(0, MIN(CTL_MAX_INIT_PER_PORT - 1,