Searched refs:page_nr (Results 1 – 1 of 1) sorted by relevance
555 struct swap_cluster_info *cluster_info, unsigned long page_nr) in inc_cluster_info_page() argument557 unsigned long idx = page_nr / SWAPFILE_CLUSTER; in inc_cluster_info_page()575 struct swap_cluster_info *cluster_info, unsigned long page_nr) in dec_cluster_info_page() argument577 unsigned long idx = page_nr / SWAPFILE_CLUSTER; in dec_cluster_info_page()3054 unsigned int page_nr = swap_header->info.badpages[i]; in setup_swap_map_and_extents() local3055 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()3057 if (page_nr < maxpages) { in setup_swap_map_and_extents()3058 swap_map[page_nr] = SWAP_MAP_BAD; in setup_swap_map_and_extents()3064 inc_cluster_info_page(p, cluster_info, page_nr); in setup_swap_map_and_extents()