Lines Matching refs:cluster_next
306 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next() function
405 return cluster_next(&list->head); in cluster_list_first()
423 unsigned int tail = cluster_next(&list->tail); in cluster_list_add_tail()
442 idx = cluster_next(&list->head); in cluster_list_del_first()
443 if (cluster_next(&list->tail) == idx) { in cluster_list_del_first()
448 cluster_next(&ci[idx]), 0); in cluster_list_del_first()
625 cluster->next = cluster_next(&cluster->index) * in scan_swap_map_try_ssd_cluster()
647 (cluster_next(&cluster->index) + 1) * SWAPFILE_CLUSTER); in scan_swap_map_try_ssd_cluster()
752 si->cluster_next = next; in set_cluster_next()
807 scan_base = si->cluster_next; in scan_swap_map_slots()
838 si->cluster_next = offset; in scan_swap_map_slots()
3051 p->cluster_next = 1; in read_swap_header()
3106 unsigned long col = p->cluster_next / SWAPFILE_CLUSTER % SWAP_CLUSTER_COLS; in setup_swap_map_and_extents()