Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_dir_leaf.c878 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()
[all …]
Dxfs_attr_leaf.c877 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()
[all …]
Dxfs_dir2_sf.c941 int entsize; /* this entry's size */ in xfs_dir2_sf_removename() local
990 entsize = XFS_DIR2_SF_ENTSIZE_BYNAME(sfp, args->namelen); in xfs_dir2_sf_removename()
991 newsize = oldsize - entsize; in xfs_dir2_sf_removename()
995 if (byteoff + entsize < oldsize) in xfs_dir2_sf_removename()
996 memmove((char *)sfp + byteoff, (char *)sfp + byteoff + entsize, in xfs_dir2_sf_removename()
997 oldsize - (byteoff + entsize)); in xfs_dir2_sf_removename()