Lines Matching defs:opt
65 } opt = {
77 #define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
78 OPT("crypto", 'C', arg_none, opt, Cflag,
80 OPT("erase", 'E', arg_none, opt, Eflag,
82 OPT("lbaf", 'f', arg_uint32, opt, lbaf,
84 OPT("ms", 'm', arg_uint32, opt, ms,
86 OPT("pi", 'p', arg_uint32, opt, pi,
88 OPT("pil", 'l', arg_uint32, opt, pil,
90 OPT("ses", 's', arg_uint32, opt, ses,
97 { arg_string, &opt.dev, "controller-id|namespace-id" },
105 .ctx_size = sizeof(opt),
128 if ((int)opt.Eflag + opt.Cflag + (opt.ses != SES_NONE) > 1) {
134 target = opt.dev;
135 lbaf = opt.lbaf;
136 ms = opt.ms;
137 pi = opt.pi;
138 pil = opt.pil;
139 if (opt.Eflag)
141 else if (opt.Cflag)
144 ses = opt.ses;