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 __always_inline bool page_count_writable(const struct page *page, int u) in page_count_writable()
262 static inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head()
267 static inline bool page_count_writable(const struct page *page, int u) in page_count_writable()
273 static __always_inline int page_is_fake_head(const struct page *page) in page_is_fake_head()
278 static __always_inline unsigned long _compound_head(const struct page *page) in _compound_head()
287 #define compound_head(page) ((typeof(page))_compound_head(page)) argument
317 static __always_inline int PageTail(const struct page *page) in PageTail()
322 static __always_inline int PageCompound(const struct page *page) in PageCompound()
329 static inline int PagePoisoned(const struct page *page) in PagePoisoned()
337 static inline void page_init_poison(struct page *page, size_t size) in page_init_poison()
345 const struct page *page = &folio->page; in const_folio_flags() local
354 struct page *page = &folio->page; in folio_flags() local
384 #define PF_POISONED_CHECK(page) ({ \ argument
387 #define PF_ANY(page, enforce) PF_POISONED_CHECK(page) argument
388 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page)) argument
389 #define PF_NO_TAIL(page, enforce) ({ \ argument
392 #define PF_NO_COMPOUND(page, enforce) ({ \ argument
395 #define PF_SECOND(page, enforce) ({ \ argument
412 #define FOLIO_TEST_FLAG(name, page) \ argument
416 #define FOLIO_SET_FLAG(name, page) \ argument
420 #define FOLIO_CLEAR_FLAG(name, page) \ argument
424 #define __FOLIO_SET_FLAG(name, page) \ argument
428 #define __FOLIO_CLEAR_FLAG(name, page) \ argument
432 #define FOLIO_TEST_SET_FLAG(name, page) \ argument
436 #define FOLIO_TEST_CLEAR_FLAG(name, page) \ argument
440 #define FOLIO_FLAG(name, page) \ argument
725 static __always_inline bool PageMappingFlags(const struct page *page) in PageMappingFlags()
735 static __always_inline bool PageAnonNotKsm(const struct page *page) in PageAnonNotKsm()
742 static __always_inline bool PageAnon(const struct page *page) in PageAnon()
753 static __always_inline bool __PageMovable(const struct page *page) in __PageMovable()
823 static inline bool PageUptodate(const struct page *page) in PageUptodate()
845 static __always_inline void __SetPageUptodate(struct page *page) in __SetPageUptodate()
850 static __always_inline void SetPageUptodate(struct page *page) in SetPageUptodate()
870 static __always_inline int PageHead(const struct page *page) in PageHead()
891 static __always_inline void set_compound_head(struct page *page, struct page *head) in set_compound_head()
896 static __always_inline void clear_compound_head(struct page *page) in clear_compound_head()
902 static inline void ClearPageCompound(struct page *page) in ClearPageCompound()
936 static inline int PageTransCompound(const struct page *page) in PageTransCompound()
990 static inline bool page_has_type(const struct page *page) in page_has_type()
1137 static inline bool is_page_hwpoison(const struct page *page) in is_page_hwpoison()
1157 static __always_inline int PageAnonExclusive(const struct page *page) in PageAnonExclusive()
1169 static __always_inline void SetPageAnonExclusive(struct page *page) in SetPageAnonExclusive()
1176 static __always_inline void ClearPageAnonExclusive(struct page *page) in ClearPageAnonExclusive()
1183 static __always_inline void __ClearPageAnonExclusive(struct page *page) in __ClearPageAnonExclusive()