Lines Matching refs:metapage

34 static inline void unlock_metapage(struct metapage *mp)  in unlock_metapage()
40 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage()
60 static inline void lock_metapage(struct metapage *mp) in lock_metapage()
77 struct metapage *mp[MPS_PER_PAGE];
81 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
88 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
115 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
146 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
148 return PagePrivate(page) ? (struct metapage *)page_private(page) : NULL; in page_to_mp()
151 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
161 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
173 static inline struct metapage *alloc_metapage(gfp_t gfp_mask) in alloc_metapage()
175 struct metapage *mp = mempool_alloc(metapage_mempool, gfp_mask); in alloc_metapage()
188 static inline void free_metapage(struct metapage *mp) in free_metapage()
198 metapage_cache = kmem_cache_create("jfs_mp", sizeof(struct metapage), in metapage_init()
220 static inline void drop_metapage(struct page *page, struct metapage *mp) in drop_metapage()
279 static void remove_from_logsync(struct metapage *mp) in remove_from_logsync()
303 struct metapage *mp; in last_write_complete()
343 struct metapage *mp; in metapage_writepage()
530 struct metapage *mp; in metapage_releasepage()
575 struct metapage *__get_metapage(struct inode *inode, unsigned long lblock, in __get_metapage()
582 struct metapage *mp = NULL; in __get_metapage()
685 void grab_metapage(struct metapage * mp) in grab_metapage()
695 void force_metapage(struct metapage *mp) in force_metapage()
710 void hold_metapage(struct metapage *mp) in hold_metapage()
715 void put_metapage(struct metapage *mp) in put_metapage()
729 void release_metapage(struct metapage * mp) in release_metapage()
772 struct metapage *mp; in __invalidate_metapages()