Lines Matching +full:storage +full:- +full:target
1 /* SPDX-License-Identifier: BSD-3-Clause
72 /* Used for round-robin assignment of connections to poll groups */
81 /* Allowed DH-HMAC-CHAP digests/dhgroups */
138 /* Array of namespace information for each namespace indexed by nsid - 1 */
211 * This structure represents an NVMe-oF controller,
245 /* Time to trigger keep-alive--poller_time = now_tick + period */
299 /* Protected against concurrent access by ->mutex */
308 /* Zoned storage related fields */
314 /* Array of pointers to namespaces of size max_nsid indexed by nsid - 1 */
332 /* Protected against concurrent access by ->mutex */
346 /* Array of namespace count per ANA group of size max_nsid indexed anagrpid - 1
352 /* In-band authentication sequence number, protected by ->mutex */
360 return strncmp(subsystem1->subnqn, subsystem2->subnqn, sizeof(subsystem1->subnqn));
462 TAILQ_FOREACH(host, &ns->hosts, link) {
463 if (strcmp(hostnqn, host->nqn) == 0) {
472 * Abort zero-copy requests that already got the buffer (received zcopy_start cb), but haven't
494 assert(nsid > 0 && nsid <= ctrlr->subsys->max_nsid);
495 return spdk_bit_array_get(ctrlr->visible_ns, nsid - 1);
501 assert(nsid > 0 && nsid <= ctrlr->subsys->max_nsid);
503 spdk_bit_array_set(ctrlr->visible_ns, nsid - 1);
505 spdk_bit_array_clear(ctrlr->visible_ns, nsid - 1);
512 /* NOTE: This implicitly also checks for 0, since 0 - 1 wraps around to UINT32_MAX. */
513 if (spdk_unlikely(nsid - 1 >= subsystem->max_nsid)) {
517 return subsystem->ns[nsid - 1];
523 struct spdk_nvmf_subsystem *subsystem = ctrlr->subsys;
532 return qpair->qid == 0;
547 return req->cmd->nvmf_cmd.opcode == SPDK_NVME_OPC_FABRIC &&
548 req->cmd->nvmf_cmd.fctype == SPDK_NVMF_FABRIC_COMMAND_CONNECT;
582 * \param req The NVMe-oF request
588 * Publishes the mDNS PRR (Pull Registration Request) for the NVMe-oF target.
590 * \param tgt The NVMe-oF target
597 * Stops the mDNS PRR (Pull Registration Request) for the NVMe-oF target.
599 * \param tgt The NVMe-oF target
604 * Updates the listener list in the mDNS PRR (Pull Registration Request) for the NVMe-oF target.
606 * \param tgt The NVMe-oF target
618 TAILQ_FOREACH(tgroup, &group->tgroups, link) {
619 if (tgroup->transport == transport) {