Lines Matching refs:label
63 static struct label *
66 struct label *label; in mac_ip6q_label_alloc() local
69 label = mac_labelzone_alloc(flag); in mac_ip6q_label_alloc()
70 if (label == NULL) in mac_ip6q_label_alloc()
74 MAC_POLICY_CHECK(ip6q_init_label, label, flag); in mac_ip6q_label_alloc()
76 MAC_POLICY_CHECK_NOSLEEP(ip6q_init_label, label, flag); in mac_ip6q_label_alloc()
78 MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label); in mac_ip6q_label_alloc()
79 mac_labelzone_free(label); in mac_ip6q_label_alloc()
82 return (label); in mac_ip6q_label_alloc()
99 mac_ip6q_label_free(struct label *label) in mac_ip6q_label_free() argument
102 MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label); in mac_ip6q_label_free()
103 mac_labelzone_free(label); in mac_ip6q_label_free()
119 struct label *label; in mac_ip6q_reassemble() local
124 label = mac_mbuf_to_label(m); in mac_ip6q_reassemble()
127 label); in mac_ip6q_reassemble()
133 struct label *label; in mac_ip6q_create() local
138 label = mac_mbuf_to_label(m); in mac_ip6q_create()
140 MAC_POLICY_PERFORM_NOSLEEP(ip6q_create, m, label, q6, in mac_ip6q_create()
147 struct label *label; in mac_ip6q_match() local
153 label = mac_mbuf_to_label(m); in mac_ip6q_match()
156 MAC_POLICY_BOOLEAN_NOSLEEP(ip6q_match, &&, m, label, q6, in mac_ip6q_match()
165 struct label *label; in mac_ip6q_update() local
170 label = mac_mbuf_to_label(m); in mac_ip6q_update()
172 MAC_POLICY_PERFORM_NOSLEEP(ip6q_update, m, label, q6, in mac_ip6q_update()
179 struct label *mlabel; in mac_netinet6_nd6_send()