Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dswapfile.c267 #define SWAPFILE_CLUSTER HPAGE_PMD_NR macro
271 #define SWAPFILE_CLUSTER 256 macro
358 ci += offset / SWAPFILE_CLUSTER; in lock_cluster()
462 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_cluster_schedule_discard()
463 SWAP_MAP_BAD, SWAPFILE_CLUSTER); in swap_cluster_schedule_discard()
493 discard_swap_cluster(si, idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()
494 SWAPFILE_CLUSTER); in swap_do_scheduled_discard()
497 ci = lock_cluster(si, idx * SWAPFILE_CLUSTER); in swap_do_scheduled_discard()
499 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()
500 0, SWAPFILE_CLUSTER); in swap_do_scheduled_discard()
[all …]