Lines Matching refs:entsize
877 int tablesize, entsize, sum, tmp, i; in xfs_attr_leaf_add() local
885 entsize = xfs_attr_leaf_newentsize(args, in xfs_attr_leaf_add()
903 tmp = entsize; in xfs_attr_leaf_add()
919 if (!hdr->holes && (sum < entsize)) in xfs_attr_leaf_add()
933 < (entsize + sizeof(xfs_attr_leaf_entry_t))) in xfs_attr_leaf_add()
1551 int before, after, smallest, entsize; in xfs_attr_leaf_remove() local
1585 entsize = xfs_attr_leaf_entsize(leaf, args->index); in xfs_attr_leaf_remove()
1601 == (INT_GET(entry->nameidx, ARCH_CONVERT) + entsize)) { in xfs_attr_leaf_remove()
1616 INT_MOD(map->size, ARCH_CONVERT, entsize); in xfs_attr_leaf_remove()
1624 INT_MOD(map->size, ARCH_CONVERT, entsize); in xfs_attr_leaf_remove()
1629 INT_MOD(map->size, ARCH_CONVERT, entsize); in xfs_attr_leaf_remove()
1636 if (INT_GET(map->size, ARCH_CONVERT) < entsize) { in xfs_attr_leaf_remove()
1639 INT_SET(map->size, ARCH_CONVERT, entsize); in xfs_attr_leaf_remove()
1655 memset(XFS_ATTR_LEAF_NAME(leaf, args->index), 0, entsize); in xfs_attr_leaf_remove()
1656 INT_MOD(hdr->usedbytes, ARCH_CONVERT, -entsize); in xfs_attr_leaf_remove()
1659 entsize)); in xfs_attr_leaf_remove()