Lines Matching refs:cluster_next
292 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next() function
391 return cluster_next(&list->head); in cluster_list_first()
409 unsigned int tail = cluster_next(&list->tail); in cluster_list_add_tail()
428 idx = cluster_next(&list->head); in cluster_list_del_first()
429 if (cluster_next(&list->tail) == idx) { in cluster_list_del_first()
434 cluster_next(&ci[idx]), 0); in cluster_list_del_first()
612 cluster->next = cluster_next(&cluster->index) * in scan_swap_map_try_ssd_cluster()
620 *scan_base = *offset = si->cluster_next; in scan_swap_map_try_ssd_cluster()
634 (cluster_next(&cluster->index) + 1) * SWAPFILE_CLUSTER); in scan_swap_map_try_ssd_cluster()
758 scan_base = offset = si->cluster_next; in scan_swap_map_slots()
792 si->cluster_next = offset; in scan_swap_map_slots()
851 si->cluster_next = offset + 1; in scan_swap_map_slots()
2963 p->cluster_next = 1; in read_swap_header()
3018 unsigned long col = p->cluster_next / SWAPFILE_CLUSTER % SWAP_CLUSTER_COLS; in setup_swap_map_and_extents()
3200 p->cluster_next = 1 + (prandom_u32() % p->highest_bit); in SYSCALL_DEFINE2()