Lines Matching refs:RECS_PER_LEAF
95 RECS_PER_LEAF = (NODE_SIZE - (2 * sizeof(struct xfs_iext_leaf *))) / enumerator
127 struct xfs_iext_rec recs[RECS_PER_LEAF];
141 return RECS_PER_LEAF; in xfs_iext_max_recs()
235 ASSERT(cur->pos <= 0 || cur->pos >= RECS_PER_LEAF); in xfs_iext_next()
257 ASSERT(cur->pos <= 0 || cur->pos >= RECS_PER_LEAF); in xfs_iext_prev()
263 ASSERT(cur->pos <= RECS_PER_LEAF); in xfs_iext_prev()
274 cur->pos = RECS_PER_LEAF; in xfs_iext_prev()
550 const int nr_move = RECS_PER_LEAF / 2; in xfs_iext_split_leaf()
551 int nr_keep = nr_move + (RECS_PER_LEAF & 1); in xfs_iext_split_leaf()
555 if (cur->pos == RECS_PER_LEAF) { in xfs_iext_split_leaf()
607 if (new_size / sizeof(struct xfs_iext_rec) == RECS_PER_LEAF) in xfs_iext_realloc_root()
649 ASSERT(nr_entries <= RECS_PER_LEAF); in xfs_iext_insert()
653 if (nr_entries == RECS_PER_LEAF) in xfs_iext_insert()
811 if (nr_prev + nr_entries <= RECS_PER_LEAF) { in xfs_iext_rebalance_leaf()
826 if (nr_entries + nr_next <= RECS_PER_LEAF) { in xfs_iext_rebalance_leaf()
903 if (nr_entries >= RECS_PER_LEAF / 2) in xfs_iext_remove()