Lines Matching refs:head
123 struct cls_cgroup_head *head = tp->root;
150 if (!tcf_em_tree_match(skb, &head->ematches, NULL))
155 return tcf_exts_exec(skb, &head->exts, res);
187 struct cls_cgroup_head *head = tp->root;
195 if (head == NULL) {
199 head = kzalloc(sizeof(*head), GFP_KERNEL);
200 if (head == NULL)
203 head->handle = handle;
206 tp->root = head;
210 if (handle != head->handle)
227 tcf_exts_change(tp, &head->exts, &e);
228 tcf_em_tree_change(tp, &head->ematches, &t);
235 struct cls_cgroup_head *head = tp->root;
237 if (head) {
238 tcf_exts_destroy(tp, &head->exts);
239 tcf_em_tree_destroy(tp, &head->ematches);
240 kfree(head);
251 struct cls_cgroup_head *head = tp->root;
256 if (arg->fn(tp, (unsigned long) head, arg) < 0) {
267 struct cls_cgroup_head *head = tp->root;
271 t->tcm_handle = head->handle;
277 if (tcf_exts_dump(skb, &head->exts, &cgroup_ext_map) < 0 ||
278 tcf_em_tree_dump(skb, &head->ematches, TCA_CGROUP_EMATCHES) < 0)
283 if (tcf_exts_dump_stats(skb, &head->exts, &cgroup_ext_map) < 0)