Home
last modified time | relevance | path

Searched refs:leading_zeros (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbuddy.rs671 let leading_zeros = x.leading_zeros() as usize; in log2() localVariable
672 let log2x = 63 - leading_zeros; in log2()
/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs490 let mut size_exp: u32 = 63 - size.leading_zeros(); in create_mmio()