Lines Matching refs:ichdr_d

2327 	struct xfs_attr3_icleaf_hdr	*ichdr_d,  in xfs_attr3_leaf_moveents()  argument
2348 ASSERT(ichdr_s->magic == ichdr_d->magic); in xfs_attr3_leaf_moveents()
2352 ASSERT(ichdr_d->count < args->geo->blksize / 8); in xfs_attr3_leaf_moveents()
2353 ASSERT(ichdr_d->firstused >= (ichdr_d->count * sizeof(*entry_d)) in xfs_attr3_leaf_moveents()
2357 ASSERT(start_d <= ichdr_d->count); in xfs_attr3_leaf_moveents()
2364 if (start_d < ichdr_d->count) { in xfs_attr3_leaf_moveents()
2365 tmp = ichdr_d->count - start_d; in xfs_attr3_leaf_moveents()
2398 ichdr_d->firstused -= tmp; in xfs_attr3_leaf_moveents()
2401 entry_d->nameidx = cpu_to_be16(ichdr_d->firstused); in xfs_attr3_leaf_moveents()
2411 ichdr_d->usedbytes += tmp; in xfs_attr3_leaf_moveents()
2413 ichdr_d->count += 1; in xfs_attr3_leaf_moveents()
2414 tmp = ichdr_d->count * sizeof(xfs_attr_leaf_entry_t) in xfs_attr3_leaf_moveents()
2416 ASSERT(ichdr_d->firstused >= tmp); in xfs_attr3_leaf_moveents()
2451 ichdr_d->freemap[0].base = xfs_attr3_leaf_hdr_size(leaf_d); in xfs_attr3_leaf_moveents()
2452 ichdr_d->freemap[0].base += ichdr_d->count * sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_moveents()
2453 ichdr_d->freemap[0].size = ichdr_d->firstused - ichdr_d->freemap[0].base; in xfs_attr3_leaf_moveents()
2454 ichdr_d->freemap[1].base = 0; in xfs_attr3_leaf_moveents()
2455 ichdr_d->freemap[2].base = 0; in xfs_attr3_leaf_moveents()
2456 ichdr_d->freemap[1].size = 0; in xfs_attr3_leaf_moveents()
2457 ichdr_d->freemap[2].size = 0; in xfs_attr3_leaf_moveents()