/DragonOS/kernel/src/libs/ |
H A D | cpumask.rs | 35 pub fn first(&self) -> Option<ProcessorId> { in first() 42 pub fn first_zero(&self) -> Option<ProcessorId> { in first_zero() 49 pub fn last(&self) -> Option<ProcessorId> { in last() 56 pub fn next_index(&self, cpu: ProcessorId) -> Option<ProcessorId> { in next_index() 63 pub fn next_zero_index(&self, cpu: ProcessorId) -> Option<ProcessorId> { in next_zero_index() 69 pub fn set(&mut self, cpu: ProcessorId, value: bool) -> Option<bool> { in set() 135 fn next(&mut self) -> Option<ProcessorId> { in next()
|
/DragonOS/kernel/src/smp/cpu/ |
H A D | mod.rs | 19 impl ProcessorId { impl 115 pub unsafe fn set_possible_cpu(&self, cpu: ProcessorId, value: bool) { in set_possible_cpu() 145 pub unsafe fn set_present_cpu(&self, cpu: ProcessorId, value: bool) { in set_present_cpu() 175 cpu_id: ProcessorId, in set_cpuhp_state() 188 pub fn set_online_cpu(&self, cpu_id: ProcessorId) { in set_online_cpu() 215 fn cpu_up(&self, cpu_id: ProcessorId, target_state: CpuHpState) -> Result<(), SystemError> { in cpu_up() 243 cpu_id: ProcessorId, in cpuhp_kick_ap() 303 pub fn smp_cpu_manager_init(boot_cpu: ProcessorId) { in smp_cpu_manager_init()
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | cpu.rs | 27 impl Into<HartMask> for ProcessorId { implementation 74 pub fn current_cpu(&self) -> ProcessorId { in current_cpu() 78 pub fn set_current_cpu(&mut self, cpu: ProcessorId) { in set_current_cpu() 135 pub fn arch_init(_boot_cpu: ProcessorId) { in arch_init()
|
/DragonOS/kernel/src/time/ |
H A D | tick_common.rs | 18 fn tick_periodic(cpu_id: ProcessorId, trap_frame: &TrapFrame) { in tick_periodic()
|
/DragonOS/kernel/src/arch/riscv64/smp/ |
H A D | mod.rs | 18 fn start_cpu(_cpu_id: ProcessorId, _hp_state: &CpuHpCpuState) -> Result<(), SystemError> { in start_cpu()
|
/DragonOS/kernel/src/arch/x86_64/smp/ |
H A D | mod.rs | 128 pub unsafe fn set_phys_id(&self, cpu_id: ProcessorId, phys_id: usize) { in set_phys_id() 215 fn start_cpu(cpu_id: ProcessorId, _cpu_hpstate: &CpuHpCpuState) -> Result<(), SystemError> { in start_cpu() 261 pub fn arch_init(_boot_cpu: ProcessorId) { in arch_init()
|
/DragonOS/kernel/src/smp/ |
H A D | mod.rs | 41 fn start_cpu(cpu_id: ProcessorId, hp_state: &CpuHpCpuState) -> Result<(), SystemError>; in start_cpu()
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | ept.rs | 46 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()
|
/DragonOS/kernel/src/mm/ |
H A D | kernel_mapper.rs | 39 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | apic_timer.rs | 39 cpu_id: ProcessorId, in local_apic_timer_instance() 46 cpu_id: ProcessorId, in local_apic_timer_instance_mut()
|
H A D | lapic_vector.rs | 135 cpu: ProcessorId, in new()
|
/DragonOS/kernel/src/sched/ |
H A D | mod.rs | 970 fn __set_task_cpu(pcb: &Arc<ProcessControlBlock>, cpu: ProcessorId) { in __set_task_cpu() 999 pub fn send_resched_ipi(cpu: ProcessorId) { in send_resched_ipi()
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | mod.rs | 48 cpu: ProcessorId, in remote_invalidate_page()
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 1300 pub fn on_cpu(&self) -> Option<ProcessorId> { in on_cpu() 1309 pub fn set_on_cpu(&self, on_cpu: Option<ProcessorId>) { in set_on_cpu()
|
/DragonOS/kernel/src/exception/ |
H A D | irqchip.rs | 535 cpu: ProcessorId, in irq_percpu_disable()
|