Searched refs:cluster_next (Results 1 – 2 of 2) sorted by relevance
244 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next() function343 return cluster_next(&list->head); in cluster_list_first()361 unsigned int tail = cluster_next(&list->tail); in cluster_list_add_tail()380 idx = cluster_next(&list->head); in cluster_list_del_first()381 if (cluster_next(&list->tail) == idx) { in cluster_list_del_first()386 cluster_next(&ci[idx]), 0); in cluster_list_del_first()564 cluster->next = cluster_next(&cluster->index) * in scan_swap_map_try_ssd_cluster()572 *scan_base = *offset = si->cluster_next; in scan_swap_map_try_ssd_cluster()586 (cluster_next(&cluster->index) + 1) * SWAPFILE_CLUSTER); in scan_swap_map_try_ssd_cluster()710 scan_base = offset = si->cluster_next; in scan_swap_map_slots()[all …]
245 unsigned int cluster_next; /* likely index for next allocation */ member