Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dswapfile.c696 if (end == si->highest_bit) in swap_range_alloc()
697 WRITE_ONCE(si->highest_bit, si->highest_bit - nr_entries); in swap_range_alloc()
701 si->highest_bit = 0; in swap_range_alloc()
727 if (end > si->highest_bit) { in swap_range_free()
728 bool was_full = !si->highest_bit; in swap_range_free()
730 WRITE_ONCE(si->highest_bit, end); in swap_range_free()
769 if (si->highest_bit <= si->lowest_bit) in set_cluster_next()
772 prandom_u32_max(si->highest_bit - si->lowest_bit + 1); in set_cluster_next()
852 for (; last_in_cluster <= si->highest_bit; offset++) { in scan_swap_map_slots()
886 if (!si->highest_bit) in scan_swap_map_slots()
[all …]
Dpage_io.c168 sis->highest_bit = page_no - 1; in generic_swapfile_activate()
/linux-5.19.10/fs/iomap/
Dswapfile.c192 sis->highest_bit = isi.nr_pages - 1; in iomap_swapfile_activate()
/linux-5.19.10/include/linux/
Dswap.h282 unsigned int highest_bit; /* index of last free in swap_map */ member
/linux-5.19.10/fs/f2fs/
Ddata.c3954 sis->highest_bit = cur_lblock - 1; in check_swap_activate()
/linux-5.19.10/fs/btrfs/
Dinode.c11423 sis->highest_bit = bsi.nr_pages - 1; in btrfs_swap_activate()