Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dswapfile.c703 if (end == si->highest_bit) in swap_range_alloc()
704 WRITE_ONCE(si->highest_bit, si->highest_bit - nr_entries); in swap_range_alloc()
708 si->highest_bit = 0; in swap_range_alloc()
732 if (end > si->highest_bit) { in swap_range_free()
733 bool was_full = !si->highest_bit; in swap_range_free()
735 WRITE_ONCE(si->highest_bit, end); in swap_range_free()
774 if (si->highest_bit <= si->lowest_bit) in set_cluster_next()
776 next = get_random_u32_inclusive(si->lowest_bit, si->highest_bit); in set_cluster_next()
856 for (; last_in_cluster <= si->highest_bit; offset++) { in scan_swap_map_slots()
890 if (!si->highest_bit) in scan_swap_map_slots()
[all …]
H A Dpage_io.c166 sis->highest_bit = page_no - 1; in generic_swapfile_activate()
/openbmc/linux/fs/iomap/
H A Dswapfile.c192 sis->highest_bit = isi.nr_pages - 1; in iomap_swapfile_activate()
/openbmc/linux/include/linux/
H A Dswap.h293 unsigned int highest_bit; /* index of last free in swap_map */ member
/openbmc/linux/fs/f2fs/
H A Ddata.c3995 sis->highest_bit = cur_lblock - 1; in check_swap_activate()
/openbmc/linux/fs/btrfs/
H A Dinode.c10864 sis->highest_bit = bsi.nr_pages - 1; in btrfs_swap_activate()