Home
last modified time | relevance | path

Searched refs:rqsz (Results 1 – 1 of 1) sorted by relevance

/freebsd-11-stable/sys/dev/netmap/
HDnetmap.c2990 size_t rqsz, optsz, bufsz; in nmreq_copyin() local
3008 rqsz = nmreq_size_by_type(hdr->nr_reqtype); in nmreq_copyin()
3009 if (rqsz > NETMAP_REQ_MAXSIZE) { in nmreq_copyin()
3013 if ((rqsz && hdr->nr_body == (uintptr_t)NULL) || in nmreq_copyin()
3014 (!rqsz && hdr->nr_body != (uintptr_t)NULL)) { in nmreq_copyin()
3046 error = copyin((void *)(uintptr_t)hdr->nr_body, p, rqsz); in nmreq_copyin()
3051 p += rqsz; in nmreq_copyin()
3065 rqsz += sizeof(*src); in nmreq_copyin()
3083 || (rqsz + optsz > NETMAP_REQ_MAXSIZE) in nmreq_copyin()
3084 || (optsz > 0 && rqsz + optsz <= rqsz)) { in nmreq_copyin()
[all …]