Searched refs:ncpus (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/drivers/clk/mvebu/ |
D | clk-cpu.c | 173 int ncpus = 0; in of_cpu_clk_setup() local 187 ncpus++; in of_cpu_clk_setup() 189 cpuclk = kcalloc(ncpus, sizeof(*cpuclk), GFP_KERNEL); in of_cpu_clk_setup() 193 clks = kcalloc(ncpus, sizeof(*clks), GFP_KERNEL); in of_cpu_clk_setup() 238 while(ncpus--) in of_cpu_clk_setup() 239 kfree(cpuclk[ncpus].clk_name); in of_cpu_clk_setup()
|
/linux-4.19.296/drivers/xen/ |
D | mcelog.c | 58 static uint32_t ncpus; variable 240 for (i = 0; i < ncpus; i++) in convert_log() 243 if (unlikely(i == ncpus)) { in convert_log() 368 ncpus = mc_op.u.mc_physcpuinfo.ncpus; in bind_virq_for_mce() 369 g_physinfo = kcalloc(ncpus, sizeof(struct mcinfo_logical_cpu), in bind_virq_for_mce()
|
/linux-4.19.296/drivers/misc/sgi-gru/ |
D | grukservices.c | 157 int ctxnum, ncpus; in gru_load_kernel_context() local 175 ncpus = uv_blade_nr_possible_cpus(blade_id); in gru_load_kernel_context() 177 GRU_NUM_KERNEL_CBR * ncpus + bs->bs_async_cbrs); in gru_load_kernel_context() 179 GRU_NUM_KERNEL_DSR_BYTES * ncpus + in gru_load_kernel_context() 375 int ncpus; in gru_lock_async_resource() local 378 ncpus = uv_blade_nr_possible_cpus(blade_id); in gru_lock_async_resource() 380 *cb = bs->kernel_cb + ncpus * GRU_HANDLE_STRIDE; in gru_lock_async_resource() 382 *dsr = bs->kernel_dsr + ncpus * GRU_NUM_KERNEL_DSR_BYTES; in gru_lock_async_resource()
|
/linux-4.19.296/include/trace/events/ |
D | xen.h | 374 __field(unsigned, ncpus) 379 TP_fast_assign(__entry->ncpus = cpumask_weight(cpus); 384 __entry->ncpus, __entry->mm, __entry->addr, __entry->end)
|
/linux-4.19.296/include/xen/interface/ |
D | xen-mca.h | 297 uint32_t ncpus; member
|