Lines Matching refs:page_nr
560 * The cluster corresponding to page_nr will be used. The cluster will be
564 struct swap_cluster_info *cluster_info, unsigned long page_nr)
566 unsigned long idx = page_nr / SWAPFILE_CLUSTER;
579 * The cluster corresponding to page_nr decreases one usage. If the usage
584 struct swap_cluster_info *cluster_info, unsigned long page_nr)
586 unsigned long idx = page_nr / SWAPFILE_CLUSTER;
2939 unsigned int page_nr = swap_header->info.badpages[i];
2940 if (page_nr == 0 || page_nr > swap_header->info.last_page)
2942 if (page_nr < maxpages) {
2943 swap_map[page_nr] = SWAP_MAP_BAD;
2949 inc_cluster_info_page(p, cluster_info, page_nr);