Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dswapfile.c672 if (offset == si->lowest_bit) in swap_range_alloc()
673 si->lowest_bit += nr_entries; in swap_range_alloc()
678 si->lowest_bit = si->max; in swap_range_alloc()
703 if (offset < si->lowest_bit) in swap_range_free()
704 si->lowest_bit = offset; in swap_range_free()
747 if (si->highest_bit <= si->lowest_bit) in set_cluster_next()
749 next = si->lowest_bit + in set_cluster_next()
750 prandom_u32_max(si->highest_bit - si->lowest_bit + 1); in set_cluster_next()
752 next = max_t(unsigned int, next, si->lowest_bit); in set_cluster_next()
810 scan_base = offset = si->lowest_bit; in scan_swap_map_slots()
[all …]
/Linux-v5.10/include/linux/
Dswap.h249 unsigned int lowest_bit; /* index of first free in swap_map */ member