Home
last modified time | relevance | path

Searched defs:ProcessorId (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.9/kernel/src/libs/
Dcpumask.rs18 pub fn first(&self) -> Option<ProcessorId> { in first()
25 pub fn first_zero(&self) -> Option<ProcessorId> { in first_zero()
32 pub fn last(&self) -> Option<ProcessorId> { in last()
39 pub fn next_index(&self, cpu: ProcessorId) -> Option<ProcessorId> { in next_index()
46 pub fn next_zero_index(&self, cpu: ProcessorId) -> Option<ProcessorId> { in next_zero_index()
52 pub fn set(&mut self, cpu: ProcessorId, value: bool) -> Option<bool> { in set()
92 fn next(&mut self) -> Option<ProcessorId> { in next()
/DragonOS-0.1.9/kernel/src/smp/cpu/
Dmod.rs9 impl ProcessorId { impl
37 pub unsafe fn set_possible_cpu(&self, cpu: ProcessorId, value: bool) { in set_possible_cpu()
51 pub fn smp_cpu_manager_init(boot_cpu: ProcessorId) { in smp_cpu_manager_init()
/DragonOS-0.1.9/kernel/src/arch/riscv64/
Dcpu.rs64 pub fn current_cpu(&self) -> ProcessorId { in current_cpu()
68 pub fn set_current_cpu(&mut self, cpu: ProcessorId) { in set_current_cpu()
118 pub fn arch_init(boot_cpu: ProcessorId) { in arch_init()
/DragonOS-0.1.9/kernel/src/arch/x86_64/
Dcpu.rs21 pub fn arch_init(_boot_cpu: ProcessorId) {} in arch_init()
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/
Dept.rs46 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()
/DragonOS-0.1.9/kernel/src/mm/
Dkernel_mapper.rs39 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()
/DragonOS-0.1.9/kernel/src/sched/
Dcore.rs41 pub fn set(&self, cpu_id: ProcessorId, pid: Pid) { in set()
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dapic_timer.rs38 cpu_id: ProcessorId, in local_apic_timer_instance()
45 cpu_id: ProcessorId, in local_apic_timer_instance_mut()
Dlapic_vector.rs135 cpu: ProcessorId, in new()
/DragonOS-0.1.9/kernel/src/arch/x86_64/smp/
Dmod.rs109 pub unsafe fn set_phys_id(&self, cpu_id: ProcessorId, phys_id: usize) { in set_phys_id()
/DragonOS-0.1.9/kernel/src/process/
Dmod.rs1073 pub fn on_cpu(&self) -> Option<ProcessorId> { in on_cpu()
1082 pub fn set_on_cpu(&self, on_cpu: Option<ProcessorId>) { in set_on_cpu()
1090 pub fn migrate_to(&self) -> Option<ProcessorId> { in migrate_to()
1099 pub fn set_migrate_to(&self, migrate_to: Option<ProcessorId>) { in set_migrate_to()
/DragonOS-0.1.9/kernel/src/exception/
Dirqchip.rs535 cpu: ProcessorId, in irq_percpu_disable()