Lines Matching refs:mh
251 uintptr_t mh; in bpf_attachd() local
262 mh = 0; in bpf_attachd()
266 error = MBPF_OPEN(bpr, ifname, &mh, zone); in bpf_attachd()
269 error = MBPF_CLIENT_OPEN(bpr, mh, &mcip); in bpf_attachd()
272 error = MBPF_GET_DLT(bpr, mh, &nicdlt); in bpf_attachd()
282 error = MBPF_GET_ZONE(bpr, mh, &niczone); in bpf_attachd()
287 uintptr_t, mh, int, nicdlt, zoneid_t, niczone); in bpf_attachd()
299 if (mh != 0) { in bpf_attachd()
300 MBPF_CLOSE(bpr, mh); in bpf_attachd()
301 mh = 0; in bpf_attachd()
323 d->bd_bif = mh; in bpf_attachd()
346 uintptr_t mh; in bpf_detachd() local
351 mh = d->bd_bif; in bpf_detachd()
387 if (mh != 0) in bpf_detachd()
388 MBPF_CLOSE(&d->bd_mac, mh); in bpf_detachd()
1702 uintptr_t mh; in bpf_getdltlist() local
1707 mh = 0; in bpf_getdltlist()
1713 error = MBPF_OPEN(bpr, d->bd_ifname, &mh, d->bd_zone); in bpf_getdltlist()
1716 error = MBPF_CLIENT_OPEN(bpr, mh, &mcip); in bpf_getdltlist()
1719 error = MBPF_GET_ZONE(bpr, mh, &zoneid); in bpf_getdltlist()
1725 error = MBPF_GET_DLT(bpr, mh, &nicdlt); in bpf_getdltlist()
1732 MBPF_CLOSE(bpr, mh); in bpf_getdltlist()
1756 if (mh != 0) { in bpf_getdltlist()
1757 MBPF_CLOSE(bpr, mh); in bpf_getdltlist()
1758 mh = 0; in bpf_getdltlist()