Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c3237 #define SWAP_CLUSTER_COLS \ macro
3284 unsigned long col = si->cluster_next / SWAPFILE_CLUSTER % SWAP_CLUSTER_COLS; in setup_clusters()
3345 for (k = 0; k < SWAP_CLUSTER_COLS; k++) { in setup_clusters()
3346 j = (k + col) % SWAP_CLUSTER_COLS; in setup_clusters()
3347 for (i = 0; i < DIV_ROUND_UP(nr_clusters, SWAP_CLUSTER_COLS); i++) { in setup_clusters()
3349 idx = i * SWAP_CLUSTER_COLS + j; in setup_clusters()