Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_dir2_node.c661 xfs_dir2_leaf_t *leaf_d; /* destination leaf structure */ in xfs_dir2_leafn_moveents() local
676 leaf_d = bp_d->data; in xfs_dir2_leafn_moveents()
682 if (start_d < INT_GET(leaf_d->hdr.count, ARCH_CONVERT)) { in xfs_dir2_leafn_moveents()
683 memmove(&leaf_d->ents[start_d + count], &leaf_d->ents[start_d], in xfs_dir2_leafn_moveents()
684 (INT_GET(leaf_d->hdr.count, ARCH_CONVERT) - start_d) * in xfs_dir2_leafn_moveents()
687 count + INT_GET(leaf_d->hdr.count, ARCH_CONVERT) - 1); in xfs_dir2_leafn_moveents()
705 memcpy(&leaf_d->ents[start_d], &leaf_s->ents[start_s], in xfs_dir2_leafn_moveents()
722 INT_MOD(leaf_d->hdr.count, ARCH_CONVERT, count); in xfs_dir2_leafn_moveents()
723 INT_MOD(leaf_d->hdr.stale, ARCH_CONVERT, stale); in xfs_dir2_leafn_moveents()
Dxfs_dir_leaf.c1030 xfs_dir_leafblock_t *leaf_s, *leaf_d; in xfs_dir_leaf_compact() local
1058 leaf_d = bp->data; in xfs_dir_leaf_compact()
1060 hdr_d = &leaf_d->hdr; in xfs_dir_leaf_compact()
1076 xfs_dir_leaf_moveents(leaf_s, 0, leaf_d, 0, (int)INT_GET(hdr_s->count, ARCH_CONVERT), mp); in xfs_dir_leaf_compact()
1787 xfs_dir_leafblock_t *leaf_d, int start_d, in xfs_dir_leaf_moveents() argument
1804 ASSERT(INT_GET(leaf_d->hdr.info.magic, ARCH_CONVERT) == XFS_DIR_LEAF_MAGIC); in xfs_dir_leaf_moveents()
1806 hdr_d = &leaf_d->hdr; in xfs_dir_leaf_moveents()
1824 entry_s = &leaf_d->entries[start_d]; in xfs_dir_leaf_moveents()
1825 entry_d = &leaf_d->entries[start_d + count]; in xfs_dir_leaf_moveents()
1834 entry_d = &leaf_d->entries[start_d]; in xfs_dir_leaf_moveents()
[all …]
Dxfs_attr_leaf.c1079 xfs_attr_leafblock_t *leaf_s, *leaf_d; in xfs_attr_leaf_compact() local
1094 leaf_d = bp->data; in xfs_attr_leaf_compact()
1096 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_compact()
1117 xfs_attr_leaf_moveents(leaf_s, 0, leaf_d, 0, in xfs_attr_leaf_compact()
2014 xfs_attr_leafblock_t *leaf_d, int start_d, in xfs_attr_leaf_moveents() argument
2032 ASSERT(INT_GET(leaf_d->hdr.info.magic, ARCH_CONVERT) in xfs_attr_leaf_moveents()
2035 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_moveents()
2057 entry_s = &leaf_d->entries[start_d]; in xfs_attr_leaf_moveents()
2058 entry_d = &leaf_d->entries[start_d + count]; in xfs_attr_leaf_moveents()
2067 entry_d = &leaf_d->entries[start_d]; in xfs_attr_leaf_moveents()
[all …]