Lines Matching refs:highest_bit
680 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()
892 while (++offset <= si->highest_bit) { in scan_swap_map_slots()
1024 if (!si->highest_bit || !(si->flags & SWP_WRITEOK)) { in get_swap_pages()
1030 WARN(!si->highest_bit, in get_swap_pages()
2628 p->highest_bit = 0; /* cuts scans short */ in SYSCALL_DEFINE1()
2983 p->highest_bit = maxpages - 1; in read_swap_header()
3200 p->cluster_next = 1 + (prandom_u32() % p->highest_bit); in SYSCALL_DEFINE2()