Searched refs:SWAPFILE_CLUSTER (Results 1 – 1 of 1) sorted by relevance
391 #define SWAPFILE_CLUSTER HPAGE_PMD_NR macro395 #define SWAPFILE_CLUSTER 256 macro439 return cluster_index(si, ci) * SWAPFILE_CLUSTER; in cluster_offset()560 SWAPFILE_CLUSTER); in swap_do_scheduled_discard()650 } else if (ci->count != SWAPFILE_CLUSTER) { in relocate_cluster()669 unsigned long idx = page_nr / SWAPFILE_CLUSTER; in inc_cluster_info_page()675 VM_BUG_ON(ci->count > SWAPFILE_CLUSTER); in inc_cluster_info_page()1287 if (size > SWAPFILE_CLUSTER) { in folio_alloc_swap()1493 if (nr > SWAPFILE_CLUSTER - offset % SWAPFILE_CLUSTER) in __swap_entries_free()1584 nr = min_t(int, nr_pages, SWAPFILE_CLUSTER - offset % SWAPFILE_CLUSTER); in swap_free_nr()[all …]