bpf_canwritebuf
if (bpf_canwritebuf(d))
if (curlen + totlen > d->bd_bufsize || !bpf_canwritebuf(d)) {