Lines Matching refs:bpf_d
118 mac_bpfdesc_label_init(struct bpf_d *bpf_d)
123 mac_bpfdesc_label_set(bpf_d, label);
173 mac_bpfdesc_label_destroy(struct bpf_d *bpf_d)
177 label = mac_bpfdesc_label_get(bpf_d);
179 mac_bpfdesc_label_set(bpf_d, NULL);
278 mac_bpfdesc_label_associate(struct ucred *cred, struct bpf_d *bpf_d)
282 label = mac_bpfdesc_label_get(bpf_d);
283 MAC_PERFORM(bpfdesc_label_associate, cred, bpf_d, label);
287 mac_bpfdesc_check_receive(struct bpf_d *bpf_d, struct ifnet *ifp)
292 label = mac_bpfdesc_label_get(bpf_d);
294 MAC_CHECK(bpfdesc_check_receive, bpf_d, label, ifp,
327 mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_d, struct mbuf *mbuf)
331 /* bpf_d must be locked */
334 b_label = mac_bpfdesc_label_get(bpf_d);
336 MAC_PERFORM(mbuf_label_associate_bpfdesc, bpf_d, b_label, mbuf,