Searched refs:opt_tab (Results 1 – 1 of 1) sorted by relevance
3105 struct nmreq_option **next, *src, **opt_tab, *opt; in nmreq_copyin() local3142 NETMAP_REQ_OPT_MAX * sizeof(opt_tab); in nmreq_copyin()3171 opt_tab = (struct nmreq_option **)p; in nmreq_copyin()3172 p += sizeof(opt_tab) * NETMAP_REQ_OPT_MAX; in nmreq_copyin()3224 if (opt_tab[opt->nro_reqtype] != NULL) { in nmreq_copyin()3228 opt_tab[opt->nro_reqtype]->nro_status = EINVAL; in nmreq_copyin()3232 opt_tab[opt->nro_reqtype] = opt; in nmreq_copyin()3347 struct nmreq_option **opt_tab; in nmreq_getoption() local3352 opt_tab = (struct nmreq_option **)((uintptr_t)hdr->nr_options) - in nmreq_getoption()3354 return opt_tab[reqtype]; in nmreq_getoption()