Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dpid.rs10 MAX = 5, enumerator
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs61 if count * 512 > buf.len() || check_length > u16::MAX as usize { in read_at()
70 volatile_write!(port.is, u32::MAX); // Clear pending interrupt bits in read_at()
72 let slot = port.find_cmdslot().unwrap_or(u32::MAX); in read_at()
74 if slot == u32::MAX { in read_at()
220 if count * 512 > buf.len() || check_length > u16::MAX as usize { in write_at()
229 volatile_write!(port.is, u32::MAX); // Clear pending interrupt bits in write_at()
231 let slot = port.find_cmdslot().unwrap_or(u32::MAX); in write_at()
233 if slot == u32::MAX { in write_at()
Dhba.rs160 (u32::MAX ^ HBA_PORT_CMD_ST) & volatile_read!(self.cmd) in stop()
174 (u32::MAX ^ HBA_PORT_CMD_FRE) & volatile_read!(self.cmd) in stop()
/DragonOS-0.1.8/kernel/src/
Dlib.rs101 process_do_exit(u64::MAX); in panic()
/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs27 const MAX_TIMEOUT: i64 = i64::MAX;
Dclocksource.rs100 return Self::from_bits_truncate(u64::MAX); in from()
/DragonOS-0.1.8/kernel/src/libs/
Drwlock.rs98 const MAX_READERS: u32 = core::u32::MAX >> READER_BIT >> 1; //右移3位 in current_reader()