Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/allocator/
H A Dbuddy.rs355 let mut order = log2(count.data()); in buddy_alloc()
598 let mut order = log2(count.data()); in free()
625 fn log2(x: usize) -> usize { in log2() function
/DragonOS/kernel/src/time/
H A Dclocksource.rs246 fn log2(x: u32) -> u32 { in log2() function
279 max_cycles = (1 << (63 - (log2(cs_data_guard.mult + cs_data_guard.maxadj) + 1))) as u64; in clocksource_max_deferment()