Home
last modified time | relevance | path

Searched defs:mask (Results 1 – 22 of 22) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dipi.rs11 let mask = Into::into(target); in send_ipi() localVariable
25 let mask = HartMask::from_mask_base(data, 0); in into() localVariable
29 let mask = Into::into(cpu_id); in into() localVariable
33 let mask = Into::into(smp_get_processor_id()); in into() localVariable
/DragonOS/docs/kernel/core_api/
H A Datomic.md84 ### `inline void atomic_clear_mask(atomic_t *ato, long mask)`
86 #### 描
90 #### 参
/DragonOS/kernel/src/common/
H A Datomic.h83 inline void atomic_set_mask(atomic_t *ato, long mask) in atomic_set_mask()
96 inline void atomic_clear_mask(atomic_t *ato, long mask) in atomic_clear_mask()
/DragonOS/kernel/crates/bitmap/src/
H A Dbitmap_core.rs54 let mask = T::make_mask(n % T::bit_size()); in set_all() localVariable
105 let mut mask = T::make_mask(n % T::bit_size()); in last_false_index() localVariable
219 let mask = T::make_mask(n % T::bit_size()); in invert() localVariable
231 let mut mask = T::make_mask(n % T::bit_size()); in is_full() localVariable
H A Dtraits.rs39 let mask = 1 << index; localVariable
/DragonOS/kernel/src/libs/
H A Dcpumask.rs29 let mut mask = Self::new(); in from_cpu() localVariable
126 mask: &'a CpuMask, field
/DragonOS/kernel/src/driver/pci/
H A Dpci_irq.rs768 let mut mask = pci_root_0().read_config( in msi_mask() localVariable
780 let mut mask = pci_root_0().read_config( in msi_mask() localVariable
890 let mut mask = pci_root_0().read_config( in msi_unmask() localVariable
902 let mut mask = pci_root_0().read_config( in msi_unmask() localVariable
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Drender_helper.rs60 let mask = 0x000000ff; in reverse() localVariable
102 let mask = 0x000000ff << ((self.byte_per_pixel - 1) << 3); in full_buffer() localVariable
H A Dmod.rs1176 pub mask: Vec<u8>, field
/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs192 mask: SigSet, // 为了可扩展性而设置的sa_mask field
256 pub fn mask(&self) -> SigSet { in mask() method
293 pub mask: SigSet, field
H A Dsignal.rs435 let mut mask: SigSet = SigSet::from_bits_truncate(0); in do_sigaction() localVariable
H A Dsyscall.rs146 let mask: SigSet = unsafe { (*act).mask }; in sigaction() localVariable
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs247 let mask = inner_guard.effective_affinity(); in irq_enable() localVariable
307 let mask = inner_guard.effective_affinity(); in irq_disable() localVariable
606 let mask = plic_chip_data.lmask().clone(); in map() localVariable
/DragonOS/kernel/src/exception/
H A Dhandle.rs162 let mask = IrqStatus::IRQD_IRQ_INPROGRESS | IrqStatus::IRQD_WAKEUP_ARMED; in irq_may_run() localVariable
H A Dmanage.rs31 let mut mask = CpuMask::new(); localVariable
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dmod.rs305 pub fn mask(&self) -> bool { in mask() method
H A Dioapic.rs377 mask: bool, field
/DragonOS/kernel/src/syscall/
H A Dmod.rs807 let mask = args[3] as u32; in handle() localVariable
1009 let mask = args[0] as u32; in handle() localVariable
/DragonOS/kernel/src/time/
H A Dclocksource.rs669 pub mask: ClocksourceMask, field
/DragonOS/kernel/src/mm/
H A Dpage.rs585 let mask = (MMArch::PAGE_ENTRY_NUM << shift) - 1; in index_of() localVariable
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs1409 let mask = PosixStatxMask::from_bits_truncate(mask); in do_statx() localVariable
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs28 let mask = 1 << bit_index; in get_bit() localVariable
41 let mask = 1 << bit_index; in set_bit() localVariable
72 let mask = 1 << i; in set() localVariable