Lines Matching refs:nr_options
3420 *ptrs++ = hdr->nr_options; in nmreq_copyin()
3427 next = (struct nmreq_option **)&hdr->nr_options; in nmreq_copyin()
3429 hdr->nr_options = 0; in nmreq_copyin()
3449 hdr->nr_options = 0; in nmreq_copyin()
3528 for (src = (struct nmreq_option *)hdr->nr_options; src; in nmreq_copyin()
3556 src = (struct nmreq_option *)(uintptr_t)hdr->nr_options; in nmreq_copyout()
3557 hdr->nr_options = *ptrs; in nmreq_copyout()
3570 dst = (struct nmreq_option *)(uintptr_t)hdr->nr_options; in nmreq_copyout()
3615 if (!hdr->nr_options) in nmreq_getoption()
3618 opt_tab = (struct nmreq_option **)((uintptr_t)hdr->nr_options) - in nmreq_getoption()
3631 for (opt = (struct nmreq_option *)(uintptr_t)hdr->nr_options; opt; in nmreq_checkoptions()