/fs/gfs2/ |
H A D | meta_io.h | 43 static inline struct gfs2_sbd *gfs2_mapping2sbd(struct address_space *mapping) argument 45 struct inode *inode = mapping->host; 46 if (mapping->a_ops == &gfs2_meta_aops) 47 return (((struct gfs2_glock *)mapping) - 1)->gl_sbd; 48 else if (mapping->a_ops == &gfs2_rgrp_aops) 49 return container_of(mapping, struct gfs2_sbd, sd_aspace);
|
H A D | aops.c | 100 struct inode *inode = page->mapping->host; 114 page->mapping->a_ops->invalidatepage(page, 0, PAGE_CACHE_SIZE); 156 struct inode *inode = page->mapping->host; 181 struct inode *inode = page->mapping->host; 209 * @mapping: The mapping to write 214 static int gfs2_writepages(struct address_space *mapping, argument 217 return mpage_writepages(mapping, wbc, gfs2_get_block_noalloc); 222 * @mapping: The mapping 231 gfs2_write_jdata_pagevec(struct address_space *mapping, struct writeback_control *wbc, struct pagevec *pvec, int nr_pages, pgoff_t end, pgoff_t *done_index) argument 344 gfs2_write_cache_jdata(struct address_space *mapping, struct writeback_control *wbc) argument 425 gfs2_jdata_writepages(struct address_space *mapping, struct writeback_control *wbc) argument 526 struct address_space *mapping = page->mapping; local 562 struct address_space *mapping = ip->i_inode.i_mapping; local 603 gfs2_readpages(struct file *file, struct address_space *mapping, struct list_head *pages, unsigned nr_pages) argument 639 gfs2_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) argument 867 gfs2_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 945 gfs2_bmap(struct address_space *mapping, sector_t lblock) argument 1047 struct address_space *mapping = inode->i_mapping; local 1120 struct address_space *mapping = page->mapping; local [all...] |
/fs/ntfs/ |
H A D | aops.h | 48 * @mapping: address space for which to obtain the page 49 * @index: index into the page cache for @mapping of the page to map 51 * Read a page from the page cache of the address space @mapping at position 55 * method defined in the address space operations of @mapping and the page is 56 * added to the page cache of @mapping in the process. 86 static inline struct page *ntfs_map_page(struct address_space *mapping, argument 89 struct page *page = read_mapping_page(mapping, index, NULL);
|
H A D | bitmap.c | 52 struct address_space *mapping; local 74 mapping = vi->i_mapping; 75 page = ntfs_map_page(mapping, index); 127 page = ntfs_map_page(mapping, ++index);
|
/fs/freevxfs/ |
H A D | vxfs_subr.c | 68 vxfs_get_page(struct address_space *mapping, u_long n) argument 72 pp = read_mapping_page(mapping, n, NULL); 165 * vxfs_bmap - perform logical to physical block mapping 166 * @mapping: logical to physical mapping to use 167 * @block: logical block (relative to @mapping). 171 * @mapping, @block pair. 180 vxfs_bmap(struct address_space *mapping, sector_t block) argument 182 return generic_block_bmap(mapping, block, vxfs_getblk);
|
/fs/hpfs/ |
H A D | file.c | 122 static int hpfs_readpages(struct file *file, struct address_space *mapping, argument 125 return mpage_readpages(mapping, pages, nr_pages, hpfs_get_block); 128 static int hpfs_writepages(struct address_space *mapping, argument 131 return mpage_writepages(mapping, wbc, hpfs_get_block); 134 static void hpfs_write_failed(struct address_space *mapping, loff_t to) argument 136 struct inode *inode = mapping->host; 148 static int hpfs_write_begin(struct file *file, struct address_space *mapping, argument 155 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, 157 &hpfs_i(mapping->host)->mmu_private); 159 hpfs_write_failed(mapping, po 164 hpfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *pagep, void *fsdata) argument 182 _hpfs_bmap(struct address_space *mapping, sector_t block) argument [all...] |
/fs/9p/ |
H A D | vfs_addr.c | 59 inode = page->mapping->host; 107 * @mapping: the address space 113 static int v9fs_vfs_readpages(struct file *filp, struct address_space *mapping, argument 119 inode = mapping->host; 122 ret = v9fs_readpages_from_fscache(inode, mapping, pages, &nr_pages); 126 ret = read_cache_pages(mapping, pages, (void *)v9fs_vfs_readpage, filp); 169 struct inode *inode = page->mapping->host; 214 mapping_set_error(page->mapping, retval); 231 struct inode *inode = page->mapping->host; 276 static int v9fs_write_begin(struct file *filp, struct address_space *mapping, argument 312 v9fs_write_end(struct file *filp, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument [all...] |
H A D | cache.h | 49 struct address_space *mapping, 74 struct address_space *mapping, 78 return __v9fs_readpages_from_fscache(inode, mapping, pages, 130 struct address_space *mapping, 73 v9fs_readpages_from_fscache(struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) argument 129 v9fs_readpages_from_fscache(struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) argument
|
/fs/nilfs2/ |
H A D | page.c | 62 struct address_space *mapping, 71 page = grab_cache_page(mapping, index); 180 m = page->mapping; 184 "mapping=%p ino=%lu\n", 354 page->mapping = NULL; 357 page->mapping = dmap; 376 * @mapping: address space with dirty pages for discarding 379 void nilfs_clear_dirty_pages(struct address_space *mapping, bool silent) argument 387 while (pagevec_lookup_tag(&pvec, mapping, &index, PAGECACHE_TAG_DIRTY, 408 struct inode *inode = page->mapping 61 nilfs_grab_buffer(struct inode *inode, struct address_space *mapping, unsigned long blkoff, unsigned long b_state) argument 464 nilfs_mapping_init(struct address_space *mapping, struct inode *inode, struct backing_dev_info *bdi) argument 488 struct address_space *mapping = page->mapping; local [all...] |
/fs/bfs/ |
H A D | file.c | 164 static void bfs_write_failed(struct address_space *mapping, loff_t to) argument 166 struct inode *inode = mapping->host; 172 static int bfs_write_begin(struct file *file, struct address_space *mapping, argument 178 ret = block_write_begin(mapping, pos, len, flags, pagep, 181 bfs_write_failed(mapping, pos + len); 186 static sector_t bfs_bmap(struct address_space *mapping, sector_t block) argument 188 return generic_block_bmap(mapping, block, bfs_get_block);
|
/fs/ecryptfs/ |
H A D | mmap.c | 148 page_virt, page->mapping->host); 170 crypt_stat->extent_size, page->mapping->host); 188 * @page: Page from eCryptfs inode mapping into which to stick the read data 197 &ecryptfs_inode_to_private(page->mapping->host)->crypt_stat; 203 page->mapping->host); 220 page->mapping->host); 251 struct inode *inode = page->mapping->host; 267 * @mapping: The eCryptfs object 279 struct address_space *mapping, 288 page = grab_cache_page_write_begin(mapping, inde 278 ecryptfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) argument 478 ecryptfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 541 ecryptfs_bmap(struct address_space *mapping, sector_t block) argument [all...] |
/fs/jfs/ |
H A D | inode.c | 287 static int jfs_writepages(struct address_space *mapping, argument 290 return mpage_writepages(mapping, wbc, jfs_get_block); 298 static int jfs_readpages(struct file *file, struct address_space *mapping, argument 301 return mpage_readpages(mapping, pages, nr_pages, jfs_get_block); 304 static void jfs_write_failed(struct address_space *mapping, loff_t to) argument 306 struct inode *inode = mapping->host; 314 static int jfs_write_begin(struct file *file, struct address_space *mapping, argument 320 ret = nobh_write_begin(mapping, pos, len, flags, pagep, fsdata, 323 jfs_write_failed(mapping, pos + len); 328 static sector_t jfs_bmap(struct address_space *mapping, sector_ argument 337 struct address_space *mapping = file->f_mapping; local [all...] |
/fs/ |
H A D | buffer.c | 189 * we get exclusion from try_to_free_buffers with the blockdev mapping's 192 * Hack idea: for the blockdev mapping, i_bufferlist_lock contention 195 * private_lock is contended then so is mapping->tree_lock). 354 set_bit(AS_EIO, &page->mapping->flags); 440 * try_to_free_buffers() will be operating against the *blockdev* mapping 445 * mapping->private_lock does *not* protect mapping->private_list! In fact, 446 * mapping->private_list will always be protected by the backing blockdev's 560 * sync_mapping_buffers - write out & wait upon a mapping's "associated" buffers 561 * @mapping 570 sync_mapping_buffers(struct address_space *mapping) argument 601 struct address_space *mapping = inode->i_mapping; local 627 __set_page_dirty(struct page *page, struct address_space *mapping, int warn) argument 671 struct address_space *mapping = page_mapping(page); local 718 struct address_space *mapping; local 805 struct address_space *mapping = &inode->i_data; local 828 struct address_space *mapping = &inode->i_data; local 1162 struct address_space *mapping = page_mapping(page); local 2008 block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, get_block_t *get_block) argument 2031 block_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 2067 generic_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 2251 struct address_space *mapping = inode->i_mapping; local 2274 cont_expand_zero(struct file *file, struct address_space *mapping, loff_t pos, loff_t *bytes) argument 2352 cont_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata, get_block_t *get_block, loff_t *bytes) argument 2500 nobh_write_begin(struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata, get_block_t *get_block) argument 2641 nobh_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 2728 nobh_truncate_page(struct address_space *mapping, loff_t from, get_block_t *get_block) argument 2806 block_truncate_page(struct address_space *mapping, loff_t from, get_block_t *get_block) argument 2924 generic_block_bmap(struct address_space *mapping, sector_t block, get_block_t *get_block) argument 3216 struct address_space * const mapping = page->mapping; local [all...] |
/fs/ext2/ |
H A D | xip.c | 77 int ext2_get_xip_mem(struct address_space *mapping, pgoff_t pgoff, int create, argument 84 rc = __ext2_get_block(mapping->host, pgoff, create, &block); 89 rc = __inode_direct_access(mapping->host, block, kmem, pfn);
|
/fs/f2fs/ |
H A D | data.c | 57 set_bit(AS_EIO, &page->mapping->flags); 399 struct address_space *mapping = inode->i_mapping; local 404 page = find_get_page(mapping, index); 422 page = grab_cache_page(mapping, index); 453 struct address_space *mapping = inode->i_mapping; local 459 page = grab_cache_page(mapping, index); 501 if (unlikely(page->mapping != mapping)) { 519 struct address_space *mapping = inode->i_mapping; local 529 page = grab_cache_page(mapping, inde 756 f2fs_read_data_pages(struct file *file, struct address_space *mapping, struct list_head *pages, unsigned nr_pages) argument 890 struct address_space *mapping = data; local 896 f2fs_write_data_pages(struct address_space *mapping, struct writeback_control *wbc) argument 938 f2fs_write_failed(struct address_space *mapping, loff_t to) argument 948 f2fs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) argument 1046 f2fs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 1091 struct address_space *mapping = file->f_mapping; local 1135 struct address_space *mapping = page->mapping; local 1151 f2fs_bmap(struct address_space *mapping, sector_t block) argument [all...] |
/fs/hfsplus/ |
H A D | bitmap.c | 23 struct address_space *mapping; local 35 mapping = sbi->alloc_file->i_mapping; 36 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, NULL); 80 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, 131 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, 167 struct address_space *mapping; local 182 mapping = sbi->alloc_file->i_mapping; 184 page = read_mapping_page(mapping, pnr, NULL); 218 page = read_mapping_page(mapping, ++pnr, NULL);
|
/fs/squashfs/ |
H A D | file_cache.c | 25 struct inode *i = page->mapping->host;
|
/fs/afs/ |
H A D | file.c | 27 static int afs_readpages(struct file *filp, struct address_space *mapping, 129 struct inode *inode = page->mapping->host; 227 struct inode *inode = page->mapping->host; 242 static int afs_readpages(struct file *file, struct address_space *mapping, argument 250 key_serial(key), mapping->host->i_ino, nr_pages); 254 vnode = AFS_FS_I(mapping->host); 263 mapping, 268 mapping_gfp_mask(mapping)); 293 ret = read_cache_pages(mapping, pages, afs_page_filler, key); 327 struct afs_vnode *vnode = AFS_FS_I(page->mapping [all...] |
H A D | write.c | 119 int afs_write_begin(struct file *file, struct address_space *mapping, argument 147 page = grab_cache_page_write_begin(mapping, index, flags); 245 int afs_write_end(struct file *file, struct address_space *mapping, argument 464 static int afs_writepages_region(struct address_space *mapping, argument 475 n = find_get_pages_tag(mapping, &index, PAGECACHE_TAG_DIRTY, 489 /* at this point we hold neither mapping->tree_lock nor lock on 491 * (changing page->mapping to NULL), or even swizzled back from 492 * swapper_space to tmpfs file mapping 496 if (page->mapping != mapping) { 538 afs_writepages(struct address_space *mapping, struct writeback_control *wbc) argument 661 struct address_space *mapping = vnode->vfs_inode.i_mapping; local [all...] |
/fs/omfs/ |
H A D | file.c | 292 static int omfs_readpages(struct file *file, struct address_space *mapping, argument 295 return mpage_readpages(mapping, pages, nr_pages, omfs_get_block); 304 omfs_writepages(struct address_space *mapping, struct writeback_control *wbc) argument 306 return mpage_writepages(mapping, wbc, omfs_get_block); 309 static void omfs_write_failed(struct address_space *mapping, loff_t to) argument 311 struct inode *inode = mapping->host; 319 static int omfs_write_begin(struct file *file, struct address_space *mapping, argument 325 ret = block_write_begin(mapping, pos, len, flags, pagep, 328 omfs_write_failed(mapping, pos + len); 333 static sector_t omfs_bmap(struct address_space *mapping, sector_ argument [all...] |
/fs/btrfs/ |
H A D | compression.h | 25 int btrfs_compress_pages(int type, struct address_space *mapping, 57 struct address_space *mapping,
|
/fs/logfs/ |
H A D | file.c | 12 static int logfs_write_begin(struct file *file, struct address_space *mapping, argument 16 struct inode *inode = mapping->host; 20 page = grab_cache_page_write_begin(mapping, index, flags); 38 static int logfs_write_end(struct file *file, struct address_space *mapping, argument 42 struct inode *inode = mapping->host; 105 struct inode *inode = page->mapping->host; 119 struct inode *inode = page->mapping->host; 168 struct super_block *sb = page->mapping->host->i_sb;
|
/fs/jffs2/ |
H A D | file.c | 24 static int jffs2_write_end(struct file *filp, struct address_space *mapping, 27 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, 126 struct jffs2_inode_info *f = JFFS2_INODE_INFO(pg->mapping->host); 130 ret = jffs2_do_readpage_unlock(pg->mapping->host, pg); 135 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, argument 140 struct inode *inode = mapping->host; 159 pg = grab_cache_page_write_begin(mapping, index, flags); 242 static int jffs2_write_end(struct file *filp, struct address_space *mapping, argument 249 struct inode *inode = mapping->host;
|
/fs/ceph/ |
H A D | cache.h | 44 struct address_space *mapping, 71 struct inode* inode = page->mapping->host; 132 struct address_space *mapping, 131 ceph_readpages_from_fscache(struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) argument
|
/fs/cifs/ |
H A D | fscache.h | 78 struct address_space *mapping, 83 return __cifs_readpages_from_fscache(inode, mapping, pages, 132 struct address_space *mapping, 77 cifs_readpages_from_fscache(struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) argument 131 cifs_readpages_from_fscache(struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) argument
|