Searched refs:on_cpu (Results 1 – 18 of 18) sorted by relevance
/kernel/linux/linux-5.10/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 62 return sprintf(buf, "%d\n", hisi_pmu->on_cpu); in hisi_cpumask_sysfs_show() 166 if (hisi_pmu->on_cpu == -1) in hisi_uncore_pmu_event_init() 177 event->cpu = hisi_pmu->on_cpu; in hisi_uncore_pmu_event_init() 425 if (hisi_pmu->on_cpu != -1) in hisi_uncore_pmu_online_cpu() 429 hisi_pmu->on_cpu = cpu; in hisi_uncore_pmu_online_cpu() 449 if (hisi_pmu->on_cpu != cpu) in hisi_uncore_pmu_offline_cpu() 453 hisi_pmu->on_cpu = -1; in hisi_uncore_pmu_offline_cpu() 464 hisi_pmu->on_cpu = target; in hisi_uncore_pmu_offline_cpu()
|
D | hisi_uncore_pmu.h | 65 int on_cpu; member
|
D | hisi_uncore_l3c_pmu.c | 350 l3c_pmu->on_cpu = -1; in hisi_l3c_pmu_dev_probe()
|
D | hisi_uncore_hha_pmu.c | 360 hha_pmu->on_cpu = -1; in hisi_hha_pmu_dev_probe()
|
D | hisi_uncore_ddrc_pmu.c | 348 ddrc_pmu->on_cpu = -1; in hisi_ddrc_pmu_dev_probe()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_raw_tp_test_run.c | 9 __u32 on_cpu = 0xffffffff; variable 17 on_cpu = bpf_get_smp_processor_id(); in BPF_PROG()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | raw_tp_test_run.c | 46 CHECK(skel->data->on_cpu != 0xffffffff, "check_on_cpu", "got wrong value\n"); in test_raw_tp_test_run() 70 CHECK(skel->data->on_cpu != i, "check_on_cpu", in test_raw_tp_test_run() 71 "expect %d got %d\n", i, skel->data->on_cpu); in test_raw_tp_test_run()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | rtg.h | 57 __field(int, on_cpu) 70 __entry->on_cpu = task->on_cpu; 87 __entry->on_rq, __entry->on_cpu)
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | qcom_l2_pmu.c | 144 int on_cpu; member 498 (cluster->on_cpu != event->group_leader->cpu)) { in l2_cache_event_init() 536 event->cpu = cluster->on_cpu; in l2_cache_event_init() 788 if (cluster->on_cpu != -1) in l2cache_pmu_online_cpu() 795 cluster->on_cpu = cpu; in l2cache_pmu_online_cpu() 818 if (cluster->on_cpu != cpu) in l2cache_pmu_offline_cpu() 823 cluster->on_cpu = -1; in l2cache_pmu_offline_cpu() 835 cluster->on_cpu = target; in l2cache_pmu_offline_cpu() 876 cluster->on_cpu = -1; in l2_cache_pmu_probe_cluster()
|
D | arm_smmuv3_pmu.c | 107 unsigned int on_cpu; member 399 event->cpu = smmu_pmu->on_cpu; in smmu_pmu_event_init() 485 return cpumap_print_to_pagebuf(true, buf, cpumask_of(smmu_pmu->on_cpu)); in smmu_pmu_cpumask_show() 593 if (cpu != smmu_pmu->on_cpu) in smmu_pmu_offline_cpu() 601 smmu_pmu->on_cpu = target; in smmu_pmu_offline_cpu() 810 smmu_pmu->on_cpu = raw_smp_processor_id(); in smmu_pmu_probe() 812 cpumask_of(smmu_pmu->on_cpu))); in smmu_pmu_probe()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | unwind.h | 120 return task != current && task->on_cpu; in task_on_another_cpu()
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | mutex.c | 578 if (!owner->on_cpu || need_resched() || in mutex_spin_on_owner() 615 retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in mutex_can_spin_on_owner()
|
D | rwsem.c | 652 return owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in owner_on_cpu()
|
/kernel/linux/linux-5.10/kernel/sched/rtg/ |
D | rtg.c | 217 if (p->on_cpu) in remove_task_from_group() 270 if (p->on_cpu) { in add_task_to_group()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | core.c | 2714 if (WARN_ON_ONCE(p->on_cpu)) in sched_ttwu_pending() 2715 smp_cond_load_acquire(&p->on_cpu, !VAL); in sched_ttwu_pending() 3112 if (smp_load_acquire(&p->on_cpu) && in try_to_wake_up() 3125 smp_cond_load_acquire(&p->on_cpu, !VAL); in try_to_wake_up() 3464 p->on_cpu = 0; in sched_fork() 3664 WRITE_ONCE(next->on_cpu, 1); in prepare_task() 3682 smp_store_release(&prev->on_cpu, 0); in finish_task() 4152 if (!p->on_cpu || !task_on_rq_queued(p)) in task_sched_runtime() 6800 idle->on_cpu = 1; in init_idle()
|
D | sched.h | 1836 return p->on_cpu; in task_running()
|
D | fair.c | 1142 (lockdep_is_held(&task_rq(p)->lock) && !READ_ONCE(p->on_cpu))); in deref_task_numa_group()
|
/kernel/linux/linux-5.10/include/linux/ |
D | sched.h | 788 int on_cpu; member
|