Lines Matching +full:implementation +full:- +full:defined
1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
35 * enum nvmf_parsing_opts - used to define the sysfs parsing options used.
62 * struct nvmf_ctrl_options - Used to hold the options specified
69 * @subsysnqn: Hold the fully qualified NQN subystem name (format defined
71 * @traddr: The transport-specific TRADDR field for a port on the
73 * @trsvcid: The transport-specific TRSVCID field for a port on the
75 * @host_traddr: A transport-specific field identifying the NVME host port
80 * @discovery_nqn: indicates if the subsysnqn is the well-known discovery NQN.
81 * @kato: Keep-alive timeout.
84 * the controller, (-1) means reconnect forever, zero means remove
117 * struct nvmf_transport_ops - used to register a specific
118 * fabric implementation of NVMe fabrics.
120 * registration entry to its linked-list internal tree.
122 * @name: Name of the NVMe fabric driver implementation.
123 * @required_opts: sysfs command-line options that must be specified
125 * @allowed_opts: sysfs command-line options that can be specified
127 * @create_ctrl(): function pointer that points to a non-NVMe
128 * implementation-specific fabric technology
135 * be set to the same enum parsing options defined earlier.
136 * 2. create_ctrl() must be defined (even if it does nothing)
155 if (ctrl->state == NVME_CTRL_DELETING || in nvmf_ctlr_matches_baseopts()
156 ctrl->state == NVME_CTRL_DEAD || in nvmf_ctlr_matches_baseopts()
157 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) || in nvmf_ctlr_matches_baseopts()
158 strcmp(opts->host->nqn, ctrl->opts->host->nqn) || in nvmf_ctlr_matches_baseopts()
159 memcmp(&opts->host->id, &ctrl->opts->host->id, sizeof(uuid_t))) in nvmf_ctlr_matches_baseopts()
185 if (likely(ctrl->state == NVME_CTRL_LIVE)) in nvmf_check_ready()