/linux/tools/testing/selftests/bpf/progs/ |
A D | test_core_reloc_kernel.c | 64 group_leader, group_leader, group_leader, in test_core_kernel() 67 group_leader, group_leader, group_leader, in test_core_kernel() 71 group_leader, group_leader, group_leader, in test_core_kernel() 75 group_leader, group_leader, group_leader, in test_core_kernel() 76 group_leader, group_leader, group_leader, in test_core_kernel() 79 group_leader, group_leader, group_leader, in test_core_kernel() 80 group_leader, group_leader, group_leader, in test_core_kernel() 84 group_leader, group_leader, group_leader, in test_core_kernel() 85 group_leader, group_leader, group_leader, in test_core_kernel() 92 group_leader, group_leader, group_leader, group_leader, in test_core_kernel() [all …]
|
/linux/drivers/perf/ |
A D | qcom_l2_pmu.c | 472 if (event->group_leader->pmu != event->pmu && in l2_cache_event_init() 473 !is_software_event(event->group_leader)) { in l2_cache_event_init() 479 for_each_sibling_event(sibling, event->group_leader) { in l2_cache_event_init() 497 if ((event->group_leader != event) && in l2_cache_event_init() 498 (cluster->on_cpu != event->group_leader->cpu)) { in l2_cache_event_init() 501 event->cpu, event->group_leader->cpu); in l2_cache_event_init() 505 if ((event != event->group_leader) && in l2_cache_event_init() 506 !is_software_event(event->group_leader) && in l2_cache_event_init() 507 (L2_EVT_GROUP(event->group_leader->attr.config) == in l2_cache_event_init() 511 event->group_leader->attr.config, in l2_cache_event_init() [all …]
|
A D | fsl_imx8_ddr_perf.c | 390 if (event->group_leader->pmu != event->pmu && in ddr_perf_event_init() 391 !is_software_event(event->group_leader)) in ddr_perf_event_init() 395 if (!ddr_perf_filters_compatible(event, event->group_leader)) in ddr_perf_event_init() 397 for_each_sibling_event(sibling, event->group_leader) { in ddr_perf_event_init() 403 for_each_sibling_event(sibling, event->group_leader) { in ddr_perf_event_init()
|
A D | arm_dmc620_pmu.c | 520 if (event->group_leader != event && in dmc620_pmu_event_init() 521 !is_software_event(event->group_leader)) in dmc620_pmu_event_init() 524 for_each_sibling_event(sibling, event->group_leader) { in dmc620_pmu_event_init()
|
A D | arm_smmuv3_pmu.c | 376 if (!is_software_event(event->group_leader)) { in smmu_pmu_event_init() 377 if (!smmu_pmu_events_compatible(event->group_leader, event)) in smmu_pmu_event_init() 384 for_each_sibling_event(sibling, event->group_leader) { in smmu_pmu_event_init()
|
A D | arm_dsu_pmu.c | 527 struct perf_event *sibling, *leader = event->group_leader; in dsu_pmu_validate_group() 530 if (event->group_leader == event) in dsu_pmu_validate_group()
|
A D | arm_pmu.c | 389 struct perf_event *sibling, *leader = event->group_leader; in validate_group() 490 if (event->group_leader != event) { in __hw_perf_event_init()
|
/linux/kernel/events/ |
A D | core.c | 975 if (group_leader && group_leader->cgrp != cgrp) { in perf_cgroup_connect() 1955 struct perf_event *group_leader = event->group_leader, *pos; in perf_group_attach() local 2093 if (!group_leader) in perf_get_aux_event() 11505 if (!group_leader) in perf_event_alloc() 11506 group_leader = event; in perf_event_alloc() 11531 event->group_leader = group_leader; in perf_event_alloc() 12108 group_leader = NULL; in SYSCALL_DEFINE5() 12157 if (group_leader) { in SYSCALL_DEFINE5() 12193 if (group_leader) { in SYSCALL_DEFINE5() 12200 if (group_leader->group_leader != group_leader) in SYSCALL_DEFINE5() [all …]
|
/linux/kernel/ |
A D | sys.c | 1042 struct task_struct *group_leader = current->group_leader; in SYSCALL_DEFINE2() local 1047 pid = task_pid_vnr(group_leader); in SYSCALL_DEFINE2() 1077 if (p != group_leader) in SYSCALL_DEFINE2() 1193 struct task_struct *group_leader = current->group_leader; in ksys_setsid() local 1200 if (group_leader->signal->leader) in ksys_setsid() 1209 group_leader->signal->leader = 1; in ksys_setsid() 1212 proc_clear_tty(group_leader); in ksys_setsid() 1491 task_lock(current->group_leader); in SYSCALL_DEFINE2() 1511 task_lock(current->group_leader); in COMPAT_SYSCALL_DEFINE2() 1586 task_lock(tsk->group_leader); in do_prlimit() [all …]
|
A D | fork.c | 1667 task_lock(current->group_leader); in copy_signal() 1669 task_unlock(current->group_leader); in copy_signal() 2266 p->group_leader = current->group_leader; in copy_process() 2269 p->group_leader = p; in copy_process() 2320 p->exit_signal = current->group_leader->exit_signal; in copy_process() 2392 &p->group_leader->thread_group); in copy_process() 2867 leader = top = top->group_leader; in walk_process_tree() 2886 leader = parent->group_leader; in walk_process_tree()
|
/linux/security/yama/ |
A D | yama_lsm.c | 237 myself = rcu_dereference(myself->group_leader); in yama_task_prctl() 283 parent = rcu_dereference(parent->group_leader); in task_is_descendant() 286 walker = rcu_dereference(walker->group_leader); in task_is_descendant() 327 tracee = rcu_dereference(tracee->group_leader); in ptracer_exception_found()
|
/linux/drivers/gpu/drm/scheduler/ |
A D | sched_entity.c | 180 last_user = cmpxchg(&entity->last_user, current->group_leader, NULL); in drm_sched_entity_flush() 181 if ((!last_user || last_user == current->group_leader) && in drm_sched_entity_flush() 499 WRITE_ONCE(entity->last_user, current->group_leader); in drm_sched_entity_push_job()
|
/linux/lib/ |
A D | is_single_threaded.c | 33 if (unlikely(p == task->group_leader)) in current_is_single_threaded()
|
/linux/arch/alpha/kernel/ |
A D | asm-offsets.c | 25 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo()
|
A D | perf_event.c | 649 if (event->group_leader != event) { in __hw_perf_event_init() 650 n = collect_events(event->group_leader, in __hw_perf_event_init()
|
/linux/tools/bpf/bpftool/skeleton/ |
A D | pid_iter.bpf.c | 75 task->group_leader->comm); in iter()
|
/linux/fs/ |
A D | exec.c | 374 task_lock(current->group_leader); in bprm_mm_init() 376 task_unlock(current->group_leader); in bprm_mm_init() 1078 struct task_struct *leader = tsk->group_leader; in de_thread() 1130 tsk->group_leader = tsk; in de_thread() 1131 leader->group_leader = tsk; in de_thread() 1452 task_lock(current->group_leader); in finalize_exec() 1454 task_unlock(current->group_leader); in finalize_exec()
|
/linux/drivers/infiniband/core/ |
A D | umem_odp.c | 138 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_alloc_implicit() 253 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_get()
|
/linux/drivers/perf/hisilicon/ |
A D | hisi_uncore_pmu.c | 68 struct perf_event *sibling, *leader = event->group_leader; in hisi_validate_event_group() 86 for_each_sibling_event(sibling, event->group_leader) { in hisi_validate_event_group()
|
/linux/arch/powerpc/perf/ |
A D | core-fsl-emb.c | 516 if (event->group_leader != event) { in fsl_emb_pmu_event_init() 517 n = collect_events(event->group_leader, in fsl_emb_pmu_event_init()
|
/linux/init/ |
A D | init_task.c | 111 .group_leader = &init_task,
|
/linux/arch/x86/kernel/fpu/ |
A D | xstate.h | 26 return READ_ONCE(current->group_leader->thread.fpu.perm.__state_perm); in xstate_get_host_group_perm()
|
A D | xstate.c | 1583 struct task_struct *thread, *leader = current->group_leader; in validate_sigaltstack() 1607 struct fpu *fpu = ¤t->group_leader->thread.fpu; in __xstate_request_perm() 1696 fpu = ¤t->group_leader->thread.fpu; in xfd_enable_feature()
|
/linux/drivers/dma/idxd/ |
A D | perfmon.c | 157 struct perf_event *leader = event->group_leader; in perfmon_validate_group() 223 if (event->group_leader != event) in perfmon_pmu_event_init()
|
/linux/arch/x86/kernel/ |
A D | signal.c | 957 fsize += current->group_leader->thread.fpu.perm.__user_state_size; in sigaltstack_size_valid() 964 mask = current->group_leader->thread.fpu.perm.__state_perm; in sigaltstack_size_valid()
|