Home
last modified time | relevance | path

Searched refs:folio_flags (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
A Dpage-flags.h259 static unsigned long *folio_flags(struct folio *folio, unsigned n) in folio_flags() function
325 { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
332 { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
339 { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
346 { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
353 { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
360 { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \
488 test_bit(PG_swapcache, folio_flags(folio, 0)); in PAGEFLAG()
620 bool ret = test_bit(PG_uptodate, folio_flags(folio, 0)); in folio_test_uptodate()
643 __set_bit(PG_uptodate, folio_flags(folio, 0)); in __folio_mark_uptodate()
[all …]
A Dpagemap.h767 return likely(!test_and_set_bit_lock(PG_locked, folio_flags(folio, 0))); in folio_trylock()
/linux/mm/
A Dfilemap.c1389 if (unlikely(test_and_set_bit(bit_nr, folio_flags(folio, 0)))) in folio_wait_bit_common()
1517 if (clear_bit_unlock_is_negative_byte(PG_locked, folio_flags(folio, 0))) in folio_unlock()
1536 clear_bit_unlock(PG_private_2, folio_flags(folio, 0)); in folio_end_private_2()

Completed in 13 milliseconds