Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_attr_leaf.c1071 int entsize; in xfs_attr3_leaf_add() local
1081 entsize = xfs_attr_leaf_newentsize(args, NULL); in xfs_attr3_leaf_add()
1096 tmp = entsize; in xfs_attr3_leaf_add()
1111 if (!ichdr.holes && sum < entsize) in xfs_attr3_leaf_add()
1124 if (ichdr.freemap[0].size < (entsize + sizeof(xfs_attr_leaf_entry_t))) { in xfs_attr3_leaf_add()
1803 int entsize; in xfs_attr3_leaf_remove() local
1834 entsize = xfs_attr_leaf_entsize(leaf, args->index); in xfs_attr3_leaf_remove()
1847 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove()
1861 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove()
1866 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove()
[all …]
Dxfs_dir2_sf.c796 int entsize; /* this entry's size */ in xfs_dir2_sf_removename() local
842 entsize = dp->d_ops->sf_entsize(sfp, args->namelen); in xfs_dir2_sf_removename()
843 newsize = oldsize - entsize; in xfs_dir2_sf_removename()
847 if (byteoff + entsize < oldsize) in xfs_dir2_sf_removename()
848 memmove((char *)sfp + byteoff, (char *)sfp + byteoff + entsize, in xfs_dir2_sf_removename()
849 oldsize - (byteoff + entsize)); in xfs_dir2_sf_removename()