Lines Matching refs:mapping
585 /* Write back some dirty pages from this mapping. */
591 int (*readpages)(struct file *filp, struct address_space *mapping,
594 int (*write_begin)(struct file *, struct address_space *mapping,
597 int (*write_end)(struct file *, struct address_space *mapping,
625 int pagecache_write_begin(struct file *, struct address_space *mapping,
629 int pagecache_write_end(struct file *, struct address_space *mapping,
655 * of struct page's "mapping" pointer be used for PAGE_MAPPING_ANON.
702 int mapping_tagged(struct address_space *mapping, int tag);
707 static inline int mapping_mapped(struct address_space *mapping)
709 return !prio_tree_empty(&mapping->i_mmap) ||
710 !list_empty(&mapping->i_mmap_nonlinear);
719 static inline int mapping_writably_mapped(struct address_space *mapping)
721 return mapping->i_mmap_writable != 0;
2155 unsigned long invalidate_mapping_pages(struct address_space *mapping,
2164 extern int invalidate_inode_pages2(struct address_space *mapping);
2165 extern int invalidate_inode_pages2_range(struct address_space *mapping,
2173 extern int filemap_write_and_wait(struct address_space *mapping);
2174 extern int filemap_write_and_wait_range(struct address_space *mapping,
2176 extern int __filemap_fdatawrite_range(struct address_space *mapping,
2178 extern int filemap_fdatawrite_range(struct address_space *mapping,
2254 extern void address_space_init_once(struct address_space *mapping);
2337 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
2352 extern int xip_truncate_page(struct address_space *mapping, loff_t from);
2354 static inline int xip_truncate_page(struct address_space *mapping, loff_t from)
2452 extern int simple_write_begin(struct file *file, struct address_space *mapping,
2455 extern int simple_write_end(struct file *file, struct address_space *mapping,