Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dpage-flags.h315 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()
[all …]
Dpagemap.h902 return likely(!test_and_set_bit_lock(PG_locked, folio_flags(folio, 0))); in folio_trylock()
/linux-6.1.9/mm/
Dfilemap.c1314 if (unlikely(test_and_set_bit(bit_nr, folio_flags(folio, 0)))) in folio_wait_bit_common()
1525 if (clear_bit_unlock_is_negative_byte(PG_locked, folio_flags(folio, 0))) in folio_unlock()
1544 clear_bit_unlock(PG_private_2, folio_flags(folio, 0)); in folio_end_private_2()
Dslub.c815 folio_flags(folio, 0)); in print_slab_info()