Lines Matching refs:ichdr_s
2324 struct xfs_attr3_icleaf_hdr *ichdr_s, in xfs_attr3_leaf_moveents() argument
2346 ASSERT(ichdr_s->magic == XFS_ATTR_LEAF_MAGIC || in xfs_attr3_leaf_moveents()
2347 ichdr_s->magic == XFS_ATTR3_LEAF_MAGIC); in xfs_attr3_leaf_moveents()
2348 ASSERT(ichdr_s->magic == ichdr_d->magic); in xfs_attr3_leaf_moveents()
2349 ASSERT(ichdr_s->count > 0 && ichdr_s->count < args->geo->blksize / 8); in xfs_attr3_leaf_moveents()
2350 ASSERT(ichdr_s->firstused >= (ichdr_s->count * sizeof(*entry_s)) in xfs_attr3_leaf_moveents()
2356 ASSERT(start_s < ichdr_s->count); in xfs_attr3_leaf_moveents()
2358 ASSERT(count <= ichdr_s->count); in xfs_attr3_leaf_moveents()
2380 ASSERT(be16_to_cpu(entry_s->nameidx) >= ichdr_s->firstused); in xfs_attr3_leaf_moveents()
2390 ichdr_s->usedbytes -= tmp; in xfs_attr3_leaf_moveents()
2391 ichdr_s->count -= 1; in xfs_attr3_leaf_moveents()
2410 ichdr_s->usedbytes -= tmp; in xfs_attr3_leaf_moveents()
2412 ichdr_s->count -= 1; in xfs_attr3_leaf_moveents()
2425 if (start_s == ichdr_s->count) { in xfs_attr3_leaf_moveents()
2436 tmp = (ichdr_s->count - count) * sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_moveents()
2442 entry_s = &xfs_attr3_leaf_entryp(leaf_s)[ichdr_s->count]; in xfs_attr3_leaf_moveents()
2458 ichdr_s->holes = 1; /* leaf may not be compact */ in xfs_attr3_leaf_moveents()