Lines Matching refs:scan_base
619 unsigned long *offset, unsigned long *scan_base) in scan_swap_map_try_ssd_cluster() argument
639 *scan_base = this_cpu_read(*si->cluster_next_cpu); in scan_swap_map_try_ssd_cluster()
640 *offset = *scan_base; in scan_swap_map_try_ssd_cluster()
668 *scan_base = tmp; in scan_swap_map_try_ssd_cluster()
784 unsigned long scan_base; in scan_swap_map_slots() local
808 scan_base = this_cpu_read(*si->cluster_next_cpu); in scan_swap_map_slots()
810 scan_base = si->cluster_next; in scan_swap_map_slots()
811 offset = scan_base; in scan_swap_map_slots()
815 if (!scan_swap_map_try_ssd_cluster(si, &offset, &scan_base)) in scan_swap_map_slots()
831 scan_base = offset = si->lowest_bit; in scan_swap_map_slots()
851 offset = scan_base; in scan_swap_map_slots()
863 &scan_base)) in scan_swap_map_slots()
872 scan_base = offset = si->lowest_bit; in scan_swap_map_slots()
920 if (scan_swap_map_try_ssd_cluster(si, &offset, &scan_base)) in scan_swap_map_slots()
936 if (offset < scan_base) in scan_swap_map_slots()
937 scan_limit = scan_base; in scan_swap_map_slots()
971 while (offset < scan_base) { in scan_swap_map_slots()