• Home
  • Raw
  • Download

Lines Matching refs:pos

857 	struct css_task_iter *it, *pos;  in css_set_skip_task_iters()  local
859 list_for_each_entry_safe(it, pos, &cset->task_iters, iters_node) in css_set_skip_task_iters()
4179 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, in css_next_child() argument
4206 if (!pos) { in css_next_child()
4208 } else if (likely(!(pos->flags & CSS_RELEASED))) { in css_next_child()
4209 next = list_entry_rcu(pos->sibling.next, struct cgroup_subsys_state, sibling); in css_next_child()
4212 if (next->serial_nr > pos->serial_nr) in css_next_child()
4247 css_next_descendant_pre(struct cgroup_subsys_state *pos, in css_next_descendant_pre() argument
4255 if (!pos) in css_next_descendant_pre()
4259 next = css_next_child(NULL, pos); in css_next_descendant_pre()
4264 while (pos != root) { in css_next_descendant_pre()
4265 next = css_next_child(pos, pos->parent); in css_next_descendant_pre()
4268 pos = pos->parent; in css_next_descendant_pre()
4289 css_rightmost_descendant(struct cgroup_subsys_state *pos) in css_rightmost_descendant() argument
4296 last = pos; in css_rightmost_descendant()
4298 pos = NULL; in css_rightmost_descendant()
4300 pos = tmp; in css_rightmost_descendant()
4301 } while (pos); in css_rightmost_descendant()
4307 css_leftmost_descendant(struct cgroup_subsys_state *pos) in css_leftmost_descendant() argument
4312 last = pos; in css_leftmost_descendant()
4313 pos = css_next_child(NULL, pos); in css_leftmost_descendant()
4314 } while (pos); in css_leftmost_descendant()
4342 css_next_descendant_post(struct cgroup_subsys_state *pos, in css_next_descendant_post() argument
4350 if (!pos) in css_next_descendant_post()
4354 if (pos == root) in css_next_descendant_post()
4358 next = css_next_child(pos, pos->parent); in css_next_descendant_post()
4363 return pos->parent; in css_next_descendant_post()
4656 static void *cgroup_procs_next(struct seq_file *s, void *v, loff_t *pos) in cgroup_procs_next() argument
4664 static void *__cgroup_procs_start(struct seq_file *s, loff_t *pos, in __cgroup_procs_start() argument
4676 if (WARN_ON_ONCE((*pos)++)) in __cgroup_procs_start()
4684 } else if (!(*pos)++) { in __cgroup_procs_start()
4692 static void *cgroup_procs_start(struct seq_file *s, loff_t *pos) in cgroup_procs_start() argument
4705 return __cgroup_procs_start(s, pos, CSS_TASK_ITER_PROCS | in cgroup_procs_start()
4788 static void *cgroup_threads_start(struct seq_file *s, loff_t *pos) in cgroup_threads_start() argument
4790 return __cgroup_procs_start(s, pos, 0); in cgroup_threads_start()