Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_dir_leaf.c1791 xfs_dir_leaf_entry_t *entry_s, *entry_d; in xfs_dir_leaf_moveents() local
1812 ((INT_GET(hdr_d->count, ARCH_CONVERT)*sizeof(*entry_d))+sizeof(*hdr_d))); in xfs_dir_leaf_moveents()
1825 entry_d = &leaf_d->entries[start_d + count]; in xfs_dir_leaf_moveents()
1826 memcpy(entry_d, entry_s, tmp); in xfs_dir_leaf_moveents()
1834 entry_d = &leaf_d->entries[start_d]; in xfs_dir_leaf_moveents()
1835 for (i = 0; i < count; entry_s++, entry_d++, i++) { in xfs_dir_leaf_moveents()
1839 entry_d->hashval = entry_s->hashval; /* INT_: direct copy */ in xfs_dir_leaf_moveents()
1840 INT_COPY(entry_d->nameidx, hdr_d->firstused, ARCH_CONVERT); in xfs_dir_leaf_moveents()
1841 entry_d->namelen = entry_s->namelen; in xfs_dir_leaf_moveents()
1842 ASSERT(INT_GET(entry_d->nameidx, ARCH_CONVERT) + tmp <= XFS_LBSIZE(mp)); in xfs_dir_leaf_moveents()
[all …]
Dxfs_attr_leaf.c2018 xfs_attr_leaf_entry_t *entry_s, *entry_d; in xfs_attr_leaf_moveents() local
2045 * sizeof(*entry_d))+sizeof(*hdr_d))); in xfs_attr_leaf_moveents()
2058 entry_d = &leaf_d->entries[start_d + count]; in xfs_attr_leaf_moveents()
2059 memmove((char *)entry_d, (char *)entry_s, tmp); in xfs_attr_leaf_moveents()
2067 entry_d = &leaf_d->entries[start_d]; in xfs_attr_leaf_moveents()
2069 for (i = 0; i < count; entry_s++, entry_d++, desti++, i++) { in xfs_attr_leaf_moveents()
2083 entry_d--; /* to compensate for ++ in loop hdr */ in xfs_attr_leaf_moveents()
2091 entry_d->hashval = entry_s->hashval; in xfs_attr_leaf_moveents()
2093 entry_d->nameidx = hdr_d->firstused; in xfs_attr_leaf_moveents()
2094 entry_d->flags = entry_s->flags; in xfs_attr_leaf_moveents()
[all …]