Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_attr_leaf.c1364 int entsize; in xfs_attr3_leaf_add() local
1374 entsize = xfs_attr_leaf_newentsize(args, NULL); in xfs_attr3_leaf_add()
1389 tmp = entsize; in xfs_attr3_leaf_add()
1404 if (!ichdr.holes && sum < entsize) in xfs_attr3_leaf_add()
1417 if (ichdr.freemap[0].size < (entsize + sizeof(xfs_attr_leaf_entry_t))) { in xfs_attr3_leaf_add()
2093 int entsize; in xfs_attr3_leaf_remove() local
2124 entsize = xfs_attr_leaf_entsize(leaf, args->index); in xfs_attr3_leaf_remove()
2137 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove()
2151 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove()
2156 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove()
[all …]
Dxfs_dir2_sf.c948 int entsize; /* this entry's size */ in xfs_dir2_sf_removename() local
986 entsize = xfs_dir2_sf_entsize(mp, sfp, args->namelen); in xfs_dir2_sf_removename()
987 newsize = oldsize - entsize; in xfs_dir2_sf_removename()
991 if (byteoff + entsize < oldsize) in xfs_dir2_sf_removename()
992 memmove((char *)sfp + byteoff, (char *)sfp + byteoff + entsize, in xfs_dir2_sf_removename()
993 oldsize - (byteoff + entsize)); in xfs_dir2_sf_removename()