Lines Matching refs:order
54 int order; member
77 if (p->order == BPF_CGROUP_ITER_DESCENDANTS_PRE) in cgroup_iter_seq_start()
79 else if (p->order == BPF_CGROUP_ITER_DESCENDANTS_POST) in cgroup_iter_seq_start()
110 if (p->order == BPF_CGROUP_ITER_DESCENDANTS_PRE) in cgroup_iter_seq_next()
112 else if (p->order == BPF_CGROUP_ITER_DESCENDANTS_POST) in cgroup_iter_seq_next()
114 else if (p->order == BPF_CGROUP_ITER_ANCESTORS_UP) in cgroup_iter_seq_next()
176 p->order = aux->cgroup.order; in BTF_ID_LIST_GLOBAL_SINGLE()
200 int order = linfo->cgroup.order; in bpf_iter_attach_cgroup() local
203 if (order != BPF_CGROUP_ITER_DESCENDANTS_PRE && in bpf_iter_attach_cgroup()
204 order != BPF_CGROUP_ITER_DESCENDANTS_POST && in bpf_iter_attach_cgroup()
205 order != BPF_CGROUP_ITER_ANCESTORS_UP && in bpf_iter_attach_cgroup()
206 order != BPF_CGROUP_ITER_SELF_ONLY) in bpf_iter_attach_cgroup()
223 aux->cgroup.order = order; in bpf_iter_attach_cgroup()
254 if (aux->cgroup.order == BPF_CGROUP_ITER_DESCENDANTS_PRE) in bpf_iter_cgroup_show_fdinfo()
256 else if (aux->cgroup.order == BPF_CGROUP_ITER_DESCENDANTS_POST) in bpf_iter_cgroup_show_fdinfo()
258 else if (aux->cgroup.order == BPF_CGROUP_ITER_ANCESTORS_UP) in bpf_iter_cgroup_show_fdinfo()
267 info->iter.cgroup.order = aux->cgroup.order; in bpf_iter_cgroup_fill_link_info()