Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dswapfile.c692 if (offset == si->lowest_bit) in swap_range_alloc()
693 si->lowest_bit += nr_entries; in swap_range_alloc()
698 si->lowest_bit = si->max; in swap_range_alloc()
723 if (offset < si->lowest_bit) in swap_range_free()
724 si->lowest_bit = offset; in swap_range_free()
767 if (si->highest_bit <= si->lowest_bit) in set_cluster_next()
769 next = si->lowest_bit + in set_cluster_next()
770 prandom_u32_max(si->highest_bit - si->lowest_bit + 1); in set_cluster_next()
772 next = max_t(unsigned int, next, si->lowest_bit); in set_cluster_next()
830 scan_base = offset = si->lowest_bit; in scan_swap_map_slots()
[all …]
/Linux-v5.15/include/linux/
Dswap.h256 unsigned int lowest_bit; /* index of first free in swap_map */ member