Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/crates/bitmap/src/
H A Dbitmap_core.rs27 let bit = <T as BitOps>::get(element, bit_index); in get() localVariable
29 Some(bit) in get()
41 let bit = <T as BitOps>::set(element, bit_index, value); in set() localVariable
43 Some(bit) in set()
63 let bit = <T as BitOps>::first_index(element); in first_index() localVariable
64 if let Some(b) = bit { in first_index()
75 if let Some(bit) = <T as BitOps>::first_false_index(element) { in first_false_index()
76 return self.make_index(n, i * T::bit_size() + bit); in first_false_index()
86 if let Some(bit) = <T as BitOps>::last_index(element) { in last_index()
87 return self.make_index(n, i * T::bit_size() + bit); in last_index()
[all …]
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.2.md50 - ffz函数:获取u64中的第一个值为0的bit (#100)
265 * ffz函数:获取u64中的第一个值为0的bit
H A DV0.1.10.md96 - feat(bitmap): Add bit and for AllocBitMap (#793)
234 feat(bitmap): Add bit and for AllocBitMap (#793)
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs826 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x0800_0000; in is_shut_bit_ok() localVariable
827 return Ok(bit > 0); in is_shut_bit_ok()
830 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x8000; in is_shut_bit_ok() localVariable
831 return Ok(bit > 0); in is_shut_bit_ok()
849 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x0400_0000; in is_hard_error_bit_ok() localVariable
850 return Ok(bit > 0); in is_hard_error_bit_ok()
853 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x4000; in is_hard_error_bit_ok() localVariable
854 return Ok(bit > 0); in is_hard_error_bit_ok()
/DragonOS/
H A DREADME_EN.md20 &emsp;&emsp;DragonOS is a 64-bit operating system designed for lightweight cloud computing scenario…
63 …lopment of this project. The list of all sponsors will be published. Every bit of your sponsorship…
/DragonOS/kernel/src/exception/
H A Dirqdesc.rs812 pub fn test_and_set_bit(&mut self, bit: ThreadedHandlerFlags) -> bool { in test_and_set_bit()
813 let res = (self.bits & bit.bits) != 0; in test_and_set_bit()
814 self.bits |= bit.bits; in test_and_set_bit()
/DragonOS/kernel/crates/intertrait/
H A DREADME.md144 is a bit different here, but conceptually so).
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs660 let bit = match insn.imm { in jit_compile() localVariable
664 self.emit_basic_rex(mem, bit, 0, dst); in jit_compile()