Home
last modified time | relevance | path

Searched refs:leader (Results 1 – 15 of 15) sorted by relevance

/drivers/tty/
Dtty_jobctrl.c136 if (current->signal->leader && in tty_open_proc_set_tty()
214 if (!p->signal->leader) { in tty_signal_session_leader()
269 if (!current->signal->leader) in disassociate_ctty()
372 if (current->signal->leader && in tiocsctty()
380 if (!current->signal->leader || current->signal->tty) { in tiocsctty()
/drivers/dma/idxd/
Dperfmon.c86 struct perf_event *leader, in perfmon_collect_events() argument
98 if (is_idxd_event(idxd_pmu, leader)) { in perfmon_collect_events()
99 idxd_pmu->event_list[n] = leader; in perfmon_collect_events()
107 for_each_sibling_event(event, leader) { in perfmon_collect_events()
157 struct perf_event *leader = event->group_leader; in perfmon_validate_group() local
168 n = perfmon_collect_events(fake_pmu, leader, true); in perfmon_validate_group()
/drivers/perf/
Dqcom_l3_pmu.c453 struct perf_event *leader = event->group_leader; in qcom_l3_cache__validate_event_group() local
457 if (leader->pmu != event->pmu && !is_software_event(leader)) in qcom_l3_cache__validate_event_group()
461 counters += event_num_counters(leader); in qcom_l3_cache__validate_event_group()
463 for_each_sibling_event(sibling, leader) { in qcom_l3_cache__validate_event_group()
Darm_pmu.c393 struct perf_event *sibling, *leader = event->group_leader; in validate_group() local
402 if (!validate_event(event->pmu, &fake_pmu, leader)) in validate_group()
405 if (event == leader) in validate_group()
408 for_each_sibling_event(sibling, leader) { in validate_group()
Darm_dsu_pmu.c527 struct perf_event *sibling, *leader = event->group_leader; in dsu_pmu_validate_group() local
534 if (!dsu_pmu_validate_event(event->pmu, &fake_hw, leader)) in dsu_pmu_validate_group()
536 for_each_sibling_event(sibling, leader) { in dsu_pmu_validate_group()
Dthunderx2_pmu.c547 struct perf_event *sibling, *leader = event->group_leader; in tx2_uncore_validate_event_group() local
553 if (!tx2_uncore_validate_event(event->pmu, leader, &counters)) in tx2_uncore_validate_event_group()
556 for_each_sibling_event(sibling, leader) { in tx2_uncore_validate_event_group()
Darm-cci.c1251 struct perf_event *sibling, *leader = event->group_leader; in validate_group() local
1263 if (!validate_event(event->pmu, &fake_pmu, leader)) in validate_group()
1266 for_each_sibling_event(sibling, leader) { in validate_group()
Darm-cmn.c1619 struct perf_event *sibling, *leader = event->group_leader; in arm_cmn_validate_group() local
1624 if (leader == event) in arm_cmn_validate_group()
1627 if (event->pmu != leader->pmu && !is_software_event(leader)) in arm_cmn_validate_group()
1634 arm_cmn_val_add_event(cmn, val, leader); in arm_cmn_validate_group()
1635 for_each_sibling_event(sibling, leader) in arm_cmn_validate_group()
/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c67 struct perf_event *sibling, *leader = event->group_leader; in hisi_validate_event_group() local
72 if (!is_software_event(leader)) { in hisi_validate_event_group()
77 if (leader->pmu != event->pmu) in hisi_validate_event_group()
81 if (leader != event) in hisi_validate_event_group()
Dhisi_pcie_pmu.c318 struct perf_event *sibling, *leader = event->group_leader; in hisi_pcie_pmu_validate_event_group() local
323 event_group[0] = leader; in hisi_pcie_pmu_validate_event_group()
324 if (!is_software_event(leader)) { in hisi_pcie_pmu_validate_event_group()
325 if (leader->pmu != event->pmu) in hisi_pcie_pmu_validate_event_group()
328 if (leader != event && !hisi_pcie_pmu_cmp_event(leader, event)) in hisi_pcie_pmu_validate_event_group()
Dhns3_pmu.c1066 struct perf_event *sibling, *leader = event->group_leader; in hns3_pmu_validate_event_group() local
1071 event_group[0] = leader; in hns3_pmu_validate_event_group()
1072 if (!is_software_event(leader)) { in hns3_pmu_validate_event_group()
1073 if (leader->pmu != event->pmu) in hns3_pmu_validate_event_group()
1076 if (leader != event && !hns3_pmu_cmp_event(leader, event)) in hns3_pmu_validate_event_group()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c194 struct amdgpu_job *leader) in amdgpu_job_set_gang_leader() argument
196 struct dma_fence *fence = &leader->base.s_fence->scheduled; in amdgpu_job_set_gang_leader()
204 if (job != leader) in amdgpu_job_set_gang_leader()
Damdgpu_cs.c1255 struct amdgpu_job *leader = p->gang_leader; in amdgpu_cs_submit() local
1269 if (p->jobs[i] == leader) in amdgpu_cs_submit()
1274 r = drm_sched_job_add_dependency(&leader->base, fence); in amdgpu_cs_submit()
1283 amdgpu_job_set_gang_leader(p->jobs[i], leader); in amdgpu_cs_submit()
1307 p->fence = dma_fence_get(&leader->base.s_fence->finished); in amdgpu_cs_submit()
1314 if (p->jobs[i] == leader) in amdgpu_cs_submit()
1330 if ((leader->preamble_status & AMDGPU_PREAMBLE_IB_PRESENT) && in amdgpu_cs_submit()
1332 leader->preamble_status |= AMDGPU_PREAMBLE_IB_PRESENT_FIRST; in amdgpu_cs_submit()
1337 leader->uf_sequence = seq; in amdgpu_cs_submit()
Damdgpu_job.h99 struct amdgpu_job *leader);
/drivers/perf/arm_cspmu/
Darm_cspmu.c611 struct perf_event *sibling, *leader = event->group_leader; in arm_cspmu_validate_group() local
619 if (!arm_cspmu_validate_event(event->pmu, &fake_hw_events, leader)) in arm_cspmu_validate_group()
622 for_each_sibling_event(sibling, leader) { in arm_cspmu_validate_group()