Lines Matching refs:bd_bufsize
596 d->bd_bufsize = bpf_bufsize; in bpfopen()
707 if (uio->uio_resid != d->bd_bufsize) in bpf_read()
1037 *(u_int *)addr = d->bd_bufsize; in bpf_ioctl()
1059 d->bd_bufsize = size; in bpf_ioctl()
2017 if (totlen > d->bd_bufsize) in catchpacket()
2018 totlen = d->bd_bufsize; in catchpacket()
2037 if (curlen + totlen > d->bd_bufsize) { in catchpacket()
2114 d->bd_fbuf = kmem_zalloc(d->bd_bufsize, KM_NOSLEEP); in bpf_allocbufs()
2117 d->bd_sbuf = kmem_zalloc(d->bd_bufsize, KM_NOSLEEP); in bpf_allocbufs()
2119 kmem_free(d->bd_fbuf, d->bd_bufsize); in bpf_allocbufs()
2153 kmem_free(d->bd_sbuf, d->bd_bufsize); in bpf_freed()
2155 kmem_free(d->bd_hbuf, d->bd_bufsize); in bpf_freed()
2157 kmem_free(d->bd_fbuf, d->bd_bufsize); in bpf_freed()