Lines Matching refs:firstused
118 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_hdr_from_disk()
132 to->firstused = be16_to_cpu(from->hdr.firstused); in xfs_attr3_leaf_hdr_from_disk()
159 hdr3->firstused = cpu_to_be16(from->firstused); in xfs_attr3_leaf_hdr_to_disk()
174 to->hdr.firstused = cpu_to_be16(from->firstused); in xfs_attr3_leaf_hdr_to_disk()
1156 ichdr.firstused = XFS_LBSIZE(mp); in xfs_attr3_leaf_create()
1172 ichdr.freemap[0].size = ichdr.firstused - ichdr.freemap[0].base; in xfs_attr3_leaf_create()
1271 if (tablesize > ichdr.firstused) { in xfs_attr3_leaf_add()
1278 if (ichdr.freemap[i].base < ichdr.firstused) in xfs_attr3_leaf_add()
1424 if (be16_to_cpu(entry->nameidx) < ichdr->firstused) in xfs_attr3_leaf_add_work()
1425 ichdr->firstused = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_add_work()
1427 ASSERT(ichdr->firstused >= ichdr->count * sizeof(xfs_attr_leaf_entry_t) in xfs_attr3_leaf_add_work()
1475 ichdr_dst->firstused = XFS_LBSIZE(mp); in xfs_attr3_leaf_compact()
1480 ichdr_dst->freemap[0].size = ichdr_dst->firstused - in xfs_attr3_leaf_compact()
1640 max = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1); in xfs_attr3_leaf_rebalance()
1669 max = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1); in xfs_attr3_leaf_rebalance()
2008 ASSERT(ichdr.firstused >= ichdr.count * sizeof(*entry) + in xfs_attr3_leaf_remove()
2013 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
2077 if (be16_to_cpu(entry->nameidx) == ichdr.firstused) in xfs_attr3_leaf_remove()
2110 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
2116 ichdr.firstused = tmp; in xfs_attr3_leaf_remove()
2117 if (!ichdr.firstused) in xfs_attr3_leaf_remove()
2118 ichdr.firstused = tmp - XFS_ATTR_LEAF_NAME_ALIGN; in xfs_attr3_leaf_remove()
2207 tmphdr.firstused = state->blocksize; in xfs_attr3_leaf_unbalance()
2464 ASSERT(ichdr_s->firstused >= (ichdr_s->count * sizeof(*entry_s)) in xfs_attr3_leaf_moveents()
2467 ASSERT(ichdr_d->firstused >= (ichdr_d->count * sizeof(*entry_d)) in xfs_attr3_leaf_moveents()
2494 ASSERT(be16_to_cpu(entry_s->nameidx) >= ichdr_s->firstused); in xfs_attr3_leaf_moveents()
2512 ichdr_d->firstused -= tmp; in xfs_attr3_leaf_moveents()
2515 entry_d->nameidx = cpu_to_be16(ichdr_d->firstused); in xfs_attr3_leaf_moveents()
2530 ASSERT(ichdr_d->firstused >= tmp); in xfs_attr3_leaf_moveents()
2567 ichdr_d->freemap[0].size = ichdr_d->firstused - ichdr_d->freemap[0].base; in xfs_attr3_leaf_moveents()