Lines Matching refs:ichdr_d
2440 struct xfs_attr3_icleaf_hdr *ichdr_d, in xfs_attr3_leaf_moveents() argument
2461 ASSERT(ichdr_s->magic == ichdr_d->magic); in xfs_attr3_leaf_moveents()
2465 ASSERT(ichdr_d->count < args->geo->blksize / 8); in xfs_attr3_leaf_moveents()
2466 ASSERT(ichdr_d->firstused >= (ichdr_d->count * sizeof(*entry_d)) in xfs_attr3_leaf_moveents()
2470 ASSERT(start_d <= ichdr_d->count); in xfs_attr3_leaf_moveents()
2477 if (start_d < ichdr_d->count) { in xfs_attr3_leaf_moveents()
2478 tmp = ichdr_d->count - start_d; in xfs_attr3_leaf_moveents()
2511 ichdr_d->firstused -= tmp; in xfs_attr3_leaf_moveents()
2514 entry_d->nameidx = cpu_to_be16(ichdr_d->firstused); in xfs_attr3_leaf_moveents()
2524 ichdr_d->usedbytes += tmp; in xfs_attr3_leaf_moveents()
2526 ichdr_d->count += 1; in xfs_attr3_leaf_moveents()
2527 tmp = ichdr_d->count * sizeof(xfs_attr_leaf_entry_t) in xfs_attr3_leaf_moveents()
2529 ASSERT(ichdr_d->firstused >= tmp); in xfs_attr3_leaf_moveents()
2564 ichdr_d->freemap[0].base = xfs_attr3_leaf_hdr_size(leaf_d); in xfs_attr3_leaf_moveents()
2565 ichdr_d->freemap[0].base += ichdr_d->count * sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_moveents()
2566 ichdr_d->freemap[0].size = ichdr_d->firstused - ichdr_d->freemap[0].base; in xfs_attr3_leaf_moveents()
2567 ichdr_d->freemap[1].base = 0; in xfs_attr3_leaf_moveents()
2568 ichdr_d->freemap[2].base = 0; in xfs_attr3_leaf_moveents()
2569 ichdr_d->freemap[1].size = 0; in xfs_attr3_leaf_moveents()
2570 ichdr_d->freemap[2].size = 0; in xfs_attr3_leaf_moveents()