Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dswapfile.c632 if (end == si->highest_bit) in swap_range_alloc()
633 si->highest_bit -= nr_entries; in swap_range_alloc()
637 si->highest_bit = 0; in swap_range_alloc()
662 if (end > si->highest_bit) { in swap_range_free()
663 bool was_full = !si->highest_bit; in swap_range_free()
665 si->highest_bit = end; in swap_range_free()
738 for (; last_in_cluster <= si->highest_bit; offset++) { in scan_swap_map_slots()
772 if (!si->highest_bit) in scan_swap_map_slots()
774 if (offset > si->highest_bit) in scan_swap_map_slots()
807 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()
[all …]
Dpage_io.c232 sis->highest_bit = page_no - 1; in generic_swapfile_activate()
/Linux-v4.19/include/linux/
Dswap.h242 unsigned int highest_bit; /* index of last free in swap_map */ member
/Linux-v4.19/fs/
Diomap.c2072 sis->highest_bit = isi.nr_pages - 1; in iomap_swapfile_activate()