Lines Matching defs:optsz
3089 size_t rqsz, optsz, bufsz;
3130 optsz = 0;
3137 optsz += sizeof(*src);
3138 optsz += nmreq_opt_size_by_type(buf.nro_reqtype, buf.nro_size);
3139 if (rqsz + optsz > NETMAP_REQ_MAXSIZE) {
3145 bufsz += optsz;
3224 optsz = nmreq_opt_size_by_type(opt->nro_reqtype,
3226 if (optsz) {
3228 error = copyin(src + 1, p, optsz);
3231 p += optsz;
3285 size_t optsz;
3302 optsz = nmreq_opt_size_by_type(src->nro_reqtype,
3304 if (optsz) {
3305 error = copyout(src + 1, dst + 1, optsz);