Lines Matching full:label
61 static struct label *
64 struct label *label; in mac_ip6q_label_alloc() local
67 label = mac_labelzone_alloc(flag); in mac_ip6q_label_alloc()
68 if (label == NULL) in mac_ip6q_label_alloc()
72 MAC_POLICY_CHECK(ip6q_init_label, label, flag); in mac_ip6q_label_alloc()
74 MAC_POLICY_CHECK_NOSLEEP(ip6q_init_label, label, flag); in mac_ip6q_label_alloc()
76 MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label); in mac_ip6q_label_alloc()
77 mac_labelzone_free(label); in mac_ip6q_label_alloc()
80 return (label); in mac_ip6q_label_alloc()
97 mac_ip6q_label_free(struct label *label) in mac_ip6q_label_free() argument
100 MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label); in mac_ip6q_label_free()
101 mac_labelzone_free(label); in mac_ip6q_label_free()
117 struct label *label; in mac_ip6q_reassemble() local
122 label = mac_mbuf_to_label(m); in mac_ip6q_reassemble()
125 label); in mac_ip6q_reassemble()
131 struct label *label; in mac_ip6q_create() local
136 label = mac_mbuf_to_label(m); in mac_ip6q_create()
138 MAC_POLICY_PERFORM_NOSLEEP(ip6q_create, m, label, q6, in mac_ip6q_create()
145 struct label *label; in mac_ip6q_match() local
151 label = mac_mbuf_to_label(m); in mac_ip6q_match()
154 MAC_POLICY_BOOLEAN_NOSLEEP(ip6q_match, &&, m, label, q6, in mac_ip6q_match()
163 struct label *label; in mac_ip6q_update() local
168 label = mac_mbuf_to_label(m); in mac_ip6q_update()
170 MAC_POLICY_PERFORM_NOSLEEP(ip6q_update, m, label, q6, in mac_ip6q_update()
188 struct label *mlabel; in mac_netinet6_nd6_send()