Home
last modified time | relevance | path

Searched defs:ncpus (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.6.21/lib/
Dgroup_cpus.c105 unsigned ncpus; member
145 unsigned ncpus; in alloc_nodes_groups() local
230 unsigned ngroups, ncpus; in alloc_nodes_groups() local
290 unsigned int ncpus, v; in __group_cpus_evenly() local
/linux-6.6.21/tools/perf/util/
Dbpf_ftrace.c22 int i, ncpus = 1, ntasks = 1; in perf_ftrace__latency_prepare_bpf() local
127 int ncpus = cpu__max_cpu().cpu; in perf_ftrace__latency_read_bpf() local
Dcounts.c10 struct perf_counts *perf_counts__new(int ncpus, int nthreads) in perf_counts__new()
Dbpf_lock_contention.c23 int ncpus = 1, ntasks = 1, ntypes = 1, naddrs = 1; in lock_contention_prepare() local
Dbpf_off_cpu.c130 int ncpus = 1, ntasks = 1, ncgrps = 1; in off_cpu_prepare() local
Dcputopo.c262 long ncpus; in cpu_topology__new() local
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dsmp.c271 int i, ncpus; in smp_psurge_probe() local
562 static void __init smp_core99_setup_i2c_hwsync(int ncpus) in smp_core99_setup_i2c_hwsync()
694 static void __init smp_core99_setup(int ncpus) in smp_core99_setup()
764 int ncpus = 0; in smp_core99_probe() local
/linux-6.6.21/arch/mips/kernel/
Dcrash.c59 unsigned int ncpus; in crash_kexec_prepare_cpus() local
/linux-6.6.21/tools/lib/perf/
Devsel.c52 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd()
72 static int perf_evsel__alloc_mmap(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_mmap()
513 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_id()
/linux-6.6.21/arch/loongarch/kernel/
Dmachine_kexec.c194 unsigned int ncpus; in crash_smp_send_stop() local
/linux-6.6.21/arch/powerpc/kexec/
Dcrash.c115 volatile unsigned int ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */ in crash_kexec_prepare_cpus() local
/linux-6.6.21/kernel/locking/
Dtest-ww_mutex.c368 static int test_cycle(unsigned int ncpus) in test_cycle()
627 int ncpus = num_online_cpus(); in test_ww_mutex_init() local
/linux-6.6.21/arch/sparc/kernel/
Dds.c479 static int dr_cpu_size_response(int ncpus) in dr_cpu_size_response()
487 u64 handle, int resp_len, int ncpus, in dr_cpu_init_response()
514 static void dr_cpu_mark(struct ds_data *resp, int cpu, int ncpus, in dr_cpu_mark()
537 int resp_len, ncpus, cpu; in dr_cpu_configure() local
596 int resp_len, ncpus, cpu; in dr_cpu_unconfigure() local
Dsetup_32.c391 int i, ncpus, err; in topology_init() local
Dsun4m_smp.c177 register int ncpus = SUN4M_NCPUS; in sun4m_cross_call() local
/linux-6.6.21/drivers/xen/
Dmcelog.c58 static uint32_t ncpus; variable
/linux-6.6.21/arch/x86/kernel/
Dkvmclock.c204 unsigned long ncpus; in kvmclock_init_mem() local
/linux-6.6.21/drivers/clk/mvebu/
Dclk-cpu.c171 int ncpus = num_possible_cpus(); in of_cpu_clk_setup() local
/linux-6.6.21/arch/x86/platform/uv/
Duv_time.c52 int ncpus; member
/linux-6.6.21/drivers/misc/sgi-gru/
Dgrukservices.c145 int ctxnum, ncpus; in gru_load_kernel_context() local
363 int ncpus; in gru_lock_async_resource() local
/linux-6.6.21/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c108 int pid, ncpus; in start_process_on() local
/linux-6.6.21/drivers/dma-buf/
Dst-dma-fence-chain.c445 int ncpus = num_online_cpus(); in find_race() local
/linux-6.6.21/arch/um/kernel/
Dum_arch.c129 int ncpus = 1; variable
/linux-6.6.21/tools/testing/selftests/cgroup/
Dtest_cpu.c301 static pid_t weight_hog_ncpus(const struct cpu_hogger *child, int ncpus) in weight_hog_ncpus()
/linux-6.6.21/kernel/
Dcpu.c1818 static void __init cpuhp_bringup_mask(const struct cpumask *mask, unsigned int ncpus, in cpuhp_bringup_mask()
1869 static bool __init cpuhp_bringup_cpus_parallel(unsigned int ncpus) in cpuhp_bringup_cpus_parallel()
1905 static inline bool cpuhp_bringup_cpus_parallel(unsigned int ncpus) { return false; } in cpuhp_bringup_cpus_parallel()

12