Home
last modified time | relevance | path

Searched refs:attach_opt (Results 1 – 1 of 1) sorted by relevance

/freebsd/sbin/nvmecontrol/
H A Dns.c228 } attach_opt = { variable
235 OPT("namespace-id", 'n', arg_uint32, attach_opt, nsid,
237 OPT("controller", 'c', arg_uint32, attach_opt, ctrlrid,
243 { arg_string, &attach_opt.dev, "controller-id|namespace-id" },
251 .ctx_size = sizeof(attach_opt),
708 open_dev(attach_opt.dev, &fd, 1, 1); in nsattach()
713 } else if (attach_opt.nsid == NONE) { in nsattach()
718 if (attach_opt.nsid != NONE) in nsattach()
719 nsid = attach_opt.nsid; in nsattach()
727 if (attach_opt.ctrlrid == NONE) { in nsattach()
[all …]