Lines Matching refs:address_space
290 struct address_space;
374 int (*writepages)(struct address_space *, struct writeback_control *);
383 int (*readpages)(struct file *filp, struct address_space *mapping,
387 int (*write_begin)(struct file *, struct address_space *mapping,
390 int (*write_end)(struct file *, struct address_space *mapping,
395 sector_t (*bmap)(struct address_space *, sector_t);
404 int (*migratepage) (struct address_space *,
412 int (*error_remove_page)(struct address_space *, struct page *);
431 int pagecache_write_begin(struct file *, struct address_space *mapping,
435 int pagecache_write_end(struct file *, struct address_space *mapping,
458 struct address_space { struct
498 static inline bool mapping_tagged(struct address_space *mapping, xa_mark_t tag) in mapping_tagged() argument
503 static inline void i_mmap_lock_write(struct address_space *mapping) in i_mmap_lock_write()
508 static inline int i_mmap_trylock_write(struct address_space *mapping) in i_mmap_trylock_write()
513 static inline void i_mmap_unlock_write(struct address_space *mapping) in i_mmap_unlock_write()
518 static inline int i_mmap_trylock_read(struct address_space *mapping) in i_mmap_trylock_read()
523 static inline void i_mmap_lock_read(struct address_space *mapping) in i_mmap_lock_read()
528 static inline void i_mmap_unlock_read(struct address_space *mapping) in i_mmap_unlock_read()
533 static inline void i_mmap_assert_locked(struct address_space *mapping) in i_mmap_assert_locked()
538 static inline void i_mmap_assert_write_locked(struct address_space *mapping) in i_mmap_assert_write_locked()
546 static inline int mapping_mapped(struct address_space *mapping) in mapping_mapped()
560 static inline int mapping_writably_mapped(struct address_space *mapping) in mapping_writably_mapped()
565 static inline int mapping_map_writable(struct address_space *mapping) in mapping_map_writable()
571 static inline void mapping_unmap_writable(struct address_space *mapping) in mapping_unmap_writable()
576 static inline int mapping_deny_writable(struct address_space *mapping) in mapping_deny_writable()
582 static inline void mapping_allow_writable(struct address_space *mapping) in mapping_allow_writable()
641 struct address_space *i_mapping;
712 struct address_space i_data;
972 struct address_space *f_mapping;
2685 unsigned long invalidate_mapping_pages(struct address_space *mapping,
2688 void invalidate_mapping_pagevec(struct address_space *mapping,
2698 extern int invalidate_inode_pages2(struct address_space *mapping);
2699 extern int invalidate_inode_pages2_range(struct address_space *mapping,
2702 extern int filemap_fdatawrite(struct address_space *);
2703 extern int filemap_flush(struct address_space *);
2704 extern int filemap_fdatawait_keep_errors(struct address_space *mapping);
2705 extern int filemap_fdatawait_range(struct address_space *, loff_t lstart,
2707 extern int filemap_fdatawait_range_keep_errors(struct address_space *mapping,
2710 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait()
2715 extern bool filemap_range_has_page(struct address_space *, loff_t lstart,
2717 extern int filemap_write_and_wait_range(struct address_space *mapping,
2719 extern int __filemap_fdatawrite_range(struct address_space *mapping,
2721 extern int filemap_fdatawrite_range(struct address_space *mapping,
2723 extern int filemap_check_errors(struct address_space *mapping);
2724 extern void __filemap_set_wb_err(struct address_space *mapping, int err);
2726 static inline int filemap_write_and_wait(struct address_space *mapping) in filemap_write_and_wait()
2756 static inline void filemap_set_wb_err(struct address_space *mapping, int err) in filemap_set_wb_err()
2773 static inline int filemap_check_wb_err(struct address_space *mapping, in filemap_check_wb_err()
2786 static inline errseq_t filemap_sample_wb_err(struct address_space *mapping) in filemap_sample_wb_err()
2958 extern void address_space_init_once(struct address_space *mapping);
3087 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
3249 extern int simple_write_begin(struct file *file, struct address_space *mapping,
3252 extern int simple_write_end(struct file *file, struct address_space *mapping,
3286 extern int buffer_migrate_page(struct address_space *,
3289 extern int buffer_migrate_page_norefs(struct address_space *,