Searched refs:NR_CPUS (Results 1 - 25 of 274) sorted by last modified time

1234567891011

/linux-master/arch/s390/kernel/
H A Dvmcore_info.c14 VMCOREINFO_LENGTH(lowcore_ptr, NR_CPUS);
H A Dsetup.c175 struct lowcore *lowcore_ptr[NR_CPUS];
/linux-master/mm/
H A Dvmalloc.c2442 VMALLOC_PAGES / roundup_pow_of_two(NR_CPUS) / 16))
H A Dslub.c5833 DECLARE_BITMAP(cpus, NR_CPUS);
/linux-master/kernel/sched/
H A Dfair.c10454 if (p->nr_cpus_allowed != NR_CPUS) {
/linux-master/kernel/
H A Dcpu.c3083 * represents all NR_CPUS bits binary values of 1<<nr.
3095 const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] = {
3106 const DECLARE_BITMAP(cpu_all_bits, NR_CPUS) = CPU_BITS_ALL;
/linux-master/arch/arc/kernel/
H A Dsetup.c45 struct task_struct *_current_task[NR_CPUS]; /* For stack switching */
/linux-master/tools/arch/x86/include/asm/
H A Dirq_vectors.h124 #define CPU_VECTOR_LIMIT (64 * NR_CPUS)
/linux-master/net/core/
H A Ddev.c176 static unsigned int napi_gen_id = NR_CPUS;
4209 if (sender_cpu >= (u32)NR_CPUS)
6376 /* 0..NR_CPUS range is reserved for sender_cpu use */
/linux-master/arch/x86/kernel/cpu/
H A Dtopology.c49 u32 cpuid_to_apicid[] __ro_after_init = { [0 ... NR_CPUS - 1] = BAD_APICID, };
372 static unsigned int max_possible_cpus __initdata = NR_CPUS;
/linux-master/kernel/trace/
H A Dring_buffer.c6119 static struct task_struct *rb_threads[NR_CPUS] __initdata;
6139 static struct rb_test_data rb_data[NR_CPUS] __initdata;
/linux-master/net/bridge/netfilter/
H A Debtables.c1127 NR_CPUS - SMP_CACHE_BYTES) / sizeof(struct ebt_counter))
2235 NR_CPUS - SMP_CACHE_BYTES) / sizeof(struct ebt_counter))
/linux-master/drivers/firmware/efi/
H A Defi.c75 .cpu_bitmap = { [BITS_TO_LONGS(NR_CPUS)] = 0},
/linux-master/kernel/bpf/
H A Dcpumap.c96 /* Pre-limit array size based on NR_CPUS, not final CPU check */
97 if (attr->max_entries > NR_CPUS)
/linux-master/include/linux/
H A Dkernfs.h63 #define NR_KERNFS_LOCK_BITS (2 * (ilog2(NR_CPUS < 32 ? NR_CPUS : 32)))
/linux-master/drivers/soc/fsl/qbman/
H A Dqman.c1002 static u16 affine_channels[NR_CPUS];
1004 struct qman_portal *affine_portals[NR_CPUS];
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-etm4x-core.c62 static struct etmv4_drvdata *etmdrvdata[NR_CPUS];
H A Dcoresight-etm3x-core.c44 static struct etm_drvdata *etmdrvdata[NR_CPUS];
H A Dcoresight-cti-core.c49 static struct cti_drvdata *cti_cpu_drvdata[NR_CPUS];
/linux-master/drivers/base/
H A Dcpu.c234 * Print values for NR_CPUS and offlined cpus
239 return sysfs_emit(buf, "%d\n", NR_CPUS - 1);
/linux-master/arch/riscv/kernel/
H A Dsmpboot.c103 if (cpu_count >= NR_CPUS) {
104 pr_warn("NR_CPUS is too small for the number of ACPI tables.\n");
142 if (cpuid >= NR_CPUS) {
H A Dcpufeature.c36 struct riscv_isainfo hart_isa[NR_CPUS];
/linux-master/arch/riscv/include/asm/
H A Dcpufeature.h32 extern struct riscv_isainfo hart_isa[NR_CPUS];
/linux-master/arch/powerpc/kernel/
H A Dsmp.c114 static struct thread_groups_list tgl[NR_CPUS] __initdata;
138 volatile unsigned int cpu_callin_map[NR_CPUS];
700 static struct task_struct *current_set[NR_CPUS];
/linux-master/arch/loongarch/mm/
H A Dtlb.c261 unsigned long pcpu_handlers[NR_CPUS];

Completed in 546 milliseconds

1234567891011