group_leader 25 arch/alpha/kernel/asm-offsets.c DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); group_leader 649 arch/alpha/kernel/perf_event.c if (event->group_leader != event) { group_leader 650 arch/alpha/kernel/perf_event.c n = collect_events(event->group_leader, group_leader 256 arch/arm/mach-imx/mmdc.c struct perf_event *leader = event->group_leader; group_leader 275 arch/arm/mm/cache-l2x0-pmu.c struct perf_event *leader = event->group_leader; group_leader 1821 arch/ia64/kernel/mca.c p->parent = p->real_parent = p->group_leader = p; group_leader 713 arch/mips/kernel/perf_event_mipsxx.c struct perf_event *sibling, *leader = event->group_leader; group_leader 1343 arch/mips/kernel/perf_event_mipsxx.c if (event->group_leader != event) group_leader 773 arch/nds32/kernel/perf_event_cpu.c struct perf_event *sibling, *leader = event->group_leader; group_leader 849 arch/nds32/kernel/perf_event_cpu.c if (event->group_leader != event) { group_leader 545 arch/powerpc/perf/core-book3s.c struct perf_event *leader = event->group_leader; group_leader 1939 arch/powerpc/perf/core-book3s.c if (event->group_leader != event) { group_leader 1940 arch/powerpc/perf/core-book3s.c n = collect_events(event->group_leader, ppmu->n_counter - 1, group_leader 529 arch/powerpc/perf/core-fsl-emb.c if (event->group_leader != event) { group_leader 530 arch/powerpc/perf/core-fsl-emb.c n = collect_events(event->group_leader, group_leader 1474 arch/sparc/kernel/perf_event.c if (event->group_leader != event) { group_leader 1475 arch/sparc/kernel/perf_event.c n = collect_events(event->group_leader, group_leader 2046 arch/x86/events/core.c struct perf_event *leader = event->group_leader; group_leader 2101 arch/x86/events/core.c if (event->group_leader != event) group_leader 660 arch/x86/events/intel/uncore.c struct perf_event *leader = event->group_leader; group_leader 769 arch/x86/events/intel/uncore.c if (event->group_leader != event) group_leader 2351 drivers/android/binder.c proc->tsk == current->group_leader); group_leader 2368 drivers/android/binder.c if (proc->tsk != current->group_leader) { group_leader 5173 drivers/android/binder.c if (proc->tsk != current->group_leader) group_leader 5213 drivers/android/binder.c current->group_leader->pid, current->pid); group_leader 5220 drivers/android/binder.c get_task_struct(current->group_leader); group_leader 5221 drivers/android/binder.c proc->tsk = current->group_leader; group_leader 5238 drivers/android/binder.c proc->pid = current->group_leader->pid; group_leader 1005 drivers/android/binder_alloc.c alloc->pid = current->group_leader->pid; group_leader 866 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c info->pid = get_task_pid(current->group_leader, PIDTYPE_PID); group_leader 1346 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->usertask = current->group_leader; group_leader 3122 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (current->group_leader->mm == current->mm) { group_leader 3123 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c vm->task_info.tgid = current->group_leader->pid; group_leader 3124 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c get_task_comm(vm->task_info.process_name, current->group_leader); group_leader 277 drivers/gpu/drm/amd/amdkfd/kfd_process.c if (thread->group_leader->mm != thread->mm) group_leader 340 drivers/gpu/drm/amd/amdkfd/kfd_process.c if (thread->group_leader->mm != thread->mm) group_leader 634 drivers/gpu/drm/amd/amdkfd/kfd_process.c process->lead_thread = thread->group_leader; group_leader 195 drivers/gpu/drm/scheduler/sched_entity.c last_user = cmpxchg(&entity->last_user, current->group_leader, NULL); group_leader 196 drivers/gpu/drm/scheduler/sched_entity.c if ((!last_user || last_user == current->group_leader) && group_leader 525 drivers/gpu/drm/scheduler/sched_entity.c WRITE_ONCE(entity->last_user, current->group_leader); group_leader 183 drivers/infiniband/core/umem_odp.c per_mm->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); group_leader 1255 drivers/perf/arm-cci.c struct perf_event *sibling, *leader = event->group_leader; group_leader 1309 drivers/perf/arm-cci.c if (event->group_leader != event) { group_leader 836 drivers/perf/arm-ccn.c if (event->group_leader->pmu != event->pmu && group_leader 837 drivers/perf/arm-ccn.c !is_software_event(event->group_leader)) group_leader 840 drivers/perf/arm-ccn.c for_each_sibling_event(sibling, event->group_leader) { group_leader 527 drivers/perf/arm_dsu_pmu.c struct perf_event *sibling, *leader = event->group_leader; group_leader 530 drivers/perf/arm_dsu_pmu.c if (event->group_leader == event) group_leader 313 drivers/perf/arm_pmu.c struct perf_event *sibling, *leader = event->group_leader; group_leader 414 drivers/perf/arm_pmu.c if (event->group_leader != event) { group_leader 372 drivers/perf/arm_smmuv3_pmu.c if (!is_software_event(event->group_leader)) { group_leader 373 drivers/perf/arm_smmuv3_pmu.c if (!smmu_pmu_events_compatible(event->group_leader, event)) group_leader 380 drivers/perf/arm_smmuv3_pmu.c for_each_sibling_event(sibling, event->group_leader) { group_leader 278 drivers/perf/fsl_imx8_ddr_perf.c if (event->group_leader->pmu != event->pmu && group_leader 279 drivers/perf/fsl_imx8_ddr_perf.c !is_software_event(event->group_leader)) group_leader 283 drivers/perf/fsl_imx8_ddr_perf.c if (!ddr_perf_filters_compatible(event, event->group_leader)) group_leader 285 drivers/perf/fsl_imx8_ddr_perf.c for_each_sibling_event(sibling, event->group_leader) { group_leader 291 drivers/perf/fsl_imx8_ddr_perf.c for_each_sibling_event(sibling, event->group_leader) { group_leader 64 drivers/perf/hisilicon/hisi_uncore_pmu.c struct perf_event *sibling, *leader = event->group_leader; group_leader 82 drivers/perf/hisilicon/hisi_uncore_pmu.c for_each_sibling_event(sibling, event->group_leader) { group_leader 514 drivers/perf/qcom_l2_pmu.c if (event->group_leader->pmu != event->pmu && group_leader 515 drivers/perf/qcom_l2_pmu.c !is_software_event(event->group_leader)) { group_leader 521 drivers/perf/qcom_l2_pmu.c for_each_sibling_event(sibling, event->group_leader) { group_leader 539 drivers/perf/qcom_l2_pmu.c if ((event->group_leader != event) && group_leader 540 drivers/perf/qcom_l2_pmu.c (cluster->on_cpu != event->group_leader->cpu)) { group_leader 543 drivers/perf/qcom_l2_pmu.c event->cpu, event->group_leader->cpu); group_leader 547 drivers/perf/qcom_l2_pmu.c if ((event != event->group_leader) && group_leader 548 drivers/perf/qcom_l2_pmu.c !is_software_event(event->group_leader) && group_leader 549 drivers/perf/qcom_l2_pmu.c (L2_EVT_GROUP(event->group_leader->attr.config) == group_leader 553 drivers/perf/qcom_l2_pmu.c event->group_leader->attr.config, group_leader 558 drivers/perf/qcom_l2_pmu.c for_each_sibling_event(sibling, event->group_leader) { group_leader 453 drivers/perf/qcom_l3_pmu.c struct perf_event *leader = event->group_leader; group_leader 385 drivers/perf/thunderx2_pmu.c struct perf_event *sibling, *leader = event->group_leader; group_leader 388 drivers/perf/thunderx2_pmu.c if (event->group_leader == event) group_leader 934 drivers/perf/xgene_pmu.c if (event->group_leader->pmu != event->pmu && group_leader 935 drivers/perf/xgene_pmu.c !is_software_event(event->group_leader)) group_leader 938 drivers/perf/xgene_pmu.c for_each_sibling_event(sibling, event->group_leader) { group_leader 1155 drivers/vfio/vfio_iommu_type1.c get_task_struct(current->group_leader); group_leader 1156 drivers/vfio/vfio_iommu_type1.c dma->task = current->group_leader; group_leader 1840 fs/binfmt_elf.c fill_psinfo(psinfo, dump_task->group_leader, dump_task->mm); group_leader 2050 fs/binfmt_elf.c fill_psinfo(info->psinfo, current->group_leader, current->mm); group_leader 1656 fs/binfmt_elf_fdpic.c fill_psinfo(psinfo, current->group_leader, current->mm); group_leader 415 fs/coredump.c if (g == tsk->group_leader) group_leader 370 fs/exec.c task_lock(current->group_leader); group_leader 372 fs/exec.c task_unlock(current->group_leader); group_leader 1104 fs/exec.c struct task_struct *leader = tsk->group_leader; group_leader 1160 fs/exec.c tsk->group_leader = tsk; group_leader 1161 fs/exec.c leader->group_leader = tsk; group_leader 1397 fs/exec.c task_lock(current->group_leader); group_leader 1399 fs/exec.c task_unlock(current->group_leader); group_leader 3611 fs/proc/base.c pos = task = task->group_leader; group_leader 301 include/linux/cgroup.h if ((leader) != (leader)->group_leader) \ group_leader 568 include/linux/perf_event.h if ((event)->group_leader == (event)) \ group_leader 610 include/linux/perf_event.h struct perf_event *group_leader; group_leader 812 include/linux/sched.h struct task_struct *group_leader; group_leader 101 init/init_task.c .group_leader = &init_task, group_leader 432 kernel/acct.c run_time -= current->group_leader->start_time; group_leader 2851 kernel/cgroup/cgroup.c tsk = tsk->group_leader; group_leader 2482 kernel/debug/kdb/kdb_main.c p = p->group_leader; group_leader 616 kernel/events/core.c struct perf_event *leader = event->group_leader; group_leader 901 kernel/events/core.c struct perf_event *group_leader) group_leader 926 kernel/events/core.c if (group_leader && group_leader->cgrp != cgrp) { group_leader 1028 kernel/events/core.c struct perf_event *group_leader) group_leader 1483 kernel/events/core.c if (event->group_leader != event) group_leader 1484 kernel/events/core.c event = event->group_leader; group_leader 1684 kernel/events/core.c if (event->group_leader == event) { group_leader 1771 kernel/events/core.c event->group_leader->nr_siblings); group_leader 1808 kernel/events/core.c __perf_event_read_size(event, event->group_leader->nr_siblings + 1); group_leader 1825 kernel/events/core.c struct perf_event *group_leader = event->group_leader, *pos; group_leader 1837 kernel/events/core.c if (group_leader == event) group_leader 1840 kernel/events/core.c WARN_ON_ONCE(group_leader->ctx != event->ctx); group_leader 1842 kernel/events/core.c group_leader->group_caps &= event->event_caps; group_leader 1844 kernel/events/core.c list_add_tail(&event->sibling_list, &group_leader->sibling_list); group_leader 1845 kernel/events/core.c group_leader->nr_siblings++; group_leader 1847 kernel/events/core.c perf_event__header_size(group_leader); group_leader 1849 kernel/events/core.c for_each_sibling_event(pos, group_leader) group_leader 1879 kernel/events/core.c if (event->group_leader == event) group_leader 1932 kernel/events/core.c for_each_sibling_event(iter, event->group_leader) { group_leader 1950 kernel/events/core.c struct perf_event *group_leader) group_leader 1958 kernel/events/core.c if (!group_leader) group_leader 1961 kernel/events/core.c if (!perf_aux_output_match(event, group_leader)) group_leader 1964 kernel/events/core.c if (!atomic_long_inc_not_zero(&group_leader->refcount)) group_leader 1973 kernel/events/core.c event->aux_event = group_leader; group_leader 1998 kernel/events/core.c if (event->group_leader != event) { group_leader 2000 kernel/events/core.c event->group_leader->nr_siblings--; group_leader 2011 kernel/events/core.c sibling->group_leader = sibling; group_leader 2032 kernel/events/core.c perf_event__header_size(event->group_leader); group_leader 2034 kernel/events/core.c for_each_sibling_event(tmp, event->group_leader) group_leader 2234 kernel/events/core.c if (event == event->group_leader) group_leader 2751 kernel/events/core.c struct perf_event *leader = event->group_leader; group_leader 4887 kernel/events/core.c struct perf_event *leader = event->group_leader, *child; group_leader 5065 kernel/events/core.c event = event->group_leader; group_leader 6287 kernel/events/core.c struct perf_event *leader = event->group_leader, *sub; group_leader 10221 kernel/events/core.c if (event->group_leader != event && pmu->task_ctx_nr != perf_sw_context) { group_leader 10226 kernel/events/core.c ctx = perf_event_ctx_lock_nested(event->group_leader, group_leader 10235 kernel/events/core.c perf_event_ctx_unlock(event->group_leader, ctx); group_leader 10422 kernel/events/core.c struct perf_event *group_leader, group_leader 10445 kernel/events/core.c if (!group_leader) group_leader 10446 kernel/events/core.c group_leader = event; group_leader 10471 kernel/events/core.c event->group_leader = group_leader; group_leader 10548 kernel/events/core.c err = perf_cgroup_connect(cgroup_fd, event, attr, group_leader); group_leader 10865 kernel/events/core.c __perf_event_ctx_lock_double(struct perf_event *group_leader, group_leader 10872 kernel/events/core.c gctx = READ_ONCE(group_leader->ctx); group_leader 10881 kernel/events/core.c if (group_leader->ctx != gctx) { group_leader 10903 kernel/events/core.c struct perf_event *group_leader = NULL, *output_event = NULL; group_leader 10975 kernel/events/core.c group_leader = group.file->private_data; group_leader 10977 kernel/events/core.c output_event = group_leader; group_leader 10979 kernel/events/core.c group_leader = NULL; group_leader 10990 kernel/events/core.c if (task && group_leader && group_leader 10991 kernel/events/core.c group_leader->attr.inherit != attr.inherit) { group_leader 11017 kernel/events/core.c event = perf_event_alloc(&attr, cpu, task, group_leader, NULL, group_leader 11046 kernel/events/core.c if (group_leader) { group_leader 11048 kernel/events/core.c !in_software_context(group_leader)) { group_leader 11057 kernel/events/core.c pmu = group_leader->ctx->pmu; group_leader 11059 kernel/events/core.c is_software_event(group_leader) && group_leader 11060 kernel/events/core.c (group_leader->group_caps & PERF_EV_CAP_SOFTWARE)) { group_leader 11082 kernel/events/core.c if (group_leader) { group_leader 11089 kernel/events/core.c if (group_leader->group_leader != group_leader) group_leader 11093 kernel/events/core.c if (group_leader->clock != event->clock) group_leader 11101 kernel/events/core.c if (group_leader->cpu != event->cpu) group_leader 11108 kernel/events/core.c if (group_leader->ctx->task != ctx->task) group_leader 11116 kernel/events/core.c if (!move_group && group_leader->ctx != ctx) group_leader 11141 kernel/events/core.c gctx = __perf_event_ctx_lock_double(group_leader, ctx); group_leader 11152 kernel/events/core.c if (!(group_leader->group_caps & PERF_EV_CAP_SOFTWARE)) { group_leader 11162 kernel/events/core.c perf_event_ctx_unlock(group_leader, gctx); group_leader 11171 kernel/events/core.c if (!exclusive_event_installable(group_leader, ctx)) group_leader 11174 kernel/events/core.c for_each_sibling_event(sibling, group_leader) { group_leader 11208 kernel/events/core.c if (event->attr.aux_output && !perf_get_aux_event(event, group_leader)) { group_leader 11234 kernel/events/core.c perf_remove_from_context(group_leader, 0); group_leader 11237 kernel/events/core.c for_each_sibling_event(sibling, group_leader) { group_leader 11258 kernel/events/core.c for_each_sibling_event(sibling, group_leader) { group_leader 11269 kernel/events/core.c perf_event__state_init(group_leader); group_leader 11270 kernel/events/core.c perf_install_in_context(ctx, group_leader, group_leader->cpu); group_leader 11289 kernel/events/core.c perf_event_ctx_unlock(group_leader, gctx); group_leader 11313 kernel/events/core.c perf_event_ctx_unlock(group_leader, gctx); group_leader 11464 kernel/events/core.c if (event->group_leader == event) group_leader 11795 kernel/events/core.c struct perf_event *group_leader, group_leader 11814 kernel/events/core.c group_leader, parent_event, group_leader 215 kernel/exit.c leader = p->group_leader; group_leader 655 kernel/exit.c kill_orphaned_pgrp(tsk->group_leader, NULL); group_leader 1576 kernel/fork.c task_lock(current->group_leader); group_leader 1578 kernel/fork.c task_unlock(current->group_leader); group_leader 2084 kernel/fork.c p->group_leader = current->group_leader; group_leader 2088 kernel/fork.c p->exit_signal = current->group_leader->exit_signal; group_leader 2091 kernel/fork.c p->group_leader = p; group_leader 2203 kernel/fork.c &p->group_leader->thread_group); group_leader 2653 kernel/fork.c leader = top = top->group_leader; group_leader 2672 kernel/fork.c leader = parent->group_leader; group_leader 1924 kernel/signal.c (tsk->group_leader != tsk || !thread_group_empty(tsk))); group_leader 2033 kernel/signal.c tsk = tsk->group_leader; group_leader 2579 kernel/signal.c if (ptrace_reparented(current->group_leader)) group_leader 2580 kernel/signal.c do_notify_parent_cldstop(current->group_leader, group_leader 1009 kernel/sys.c struct task_struct *group_leader = current->group_leader; group_leader 1014 kernel/sys.c pid = task_pid_vnr(group_leader); group_leader 1035 kernel/sys.c if (same_thread_group(p->real_parent, group_leader)) { group_leader 1037 kernel/sys.c if (task_session(p) != task_session(group_leader)) group_leader 1044 kernel/sys.c if (p != group_leader) group_leader 1058 kernel/sys.c if (!g || task_session(g) != task_session(group_leader)) group_leader 1149 kernel/sys.c struct task_struct *curr = current->group_leader; group_leader 1160 kernel/sys.c struct task_struct *group_leader = current->group_leader; group_leader 1161 kernel/sys.c struct pid *sid = task_pid(group_leader); group_leader 1167 kernel/sys.c if (group_leader->signal->leader) group_leader 1176 kernel/sys.c group_leader->signal->leader = 1; group_leader 1179 kernel/sys.c proc_clear_tty(group_leader); group_leader 1185 kernel/sys.c proc_sid_connector(group_leader); group_leader 1186 kernel/sys.c sched_autogroup_create_attach(group_leader); group_leader 1456 kernel/sys.c task_lock(current->group_leader); group_leader 1458 kernel/sys.c task_unlock(current->group_leader); group_leader 1476 kernel/sys.c task_lock(current->group_leader); group_leader 1478 kernel/sys.c task_unlock(current->group_leader); group_leader 1551 kernel/sys.c task_lock(tsk->group_leader); group_leader 1567 kernel/sys.c task_unlock(tsk->group_leader); group_leader 60 kernel/time/posix-cpu-timers.c return thread ? current : current->group_leader; group_leader 33 lib/is_single_threaded.c if (unlikely(p == task->group_leader)) group_leader 237 security/yama/yama_lsm.c myself = rcu_dereference(myself->group_leader); group_leader 283 security/yama/yama_lsm.c parent = rcu_dereference(parent->group_leader); group_leader 286 security/yama/yama_lsm.c walker = rcu_dereference(walker->group_leader); group_leader 327 security/yama/yama_lsm.c tracee = rcu_dereference(tracee->group_leader);