Searched refs:SWP_WRITEOK (Results 1 – 2 of 2) sorted by relevance
474 if ((si->flags & (SWP_WRITEOK | SWP_PAGE_DISCARD)) == in free_cluster()475 (SWP_WRITEOK | SWP_PAGE_DISCARD)) { in free_cluster()666 if (was_full && (si->flags & SWP_WRITEOK)) in swap_range_free()770 if (!(si->flags & SWP_WRITEOK)) in scan_swap_map_slots()975 if (!si->highest_bit || !(si->flags & SWP_WRITEOK)) { in get_swap_pages()984 WARN(!(si->flags & SWP_WRITEOK), in get_swap_pages()1038 if (si && (si->flags & SWP_WRITEOK)) { in get_swap_page_of_type()1674 if (!(sis->flags & SWP_WRITEOK)) in swap_type_of()1714 if (!(swap_info[type]->flags & SWP_WRITEOK)) in swapdev_block()1734 if (sis->flags & SWP_WRITEOK) { in count_swap_pages()[all …]
164 SWP_WRITEOK = (1 << 1), /* ok to write to this swap? */ enumerator