Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dswapfile.c686 if (offset == si->lowest_bit) in swap_range_alloc()
687 si->lowest_bit += nr_entries; in swap_range_alloc()
692 si->lowest_bit = si->max; in swap_range_alloc()
717 if (offset < si->lowest_bit) in swap_range_free()
718 si->lowest_bit = offset; in swap_range_free()
761 if (si->highest_bit <= si->lowest_bit) in set_cluster_next()
763 next = si->lowest_bit + in set_cluster_next()
764 prandom_u32_max(si->highest_bit - si->lowest_bit + 1); in set_cluster_next()
766 next = max_t(unsigned int, next, si->lowest_bit); in set_cluster_next()
824 scan_base = offset = si->lowest_bit; in scan_swap_map_slots()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dswap.h249 unsigned int lowest_bit; /* index of first free in swap_map */ member