Home
last modified time | relevance | path

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

/linux-2.6.39/fs/xfs/
Dxfs_dir2_node.c709 xfs_dir2_leaf_t *leaf_d; /* destination leaf structure */ in xfs_dir2_leafn_moveents() local
724 leaf_d = bp_d->data; in xfs_dir2_leafn_moveents()
730 if (start_d < be16_to_cpu(leaf_d->hdr.count)) { in xfs_dir2_leafn_moveents()
731 memmove(&leaf_d->ents[start_d + count], &leaf_d->ents[start_d], in xfs_dir2_leafn_moveents()
732 (be16_to_cpu(leaf_d->hdr.count) - start_d) * in xfs_dir2_leafn_moveents()
735 count + be16_to_cpu(leaf_d->hdr.count) - 1); in xfs_dir2_leafn_moveents()
753 memcpy(&leaf_d->ents[start_d], &leaf_s->ents[start_s], in xfs_dir2_leafn_moveents()
770 be16_add_cpu(&leaf_d->hdr.count, count); in xfs_dir2_leafn_moveents()
771 be16_add_cpu(&leaf_d->hdr.stale, stale); in xfs_dir2_leafn_moveents()
Dxfs_attr_leaf.c1187 xfs_attr_leafblock_t *leaf_s, *leaf_d; in xfs_attr_leaf_compact() local
1202 leaf_d = bp->data; in xfs_attr_leaf_compact()
1204 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_compact()
1223 xfs_attr_leaf_moveents(leaf_s, 0, leaf_d, 0, in xfs_attr_leaf_compact()
2074 xfs_attr_leafblock_t *leaf_d, int start_d, in xfs_attr_leaf_moveents() argument
2091 ASSERT(be16_to_cpu(leaf_d->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC); in xfs_attr_leaf_moveents()
2093 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_moveents()
2114 entry_s = &leaf_d->entries[start_d]; in xfs_attr_leaf_moveents()
2115 entry_d = &leaf_d->entries[start_d + count]; in xfs_attr_leaf_moveents()
2124 entry_d = &leaf_d->entries[start_d]; in xfs_attr_leaf_moveents()
[all …]