Home
last modified time | relevance | path

Searched refs:i_mapping (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/fs/nilfs2/
Dmdt.c80 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()
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()
456 mapping_set_gfp_mask(inode->i_mapping, gfp_mask); in nilfs_mdt_init()
460 inode->i_mapping->a_ops = &def_mdt_aops; in nilfs_mdt_init()
542 ret = nilfs_copy_dirty_pages(s_inode->i_mapping, inode->i_mapping); in nilfs_mdt_save_to_shadow_map()
546 ret = nilfs_copy_dirty_pages(NILFS_I(s_inode)->i_assoc_inode->i_mapping, in nilfs_mdt_save_to_shadow_map()
547 ii->i_assoc_inode->i_mapping); in nilfs_mdt_save_to_shadow_map()
563 page = grab_cache_page(shadow->inode->i_mapping, bh->b_page->index); in nilfs_mdt_freeze_buffer()
[all …]
Dgcinode.c65 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, in nilfs_gccache_submit_read_node()
168 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in nilfs_init_gcinode()
169 inode->i_mapping->a_ops = &empty_aops; in nilfs_init_gcinode()
189 nilfs_btnode_cache_clear(ii->i_assoc_inode->i_mapping); in nilfs_remove_all_gcinodes()
/kernel/linux/linux-5.10/fs/f2fs/
Dverity.c52 page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT, in pagecache_read()
88 res = pagecache_write_begin(NULL, inode->i_mapping, pos, n, 0, in pagecache_write()
97 res = pagecache_write_end(NULL, inode->i_mapping, pos, n, n, in pagecache_write()
182 err = filemap_write_and_wait(inode->i_mapping); in f2fs_end_enable_verity()
212 truncate_inode_pages(inode->i_mapping, inode->i_size); in f2fs_end_enable_verity()
268 page = find_get_page_flags(inode->i_mapping, index, FGP_ACCESSED); in f2fs_read_merkle_tree_page()
270 DEFINE_READAHEAD(ractl, NULL, inode->i_mapping, index); in f2fs_read_merkle_tree_page()
276 page = read_mapping_page(inode->i_mapping, index, NULL); in f2fs_read_merkle_tree_page()
/kernel/linux/linux-5.10/fs/ext4/
Dverity.c50 page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT, in pagecache_read()
85 res = pagecache_write_begin(NULL, inode->i_mapping, pos, n, 0, in pagecache_write()
92 res = pagecache_write_end(NULL, inode->i_mapping, pos, n, n, in pagecache_write()
223 err = filemap_write_and_wait(inode->i_mapping); in ext4_end_enable_verity()
266 truncate_inode_pages(inode->i_mapping, inode->i_size); in ext4_end_enable_verity()
374 page = find_get_page_flags(inode->i_mapping, index, FGP_ACCESSED); in ext4_read_merkle_tree_page()
376 DEFINE_READAHEAD(ractl, NULL, inode->i_mapping, index); in ext4_read_merkle_tree_page()
382 page = read_mapping_page(inode->i_mapping, index, NULL); in ext4_read_merkle_tree_page()
Dfsync.c70 ret = sync_mapping_buffers(inode->i_mapping); in ext4_sync_parent()
86 ret = sync_mapping_buffers(inode->i_mapping); in ext4_fsync_nojournal()
/kernel/linux/linux-5.10/fs/coda/
Dfile.c158 if (coda_inode->i_mapping == &coda_inode->i_data) in coda_file_mmap()
159 coda_inode->i_mapping = host_inode->i_mapping; in coda_file_mmap()
163 else if (coda_inode->i_mapping != host_inode->i_mapping) { in coda_file_mmap()
253 if (coda_inode->i_mapping == &host_inode->i_data) { in coda_release()
256 coda_inode->i_mapping = &coda_inode->i_data; in coda_release()
280 err = filemap_write_and_wait_range(coda_inode->i_mapping, start, end); in coda_fsync()
/kernel/linux/linux-5.10/fs/freevxfs/
Dvxfs_inode.c185 vip->vfs_inode.i_mapping->a_ops = &vxfs_aops; in vxfs_blkiget()
217 pp = vxfs_get_page(ilistp->i_mapping, ino * VXFS_ISIZE / PAGE_SIZE); in __vxfs_iget()
225 vip->vfs_inode.i_mapping->a_ops = &vxfs_aops; in __vxfs_iget()
305 ip->i_mapping->a_ops = aops; in vxfs_iget()
309 ip->i_mapping->a_ops = aops; in vxfs_iget()
314 ip->i_mapping->a_ops = &vxfs_aops; in vxfs_iget()
/kernel/linux/linux-5.10/fs/nfs/
Dsymlink.c58 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()
/kernel/linux/linux-5.10/fs/
Ddrop_caches.c30 (inode->i_mapping->nrpages == 0 && !need_resched())) { in drop_pagecache_sb()
38 invalidate_mapping_pages(inode->i_mapping, 0, -1); in drop_pagecache_sb()
Dremap_range.c166 page = read_mapping_page(inode->i_mapping, offset >> PAGE_SHIFT, NULL); in vfs_dedupe_get_page()
248 src_page->mapping != src->i_mapping || in vfs_dedupe_file_range_compare()
249 dest_page->mapping != dest->i_mapping) { in vfs_dedupe_file_range_compare()
339 ret = filemap_write_and_wait_range(inode_in->i_mapping, in generic_remap_file_range_prep()
344 ret = filemap_write_and_wait_range(inode_out->i_mapping, in generic_remap_file_range_prep()
/kernel/linux/linux-5.10/fs/9p/
Dvfs_file.c128 filemap_write_and_wait(inode->i_mapping); in v9fs_file_lock()
319 filemap_write_and_wait(inode->i_mapping); in v9fs_file_lock_dotl()
358 filemap_write_and_wait(inode->i_mapping); in v9fs_file_flock_dotl()
430 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_iter()
431 invalidate_inode_pages2_range(inode->i_mapping, in v9fs_file_write_iter()
565 if (page->mapping != inode->i_mapping) in v9fs_vm_page_mkwrite()
628 if (!mapping_can_writeback(inode->i_mapping)) in v9fs_mmap_vm_close()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_umount.c98 filemap_write_and_wait(sbi->direct_inode->i_mapping); in jfs_umount()
150 filemap_write_and_wait(sbi->direct_inode->i_mapping); in jfs_umount_rw()
/kernel/linux/linux-5.10/fs/iomap/
Dseek.c21 const struct address_space_operations *ops = inode->i_mapping->a_ops; in page_seek_hole_data()
46 if (unlikely(page->mapping != inode->i_mapping)) in page_seek_hole_data()
90 nr_pages = pagevec_lookup_range(&pvec, inode->i_mapping, &index, in page_cache_seek_hole_data()
/kernel/linux/linux-5.10/drivers/char/
Draw.c90 filp->f_mapping = bdev->bd_inode->i_mapping; in raw_open()
92 file_inode(filp)->i_mapping = in raw_open()
93 bdev->bd_inode->i_mapping; in raw_open()
119 inode->i_mapping = &inode->i_data; in raw_release()
/kernel/linux/linux-5.10/fs/hfsplus/
Dsuper.c34 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()
Dinode.c315 error = filemap_write_and_wait(sbi->cat_tree->inode->i_mapping); in hfsplus_file_fsync()
319 filemap_write_and_wait(sbi->ext_tree->inode->i_mapping); in hfsplus_file_fsync()
328 sbi->attr_tree->inode->i_mapping); in hfsplus_file_fsync()
337 error2 = filemap_write_and_wait(sbi->alloc_file->i_mapping); in hfsplus_file_fsync()
410 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_new_inode()
416 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_new_inode()
534 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_cat_read_inode()
538 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_cat_read_inode()
/kernel/linux/linux-5.10/fs/ramfs/
Dfile-nommu.c69 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 = find_get_pages_contig(inode->i_mapping, pgoff, lpages, pages); in ramfs_nommu_get_unmapped_area()
Dinode.c71 inode->i_mapping->a_ops = &ramfs_aops; in ramfs_get_inode()
72 mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER); in ramfs_get_inode()
73 mapping_set_unevictable(inode->i_mapping); in ramfs_get_inode()
/kernel/linux/linux-5.10/fs/afs/
Ddir_edit.c209 gfp = vnode->vfs_inode.i_mapping->gfp_mask; in afs_edit_dir_add()
210 page0 = find_or_create_page(vnode->vfs_inode.i_mapping, 0, gfp); in afs_edit_dir_add()
241 gfp = vnode->vfs_inode.i_mapping->gfp_mask; in afs_edit_dir_add()
242 page = find_or_create_page(vnode->vfs_inode.i_mapping, in afs_edit_dir_add()
388 page0 = find_lock_page(vnode->vfs_inode.i_mapping, 0); in afs_edit_dir_remove()
408 page = find_lock_page(vnode->vfs_inode.i_mapping, index); in afs_edit_dir_remove()
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dextent-io-tests.c32 ret = find_get_pages_contig(inode->i_mapping, index, in process_page_range()
94 page = find_or_create_page(inode->i_mapping, index, GFP_KERNEL); in test_find_delalloc()
138 locked_page = find_lock_page(inode->i_mapping, in test_find_delalloc()
173 locked_page = find_lock_page(inode->i_mapping, test_start >> in test_find_delalloc()
224 page = find_get_page(inode->i_mapping, in test_find_delalloc()
/kernel/linux/linux-5.10/drivers/dax/
Ddevice.c351 inode->i_mapping = __dax_inode->i_mapping; in dax_open()
352 inode->i_mapping->host = __dax_inode; in dax_open()
353 inode->i_mapping->a_ops = &dev_dax_aops; in dax_open()
354 filp->f_mapping = inode->i_mapping; in dax_open()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_pnfs.c132 error = filemap_write_and_wait(inode->i_mapping); in xfs_fs_map_blocks()
135 error = invalidate_inode_pages2(inode->i_mapping); in xfs_fs_map_blocks()
262 error = invalidate_inode_pages2_range(inode->i_mapping, in xfs_fs_commit_blocks()
/kernel/linux/linux-5.10/fs/qnx6/
Dinode.c185 struct address_space *mapping = root->i_mapping; in qnx6_checkroot()
515 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_private_inode()
548 mapping = sbi->inodes->i_mapping; in qnx6_iget()
579 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_iget()
583 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_iget()
587 inode->i_mapping->a_ops = &qnx6_aops; in qnx6_iget()
/kernel/linux/linux-5.10/fs/ocfs2/
Dmmap.c54 struct address_space *mapping = inode->i_mapping; in __ocfs2_page_mkwrite()
77 if ((page->mapping != inode->i_mapping) || in __ocfs2_page_mkwrite()
/kernel/linux/linux-5.10/include/linux/
Dbacking-dev.h285 !lockdep_is_held(&inode->i_mapping->i_pages.xa_lock) && in inode_to_wb()
318 xa_lock_irqsave(&inode->i_mapping->i_pages, cookie->flags); in unlocked_inode_to_wb_begin()
336 xa_unlock_irqrestore(&inode->i_mapping->i_pages, cookie->flags); in unlocked_inode_to_wb_end()

12345678910>>...13