/linux-6.12.1/fs/ocfs2/ |
D | file.h | 42 u64 new_i_size); 45 u64 new_i_size); 48 u64 new_i_size); 50 u64 new_i_size, u64 zero_to);
|
D | file.c | 295 u64 new_i_size) in ocfs2_set_inode_size() argument 299 i_size_write(inode, new_i_size); in ocfs2_set_inode_size() 315 u64 new_i_size) in ocfs2_simple_size_update() argument 329 new_i_size); in ocfs2_simple_size_update() 375 u64 new_i_size) in ocfs2_orphan_for_truncate() argument 387 status = ocfs2_cow_file_pos(inode, fe_bh, new_i_size); in ocfs2_orphan_for_truncate() 413 cluster_bytes = ocfs2_align_bytes_to_clusters(inode->i_sb, new_i_size); in ocfs2_orphan_for_truncate() 414 status = ocfs2_zero_range_for_truncate(inode, handle, new_i_size, in ocfs2_orphan_for_truncate() 421 i_size_write(inode, new_i_size); in ocfs2_orphan_for_truncate() 425 di->i_size = cpu_to_le64(new_i_size); in ocfs2_orphan_for_truncate() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | io_misc.c | 222 prt_printf(out, " new_i_size=%llu", le64_to_cpu(op.v->new_i_size)); in bch2_logged_op_truncate_to_text() 227 u64 new_i_size, in truncate_set_isize() argument 235 (inode_u.bi_size = new_i_size, 0) ?: in truncate_set_isize() 250 u64 new_i_size = le64_to_cpu(op->v.new_i_size); in __bch2_resume_logged_op_truncate() local 255 truncate_set_isize(trans, inum, new_i_size, i_sectors_delta != NULL)); in __bch2_resume_logged_op_truncate() 260 POS(inum.inum, round_up(new_i_size, block_bytes(c)) >> 9), in __bch2_resume_logged_op_truncate() 278 int bch2_truncate(struct bch_fs *c, subvol_inum inum, u64 new_i_size, u64 *i_sectors_delta) in bch2_truncate() argument 285 op.v.new_i_size = cpu_to_le64(new_i_size); in bch2_truncate()
|
D | reflink.c | 429 u64 new_i_size, s64 *i_sectors_delta) in bch2_remap_range() argument 553 new_i_size, i_sectors_delta, in bch2_remap_range() 564 new_i_size = min(dst_iter.pos.offset << 9, new_i_size); in bch2_remap_range() 576 inode_u.bi_size < new_i_size) { in bch2_remap_range() 577 inode_u.bi_size = new_i_size; in bch2_remap_range()
|
D | logged_ops_format.h | 10 __le64 new_i_size; member
|
D | io_write_types.h | 79 u64 new_i_size; member
|
D | io_write.c | 198 u64 new_i_size, in bch2_extent_update_i_size_sectors() argument 245 new_i_size > le64_to_cpu(inode->v.bi_size)) { in bch2_extent_update_i_size_sectors() 246 inode->v.bi_size = cpu_to_le64(new_i_size); in bch2_extent_update_i_size_sectors() 273 u64 new_i_size, in bch2_extent_update() argument 322 min(k->k.p.offset << 9, new_i_size), in bch2_extent_update() 375 op->new_i_size, &op->i_sectors_delta, in bch2_write_index_default() 1130 u64 new_i_size) in bch2_nocow_write_convert_one_unwritten() argument 1157 min(new->k.p.offset << 9, new_i_size), 0) ?: in bch2_nocow_write_convert_one_unwritten() 1172 bch2_nocow_write_convert_one_unwritten(trans, &iter, orig, k, op->new_i_size); in bch2_nocow_write_convert_unwritten() 1623 op->new_i_size - (op->pos.offset << 9)); in CLOSURE_CALLBACK()
|
D | io_write.h | 88 op->new_i_size = U64_MAX; in bch2_write_op_init()
|
D | fs-io-buffered.c | 619 w->io->op.new_i_size = i_size; in __bch2_writepage()
|
/linux-6.12.1/include/linux/ |
D | netfs.h | 506 static inline void netfs_resize_file(struct netfs_inode *ctx, loff_t new_i_size, in netfs_resize_file() argument 510 ctx->remote_i_size = new_i_size; in netfs_resize_file() 511 if (new_i_size < ctx->zero_point) in netfs_resize_file() 512 ctx->zero_point = new_i_size; in netfs_resize_file()
|
/linux-6.12.1/fs/afs/ |
D | file.c | 391 static void afs_update_i_size(struct inode *inode, loff_t new_i_size) in afs_update_i_size() argument 398 if (new_i_size > i_size) { in afs_update_i_size() 399 i_size_write(&vnode->netfs.inode, new_i_size); in afs_update_i_size() 400 inode_set_bytes(&vnode->netfs.inode, new_i_size); in afs_update_i_size() 403 fscache_update_cookie(afs_vnode_cache(vnode), NULL, &new_i_size); in afs_update_i_size()
|
/linux-6.12.1/fs/btrfs/ |
D | file-item.h | 82 void btrfs_inode_safe_disk_i_size_write(struct btrfs_inode *inode, u64 new_i_size);
|
D | file-item.c | 46 void btrfs_inode_safe_disk_i_size_write(struct btrfs_inode *inode, u64 new_i_size) in btrfs_inode_safe_disk_i_size_write() argument 52 i_size = new_i_size ?: i_size_read(&inode->vfs_inode); in btrfs_inode_safe_disk_i_size_write()
|
/linux-6.12.1/fs/ext4/ |
D | inode.c | 2988 loff_t new_i_size; in ext4_da_do_write_end() local 3001 new_i_size = pos + copied; in ext4_da_do_write_end() 3018 if (new_i_size > inode->i_size) { in ext4_da_do_write_end() 3021 i_size_write(inode, new_i_size); in ext4_da_do_write_end() 3022 end = (new_i_size - 1) & (PAGE_SIZE - 1); in ext4_da_do_write_end() 3024 ext4_update_i_disksize(inode, new_i_size); in ext4_da_do_write_end()
|
/linux-6.12.1/fs/f2fs/ |
D | data.c | 1343 struct page *ipage, pgoff_t index, bool new_i_size) in f2fs_get_new_data_page() argument 1386 if (new_i_size && i_size_read(inode) < in f2fs_get_new_data_page()
|
D | f2fs.h | 3883 struct page *ipage, pgoff_t index, bool new_i_size);
|