Lines Matching refs:entsize
878 int tablesize, entsize, sum, i, tmp, error; in xfs_dir_leaf_add() local
884 entsize = XFS_DIR_LEAF_ENTSIZE_BYNAME(args->namelen); in xfs_dir_leaf_add()
900 tmp = entsize; in xfs_dir_leaf_add()
916 if (!hdr->holes && (sum < entsize)) in xfs_dir_leaf_add()
926 entsize + in xfs_dir_leaf_add()
936 (entsize + (uint)sizeof(xfs_dir_leaf_entry_t))) in xfs_dir_leaf_add()
1463 int before, after, smallest, entsize; in xfs_dir_leaf_remove() local
1490 entsize = XFS_DIR_LEAF_ENTSIZE_BYENTRY(entry); in xfs_dir_leaf_remove()
1501 …} else if (INT_GET(map->base, ARCH_CONVERT) == (INT_GET(entry->nameidx, ARCH_CONVERT) + entsize)) { in xfs_dir_leaf_remove()
1516 INT_MOD(map->size, ARCH_CONVERT, entsize); in xfs_dir_leaf_remove()
1522 INT_MOD(map->size, ARCH_CONVERT, entsize); in xfs_dir_leaf_remove()
1526 INT_MOD(map->size, ARCH_CONVERT, entsize); in xfs_dir_leaf_remove()
1533 if (INT_GET(map->size, ARCH_CONVERT) < entsize) { in xfs_dir_leaf_remove()
1535 INT_SET(map->size, ARCH_CONVERT, entsize); in xfs_dir_leaf_remove()
1551 memset((char *)namest, 0, entsize); in xfs_dir_leaf_remove()
1552 xfs_da_log_buf(trans, bp, XFS_DA_LOGRANGE(leaf, namest, entsize)); in xfs_dir_leaf_remove()