Home
last modified time | relevance | path

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

/DragonOS/kernel/src/libs/
H A Dcpumask.rs35 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 Dmod.rs19 impl ProcessorId { implementation
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 Dcpu.rs27 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 Dtick_common.rs18 fn tick_periodic(cpu_id: ProcessorId, trap_frame: &TrapFrame) { in tick_periodic()
/DragonOS/kernel/src/arch/riscv64/smp/
H A Dmod.rs18 fn start_cpu(_cpu_id: ProcessorId, _hp_state: &CpuHpCpuState) -> Result<(), SystemError> { in start_cpu()
/DragonOS/kernel/src/arch/x86_64/smp/
H A Dmod.rs130 pub unsafe fn set_phys_id(&self, cpu_id: ProcessorId, phys_id: usize) { in set_phys_id()
217 fn start_cpu(cpu_id: ProcessorId, _cpu_hpstate: &CpuHpCpuState) -> Result<(), SystemError> { in start_cpu()
263 pub fn arch_init(_boot_cpu: ProcessorId) { in arch_init()
/DragonOS/kernel/src/smp/
H A Dmod.rs41 fn start_cpu(cpu_id: ProcessorId, hp_state: &CpuHpCpuState) -> Result<(), SystemError>; in start_cpu()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dept.rs46 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()
/DragonOS/kernel/src/mm/
H A Dkernel_mapper.rs39 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dapic_timer.rs39 cpu_id: ProcessorId, in local_apic_timer_instance()
46 cpu_id: ProcessorId, in local_apic_timer_instance_mut()
H A Dlapic_vector.rs135 cpu: ProcessorId, in new()
/DragonOS/kernel/src/sched/
H A Dmod.rs970 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 Dmod.rs48 cpu: ProcessorId, in remote_invalidate_page()
/DragonOS/kernel/src/process/
H A Dmod.rs1297 pub fn on_cpu(&self) -> Option<ProcessorId> { in on_cpu()
1306 pub fn set_on_cpu(&self, on_cpu: Option<ProcessorId>) { in set_on_cpu()
/DragonOS/kernel/src/exception/
H A Dirqchip.rs535 cpu: ProcessorId, in irq_percpu_disable()