Lines Matching defs:nsid
104 uint32_t nsid;
108 printf("NVMFT: %s lun %d larger than maximum nsid %u\n",
112 nsid = lun_id + 1;
118 if (np->active_ns[i] < nsid)
120 if (np->active_ns[i] == nsid) {
130 /* Copy over IDs smaller than nsid. */
133 /* Insert nsid. */
134 new_ns[i] = nsid;
136 /* Copy over IDs greater than nsid. */
159 uint32_t nsid;
164 nsid = lun_id + 1;
168 if (np->active_ns[i] == nsid)
177 /* Move down IDs greater than nsid. */
194 nvmft_populate_active_nslist(struct nvmft_port *np, uint32_t nsid,
202 if (np->active_ns[i] <= nsid)
222 if (cmd->nsid == htole32(0)) {
241 io->io_hdr.nexus.targ_lun = le32toh(cmd->nsid) - 1;