Lines Matching refs:metapage

35 static inline void unlock_metapage(struct metapage *mp)  in unlock_metapage()
41 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage()
61 static inline void lock_metapage(struct metapage *mp) in lock_metapage()
78 struct metapage *mp[MPS_PER_PAGE];
82 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
89 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
116 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
147 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
149 return PagePrivate(page) ? (struct metapage *)page_private(page) : NULL; in page_to_mp()
152 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
162 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
174 static inline struct metapage *alloc_metapage(gfp_t gfp_mask) in alloc_metapage()
176 struct metapage *mp = mempool_alloc(metapage_mempool, gfp_mask); in alloc_metapage()
189 static inline void free_metapage(struct metapage *mp) in free_metapage()
199 metapage_cache = kmem_cache_create("jfs_mp", sizeof(struct metapage), in metapage_init()
221 static inline void drop_metapage(struct page *page, struct metapage *mp) in drop_metapage()
280 static void remove_from_logsync(struct metapage *mp) in remove_from_logsync()
304 struct metapage *mp; in last_write_complete()
344 struct metapage *mp; in metapage_writepage()
529 struct metapage *mp; in metapage_release_folio()
574 struct metapage *__get_metapage(struct inode *inode, unsigned long lblock, in __get_metapage()
581 struct metapage *mp = NULL; in __get_metapage()
684 void grab_metapage(struct metapage * mp) in grab_metapage()
723 void force_metapage(struct metapage *mp) in force_metapage()
738 void hold_metapage(struct metapage *mp) in hold_metapage()
743 void put_metapage(struct metapage *mp) in put_metapage()
757 void release_metapage(struct metapage * mp) in release_metapage()
800 struct metapage *mp; in __invalidate_metapages()