Home
last modified time | relevance | path

Searched refs:group_leader (Results 1 – 25 of 32) sorted by relevance

12

/linux-2.6.39/kernel/
Dsys.c951 struct task_struct *group_leader = current->group_leader; in SYSCALL_DEFINE2() local
956 pid = task_pid_vnr(group_leader); in SYSCALL_DEFINE2()
977 if (same_thread_group(p->real_parent, group_leader)) { in SYSCALL_DEFINE2()
979 if (task_session(p) != task_session(group_leader)) in SYSCALL_DEFINE2()
986 if (p != group_leader) in SYSCALL_DEFINE2()
1000 if (!g || task_session(g) != task_session(group_leader)) in SYSCALL_DEFINE2()
1086 struct task_struct *group_leader = current->group_leader; in SYSCALL_DEFINE0() local
1087 struct pid *sid = task_pid(group_leader); in SYSCALL_DEFINE0()
1093 if (group_leader->signal->leader) in SYSCALL_DEFINE0()
1102 group_leader->signal->leader = 1; in SYSCALL_DEFINE0()
[all …]
Dperf_event.c397 struct perf_event *group_leader) in perf_cgroup_connect() argument
425 if (group_leader && group_leader->cgrp != cgrp) { in perf_cgroup_connect()
514 struct perf_event *group_leader) in perf_cgroup_connect() argument
749 event->group_leader->state < PERF_EVENT_STATE_INACTIVE) in update_event_times()
815 if (event->group_leader == event) { in list_add_event()
856 nr += event->group_leader->nr_siblings; in perf_event__read_size()
913 struct perf_event *group_leader = event->group_leader, *pos; in perf_group_attach() local
923 if (group_leader == event) in perf_group_attach()
926 if (group_leader->group_flags & PERF_GROUP_SOFTWARE && in perf_group_attach()
928 group_leader->group_flags &= ~PERF_GROUP_SOFTWARE; in perf_group_attach()
[all …]
Dfork.c921 task_lock(current->group_leader); in copy_signal()
923 task_unlock(current->group_leader); in copy_signal()
1245 p->group_leader = p; in copy_process()
1288 p->group_leader = current->group_leader; in copy_process()
1289 list_add_tail_rcu(&p->thread_group, &p->group_leader->thread_group); in copy_process()
Dacct.c509 run_time -= (u64)current->group_leader->start_time.tv_sec * NSEC_PER_SEC in do_acct_process()
510 + current->group_leader->start_time.tv_nsec; in do_acct_process()
Dpid.c436 task = task->group_leader; in get_task_pid()
496 task = task->group_leader; in __task_pid_nr_ns()
Dexit.c191 leader = p->group_leader; in release_task()
364 struct task_struct *curr = current->group_leader; in __set_special_pids()
839 kill_orphaned_pgrp(tsk->group_leader, NULL); in exit_notify()
1139 task = task->group_leader; in task_pid_type()
Dsched_fair.c2336 struct sched_group *group_leader; /* Group which relieves group_min */ member
2477 group_first_cpu(group) < group_first_cpu(sds->group_leader))) { in update_sd_power_savings_stats()
2478 sds->group_leader = group; in update_sd_power_savings_stats()
2504 if (sds->this != sds->group_leader || in check_power_save_busiest_group()
2505 sds->group_leader == sds->group_min) in check_power_save_busiest_group()
Dsignal.c1471 (tsk->group_leader != tsk || !thread_group_empty(tsk))); in do_notify_parent()
1549 tsk = tsk->group_leader; in do_notify_parent_cldstop()
1881 do_notify_parent_cldstop(current->group_leader, why); in get_signal_to_deliver()
Dposix-timers.c441 struct task_struct *rtn = current->group_leader; in good_sigevent()
/linux-2.6.39/lib/
Dis_single_threaded.c36 if (unlikely(p == task->group_leader)) in current_is_single_threaded()
/linux-2.6.39/arch/alpha/kernel/
Dasm-offsets.c24 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo()
Dperf_event.c643 if (event->group_leader != event) { in __hw_perf_event_init()
644 n = collect_events(event->group_leader, in __hw_perf_event_init()
/linux-2.6.39/security/apparmor/
Dresource.c92 if ((task != current->group_leader) || in aa_task_setrlimit()
/linux-2.6.39/include/linux/
Dinit_task.h161 .group_leader = &tsk, \
Dsched.h1298 struct task_struct *group_leader; /* threadgroup leader */ member
1586 return task->group_leader->pids[PIDTYPE_PID].pid; in task_tgid()
1596 return task->group_leader->pids[PIDTYPE_PGID].pid; in task_pgrp()
1601 return task->group_leader->pids[PIDTYPE_SID].pid; in task_session()
2231 #define thread_group_leader(p) (p == p->group_leader)
Dperf_event.h757 struct perf_event *group_leader; member
/linux-2.6.39/arch/powerpc/kernel/
Dperf_event_fsl_emb.c497 if (event->group_leader != event) { in fsl_emb_pmu_event_init()
498 n = collect_events(event->group_leader, in fsl_emb_pmu_event_init()
Dperf_event.c1146 if (event->group_leader != event) { in power_pmu_event_init()
1147 n = collect_events(event->group_leader, ppmu->n_counter - 1, in power_pmu_event_init()
/linux-2.6.39/arch/arm/kernel/
Dperf_event.c365 struct perf_event *sibling, *leader = event->group_leader; in validate_group()
534 if (event->group_leader != event) { in __hw_perf_event_init()
/linux-2.6.39/fs/
Dexec.c869 struct task_struct *leader = tsk->group_leader; in de_thread()
916 tsk->group_leader = tsk; in de_thread()
917 leader->group_leader = tsk; in de_thread()
1722 if (g == tsk->group_leader) in zap_threads()
/linux-2.6.39/mm/
Doom_kill.c324 if (!(task_ptrace(p->group_leader) & in select_bad_process()
/linux-2.6.39/arch/mips/kernel/
Dperf_event.c498 struct perf_event *sibling, *leader = event->group_leader; in validate_group()
/linux-2.6.39/arch/ia64/kernel/
Dasm-offsets.c55 DEFINE(IA64_TASK_GROUP_LEADER_OFFSET, offsetof (struct task_struct, group_leader)); in foo()
/linux-2.6.39/arch/sparc/kernel/
Dperf_event.c1107 if (event->group_leader != event) { in sparc_pmu_event_init()
1108 n = collect_events(event->group_leader, in sparc_pmu_event_init()
/linux-2.6.39/arch/x86/kernel/cpu/
Dperf_event.c1673 struct perf_event *leader = event->group_leader; in validate_group()
1733 if (event->group_leader != event) in x86_pmu_event_init()

12