Searched refs:PG_head (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/include/linux/ |
D | page-flags.h | 107 PG_head, /* Must be in bit 6 */ enumerator 220 test_bit(PG_head, &page->flags)) { in page_fixed_fake_head() 291 return test_bit(PG_head, &page->flags) || in PageCompound() 314 VM_BUG_ON_PGFLAGS(n > 0 && !test_bit(PG_head, &page->flags), page); in folio_flags() 771 return test_bit(PG_head, folio_flags(folio, FOLIO_PF_ANY)); in folio_test_head() 777 return test_bit(PG_head, &page->flags) && !page_is_fake_head(page); in PageHead() 816 #define PG_head_mask ((1UL << PG_head))
|
D | mm.h | 1054 if (!test_bit(PG_head, &folio->flags)) in compound_order() 2057 if (!test_bit(PG_head, &folio->flags)) in compound_nr()
|
/linux-6.6.21/Documentation/mm/ |
D | vmemmap_dedup.rst | 177 more than one ``struct page`` struct with ``PG_head`` (e.g. 8 per 2 MB HugeTLB 180 ``struct page`` with ``PG_head`` are fake head ``struct page``. We need an 183 parameter is the tail ``struct page`` but with ``PG_head``. The following code 188 if (test_bit(PG_head, &page->flags)) { 201 We can safely access the field of the **page[1]** with ``PG_head`` because the
|
D | transhuge.rst | 129 page to the tail pages before clearing all PG_head/tail bits from the page
|
/linux-6.6.21/mm/ |
D | memory-failure.c | 1235 #define head (1UL << PG_head)
|