Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dswapfile.c680 if (end == si->highest_bit) in swap_range_alloc()
681 si->highest_bit -= nr_entries; in swap_range_alloc()
685 si->highest_bit = 0; in swap_range_alloc()
710 if (end > si->highest_bit) { in swap_range_free()
711 bool was_full = !si->highest_bit; in swap_range_free()
713 si->highest_bit = end; in swap_range_free()
786 for (; last_in_cluster <= si->highest_bit; offset++) { in scan_swap_map_slots()
820 if (!si->highest_bit) in scan_swap_map_slots()
822 if (offset > si->highest_bit) in scan_swap_map_slots()
855 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()
[all …]
Dpage_io.c231 sis->highest_bit = page_no - 1; in generic_swapfile_activate()
/Linux-v5.4/fs/iomap/
Dswapfile.c175 sis->highest_bit = isi.nr_pages - 1; in iomap_swapfile_activate()
/Linux-v5.4/include/linux/
Dswap.h245 unsigned int highest_bit; /* index of last free in swap_map */ member
/Linux-v5.4/fs/btrfs/
Dinode.c10946 sis->highest_bit = bsi.nr_pages - 1; in btrfs_swap_activate()