Home
last modified time | relevance | path

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

/freebsd/sys/dev/netmap/
H A Dnetmap.c3368 size_t rqsz, optsz, bufsz; in nmreq_copyin() local
3386 rqsz = nmreq_size_by_type(hdr->nr_reqtype); in nmreq_copyin()
3387 if (rqsz > NETMAP_REQ_MAXSIZE) { in nmreq_copyin()
3391 if ((rqsz && hdr->nr_body == (uintptr_t)NULL) || in nmreq_copyin()
3392 (!rqsz && hdr->nr_body != (uintptr_t)NULL)) { in nmreq_copyin()
3432 error = copyin(*(void **)ker, p, rqsz); in nmreq_copyin()
3435 p += rqsz; in nmreq_copyin()
3458 rqsz += sizeof(*src); in nmreq_copyin()
3505 || (rqsz + optsz > NETMAP_REQ_MAXSIZE) in nmreq_copyin()
3506 || (optsz > 0 && rqsz + optsz <= rqsz)) { in nmreq_copyin()
[all …]