• Home
  • Raw
  • Download

Lines Matching refs:p

59 	struct cgroup_iter_priv *p = seq->private;  in cgroup_iter_seq_start()  local
65 if (p->visited_all) in cgroup_iter_seq_start()
75 p->terminate = false; in cgroup_iter_seq_start()
76 p->visited_all = false; in cgroup_iter_seq_start()
77 if (p->order == BPF_CGROUP_ITER_DESCENDANTS_PRE) in cgroup_iter_seq_start()
78 return css_next_descendant_pre(NULL, p->start_css); in cgroup_iter_seq_start()
79 else if (p->order == BPF_CGROUP_ITER_DESCENDANTS_POST) in cgroup_iter_seq_start()
80 return css_next_descendant_post(NULL, p->start_css); in cgroup_iter_seq_start()
82 return p->start_css; in cgroup_iter_seq_start()
90 struct cgroup_iter_priv *p = seq->private; in cgroup_iter_seq_stop() local
97 p->visited_all = true; in cgroup_iter_seq_stop()
104 struct cgroup_iter_priv *p = seq->private; in cgroup_iter_seq_next() local
107 if (p->terminate) in cgroup_iter_seq_next()
110 if (p->order == BPF_CGROUP_ITER_DESCENDANTS_PRE) in cgroup_iter_seq_next()
111 return css_next_descendant_pre(curr, p->start_css); in cgroup_iter_seq_next()
112 else if (p->order == BPF_CGROUP_ITER_DESCENDANTS_POST) in cgroup_iter_seq_next()
113 return css_next_descendant_post(curr, p->start_css); in cgroup_iter_seq_next()
114 else if (p->order == BPF_CGROUP_ITER_ANCESTORS_UP) in cgroup_iter_seq_next()
123 struct cgroup_iter_priv *p = seq->private; in __cgroup_iter_seq_show() local
142 p->terminate = true; in __cgroup_iter_seq_show()
164 struct cgroup_iter_priv *p = (struct cgroup_iter_priv *)priv; in BTF_ID_LIST_SINGLE() local
172 p->start_css = &cgrp->self; in BTF_ID_LIST_SINGLE()
173 css_get(p->start_css); in BTF_ID_LIST_SINGLE()
174 p->terminate = false; in BTF_ID_LIST_SINGLE()
175 p->visited_all = false; in BTF_ID_LIST_SINGLE()
176 p->order = aux->cgroup.order; in BTF_ID_LIST_SINGLE()
182 struct cgroup_iter_priv *p = (struct cgroup_iter_priv *)priv; in cgroup_iter_seq_fini() local
184 css_put(p->start_css); in cgroup_iter_seq_fini()