Lines Matching defs:page

204 static __always_inline const struct page *page_fixed_fake_head(const struct page *page)  in page_fixed_fake_head()
230 static inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head()
236 static __always_inline int page_is_fake_head(const struct page *page) in page_is_fake_head()
241 static __always_inline unsigned long _compound_head(const struct page *page) in _compound_head()
250 #define compound_head(page) ((typeof(page))_compound_head(page)) argument
280 static __always_inline int PageTail(const struct page *page) in PageTail()
285 static __always_inline int PageCompound(const struct page *page) in PageCompound()
292 static inline int PagePoisoned(const struct page *page) in PagePoisoned()
300 static inline void page_init_poison(struct page *page, size_t size) in page_init_poison()
308 const struct page *page = &folio->page; in const_folio_flags() local
317 struct page *page = &folio->page; in folio_flags() local
347 #define PF_POISONED_CHECK(page) ({ \ argument
350 #define PF_ANY(page, enforce) PF_POISONED_CHECK(page) argument
351 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page)) argument
352 #define PF_NO_TAIL(page, enforce) ({ \ argument
355 #define PF_NO_COMPOUND(page, enforce) ({ \ argument
358 #define PF_SECOND(page, enforce) ({ \ argument
375 #define FOLIO_TEST_FLAG(name, page) \ argument
379 #define FOLIO_SET_FLAG(name, page) \ argument
383 #define FOLIO_CLEAR_FLAG(name, page) \ argument
387 #define __FOLIO_SET_FLAG(name, page) \ argument
391 #define __FOLIO_CLEAR_FLAG(name, page) \ argument
395 #define FOLIO_TEST_SET_FLAG(name, page) \ argument
399 #define FOLIO_TEST_CLEAR_FLAG(name, page) \ argument
403 #define FOLIO_FLAG(name, page) \ argument
687 static __always_inline bool PageMappingFlags(const struct page *page) in PageMappingFlags()
697 static __always_inline bool PageAnonNotKsm(const struct page *page) in PageAnonNotKsm()
704 static __always_inline bool PageAnon(const struct page *page) in PageAnon()
715 static __always_inline bool __PageMovable(const struct page *page) in __PageMovable()
785 static inline bool PageUptodate(const struct page *page) in PageUptodate()
807 static __always_inline void __SetPageUptodate(struct page *page) in __SetPageUptodate()
812 static __always_inline void SetPageUptodate(struct page *page) in SetPageUptodate()
832 static __always_inline int PageHead(const struct page *page) in PageHead()
853 static __always_inline void set_compound_head(struct page *page, struct page *head) in set_compound_head()
858 static __always_inline void clear_compound_head(struct page *page) in clear_compound_head()
864 static inline void ClearPageCompound(struct page *page) in ClearPageCompound()
898 static inline int PageTransCompound(const struct page *page) in PageTransCompound()
951 static inline bool page_has_type(const struct page *page) in page_has_type()
1097 static inline bool is_page_hwpoison(const struct page *page) in is_page_hwpoison()
1117 static __always_inline int PageAnonExclusive(const struct page *page) in PageAnonExclusive()
1129 static __always_inline void SetPageAnonExclusive(struct page *page) in SetPageAnonExclusive()
1136 static __always_inline void ClearPageAnonExclusive(struct page *page) in ClearPageAnonExclusive()
1143 static __always_inline void __ClearPageAnonExclusive(struct page *page) in __ClearPageAnonExclusive()