Lines Matching refs:tag
83 struct m_tag *tag;
94 tag = m_tag_locate(mbuf, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_MACLABEL,
96 if (tag == NULL) {
101 label = (struct label *)(tag+1);
149 mac_mbuf_tag_init(struct m_tag *tag, int flag)
154 label = (struct label *) (tag + 1);
206 mac_mbuf_tag_destroy(struct m_tag *tag)
210 label = (struct label *)(tag + 1);
229 * mac_mbuf_tag_init() is called on the target tag
304 struct m_tag *tag;
310 tag = m_tag_alloc(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_MACLABEL,
312 if (tag == NULL) {
316 error = mac_mbuf_tag_init(tag, flag);
319 m_tag_free(tag);
322 m_tag_prepend(m, tag);