Searched refs:PG_head (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | page-flags.h | 107 PG_head, /* Must be in bit 6 */ enumerator 219 test_bit(PG_head, &page->flags)) { in page_fixed_fake_head() 290 return test_bit(PG_head, &page->flags) || in PageCompound() 313 VM_BUG_ON_PGFLAGS(n > 0 && !test_bit(PG_head, &page->flags), page); in folio_flags() 791 return test_bit(PG_head, folio_flags(folio, FOLIO_PF_ANY)); in folio_test_head() 797 return test_bit(PG_head, &page->flags) && !page_is_fake_head(page); in PageHead() 836 #define PG_head_mask ((1UL << PG_head)) in PAGEFLAG()
|
H A D | mm.h | 1058 if (!test_bit(PG_head, &folio->flags)) in compound_order() 2063 if (!test_bit(PG_head, &folio->flags)) in compound_nr()
|
/openbmc/linux/Documentation/mm/ |
H A 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
|
H A D | transhuge.rst | 129 page to the tail pages before clearing all PG_head/tail bits from the page
|
/openbmc/linux/mm/ |
H A D | memory-failure.c | 1247 #define head (1UL << PG_head)
|