Lines Matching refs:label
75 struct label *
78 struct label *label;
80 label = mac_labelzone_alloc(MAC_WAITOK);
81 if (label == NULL)
83 MAC_PERFORM(pipe_label_init, label);
84 return (label);
95 mac_pipe_label_free(struct label *label)
98 MAC_PERFORM(pipe_label_destroy, label);
99 mac_labelzone_free(label);
111 mac_pipe_label_copy(struct label *src, struct label *dest)
118 mac_pipe_label_externalize(struct label *label, char *elements,
123 error = MAC_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);
129 mac_pipe_label_internalize(struct label *label, char *string)
133 error = MAC_INTERNALIZE(pipe, label, string);
185 struct label *newlabel)
238 struct label *label)
242 error = mac_pipe_check_label_update(cred, cpipe, label);
246 MAC_PERFORM(pipe_label_update, cred, cpipe, cpipe->pipe_label, label);