Home
last modified time | relevance | path

Searched refs:oldsize (Results 1 – 4 of 4) sorted by relevance

/fs/xfs/
Dxfs_dir2_sf.c901 int oldsize; /* old inode size */ in xfs_dir2_sf_removename() local
909 oldsize = (int)dp->i_d.di_size; in xfs_dir2_sf_removename()
913 if (oldsize < offsetof(xfs_dir2_sf_hdr_t, parent)) { in xfs_dir2_sf_removename()
917 ASSERT(dp->i_df.if_bytes == oldsize); in xfs_dir2_sf_removename()
920 ASSERT(oldsize >= xfs_dir2_sf_hdr_size(sfp->hdr.i8count)); in xfs_dir2_sf_removename()
945 newsize = oldsize - entsize; in xfs_dir2_sf_removename()
949 if (byteoff + entsize < oldsize) in xfs_dir2_sf_removename()
951 oldsize - (byteoff + entsize)); in xfs_dir2_sf_removename()
960 xfs_idata_realloc(dp, newsize - oldsize, XFS_DATA_FORK); in xfs_dir2_sf_removename()
1135 int oldsize; /* old inode size */ in xfs_dir2_sf_toino4() local
[all …]
/fs/xfs/linux-2.6/
Dkmem.c103 kmem_realloc(const void *ptr, size_t newsize, size_t oldsize, in kmem_realloc() argument
112 ((oldsize < newsize) ? oldsize : newsize)); in kmem_realloc()
/fs/fuse/
Dinode.c168 loff_t oldsize; in fuse_change_attributes() local
178 oldsize = inode->i_size; in fuse_change_attributes()
182 if (S_ISREG(inode->i_mode) && oldsize != attr->size) { in fuse_change_attributes()
183 if (attr->size < oldsize) in fuse_change_attributes()
Ddir.c1220 loff_t oldsize; in fuse_do_setattr() local
1296 oldsize = inode->i_size; in fuse_do_setattr()
1309 if (S_ISREG(inode->i_mode) && oldsize != outarg.attr.size) { in fuse_do_setattr()
1310 if (outarg.attr.size < oldsize) in fuse_do_setattr()