Lines Matching refs:mapping
594 /* Write back some dirty pages from this mapping. */
600 int (*readpages)(struct file *filp, struct address_space *mapping,
603 int (*write_begin)(struct file *, struct address_space *mapping,
606 int (*write_end)(struct file *, struct address_space *mapping,
637 int pagecache_write_begin(struct file *, struct address_space *mapping,
641 int pagecache_write_end(struct file *, struct address_space *mapping,
667 * of struct page's "mapping" pointer be used for PAGE_MAPPING_ANON.
716 int mapping_tagged(struct address_space *mapping, int tag);
721 static inline int mapping_mapped(struct address_space *mapping)
723 return !prio_tree_empty(&mapping->i_mmap) ||
724 !list_empty(&mapping->i_mmap_nonlinear);
733 static inline int mapping_writably_mapped(struct address_space *mapping)
735 return mapping->i_mmap_writable != 0;
2178 unsigned long invalidate_mapping_pages(struct address_space *mapping,
2187 extern int invalidate_inode_pages2(struct address_space *mapping);
2188 extern int invalidate_inode_pages2_range(struct address_space *mapping,
2196 extern int filemap_write_and_wait(struct address_space *mapping);
2197 extern int filemap_write_and_wait_range(struct address_space *mapping,
2199 extern int __filemap_fdatawrite_range(struct address_space *mapping,
2201 extern int filemap_fdatawrite_range(struct address_space *mapping,
2299 extern void address_space_init_once(struct address_space *mapping);
2400 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
2415 extern int xip_truncate_page(struct address_space *mapping, loff_t from);
2417 static inline int xip_truncate_page(struct address_space *mapping, loff_t from)
2523 extern int simple_write_begin(struct file *file, struct address_space *mapping,
2526 extern int simple_write_end(struct file *file, struct address_space *mapping,