/linux-2.6.39/kernel/ |
D | sys.c | 951 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 …]
|
D | perf_event.c | 397 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 …]
|
D | fork.c | 921 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()
|
D | acct.c | 509 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()
|
D | pid.c | 436 task = task->group_leader; in get_task_pid() 496 task = task->group_leader; in __task_pid_nr_ns()
|
D | exit.c | 191 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()
|
D | sched_fair.c | 2336 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()
|
D | signal.c | 1471 (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()
|
D | posix-timers.c | 441 struct task_struct *rtn = current->group_leader; in good_sigevent()
|
/linux-2.6.39/lib/ |
D | is_single_threaded.c | 36 if (unlikely(p == task->group_leader)) in current_is_single_threaded()
|
/linux-2.6.39/arch/alpha/kernel/ |
D | asm-offsets.c | 24 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo()
|
D | perf_event.c | 643 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/ |
D | resource.c | 92 if ((task != current->group_leader) || in aa_task_setrlimit()
|
/linux-2.6.39/include/linux/ |
D | init_task.h | 161 .group_leader = &tsk, \
|
D | sched.h | 1298 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)
|
D | perf_event.h | 757 struct perf_event *group_leader; member
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | perf_event_fsl_emb.c | 497 if (event->group_leader != event) { in fsl_emb_pmu_event_init() 498 n = collect_events(event->group_leader, in fsl_emb_pmu_event_init()
|
D | perf_event.c | 1146 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/ |
D | perf_event.c | 365 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/ |
D | exec.c | 869 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/ |
D | oom_kill.c | 324 if (!(task_ptrace(p->group_leader) & in select_bad_process()
|
/linux-2.6.39/arch/mips/kernel/ |
D | perf_event.c | 498 struct perf_event *sibling, *leader = event->group_leader; in validate_group()
|
/linux-2.6.39/arch/ia64/kernel/ |
D | asm-offsets.c | 55 DEFINE(IA64_TASK_GROUP_LEADER_OFFSET, offsetof (struct task_struct, group_leader)); in foo()
|
/linux-2.6.39/arch/sparc/kernel/ |
D | perf_event.c | 1107 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/ |
D | perf_event.c | 1673 struct perf_event *leader = event->group_leader; in validate_group() 1733 if (event->group_leader != event) in x86_pmu_event_init()
|