Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs491 let mut random_index = 0u64; in test_buddy() localVariable
492 unsafe { x86::random::rdrand64(&mut random_index) }; in test_buddy()
494 if random_index % 10 > 7 { in test_buddy()
497 random_index = random_index % v.len() as u64; in test_buddy()
498 let random_index = random_index as usize; in test_buddy() localVariable
499 let (paddr, allocated_frame_count) = v.remove(random_index); in test_buddy()