Lines Matching full:opt
62 } opt = { variable
74 #define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc } macro
75 OPT("crypto", 'C', arg_none, opt, Cflag,
77 OPT("erase", 'E', arg_none, opt, Eflag,
79 OPT("lbaf", 'f', arg_uint32, opt, lbaf,
81 OPT("ms", 'm', arg_uint32, opt, ms,
83 OPT("pi", 'p', arg_uint32, opt, pi,
85 OPT("pil", 'l', arg_uint32, opt, pil,
87 OPT("ses", 's', arg_uint32, opt, ses,
91 #undef OPT
94 { arg_string, &opt.dev, "controller-id|namespace-id" },
102 .ctx_size = sizeof(opt),
125 if ((int)opt.Eflag + opt.Cflag + (opt.ses != SES_NONE) > 1) { in format()
131 target = opt.dev; in format()
132 lbaf = opt.lbaf; in format()
133 ms = opt.ms; in format()
134 pi = opt.pi; in format()
135 pil = opt.pil; in format()
136 if (opt.Eflag) in format()
138 else if (opt.Cflag) in format()
141 ses = opt.ses; in format()