Home
last modified time | relevance | path

Searched refs:old_isize (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_dir2_sf.c522 int old_isize; /* previous di_size */ in xfs_dir2_sf_addname_hard() local
532 old_isize = (int)dp->i_d.di_size; in xfs_dir2_sf_addname_hard()
533 buf = kmem_alloc(old_isize, 0); in xfs_dir2_sf_addname_hard()
535 memcpy(oldsfp, sfp, old_isize); in xfs_dir2_sf_addname_hard()
544 eof = (char *)oldsfep == &buf[old_isize]; in xfs_dir2_sf_addname_hard()
548 eof = (char *)oldsfep == &buf[old_isize]) { in xfs_dir2_sf_addname_hard()
558 xfs_idata_realloc(dp, -old_isize, XFS_DATA_FORK); in xfs_dir2_sf_addname_hard()
586 memcpy(sfep, oldsfep, old_isize - nbytes); in xfs_dir2_sf_addname_hard()
/Linux-v5.10/fs/zonefs/
Dsuper.c180 loff_t old_isize = i_size_read(inode); in zonefs_update_stats() local
183 if (new_isize == old_isize) in zonefs_update_stats()
192 if (new_isize < old_isize) { in zonefs_update_stats()
193 nr_blocks = (old_isize - new_isize) >> sb->s_blocksize_bits; in zonefs_update_stats()
200 (new_isize - old_isize) >> sb->s_blocksize_bits; in zonefs_update_stats()
418 loff_t old_isize; in zonefs_file_truncate() local
445 old_isize = i_size_read(inode); in zonefs_file_truncate()
446 if (isize == old_isize) in zonefs_file_truncate()