Home
last modified time | relevance | path

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

/linux/drivers/firmware/efi/libstub/
H A Drandomalloc.c66 unsigned long total_slots = 0, target_slot; in efi_random_alloc() local
102 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
125 if (target_slot >= MD_NUM_SLOTS(md)) { in efi_random_alloc()
126 target_slot -= MD_NUM_SLOTS(md); in efi_random_alloc()
130 target = round_up(max_t(u64, md->phys_addr, alloc_min), align) + target_slot * align; in efi_random_alloc()