Home
last modified time | relevance | path

Searched refs:leader (Results 1 – 7 of 7) sorted by relevance

/kernel/
Dexit.c242 struct task_struct *leader; in release_task() local
265 leader = p->group_leader; in release_task()
266 if (leader != p && thread_group_empty(leader) in release_task()
267 && leader->exit_state == EXIT_ZOMBIE) { in release_task()
273 zap_leader = do_notify_parent(leader, leader->exit_signal); in release_task()
275 leader->exit_state = EXIT_DEAD; in release_task()
285 p = leader; in release_task()
Dfork.c3093 struct task_struct *leader, *parent, *child; in walk_process_tree() local
3097 leader = top = top->group_leader; in walk_process_tree()
3099 for_each_thread(leader, parent) { in walk_process_tree()
3105 leader = child; in walk_process_tree()
3113 if (leader != top) { in walk_process_tree()
3114 child = leader; in walk_process_tree()
3116 leader = parent->group_leader; in walk_process_tree()
Dsys.c1111 if (p->signal->leader) in SYSCALL_DEFINE2()
1229 if (group_leader->signal->leader) in ksys_setsid()
1238 group_leader->signal->leader = 1; in ksys_setsid()
/kernel/events/
Dcore.c620 struct perf_event *leader = event->group_leader; in __perf_effective_state() local
622 if (leader->state <= PERF_EVENT_STATE_OFF) in __perf_effective_state()
623 return leader->state; in __perf_effective_state()
652 static void perf_event_update_sibling_time(struct perf_event *leader) in perf_event_update_sibling_time() argument
656 for_each_sibling_event(sibling, leader) in perf_event_update_sibling_time()
2163 struct perf_event *leader = event->group_leader; in perf_group_detach() local
2182 if (leader != event) { in perf_group_detach()
2216 for_each_sibling_event(tmp, leader) in perf_group_detach()
2219 perf_event__header_size(leader); in perf_group_detach()
2972 struct perf_event *leader = event->group_leader; in __perf_event_enable() local
[all …]
/kernel/cgroup/
Dcgroup-internal.h246 int cgroup_migrate(struct task_struct *leader, bool threadgroup,
249 int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader,
Dcgroup.c2874 int cgroup_migrate(struct task_struct *leader, bool threadgroup, in cgroup_migrate() argument
2886 task = leader; in cgroup_migrate()
2891 } while_each_thread(leader, task); in cgroup_migrate()
2906 int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader, in cgroup_attach_task() argument
2916 task = leader; in cgroup_attach_task()
2921 } while_each_thread(leader, task); in cgroup_attach_task()
2928 ret = cgroup_migrate(leader, threadgroup, &mgctx); in cgroup_attach_task()
2933 TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup); in cgroup_attach_task()
Dcpuset.c2665 struct task_struct *leader; in cpuset_attach() local
2686 cgroup_taskset_for_each_leader(leader, css, tset) { in cpuset_attach()
2687 struct mm_struct *mm = get_task_mm(leader); in cpuset_attach()