Lines Matching refs:bd

4190 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd)  in bpfstats_fill_xbpf()  argument
4195 d->bd_promisc = bd->bd_promisc != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4197 d->bd_hdrcmplt = bd->bd_hdrcmplt != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4198 d->bd_async = bd->bd_async != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4199 d->bd_headdrop = bd->bd_headdrop != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4200 d->bd_seesent = bd->bd_seesent != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4201 d->bh_compreq = bd->bd_flags & BPF_COMP_REQ ? 1 : 0; in bpfstats_fill_xbpf()
4202 d->bh_compenabled = bd->bd_flags & BPF_COMP_ENABLED ? 1 : 0; in bpfstats_fill_xbpf()
4203 d->bd_exthdr = bd->bd_flags & BPF_EXTENDED_HDR ? 1 : 0; in bpfstats_fill_xbpf()
4204 d->bd_trunc = bd->bd_flags & BPF_TRUNCATE ? 1 : 0; in bpfstats_fill_xbpf()
4205 d->bd_pkthdrv2 = bd->bd_flags & BPF_PKTHDRV2 ? 1 : 0; in bpfstats_fill_xbpf()
4207 d->bd_dev_minor = (uint8_t)bd->bd_dev_minor; in bpfstats_fill_xbpf()
4209 d->bd_sig = bd->bd_sig; in bpfstats_fill_xbpf()
4211 d->bd_rcount = bd->bd_rcount; in bpfstats_fill_xbpf()
4212 d->bd_dcount = bd->bd_dcount; in bpfstats_fill_xbpf()
4213 d->bd_fcount = bd->bd_fcount; in bpfstats_fill_xbpf()
4214 d->bd_slen = bd->bd_slen; in bpfstats_fill_xbpf()
4215 d->bd_hlen = bd->bd_hlen; in bpfstats_fill_xbpf()
4216 d->bd_bufsize = bd->bd_bufsize; in bpfstats_fill_xbpf()
4217 d->bd_pid = bd->bd_pid; in bpfstats_fill_xbpf()
4218 if (bd->bd_bif != NULL && bd->bd_bif->bif_ifp != NULL) { in bpfstats_fill_xbpf()
4220 bd->bd_bif->bif_ifp->if_xname, IFNAMSIZ); in bpfstats_fill_xbpf()
4223 d->bd_comp_count = bd->bd_bcs.bcs_count_compressed_prefix; in bpfstats_fill_xbpf()
4224 d->bd_comp_size = bd->bd_bcs.bcs_total_compressed_prefix_size; in bpfstats_fill_xbpf()
4226 d->bd_scnt = bd->bd_scnt; in bpfstats_fill_xbpf()
4227 d->bd_hcnt = bd->bd_hcnt; in bpfstats_fill_xbpf()
4229 d->bd_read_count = bd->bd_bcs.bcs_total_read; in bpfstats_fill_xbpf()
4230 d->bd_fsize = bd->bd_bcs.bcs_total_size; in bpfstats_fill_xbpf()
4263 struct bpf_d *bd = bpf_dtab[i]; variable
4266 if (bd == NULL || bd == BPF_DEV_RESERVED ||
4267 (bd->bd_flags & BPF_CLOSING) != 0) {
4273 bpfstats_fill_xbpf(xbd, bd);