Lines Matching refs:hdr_d

1080 	xfs_attr_leaf_hdr_t *hdr_s, *hdr_d;  in xfs_attr_leaf_compact()  local
1096 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_compact()
1097 hdr_d->info = hdr_s->info; /* struct copy */ in xfs_attr_leaf_compact()
1098 INT_SET(hdr_d->firstused, ARCH_CONVERT, XFS_LBSIZE(mp)); in xfs_attr_leaf_compact()
1100 if (INT_ISZERO(hdr_d->firstused, ARCH_CONVERT)) { in xfs_attr_leaf_compact()
1101 INT_SET(hdr_d->firstused, ARCH_CONVERT, in xfs_attr_leaf_compact()
1104 INT_ZERO(hdr_d->usedbytes, ARCH_CONVERT); in xfs_attr_leaf_compact()
1105 INT_ZERO(hdr_d->count, ARCH_CONVERT); in xfs_attr_leaf_compact()
1106 hdr_d->holes = 0; in xfs_attr_leaf_compact()
1107 INT_SET(hdr_d->freemap[0].base, ARCH_CONVERT, in xfs_attr_leaf_compact()
1109 INT_SET(hdr_d->freemap[0].size, ARCH_CONVERT, in xfs_attr_leaf_compact()
1110 INT_GET(hdr_d->firstused, ARCH_CONVERT) in xfs_attr_leaf_compact()
1111 - INT_GET(hdr_d->freemap[0].base, ARCH_CONVERT)); in xfs_attr_leaf_compact()
2017 xfs_attr_leaf_hdr_t *hdr_s, *hdr_d; in xfs_attr_leaf_moveents() local
2035 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_moveents()
2042 ASSERT(INT_GET(hdr_d->count, ARCH_CONVERT) < (XFS_LBSIZE(mp)/8)); in xfs_attr_leaf_moveents()
2043 ASSERT(INT_GET(hdr_d->firstused, ARCH_CONVERT) >= in xfs_attr_leaf_moveents()
2044 ((INT_GET(hdr_d->count, ARCH_CONVERT) in xfs_attr_leaf_moveents()
2045 * sizeof(*entry_d))+sizeof(*hdr_d))); in xfs_attr_leaf_moveents()
2048 ASSERT(start_d <= INT_GET(hdr_d->count, ARCH_CONVERT)); in xfs_attr_leaf_moveents()
2054 if (start_d < INT_GET(hdr_d->count, ARCH_CONVERT)) { in xfs_attr_leaf_moveents()
2055 tmp = INT_GET(hdr_d->count, ARCH_CONVERT) - start_d; in xfs_attr_leaf_moveents()
2089 INT_MOD(hdr_d->firstused, ARCH_CONVERT, -tmp); in xfs_attr_leaf_moveents()
2093 entry_d->nameidx = hdr_d->firstused; in xfs_attr_leaf_moveents()
2103 INT_MOD(hdr_d->usedbytes, ARCH_CONVERT, tmp); in xfs_attr_leaf_moveents()
2105 INT_MOD(hdr_d->count, ARCH_CONVERT, 1); in xfs_attr_leaf_moveents()
2106 tmp = INT_GET(hdr_d->count, ARCH_CONVERT) in xfs_attr_leaf_moveents()
2109 ASSERT(INT_GET(hdr_d->firstused, ARCH_CONVERT) >= tmp); in xfs_attr_leaf_moveents()
2146 INT_SET(hdr_d->freemap[0].base, ARCH_CONVERT, in xfs_attr_leaf_moveents()
2148 INT_MOD(hdr_d->freemap[0].base, ARCH_CONVERT, in xfs_attr_leaf_moveents()
2149 INT_GET(hdr_d->count, ARCH_CONVERT) in xfs_attr_leaf_moveents()
2151 INT_SET(hdr_d->freemap[0].size, ARCH_CONVERT, in xfs_attr_leaf_moveents()
2152 INT_GET(hdr_d->firstused, ARCH_CONVERT) in xfs_attr_leaf_moveents()
2153 - INT_GET(hdr_d->freemap[0].base, ARCH_CONVERT)); in xfs_attr_leaf_moveents()
2154 INT_ZERO(hdr_d->freemap[1].base, ARCH_CONVERT); in xfs_attr_leaf_moveents()
2155 INT_ZERO(hdr_d->freemap[2].base, ARCH_CONVERT); in xfs_attr_leaf_moveents()
2156 INT_ZERO(hdr_d->freemap[1].size, ARCH_CONVERT); in xfs_attr_leaf_moveents()
2157 INT_ZERO(hdr_d->freemap[2].size, ARCH_CONVERT); in xfs_attr_leaf_moveents()