/Linux-v6.6/fs/nilfs2/ |
D | mdt.c | 80 bh = nilfs_grab_buffer(inode, inode->i_mapping, block, 0); in nilfs_mdt_create_block() 121 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_mdt_submit_block() 366 page = find_lock_page(inode->i_mapping, index); in nilfs_mdt_forget_block() 385 invalidate_inode_pages2_range(inode->i_mapping, index, index) != 0) in nilfs_mdt_forget_block() 459 mapping_set_gfp_mask(inode->i_mapping, gfp_mask); in nilfs_mdt_init() 463 inode->i_mapping->a_ops = &def_mdt_aops; in nilfs_mdt_init() 545 ret = nilfs_copy_dirty_pages(s_inode->i_mapping, inode->i_mapping); in nilfs_mdt_save_to_shadow_map() 549 ret = nilfs_copy_dirty_pages(NILFS_I(s_inode)->i_assoc_inode->i_mapping, in nilfs_mdt_save_to_shadow_map() 550 ii->i_assoc_inode->i_mapping); in nilfs_mdt_save_to_shadow_map() 566 page = grab_cache_page(shadow->inode->i_mapping, bh->b_folio->index); in nilfs_mdt_freeze_buffer() [all …]
|
D | gcinode.c | 65 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_gccache_submit_read_data() 132 ret = nilfs_btnode_submit_block(btnc_inode->i_mapping, vbn ? : pbn, pbn, in nilfs_gccache_submit_read_node() 167 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in nilfs_init_gcinode() 168 inode->i_mapping->a_ops = &empty_aops; in nilfs_init_gcinode() 188 nilfs_btnode_cache_clear(ii->i_assoc_inode->i_mapping); in nilfs_remove_all_gcinodes()
|
/Linux-v6.6/fs/f2fs/ |
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()
|
D | inode.c | 594 inode->i_mapping->a_ops = &f2fs_node_aops; in f2fs_iget() 595 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in f2fs_iget() 597 inode->i_mapping->a_ops = &f2fs_meta_aops; in f2fs_iget() 598 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in f2fs_iget() 601 inode->i_mapping->a_ops = &f2fs_compress_aops; in f2fs_iget() 608 mapping_set_gfp_mask(inode->i_mapping, in f2fs_iget() 613 inode->i_mapping->a_ops = &f2fs_dblock_aops; in f2fs_iget() 617 inode->i_mapping->a_ops = &f2fs_dblock_aops; in f2fs_iget() 618 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in f2fs_iget() 625 inode->i_mapping->a_ops = &f2fs_dblock_aops; in f2fs_iget()
|
/Linux-v6.6/fs/coda/ |
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()
|
/Linux-v6.6/fs/ext4/ |
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()
|
/Linux-v6.6/fs/freevxfs/ |
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()
|
/Linux-v6.6/block/ |
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() 441 ret += inode->i_mapping->nrpages; in nr_blockdev_pages() 985 struct address_space *mapping = inode->i_mapping; in sync_bdevs() 1019 filemap_fdatawait_keep_errors(inode->i_mapping); in sync_bdevs() [all …]
|
D | ioctl.c | 115 filemap_invalidate_lock(inode->i_mapping); in blk_ioctl_discard() 121 filemap_invalidate_unlock(inode->i_mapping); in blk_ioctl_discard() 146 filemap_invalidate_lock(bdev->bd_inode->i_mapping); in blk_ioctl_secure_erase() 151 filemap_invalidate_unlock(bdev->bd_inode->i_mapping); in blk_ioctl_secure_erase() 184 filemap_invalidate_lock(inode->i_mapping); in blk_ioctl_zeroout() 193 filemap_invalidate_unlock(inode->i_mapping); in blk_ioctl_zeroout()
|
/Linux-v6.6/fs/9p/ |
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()
|
/Linux-v6.6/fs/ext2/ |
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() 264 ret2 = filemap_write_and_wait_range(inode->i_mapping, pos, in ext2_dio_write_iter() 267 invalidate_mapping_pages(inode->i_mapping, in ext2_dio_write_iter()
|
/Linux-v6.6/fs/udf/ |
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()
|
/Linux-v6.6/mm/ |
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()
|
/Linux-v6.6/fs/nfs/ |
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()
|
/Linux-v6.6/fs/ |
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()
|
/Linux-v6.6/fs/jfs/ |
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()
|
/Linux-v6.6/fs/hfsplus/ |
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()
|
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()
|
/Linux-v6.6/fs/ramfs/ |
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()
|
D | inode.c | 65 inode->i_mapping->a_ops = &ram_aops; in ramfs_get_inode() 66 mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER); in ramfs_get_inode() 67 mapping_set_unevictable(inode->i_mapping); in ramfs_get_inode()
|
/Linux-v6.6/fs/fuse/ |
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 …]
|
/Linux-v6.6/fs/xfs/scrub/ |
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()
|
/Linux-v6.6/fs/iomap/ |
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()
|
/Linux-v6.6/include/linux/ |
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()
|
/Linux-v6.6/fs/qnx6/ |
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()
|