Searched refs:hdr_d (Results 1 – 2 of 2) sorted by relevance
1014 xfs_dir_leaf_hdr_t *hdr_s, *hdr_d; in xfs_dir_leaf_compact() local1043 hdr_d = &leaf_d->hdr; in xfs_dir_leaf_compact()1044 hdr_d->info = hdr_s->info; /* struct copy */ in xfs_dir_leaf_compact()1045 INT_SET(hdr_d->firstused, ARCH_CONVERT, lbsize); in xfs_dir_leaf_compact()1046 if (!hdr_d->firstused) in xfs_dir_leaf_compact()1047 INT_SET(hdr_d->firstused, ARCH_CONVERT, lbsize - 1); in xfs_dir_leaf_compact()1048 hdr_d->namebytes = 0; in xfs_dir_leaf_compact()1049 hdr_d->count = 0; in xfs_dir_leaf_compact()1050 hdr_d->holes = 0; in xfs_dir_leaf_compact()1051 INT_SET(hdr_d->freemap[0].base, ARCH_CONVERT, sizeof(xfs_dir_leaf_hdr_t)); in xfs_dir_leaf_compact()[all …]
1182 xfs_attr_leaf_hdr_t *hdr_s, *hdr_d; in xfs_attr_leaf_compact() local1198 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_compact()1199 hdr_d->info = hdr_s->info; /* struct copy */ in xfs_attr_leaf_compact()1200 hdr_d->firstused = cpu_to_be16(XFS_LBSIZE(mp)); in xfs_attr_leaf_compact()1202 if (!hdr_d->firstused) { in xfs_attr_leaf_compact()1203 hdr_d->firstused = cpu_to_be16( in xfs_attr_leaf_compact()1206 hdr_d->usedbytes = 0; in xfs_attr_leaf_compact()1207 hdr_d->count = 0; in xfs_attr_leaf_compact()1208 hdr_d->holes = 0; in xfs_attr_leaf_compact()1209 hdr_d->freemap[0].base = cpu_to_be16(sizeof(xfs_attr_leaf_hdr_t)); in xfs_attr_leaf_compact()[all …]