Home
last modified time | relevance | path

Searched refs:cpu_count (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/smp/
H A Dmod.rs98 cpu_count: usize, field
107 pub fn cpu_count(&self) -> usize { in cpu_count() method
108 self.cpu_count in cpu_count()
121 pub unsafe fn set_cpu_count(&self, cpu_count: u32) { in set_cpu_count()
124 (*p).cpu_count = cpu_count.try_into().unwrap(); in set_cpu_count()
143 cpu_count: 0,
169 for cpu in 1..SMP_BOOT_DATA.cpu_count() { in build_cpu_map()
/DragonOS/tools/
H A Dbuild_in_docker.sh2 cpu_count=$(cat /proc/cpuinfo |grep "processor"|wc -l)
9 make all -j $cpu_count
/DragonOS/kernel/src/arch/x86_64/
H A Dacpi.rs30 SMP_BOOT_DATA.cpu_count() in early_acpi_boot_init()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs195 if target_cpu.data() as usize >= SMP_BOOT_DATA.cpu_count() { in ipi_send_smp_startup()