Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_linux_lb.c768 dhd_tasklet_schedule_on(struct tasklet_struct *tasklet, int on_cpu) in dhd_tasklet_schedule_on() argument
771 smp_call_function_single(on_cpu, in dhd_tasklet_schedule_on()
786 dhd_work_schedule_on(struct work_struct *work, int on_cpu) in dhd_work_schedule_on() argument
788 schedule_work_on(on_cpu, work); in dhd_work_schedule_on()
801 int curr_cpu, on_cpu; in dhd_lb_tx_compl_dispatch() local
816 on_cpu = atomic_read(&dhd->tx_compl_cpu); in dhd_lb_tx_compl_dispatch()
818 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_tx_compl_dispatch()
854 int curr_cpu, on_cpu; in dhd_lb_rx_compl_dispatch() local
868 on_cpu = atomic_read(&dhd->rx_compl_cpu); in dhd_lb_rx_compl_dispatch()
870 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_rx_compl_dispatch()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_linux_lb.c760 dhd_tasklet_schedule_on(struct tasklet_struct *tasklet, int on_cpu) in dhd_tasklet_schedule_on() argument
763 smp_call_function_single(on_cpu, in dhd_tasklet_schedule_on()
778 dhd_work_schedule_on(struct work_struct *work, int on_cpu) in dhd_work_schedule_on() argument
780 schedule_work_on(on_cpu, work); in dhd_work_schedule_on()
793 int curr_cpu, on_cpu; in dhd_lb_tx_compl_dispatch() local
808 on_cpu = atomic_read(&dhd->tx_compl_cpu); in dhd_lb_tx_compl_dispatch()
810 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_tx_compl_dispatch()
846 int curr_cpu, on_cpu; in dhd_lb_rx_compl_dispatch() local
860 on_cpu = atomic_read(&dhd->rx_compl_cpu); in dhd_lb_rx_compl_dispatch()
862 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_rx_compl_dispatch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_linux_lb.c768 dhd_tasklet_schedule_on(struct tasklet_struct *tasklet, int on_cpu) in dhd_tasklet_schedule_on() argument
771 smp_call_function_single(on_cpu, in dhd_tasklet_schedule_on()
786 dhd_work_schedule_on(struct work_struct *work, int on_cpu) in dhd_work_schedule_on() argument
788 schedule_work_on(on_cpu, work); in dhd_work_schedule_on()
801 int curr_cpu, on_cpu; in dhd_lb_tx_compl_dispatch() local
816 on_cpu = atomic_read(&dhd->tx_compl_cpu); in dhd_lb_tx_compl_dispatch()
818 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_tx_compl_dispatch()
854 int curr_cpu, on_cpu; in dhd_lb_rx_compl_dispatch() local
868 on_cpu = atomic_read(&dhd->rx_compl_cpu); in dhd_lb_rx_compl_dispatch()
870 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_rx_compl_dispatch()
[all …]
/OK3568_Linux_fs/kernel/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c62 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()
H A Dhisi_uncore_pmu.h65 int on_cpu; member
H A Dhisi_uncore_ddrc_pmu.c348 ddrc_pmu->on_cpu = -1; in hisi_ddrc_pmu_dev_probe()
H A Dhisi_uncore_l3c_pmu.c350 l3c_pmu->on_cpu = -1; in hisi_l3c_pmu_dev_probe()
H A Dhisi_uncore_hha_pmu.c360 hha_pmu->on_cpu = -1; in hisi_hha_pmu_dev_probe()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_raw_tp_test_run.c9 __u32 on_cpu = 0xffffffff; variable
17 on_cpu = bpf_get_smp_processor_id(); in BPF_PROG()
/OK3568_Linux_fs/kernel/drivers/perf/
H 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()
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()
H A Darm_smmuv3_pmu.c107 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()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_lb.c869 dhd_work_schedule_on(struct work_struct *work, int on_cpu) in dhd_work_schedule_on() argument
871 schedule_work_on(on_cpu, work); in dhd_work_schedule_on()
875 dhd_delayed_work_schedule_on(struct delayed_work *dwork, int on_cpu, ulong delay) in dhd_delayed_work_schedule_on() argument
877 schedule_delayed_work_on(on_cpu, dwork, delay); in dhd_delayed_work_schedule_on()
1116 dhd_napi_schedule_on(dhd_info_t *dhd, int on_cpu) in dhd_napi_schedule_on() argument
1120 __FUNCTION__, dhd, &dhd->rx_napi_struct, on_cpu)); in dhd_napi_schedule_on()
1122 if (smp_call_function_single(on_cpu, dhd_napi_schedule, dhd, wait)) { in dhd_napi_schedule_on()
1124 __FUNCTION__, on_cpu)); in dhd_napi_schedule_on()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_lb.c869 dhd_work_schedule_on(struct work_struct *work, int on_cpu) in dhd_work_schedule_on() argument
871 schedule_work_on(on_cpu, work); in dhd_work_schedule_on()
875 dhd_delayed_work_schedule_on(struct delayed_work *dwork, int on_cpu, ulong delay) in dhd_delayed_work_schedule_on() argument
877 schedule_delayed_work_on(on_cpu, dwork, delay); in dhd_delayed_work_schedule_on()
1116 dhd_napi_schedule_on(dhd_info_t *dhd, int on_cpu) in dhd_napi_schedule_on() argument
1120 __FUNCTION__, dhd, &dhd->rx_napi_struct, on_cpu)); in dhd_napi_schedule_on()
1122 if (smp_call_function_single(on_cpu, dhd_napi_schedule, dhd, wait)) { in dhd_napi_schedule_on()
1124 __FUNCTION__, on_cpu)); in dhd_napi_schedule_on()
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dunwind.h120 return task != current && task->on_cpu; in task_on_another_cpu()
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dmutex.c585 if (!owner->on_cpu || need_resched() || in mutex_spin_on_owner()
622 retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in mutex_can_spin_on_owner()
H A Drwsem.c650 return owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in owner_on_cpu()
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcore.c2791 if (WARN_ON_ONCE(p->on_cpu)) in sched_ttwu_pending()
2792 smp_cond_load_acquire(&p->on_cpu, !VAL); in sched_ttwu_pending()
3189 if (smp_load_acquire(&p->on_cpu) && in try_to_wake_up()
3202 smp_cond_load_acquire(&p->on_cpu, !VAL); in try_to_wake_up()
3526 p->on_cpu = 0; in sched_fork()
3734 WRITE_ONCE(next->on_cpu, 1); in prepare_task()
3752 smp_store_release(&prev->on_cpu, 0); in finish_task()
4228 if (!p->on_cpu || !task_on_rq_queued(p)) in task_sched_runtime()
6841 idle->on_cpu = 1; in init_idle()
H A Dsched.h1757 return p->on_cpu; in task_running()
H A Dfair.c1124 (lockdep_is_held(&task_rq(p)->lock) && !READ_ONCE(p->on_cpu))); in deref_task_numa_group()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_linux.c2722 dhd_tasklet_schedule_on(struct tasklet_struct *tasklet, int on_cpu) in dhd_tasklet_schedule_on() argument
2725 smp_call_function_single(on_cpu, in dhd_tasklet_schedule_on()
2740 dhd_work_schedule_on(struct work_struct *work, int on_cpu) in dhd_work_schedule_on() argument
2742 schedule_work_on(on_cpu, work); in dhd_work_schedule_on()
2756 int curr_cpu, on_cpu; in dhd_lb_tx_compl_dispatch() local
2771 on_cpu = atomic_read(&dhd->tx_compl_cpu); in dhd_lb_tx_compl_dispatch()
2773 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_tx_compl_dispatch()
2809 int curr_cpu, on_cpu; in dhd_lb_rx_compl_dispatch() local
2823 on_cpu = atomic_read(&dhd->rx_compl_cpu); in dhd_lb_rx_compl_dispatch()
2825 if ((on_cpu == curr_cpu) || (!cpu_online(on_cpu))) { in dhd_lb_rx_compl_dispatch()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h680 int on_cpu; member
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c2326 if (mask && t->on_cpu) in rdt_move_group_tasks()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Ddev.c2868 this_task->on_cpu, this_task->pid, cur_prio, skb, in ssv6xxx_encrypt_task()