Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dswapfile.c936 if (end == si->highest_bit) in swap_range_alloc()
937 WRITE_ONCE(si->highest_bit, si->highest_bit - nr_entries); in swap_range_alloc()
941 si->highest_bit = 0; in swap_range_alloc()
976 if (end > si->highest_bit) { in swap_range_free()
977 bool was_full = !si->highest_bit; in swap_range_free()
979 WRITE_ONCE(si->highest_bit, end); in swap_range_free()
1023 if (si->highest_bit <= si->lowest_bit) in set_cluster_next()
1025 next = get_random_u32_inclusive(si->lowest_bit, si->highest_bit); in set_cluster_next()
1138 for (; last_in_cluster <= READ_ONCE(si->highest_bit); offset++) { in scan_swap_map_slots()
1162 if (!si->highest_bit) in scan_swap_map_slots()
[all …]
Dpage_io.c166 sis->highest_bit = page_no - 1; in generic_swapfile_activate()
/linux-6.12.1/fs/iomap/
Dswapfile.c192 sis->highest_bit = isi.nr_pages - 1; in iomap_swapfile_activate()
/linux-6.12.1/include/linux/
Dswap.h309 unsigned int highest_bit; /* index of last free in swap_map */ member
/linux-6.12.1/kernel/sched/
Dext.c1039 static u32 highest_bit(u32 flags) in highest_bit() function
1165 if (unlikely(highest_bit(mask) == SCX_KF_CPU_RELEASE && in scx_kf_allowed()
1171 if (unlikely(highest_bit(mask) == SCX_KF_DISPATCH && in scx_kf_allowed()
/linux-6.12.1/fs/f2fs/
Ddata.c4057 sis->highest_bit = cur_lblock - 1; in check_swap_activate()
/linux-6.12.1/fs/btrfs/
Dinode.c10023 sis->highest_bit = bsi.nr_pages - 1; in btrfs_swap_activate()