Lines Matching defs:size
84 * kernel buffers are hung off of the descriptor. The size is fixed prior to
91 &bpf_bufsize, 0, "Default capture buffer size in bytes");
170 u_int size;
173 size = *i;
174 if (size > bpf_maxbufsize)
175 *i = size = bpf_maxbufsize;
176 else if (size < BPF_MINBUFSIZE)
177 *i = size = BPF_MINBUFSIZE;
180 fbuf = (caddr_t)malloc(size, M_BPF, M_WAITOK);
181 sbuf = (caddr_t)malloc(size, M_BPF, M_WAITOK);
199 d->bd_bufsize = size;