Lines Matching refs:labelp
71 mac_labelzone_alloc_for_owner(struct label **labelp, int flags,
76 if (labelp) {
81 tmp_label.l_owner = labelp;
95 mac_labelzone_alloc_owned(struct label **labelp, int flags,
100 label = mac_labelzone_alloc_for_owner(labelp, flags, extra_setup);
102 if (labelp) {
103 *labelp = label;
120 mac_labelzone_free_owned(struct label **labelp,
125 label = mac_label_verify(labelp);
131 *labelp = NULL;
138 mac_label_verify_panic(struct label **labelp) in mac_label_verify_panic() argument
140 panic("label backref mismatch: labelp:%p label:%p l_owner:%p", labelp, in mac_label_verify_panic()
141 *labelp, (*labelp)->l_owner); in mac_label_verify_panic()
145 mac_label_verify(struct label **labelp) in mac_label_verify() argument
147 struct label *label = *labelp; in mac_label_verify()
152 if (__improbable(label->l_owner != labelp)) { in mac_label_verify()
153 mac_label_verify_panic(labelp); in mac_label_verify()