Home
last modified time | relevance | path

Searched refs:n_cpus (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Duffd-common.c204 void uffd_stats_report(struct uffd_args *args, int n_cpus) in uffd_stats_report() argument
209 for (i = 0; i < n_cpus; i++) { in uffd_stats_report()
218 for (i = 0; i < n_cpus; i++) in uffd_stats_report()
224 for (i = 0; i < n_cpus; i++) in uffd_stats_report()
230 for (i = 0; i < n_cpus; i++) in uffd_stats_report()
H A Duffd-stress.c79 static void uffd_stats_reset(struct uffd_args *args, unsigned long n_cpus) in uffd_stats_reset() argument
83 for (i = 0; i < n_cpus; i++) { in uffd_stats_reset()
H A Duffd-common.h116 void uffd_stats_report(struct uffd_args *args, int n_cpus);
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_migrate.c686 const unsigned int n_cpus = num_online_cpus() + 1; in threaded_migrate() local
692 thread = kcalloc(n_cpus, sizeof(*thread), GFP_KERNEL); in threaded_migrate()
696 for (i = 0; i < n_cpus; ++i) { in threaded_migrate()
713 msleep(10 * n_cpus); /* start all threads before we kthread_stop() */ in threaded_migrate()
715 for (i = 0; i < n_cpus; ++i) { in threaded_migrate()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c2736 struct qed_ptt *p_ptt, u32 pwm_region_size, u32 n_cpus) in qed_hw_init_dpi_size() argument
2743 n_wids = max_t(u32, QED_MIN_WIDS, n_cpus); in qed_hw_init_dpi_size()
2782 u32 db_bar_size, n_cpus = 1; in qed_hw_init_pf_doorbell_bar() local
2825 n_cpus = num_present_cpus(); in qed_hw_init_pf_doorbell_bar()
2826 rc = qed_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); in qed_hw_init_pf_doorbell_bar()
2836 n_cpus = 1; in qed_hw_init_pf_doorbell_bar()
2837 rc = qed_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); in qed_hw_init_pf_doorbell_bar()
2843 p_hwfn->wid_count = (u16)n_cpus; in qed_hw_init_pf_doorbell_bar()