/openbmc/linux/fs/nilfs2/ |
H A D | mdt.c | 80 bh = nilfs_grab_buffer(inode, inode->i_mapping, block, 0); in nilfs_mdt_create_block() 120 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_mdt_submit_block() 365 page = find_lock_page(inode->i_mapping, index); in nilfs_mdt_forget_block() 384 invalidate_inode_pages2_range(inode->i_mapping, index, index) != 0) in nilfs_mdt_forget_block() 458 mapping_set_gfp_mask(inode->i_mapping, gfp_mask); in nilfs_mdt_init() 462 inode->i_mapping->a_ops = &def_mdt_aops; in nilfs_mdt_init() 544 ret = nilfs_copy_dirty_pages(s_inode->i_mapping, inode->i_mapping); in nilfs_mdt_save_to_shadow_map() 548 ret = nilfs_copy_dirty_pages(NILFS_I(s_inode)->i_assoc_inode->i_mapping, in nilfs_mdt_save_to_shadow_map() 549 ii->i_assoc_inode->i_mapping); in nilfs_mdt_save_to_shadow_map() 565 page = grab_cache_page(shadow->inode->i_mapping, bh->b_folio->index); in nilfs_mdt_freeze_buffer() [all …]
|
H A D | gcinode.c | 65 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_gccache_submit_read_data() 130 ret = nilfs_btnode_submit_block(btnc_inode->i_mapping, vbn ? : pbn, pbn, in nilfs_gccache_submit_read_node() 165 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in nilfs_init_gcinode() 166 inode->i_mapping->a_ops = &nilfs_buffer_cache_aops; in nilfs_init_gcinode() 186 nilfs_btnode_cache_clear(ii->i_assoc_inode->i_mapping); in nilfs_remove_all_gcinodes()
|
/openbmc/linux/fs/f2fs/ |
H A D | verity.c | 51 page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT, in pagecache_read() 74 struct address_space *mapping = inode->i_mapping; in pagecache_write() 177 err = filemap_write_and_wait(inode->i_mapping); in f2fs_end_enable_verity() 207 truncate_inode_pages(inode->i_mapping, inode->i_size); in f2fs_end_enable_verity() 265 page = find_get_page_flags(inode->i_mapping, index, FGP_ACCESSED); in f2fs_read_merkle_tree_page() 267 DEFINE_READAHEAD(ractl, NULL, NULL, inode->i_mapping, index); in f2fs_read_merkle_tree_page() 273 page = read_mapping_page(inode->i_mapping, index, NULL); in f2fs_read_merkle_tree_page()
|
H A D | inode.c | 579 inode->i_mapping->a_ops = &f2fs_node_aops; in f2fs_iget() 580 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in f2fs_iget() 582 inode->i_mapping->a_ops = &f2fs_meta_aops; in f2fs_iget() 583 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in f2fs_iget() 586 inode->i_mapping->a_ops = &f2fs_compress_aops; in f2fs_iget() 593 mapping_set_gfp_mask(inode->i_mapping, in f2fs_iget() 598 inode->i_mapping->a_ops = &f2fs_dblock_aops; in f2fs_iget() 602 inode->i_mapping->a_ops = &f2fs_dblock_aops; in f2fs_iget() 603 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in f2fs_iget() 610 inode->i_mapping->a_ops = &f2fs_dblock_aops; in f2fs_iget()
|
H A D | file.c | 104 filemap_invalidate_lock_shared(inode->i_mapping); in f2fs_vm_page_mkwrite() 106 if (unlikely(page->mapping != inode->i_mapping || in f2fs_vm_page_mkwrite() 158 filemap_invalidate_unlock_shared(inode->i_mapping); in f2fs_vm_page_mkwrite() 557 filemap_invalidate_lock(inode->i_mapping); in finish_preallocate_blocks() 562 filemap_invalidate_unlock(inode->i_mapping); in finish_preallocate_blocks() 671 struct address_space *mapping = inode->i_mapping; in truncate_partial_data_page() 1048 filemap_invalidate_lock(inode->i_mapping); in f2fs_setattr() 1058 filemap_invalidate_unlock(inode->i_mapping); in f2fs_setattr() 1202 filemap_invalidate_lock(inode->i_mapping); in f2fs_punch_hole() 1210 filemap_invalidate_unlock(inode->i_mapping); in f2fs_punch_hole() [all …]
|
/openbmc/linux/fs/coda/ |
H A D | file.c | 187 if (coda_inode->i_mapping == &coda_inode->i_data) in coda_file_mmap() 188 coda_inode->i_mapping = host_inode->i_mapping; in coda_file_mmap() 192 else if (coda_inode->i_mapping != host_inode->i_mapping) { in coda_file_mmap() 281 if (coda_inode->i_mapping == &host_inode->i_data) { in coda_release() 284 coda_inode->i_mapping = &coda_inode->i_data; in coda_release() 308 err = filemap_write_and_wait_range(coda_inode->i_mapping, start, end); in coda_fsync()
|
/openbmc/linux/fs/ext4/ |
H A D | verity.c | 48 folio = read_mapping_folio(inode->i_mapping, pos >> PAGE_SHIFT, in pagecache_read() 70 struct address_space *mapping = inode->i_mapping; in pagecache_write() 219 err = filemap_write_and_wait(inode->i_mapping); in ext4_end_enable_verity() 262 truncate_inode_pages(inode->i_mapping, inode->i_size); in ext4_end_enable_verity() 368 folio = __filemap_get_folio(inode->i_mapping, index, FGP_ACCESSED, 0); in ext4_read_merkle_tree_page() 370 DEFINE_READAHEAD(ractl, NULL, NULL, inode->i_mapping, index); in ext4_read_merkle_tree_page() 376 folio = read_mapping_folio(inode->i_mapping, index, NULL); in ext4_read_merkle_tree_page()
|
/openbmc/linux/fs/udf/ |
H A D | file.c | 41 struct address_space *mapping = inode->i_mapping; in udf_page_mkwrite() 53 if (page->mapping != inode->i_mapping || page_offset(page) >= size) { in udf_page_mkwrite() 104 filemap_invalidate_lock(inode->i_mapping); in udf_file_write_iter() 106 filemap_invalidate_unlock(inode->i_mapping); in udf_file_write_iter() 235 filemap_invalidate_lock(inode->i_mapping); in udf_setattr() 237 filemap_invalidate_unlock(inode->i_mapping); in udf_setattr()
|
/openbmc/linux/fs/freevxfs/ |
H A D | vxfs_inode.c | 160 vip->vfs_inode.i_mapping->a_ops = &vxfs_aops; in vxfs_blkiget() 192 pp = vxfs_get_page(ilistp->i_mapping, ino * VXFS_ISIZE / PAGE_SIZE); in __vxfs_iget() 200 vip->vfs_inode.i_mapping->a_ops = &vxfs_aops; in __vxfs_iget() 280 ip->i_mapping->a_ops = aops; in vxfs_iget() 284 ip->i_mapping->a_ops = aops; in vxfs_iget() 289 ip->i_mapping->a_ops = &vxfs_aops; in vxfs_iget()
|
/openbmc/linux/block/ |
H A D | bdev.c | 70 struct address_space *mapping = bdev->bd_inode->i_mapping; in kill_bdev() 82 struct address_space *mapping = bdev->bd_inode->i_mapping; in invalidate_bdev() 110 truncate_inode_pages_range(bdev->bd_inode->i_mapping, lstart, lend); in truncate_bdev_range() 120 return invalidate_inode_pages2_range(bdev->bd_inode->i_mapping, in truncate_bdev_range() 186 return filemap_flush(bdev->bd_inode->i_mapping); in sync_blockdev_nowait() 198 return filemap_write_and_wait(bdev->bd_inode->i_mapping); in sync_blockdev() 204 return filemap_write_and_wait_range(bdev->bd_inode->i_mapping, in sync_blockdev_range() 429 mapping_set_stable_writes(bdev->bd_inode->i_mapping); in bdev_add() 443 ret += inode->i_mapping->nrpages; in nr_blockdev_pages() 1035 struct address_space *mapping = inode->i_mapping; in sync_bdevs() [all …]
|
/openbmc/linux/fs/9p/ |
H A D | vfs_file.c | 111 filemap_write_and_wait(inode->i_mapping); in v9fs_file_lock() 297 filemap_write_and_wait(inode->i_mapping); in v9fs_file_lock_dotl() 331 filemap_write_and_wait(inode->i_mapping); in v9fs_file_flock_dotl() 434 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_iter() 435 invalidate_inode_pages2_range(inode->i_mapping, in v9fs_file_write_iter() 544 if (folio_mapping(folio) != inode->i_mapping) in v9fs_vm_page_mkwrite() 573 filemap_fdatawrite_wbc(inode->i_mapping, &wbc); in v9fs_mmap_vm_close()
|
/openbmc/linux/fs/ext2/ |
H A D | file.c | 104 filemap_invalidate_lock_shared(inode->i_mapping); in ext2_dax_fault() 108 filemap_invalidate_unlock_shared(inode->i_mapping); in ext2_dax_fault() 246 ext2_write_failed(inode->i_mapping, offset + count); in ext2_dio_write_iter() 263 ret2 = filemap_write_and_wait_range(inode->i_mapping, pos, in ext2_dio_write_iter() 266 invalidate_mapping_pages(inode->i_mapping, in ext2_dio_write_iter()
|
H A D | inode.c | 885 ext2_write_failed(inode->i_mapping, offset + length); in ext2_iomap_end() 1179 WARN_ON(!rwsem_is_locked(&inode->i_mapping->invalidate_lock)); in __ext2_truncate_blocks() 1261 filemap_invalidate_lock(inode->i_mapping); in ext2_truncate_blocks() 1263 filemap_invalidate_unlock(inode->i_mapping); in ext2_truncate_blocks() 1284 error = block_truncate_page(inode->i_mapping, in ext2_setsize() 1289 filemap_invalidate_lock(inode->i_mapping); in ext2_setsize() 1292 filemap_invalidate_unlock(inode->i_mapping); in ext2_setsize() 1296 sync_mapping_buffers(inode->i_mapping); in ext2_setsize() 1373 inode->i_mapping->a_ops = &ext2_dax_aops; in ext2_set_file_ops() 1375 inode->i_mapping->a_ops = &ext2_aops; in ext2_set_file_ops() [all …]
|
/openbmc/linux/mm/ |
H A D | secretmem.c | 171 struct address_space *mapping = inode->i_mapping; in secretmem_setattr() 216 mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER); in secretmem_file_create() 217 mapping_set_unevictable(inode->i_mapping); in secretmem_file_create() 220 inode->i_mapping->a_ops = &secretmem_aops; in secretmem_file_create()
|
/openbmc/linux/fs/nfs/ |
H A D | symlink.c | 58 page = find_get_page(inode->i_mapping, 0); in nfs_get_link() 66 err = ERR_PTR(nfs_revalidate_mapping(inode, inode->i_mapping)); in nfs_get_link()
|
/openbmc/linux/fs/ |
H A D | drop_caches.c | 32 (mapping_empty(inode->i_mapping) && !need_resched())) { in drop_pagecache_sb() 40 invalidate_mapping_pages(inode->i_mapping, 0, -1); in drop_pagecache_sb()
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_umount.c | 96 filemap_write_and_wait(sbi->direct_inode->i_mapping); in jfs_umount() 148 filemap_write_and_wait(sbi->direct_inode->i_mapping); in jfs_umount_rw()
|
/openbmc/linux/fs/hfsplus/ |
H A D | super.c | 34 inode->i_mapping->a_ops = &hfsplus_btree_aops; in hfsplus_system_read_inode() 38 inode->i_mapping->a_ops = &hfsplus_btree_aops; in hfsplus_system_read_inode() 42 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_system_read_inode() 49 inode->i_mapping->a_ops = &hfsplus_btree_aops; in hfsplus_system_read_inode() 196 error = filemap_write_and_wait(sbi->cat_tree->inode->i_mapping); in hfsplus_sync_fs() 197 error2 = filemap_write_and_wait(sbi->ext_tree->inode->i_mapping); in hfsplus_sync_fs() 202 filemap_write_and_wait(sbi->attr_tree->inode->i_mapping); in hfsplus_sync_fs() 206 error2 = filemap_write_and_wait(sbi->alloc_file->i_mapping); in hfsplus_sync_fs()
|
H A D | inode.c | 327 error = filemap_write_and_wait(sbi->cat_tree->inode->i_mapping); in hfsplus_file_fsync() 331 filemap_write_and_wait(sbi->ext_tree->inode->i_mapping); in hfsplus_file_fsync() 340 sbi->attr_tree->inode->i_mapping); in hfsplus_file_fsync() 349 error2 = filemap_write_and_wait(sbi->alloc_file->i_mapping); in hfsplus_file_fsync() 424 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_new_inode() 430 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_new_inode() 557 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_cat_read_inode() 561 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_cat_read_inode()
|
/openbmc/linux/fs/fuse/ |
H A D | dax.c | 663 filemap_invalidate_unlock(inode->i_mapping); in fuse_wait_dax_page() 665 filemap_invalidate_lock(inode->i_mapping); in fuse_wait_dax_page() 674 page = dax_layout_busy_page_range(inode->i_mapping, start, end); in __fuse_dax_break_layouts() 811 filemap_invalidate_lock_shared(inode->i_mapping); in __fuse_dax_fault() 816 filemap_invalidate_unlock_shared(inode->i_mapping); in __fuse_dax_fault() 822 filemap_invalidate_unlock_shared(inode->i_mapping); in __fuse_dax_fault() 872 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate() 879 ret = invalidate_inode_pages2_range(inode->i_mapping, in dmap_writeback_invalidate() 956 filemap_invalidate_lock(inode->i_mapping); in inode_inline_reclaim_one_dmap() 1017 filemap_invalidate_unlock(inode->i_mapping); in inode_inline_reclaim_one_dmap() [all …]
|
/openbmc/linux/fs/ramfs/ |
H A D | file-nommu.c | 69 gfp_t gfp = mapping_gfp_mask(inode->i_mapping); in ramfs_nommu_expand_for_mapping() 107 ret = add_to_page_cache_lru(page, inode->i_mapping, loop, in ramfs_nommu_expand_for_mapping() 227 nr_folios = filemap_get_folios_contig(inode->i_mapping, &pgoff, in ramfs_nommu_get_unmapped_area()
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | xfile.c | 134 struct address_space *mapping = inode->i_mapping; in xfile_pread() 211 struct address_space *mapping = inode->i_mapping; in xfile_pwrite() 326 struct address_space *mapping = inode->i_mapping; in xfile_get_page() 398 struct address_space *mapping = inode->i_mapping; in xfile_put_page()
|
/openbmc/linux/fs/iomap/ |
H A D | seek.c | 20 *hole_pos = mapping_seek_hole_data(iter->inode->i_mapping, in iomap_seek_hole_iter() 68 *hole_pos = mapping_seek_hole_data(iter->inode->i_mapping, in iomap_seek_data_iter()
|
/openbmc/linux/fs/qnx6/ |
H A D | inode.c | 185 struct address_space *mapping = root->i_mapping; in qnx6_checkroot() 513 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_private_inode() 546 mapping = sbi->inodes->i_mapping; in qnx6_iget() 576 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_iget() 580 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_iget() 584 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_iget()
|
/openbmc/linux/include/linux/ |
H A D | backing-dev.h | 254 !lockdep_is_held(&inode->i_mapping->i_pages.xa_lock) && in inode_to_wb() 298 xa_lock_irqsave(&inode->i_mapping->i_pages, cookie->flags); in unlocked_inode_to_wb_begin() 316 xa_unlock_irqrestore(&inode->i_mapping->i_pages, cookie->flags); in unlocked_inode_to_wb_end()
|