Searched refs:page_nr (Results 1 – 1 of 1) sorted by relevance
550 struct swap_cluster_info *cluster_info, unsigned long page_nr) in inc_cluster_info_page() argument552 unsigned long idx = page_nr / SWAPFILE_CLUSTER; in inc_cluster_info_page()570 struct swap_cluster_info *cluster_info, unsigned long page_nr) in dec_cluster_info_page() argument572 unsigned long idx = page_nr / SWAPFILE_CLUSTER; in dec_cluster_info_page()3128 unsigned int page_nr = swap_header->info.badpages[i]; in setup_swap_map_and_extents() local3129 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()3131 if (page_nr < maxpages) { in setup_swap_map_and_extents()3132 swap_map[page_nr] = SWAP_MAP_BAD; in setup_swap_map_and_extents()3138 inc_cluster_info_page(p, cluster_info, page_nr); in setup_swap_map_and_extents()