Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/netmap/
HDnetmap.c3102 size_t rqsz, optsz, bufsz; in nmreq_copyin() local
3120 rqsz = nmreq_size_by_type(hdr->nr_reqtype); in nmreq_copyin()
3121 if (rqsz > NETMAP_REQ_MAXSIZE) { in nmreq_copyin()
3125 if ((rqsz && hdr->nr_body == (uintptr_t)NULL) || in nmreq_copyin()
3126 (!rqsz && hdr->nr_body != (uintptr_t)NULL)) { in nmreq_copyin()
3166 error = copyin(*(void **)ker, p, rqsz); in nmreq_copyin()
3169 p += rqsz; in nmreq_copyin()
3192 rqsz += sizeof(*src); in nmreq_copyin()
3239 || (rqsz + optsz > NETMAP_REQ_MAXSIZE) in nmreq_copyin()
3240 || (optsz > 0 && rqsz + optsz <= rqsz)) { in nmreq_copyin()
[all …]