Home
last modified time | relevance | path

Searched defs:CpuMask (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/src/libs/
H A Dcpumask.rs8 pub struct CpuMask { struct
13 impl CpuMask { implementation
105 pub fn bitand_assign(&mut self, rhs: &CpuMask) { in bitand_assign()
110 impl BitAnd for &CpuMask { implementation
119 impl Default for CpuMask { implementation
156 impl core::fmt::Debug for CpuMask { implementation
/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs133 pub fn possible_cpus(&self) -> &CpuMask { in possible_cpus()
194 pub fn present_cpus(&self) -> &CpuMask { in present_cpus()
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs97 fn lmask(&self) -> SpinLockGuard<CpuMask> { in lmask()
189 fn plic_irq_toggle(cpumask: &CpuMask, irq_data: &Arc<IrqData>, enable: bool) { in plic_irq_toggle()
353 mask_val: &CpuMask, in irq_set_affinity()
/DragonOS/kernel/src/exception/
H A Dmanage.rs793 cpumask: &CpuMask, in irq_set_affinity()
801 cpumask: &CpuMask, in irq_do_set_affinity()
867 _affinity: &CpuMask, in __irq_startup_managed()
H A Dirqdata.rs301 pub fn affinity(&self) -> CpuMask { in affinity()
305 pub fn set_affinity(&self, affinity: CpuMask) { in set_affinity()
310 pub fn set_effective_affinity(&self, affinity: CpuMask) { in set_effective_affinity()
351 pub fn effective_affinity(&self) -> &CpuMask { in effective_affinity()
H A Dirqdesc.rs543 pub fn percpu_enabled(&self) -> &Option<CpuMask> { in percpu_enabled()
547 pub fn percpu_enabled_mut(&mut self) -> &mut Option<CpuMask> { in percpu_enabled_mut()
552 pub fn percpu_affinity(&self) -> &Option<CpuMask> { in percpu_affinity()
556 pub fn percpu_affinity_mut(&mut self) -> &mut Option<CpuMask> { in percpu_affinity_mut()
992 affinity: Option<&CpuMask>, in set_percpu_devid()
H A Dirqchip.rs102 _cpu: &CpuMask, in irq_set_affinity()
/DragonOS/kernel/src/arch/x86_64/smp/
H A Dmod.rs182 fn print_cpus(s: &str, mask: &CpuMask) { in print_cpus()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dioapic.rs546 cpu: &CpuMask, in irq_set_affinity()