Home
last modified time | relevance | path

Searched refs:on_cpu (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/perf/hisilicon/
A Dhisi_uncore_pmu.c62 return sysfs_emit(buf, "%d\n", hisi_pmu->on_cpu); in hisi_cpumask_sysfs_show()
219 if (hisi_pmu->on_cpu == -1) in hisi_uncore_pmu_event_init()
230 event->cpu = hisi_pmu->on_cpu; in hisi_uncore_pmu_event_init()
484 if (hisi_pmu->on_cpu != -1) in hisi_uncore_pmu_online_cpu()
488 hisi_pmu->on_cpu = cpu; in hisi_uncore_pmu_online_cpu()
508 if (hisi_pmu->on_cpu != cpu) in hisi_uncore_pmu_offline_cpu()
512 hisi_pmu->on_cpu = -1; in hisi_uncore_pmu_offline_cpu()
523 hisi_pmu->on_cpu = target; in hisi_uncore_pmu_offline_cpu()
A Dhisi_uncore_pmu.h79 int on_cpu; member
A Dhisi_uncore_pa_pmu.c384 pa_pmu->on_cpu = -1; in hisi_pa_pmu_dev_probe()
A Dhisi_uncore_ddrc_pmu.c481 ddrc_pmu->on_cpu = -1; in hisi_ddrc_pmu_dev_probe()
A Dhisi_uncore_sllc_pmu.c417 sllc_pmu->on_cpu = -1; in hisi_sllc_pmu_dev_probe()
A Dhisi_uncore_hha_pmu.c492 hha_pmu->on_cpu = -1; in hisi_hha_pmu_dev_probe()
A Dhisi_uncore_l3c_pmu.c526 l3c_pmu->on_cpu = -1; in hisi_l3c_pmu_dev_probe()
/linux/tools/testing/selftests/bpf/prog_tests/
A Draw_tp_test_run.c46 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()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_raw_tp_test_run.c9 __u32 on_cpu = 0xffffffff; variable
17 on_cpu = bpf_get_smp_processor_id(); in BPF_PROG()
/linux/drivers/perf/
A Dqcom_l2_pmu.c144 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()
785 if (cluster->on_cpu != -1) in l2cache_pmu_online_cpu()
792 cluster->on_cpu = cpu; in l2cache_pmu_online_cpu()
815 if (cluster->on_cpu != cpu) in l2cache_pmu_offline_cpu()
820 cluster->on_cpu = -1; in l2cache_pmu_offline_cpu()
832 cluster->on_cpu = target; in l2cache_pmu_offline_cpu()
869 cluster->on_cpu = -1; in l2_cache_pmu_probe_cluster()
A Darm_smmuv3_pmu.c108 unsigned int on_cpu; member
401 event->cpu = smmu_pmu->on_cpu; in smmu_pmu_event_init()
487 return cpumap_print_to_pagebuf(true, buf, cpumask_of(smmu_pmu->on_cpu)); in smmu_pmu_cpumask_show()
621 if (cpu != smmu_pmu->on_cpu) in smmu_pmu_offline_cpu()
629 smmu_pmu->on_cpu = target; in smmu_pmu_offline_cpu()
840 smmu_pmu->on_cpu = raw_smp_processor_id(); in smmu_pmu_probe()
841 WARN_ON(irq_set_affinity(smmu_pmu->irq, cpumask_of(smmu_pmu->on_cpu))); in smmu_pmu_probe()
/linux/arch/x86/include/asm/
A Dunwind.h149 return task != current && task->on_cpu; in task_on_another_cpu()
/linux/kernel/locking/
A Dmutex.c370 if (!owner->on_cpu || need_resched() || in mutex_spin_on_owner()
413 retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in mutex_can_spin_on_owner()
A Drtmutex.c1382 if (!owner->on_cpu || need_resched() || in rtmutex_spin_on_owner()
A Drwsem.c667 return owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in owner_on_cpu()
/linux/kernel/sched/
A Dcore.c2492 SCHED_WARN_ON(!p->on_cpu); in __do_set_cpus_allowed()
3669 if (WARN_ON_ONCE(p->on_cpu)) in sched_ttwu_pending()
3670 smp_cond_load_acquire(&p->on_cpu, !VAL); in sched_ttwu_pending()
4089 if (smp_load_acquire(&p->on_cpu) && in try_to_wake_up()
4102 smp_cond_load_acquire(&p->on_cpu, !VAL); in try_to_wake_up()
4418 p->on_cpu = 0; in sched_fork()
4614 WRITE_ONCE(next->on_cpu, 1); in prepare_task()
4632 smp_store_release(&prev->on_cpu, 0); in finish_task()
5152 if (!p->on_cpu || !task_on_rq_queued(p)) in task_sched_runtime()
8649 idle->on_cpu = 1; in init_idle()
A Dsched.h2010 return p->on_cpu; in task_running()
A Dfair.c1057 (lockdep_is_held(__rq_lockp(task_rq(p))) && !READ_ONCE(p->on_cpu))); in deref_task_numa_group()
/linux/kernel/rcu/
A Dtree_nocb.h1314 return tsp && task_is_running(tsp) && !tsp->on_cpu ? "!" : ""; in show_rcu_should_be_on_cpu()
/linux/include/linux/
A Dsched.h751 int on_cpu; member

Completed in 73 milliseconds