Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dswapfile.c271 #define SWAPFILE_CLUSTER HPAGE_PMD_NR macro
275 #define SWAPFILE_CLUSTER 256 macro
362 ci += offset / SWAPFILE_CLUSTER; in lock_cluster()
466 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_cluster_schedule_discard()
467 SWAP_MAP_BAD, SWAPFILE_CLUSTER); in swap_cluster_schedule_discard()
497 discard_swap_cluster(si, idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()
498 SWAPFILE_CLUSTER); in swap_do_scheduled_discard()
501 ci = lock_cluster(si, idx * SWAPFILE_CLUSTER); in swap_do_scheduled_discard()
503 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()
504 0, SWAPFILE_CLUSTER); in swap_do_scheduled_discard()
[all …]