Home
last modified time | relevance | path

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

/linux-6.6.21/mm/ !
Dswapfile.c549 if ((si->flags & (SWP_WRITEOK | SWP_PAGE_DISCARD)) == in free_cluster()
550 (SWP_WRITEOK | SWP_PAGE_DISCARD)) { in free_cluster()
736 if (was_full && (si->flags & SWP_WRITEOK)) in swap_range_free()
888 if (!(si->flags & SWP_WRITEOK)) in scan_swap_map_slots()
1077 if (!si->highest_bit || !(si->flags & SWP_WRITEOK)) { in get_swap_pages()
1086 WARN(!(si->flags & SWP_WRITEOK), in get_swap_pages()
1629 if ((si->flags & SWP_WRITEOK) && scan_swap_map_slots(si, 1, 1, &entry)) in get_swap_page_of_type()
1655 if (!(sis->flags & SWP_WRITEOK)) in swap_type_of()
1679 if (!(sis->flags & SWP_WRITEOK)) in find_first_swap()
1698 if (!si || !(si->flags & SWP_WRITEOK)) in swapdev_block()
[all …]
/linux-6.6.21/include/linux/ !
Dswap.h209 SWP_WRITEOK = (1 << 1), /* ok to write to this swap? */ enumerator