Searched refs:folio_flags (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | page-flags.h | 308 static unsigned long *folio_flags(struct folio *folio, unsigned n) in folio_flags() function 374 { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ 381 { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ 388 { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ 395 { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ 402 { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ 558 test_bit(PG_swapcache, folio_flags(folio, 0)); in PAGEFLAG() 727 bool ret = test_bit(PG_uptodate, folio_flags(folio, 0)); in folio_test_uptodate() 750 __set_bit(PG_uptodate, folio_flags(folio, 0)); in __folio_mark_uptodate() 761 set_bit(PG_uptodate, folio_flags(folio, 0)); in folio_mark_uptodate() [all …]
|
H A D | pagemap.h | 1037 return likely(!test_and_set_bit_lock(PG_locked, folio_flags(folio, 0))); in folio_trylock()
|
/openbmc/linux/mm/ |
H A D | filemap.c | 1347 if (unlikely(test_and_set_bit(bit_nr, folio_flags(folio, 0)))) in folio_wait_bit_common() 1553 if (clear_bit_unlock_is_negative_byte(PG_locked, folio_flags(folio, 0))) in folio_unlock() 1572 clear_bit_unlock(PG_private_2, folio_flags(folio, 0)); in folio_end_private_2()
|
H A D | slub.c | 860 folio_flags(folio, 0)); in print_slab_info()
|