Home
last modified time | relevance | path

Searched refs:cluster_next (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/mm/
Dswapfile.c311 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next() function
410 return cluster_next(&list->head); in cluster_list_first()
428 unsigned int tail = cluster_next(&list->tail); in cluster_list_add_tail()
447 idx = cluster_next(&list->head); in cluster_list_del_first()
448 if (cluster_next(&list->tail) == idx) { in cluster_list_del_first()
453 cluster_next(&ci[idx]), 0); in cluster_list_del_first()
638 cluster->next = cluster_next(&cluster->index) * in scan_swap_map_try_ssd_cluster()
660 (cluster_next(&cluster->index) + 1) * SWAPFILE_CLUSTER); in scan_swap_map_try_ssd_cluster()
761 si->cluster_next = next; in set_cluster_next()
831 scan_base = si->cluster_next; in scan_swap_map_slots()
[all …]
/linux-6.6.21/include/linux/
Dswap.h296 unsigned int cluster_next; /* likely index for next allocation */ member