opt_list
TAILQ_INIT(&rack->r_ctl.opt_list);
while (!TAILQ_EMPTY(&rack->r_ctl.opt_list)) {
dol = TAILQ_FIRST(&rack->r_ctl.opt_list);
TAILQ_REMOVE(&rack->r_ctl.opt_list, dol, next);
TAILQ_INSERT_TAIL(&rack->r_ctl.opt_list, dol, next);
TAILQ_FOREACH_SAFE(dol, &rack->r_ctl.opt_list, next, sdol) {
TAILQ_REMOVE(&rack->r_ctl.opt_list, dol, next);
struct def_opt_head opt_list;
struct camdd_io_opts *opt_list = NULL;
opt_list = calloc(2, sizeof(struct camdd_io_opts));
if (opt_list == NULL) {
&& (opt_list[0].dev_type != CAMDD_DEV_NONE))
&& (opt_list[1].dev_type != CAMDD_DEV_NONE))) {
(c == 'o') ? &opt_list[1] : &opt_list[0]);
if ((opt_list[0].dev_type == CAMDD_DEV_NONE)
|| (opt_list[1].dev_type == CAMDD_DEV_NONE))
error = camdd_rw(opt_list, arglist, 2, max_io, retry_count, timeout);
free(opt_list);
struct opt_list {
SLIST_ENTRY(opt_list) o_next;
extern SLIST_HEAD(opt_list_head, opt_list) otab;
struct opt_list *ol;
struct opt_list *po;
struct opt_list *po;
struct opt_list *po;
po = (struct opt_list *) calloc(1, sizeof *po);
struct opt_list *po;
struct opt_list *ol;
Option = opt_list;
case opt_list:
TAILQ_INIT(&ndopts.opt_list);
TAILQ_FOREACH(nol, &ndopts.opt_list, nol_next)
TAILQ_HEAD(, nd_optlist) opt_list;
#define opt_list nd_opt_each.opt_list
TAILQ_INSERT_TAIL(&(ndopts->opt_list), nol, nol_next);
while ((nol = TAILQ_FIRST(&ndopts->opt_list)) != NULL) {
TAILQ_REMOVE(&ndopts->opt_list, nol, nol_next);
TAILQ_INIT(&ndopts.opt_list);