/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_core_reloc_kernel.c | 31 struct task_struct *group_leader; member 73 group_leader, in test_core_kernel() 76 group_leader, group_leader, in test_core_kernel() 79 group_leader, group_leader, group_leader, in test_core_kernel() 82 group_leader, group_leader, group_leader, in test_core_kernel() 83 group_leader, in test_core_kernel() 86 group_leader, group_leader, group_leader, in test_core_kernel() 87 group_leader, group_leader, in test_core_kernel() 90 group_leader, group_leader, group_leader, in test_core_kernel() 91 group_leader, group_leader, group_leader, in test_core_kernel() [all …]
|
D | rcu_read_lock.c | 282 struct task_struct *task, *group_leader; in task_trusted_non_rcuptr() local 287 group_leader = task->real_parent->group_leader; in task_trusted_non_rcuptr() 288 (void)bpf_task_storage_get(&map_a, group_leader, 0, 0); in task_trusted_non_rcuptr()
|
D | task_kfunc_success.c | 308 acquired = bpf_task_acquire(task->group_leader); in BPF_PROG()
|
/linux-6.6.21/drivers/perf/ |
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 …]
|
D | fsl_imx8_ddr_perf.c | 393 if (event->group_leader->pmu != event->pmu && in ddr_perf_event_init() 394 !is_software_event(event->group_leader)) in ddr_perf_event_init() 398 if (!ddr_perf_filters_compatible(event, event->group_leader)) in ddr_perf_event_init() 400 for_each_sibling_event(sibling, event->group_leader) { in ddr_perf_event_init() 406 for_each_sibling_event(sibling, event->group_leader) { in ddr_perf_event_init()
|
D | arm_dmc620_pmu.c | 549 if (event->group_leader != event && in dmc620_pmu_event_init() 550 !is_software_event(event->group_leader)) in dmc620_pmu_event_init() 553 for_each_sibling_event(sibling, event->group_leader) { in dmc620_pmu_event_init()
|
D | fsl_imx9_ddr_perf.c | 435 if (event->group_leader->pmu != event->pmu && in ddr_perf_event_init() 436 !is_software_event(event->group_leader)) in ddr_perf_event_init() 439 for_each_sibling_event(sibling, event->group_leader) { in ddr_perf_event_init()
|
D | alibaba_uncore_drw_pmu.c | 559 if (event->group_leader != event && in ali_drw_pmu_event_init() 560 !is_software_event(event->group_leader)) { in ali_drw_pmu_event_init() 565 for_each_sibling_event(sibling, event->group_leader) { in ali_drw_pmu_event_init()
|
/linux-6.6.21/rust/kernel/ |
D | task.rs | 117 pub fn group_leader(&self) -> &Task { in group_leader() method 120 let ptr = unsafe { *ptr::addr_of!((*self.0.get()).group_leader) }; in group_leader()
|
/linux-6.6.21/kernel/ |
D | sys.c | 1076 struct task_struct *group_leader = current->group_leader; in SYSCALL_DEFINE2() local 1081 pid = task_pid_vnr(group_leader); in SYSCALL_DEFINE2() 1102 if (same_thread_group(p->real_parent, group_leader)) { in SYSCALL_DEFINE2() 1104 if (task_session(p) != task_session(group_leader)) in SYSCALL_DEFINE2() 1111 if (p != group_leader) in SYSCALL_DEFINE2() 1125 if (!g || task_session(g) != task_session(group_leader)) in SYSCALL_DEFINE2() 1216 struct task_struct *curr = current->group_leader; in set_special_pids() 1227 struct task_struct *group_leader = current->group_leader; in ksys_setsid() local 1228 struct pid *sid = task_pid(group_leader); in ksys_setsid() 1234 if (group_leader->signal->leader) in ksys_setsid() [all …]
|
D | fork.c | 1882 task_lock(current->group_leader); in copy_signal() 1884 task_unlock(current->group_leader); in copy_signal() 2567 p->group_leader = current->group_leader; in copy_process() 2570 p->group_leader = p; in copy_process() 2635 p->exit_signal = current->group_leader->exit_signal; in copy_process() 2708 &p->group_leader->thread_group); in copy_process() 3220 leader = top = top->group_leader; in walk_process_tree() 3239 leader = parent->group_leader; in walk_process_tree()
|
D | tsacct.c | 34 delta = now_ns - tsk->group_leader->start_time; in bacct_add_tsk()
|
/linux-6.6.21/security/yama/ |
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-6.6.21/kernel/events/ |
D | core.c | 614 struct perf_event *leader = event->group_leader; in __perf_effective_state() 929 struct perf_event *group_leader) in perf_cgroup_connect() argument 958 if (group_leader && group_leader->cgrp != cgrp) { in perf_cgroup_connect() 1038 struct perf_event *group_leader) in perf_cgroup_connect() argument 1519 if (event->group_leader != event) in get_event_type() 1520 event = event->group_leader; in get_event_type() 1789 if (event->group_leader == event) { in list_add_event() 1896 event->group_leader->nr_siblings); in perf_event__header_size() 1940 struct perf_event *sibling, *group_leader = event->group_leader; in perf_event_validate_size() local 1943 group_leader->nr_siblings + 1) > 16*1024) in perf_event_validate_size() [all …]
|
/linux-6.6.21/lib/ |
D | is_single_threaded.c | 33 if (unlikely(p == task->group_leader)) in current_is_single_threaded()
|
/linux-6.6.21/drivers/gpu/drm/scheduler/ |
D | sched_entity.c | 285 last_user = cmpxchg(&entity->last_user, current->group_leader, NULL); in drm_sched_entity_flush() 286 if ((!last_user || last_user == current->group_leader) && in drm_sched_entity_flush() 566 WRITE_ONCE(entity->last_user, current->group_leader); in drm_sched_entity_push_job()
|
/linux-6.6.21/arch/x86/kernel/ |
D | signal.c | 398 fsize += current->group_leader->thread.fpu.perm.__user_state_size; in sigaltstack_size_valid() 405 mask = current->group_leader->thread.fpu.perm.__state_perm; in sigaltstack_size_valid()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | asm-offsets.c | 27 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo()
|
/linux-6.6.21/tools/bpf/bpftool/skeleton/ |
D | pid_iter.bpf.c | 113 task->group_leader->comm); in iter()
|
/linux-6.6.21/fs/ |
D | exec.c | 379 task_lock(current->group_leader); in bprm_mm_init() 381 task_unlock(current->group_leader); in bprm_mm_init() 1087 struct task_struct *leader = tsk->group_leader; in de_thread() 1139 tsk->group_leader = tsk; in de_thread() 1140 leader->group_leader = tsk; in de_thread() 1466 task_lock(current->group_leader); in finalize_exec() 1468 task_unlock(current->group_leader); in finalize_exec()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | umem_odp.c | 136 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_alloc_implicit() 250 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_get()
|
/linux-6.6.21/drivers/perf/hisilicon/ |
D | hisi_pcie_pmu.c | 318 struct perf_event *sibling, *leader = event->group_leader; in hisi_pcie_pmu_validate_event_group() 332 for_each_sibling_event(sibling, event->group_leader) { in hisi_pcie_pmu_validate_event_group() 403 if (sibling->group_leader == event->group_leader) in hisi_pcie_pmu_find_related_event()
|
D | hisi_uncore_pmu.c | 67 struct perf_event *sibling, *leader = event->group_leader; in hisi_validate_event_group() 85 for_each_sibling_event(sibling, event->group_leader) { in hisi_validate_event_group()
|
/linux-6.6.21/init/ |
D | init_task.c | 111 .group_leader = &init_task,
|
/linux-6.6.21/arch/powerpc/perf/ |
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()
|