Lines Matching refs:folio_flags
315 static unsigned long *folio_flags(struct folio *folio, unsigned n) in folio_flags() function
381 { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
388 { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
395 { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
402 { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
409 { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
416 { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
423 { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
544 test_bit(PG_swapcache, folio_flags(folio, 0)); in PAGEFLAG()
713 bool ret = test_bit(PG_uptodate, folio_flags(folio, 0)); in folio_test_uptodate()
736 __set_bit(PG_uptodate, folio_flags(folio, 0)); in __folio_mark_uptodate()
747 set_bit(PG_uptodate, folio_flags(folio, 0)); in folio_mark_uptodate()
782 return test_bit(PG_head, folio_flags(folio, FOLIO_PF_ANY)); in folio_test_head()