Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dswap.h232 #define SWAP_MAP_BAD 0x3f /* Note page is bad */ macro
/linux-6.15/mm/
H A Dswapfile.c2133 if (swp_count == 0 || swp_count == SWAP_MAP_BAD) in unuse_pte_range()
2276 if (count && swap_count(count) != SWAP_MAP_BAD) in find_next_to_unuse()
3158 swap_map[page_nr] = SWAP_MAP_BAD; in setup_swap_map_and_extents()
3164 swap_map[0] = SWAP_MAP_BAD; in setup_swap_map_and_extents()
3570 if (unlikely(swap_count(count) == SWAP_MAP_BAD)) { in __swap_duplicate()