OPT
return verify_common (context, principal, OPT(ccache, NULL),
OPT(keytab, NULL), vopt ? vopt->secure : TRUE,
OPT(service, "host"), cred);
OPT("transport", 't', arg_string, opt, transport,
OPT("cntlid", 'c', arg_string, opt, cntlid,
OPT("nr-io-queues", 'i', arg_uint16, opt, num_io_queues,
OPT("queue-size", 'Q', arg_uint16, opt, queue_size,
OPT("keep-alive-tmo", 'k', arg_uint32, opt, kato,
OPT("reconnect-delay", 'r', arg_uint32, opt, reconnect_delay,
OPT("ctrl-loss-tmo", 'l', arg_uint32, opt, controller_loss_timeout,
OPT("hostnqn", 'q', arg_string, opt, hostnqn,
OPT("flow_control", 'F', arg_none, opt, flow_control,
OPT("hdr_digests", 'g', arg_none, opt, header_digests,
OPT("data_digests", 'G', arg_none, opt, data_digests,
OPT("human", 'h', arg_none, opt, human,
OPT("transport", 't', arg_string, opt, transport,
OPT("hostnqn", 'q', arg_string, opt, hostnqn,
OPT("verbose", 'v', arg_none, opt, verbose,
OPT("activate", 'a', arg_none, opt, activate,
OPT("slot", 's', arg_uint32, opt, slot,
OPT("firmware", 'f', arg_path, opt, fw_img,
OPT("crypto", 'C', arg_none, opt, Cflag,
OPT("erase", 'E', arg_none, opt, Eflag,
OPT("lbaf", 'f', arg_uint32, opt, lbaf,
OPT("ms", 'm', arg_uint32, opt, ms,
OPT("pi", 'p', arg_uint32, opt, pi,
OPT("pil", 'l', arg_uint32, opt, pil,
OPT("ses", 's', arg_uint32, opt, ses,
OPT("hex", 'x', arg_none, opt, hex,
OPT("verbose", 'v', arg_none, opt, verbose,
OPT("nsid", 'n', arg_uint32, opt, nsid,
OPT("binary", 'b', arg_none, opt, binary,
OPT("hex", 'x', arg_none, opt, hex,
OPT("page", 'p', arg_uint32, opt, page,
OPT("lsp", 'f', arg_uint8, opt, lsp,
OPT("lsi", 'i', arg_uint16, opt, lsi,
OPT("rae", 'r', arg_none, opt, rae,
OPT("vendor", 'v', arg_string, opt, vendor,
OPT("template", 'o', arg_string, opt, template,
OPT("data-area", 'd', arg_uint8, opt, data_area,
OPT("nsze", 's', arg_uint64, create_opt, nsze,
OPT("ncap", 'c', arg_uint64, create_opt, cap,
OPT("lbaf", 'f', arg_uint32, create_opt, lbaf,
OPT("mset", 'm', arg_uint32, create_opt, mset,
OPT("nmic", 'n', arg_uint32, create_opt, nmic,
OPT("pi", 'p', arg_uint32, create_opt, pi,
OPT("pil", 'l', arg_uint32, create_opt, pil,
OPT("flbas", 'L', arg_uint32, create_opt, flbas,
OPT("dps", 'd', arg_uint32, create_opt, dps,
OPT("namespace-id", 'n', arg_uint32, delete_opt, nsid,
OPT("namespace-id", 'n', arg_uint32, attach_opt, nsid,
OPT("controller", 'c', arg_uint32, attach_opt, ctrlrid,
OPT("namespace-id", 'n', arg_uint32, attached_opt, nsid,
OPT("namespace-id", 'n', arg_uint32, detach_opt, nsid,
OPT("controller", 'c', arg_uint32, detach_opt, ctrlrid,
OPT("hex", 'x', arg_none, identify_opt, hex,
OPT("verbose", 'v', arg_none, identify_opt, verbose,
OPT("nsid", 'n', arg_uint32, identify_opt, nsid,
OPT("perthread", 'p', arg_none, opt, perthread,
OPT("threads", 'n', arg_uint32, opt, threads,
OPT("size", 's', arg_uint32, opt, size,
OPT("time", 't', arg_uint32, opt, time,
OPT("operation", 'o', arg_string, opt, op,
OPT("interrupt", 'i', arg_string, opt, intr,
OPT("flags", 'f', arg_string, opt, flags,
OPT("list", 'l', arg_none, opt, list,
OPT("power", 'p', arg_uint32, opt, power,
OPT("workload", 'w', arg_uint32, opt, workload,
OPT("transport", 't', arg_string, opt, transport,
OPT("nr-io-queues", 'i', arg_uint16, opt, num_io_queues,
OPT("queue-size", 'Q', arg_uint16, opt, queue_size,
OPT("keep-alive-tmo", 'k', arg_uint32, opt, kato,
OPT("reconnect-delay", 'r', arg_uint32, opt, reconnect_delay,
OPT("ctrl-loss-tmo", 'l', arg_uint32, opt, controller_loss_timeout,
OPT("hostnqn", 'q', arg_string, opt, hostnqn,
OPT("flow_control", 'F', arg_none, opt, flow_control,
OPT("hdr_digests", 'g', arg_none, opt, header_digests,
OPT("data_digests", 'G', arg_none, opt, data_digests,
OPT("crkey", 'c', arg_uint64, register_opt, crkey,
OPT("nrkey", 'k', arg_uint64, register_opt, nrkey,
OPT("rrega", 'r', arg_uint8, register_opt, rrega,
OPT("iekey", 'i', arg_none, register_opt, iekey,
OPT("cptpl", 'p', arg_uint8, register_opt, cptpl,
OPT("crkey", 'c', arg_uint64, release_opt, crkey,
OPT("rtype", 't', arg_uint8, release_opt, rtype,
OPT("rrela", 'a', arg_uint8, release_opt, rrela,
OPT("hex", 'x', arg_none, report_opt, hex,
OPT("verbose", 'v', arg_none, report_opt, verbose,
OPT("eds", 'e', arg_none, report_opt, eds,
OPT("crkey", 'c', arg_uint64, acquire_opt, crkey,
OPT("prkey", 'p', arg_uint64, acquire_opt, prkey,
OPT("rtype", 't', arg_uint8, acquire_opt, rtype,
OPT("racqa", 'a', arg_uint8, acquire_opt, racqa,
OPT("ause", 'U', arg_none, opt, ause,
OPT("ndas", 'd', arg_none, opt, ndas,
OPT("oipbp", 'I', arg_none, opt, oipbp,
OPT("reportonly", 'r', arg_none, opt, reportonly,
OPT("owpass", 'c', arg_uint8, opt, owpass,
OPT("ovrpat", 'p', arg_uint32, opt, ovrpat,
OPT("sanact", 'a', arg_string, opt, sanact,
OPT("test-code", 'c', arg_uint8, opt, stc,
OPT("output-file", 'O', arg_string, opt, outfn,
OPT("data-area", 'd', arg_uint8, opt, da,
OPT("verbose", 'v', arg_none, opt, verbose,
*cre = META | OPT;
*cs = *cs | OPT;
} else if (*cs & OPT) {
} else if (*cs & OPT) {
} else if (ptr != NULL && (*cs & OPT)) {
} else if (ptr != NULL && (*cs & OPT)) {
} else if (*cs & OPT) {
} else if (*cs & OPT) {
} else if (*cs & OPT) {