Lines Matching refs:ASSERT
61 ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0); in xfs_iext_set()
62 ASSERT((irec->br_blockcount & ~XFS_IEXT_LENGTH_MASK) == 0); in xfs_iext_set()
63 ASSERT((irec->br_startblock & ~XFS_IEXT_STARTBLOCK_MASK) == 0); in xfs_iext_set()
173 ASSERT(node); in xfs_iext_find_first_leaf()
194 ASSERT(node); in xfs_iext_find_last_leaf()
235 ASSERT(cur->pos <= 0 || cur->pos >= RECS_PER_LEAF); in xfs_iext_next()
240 ASSERT(cur->pos >= 0); in xfs_iext_next()
241 ASSERT(cur->pos < xfs_iext_max_recs(ifp)); in xfs_iext_next()
257 ASSERT(cur->pos <= 0 || cur->pos >= RECS_PER_LEAF); in xfs_iext_prev()
262 ASSERT(cur->pos >= 0); in xfs_iext_prev()
263 ASSERT(cur->pos <= RECS_PER_LEAF); in xfs_iext_prev()
416 ASSERT(ifp->if_height > 1); in xfs_iext_grow()
448 ASSERT(node); in xfs_iext_update_node()
451 ASSERT(node == ptr); in xfs_iext_update_node()
515 ASSERT(pos >= nr_entries || xfs_iext_key_cmp(node, pos, offset) != 0); in xfs_iext_insert_node()
516 ASSERT(nr_entries <= KEYS_PER_NODE); in xfs_iext_insert_node()
588 ASSERT(ifp->if_bytes == 0); in xfs_iext_alloc_root()
649 ASSERT(nr_entries <= RECS_PER_LEAF); in xfs_iext_insert()
650 ASSERT(cur->pos >= nr_entries || in xfs_iext_insert()
736 ASSERT(level <= ifp->if_height); in xfs_iext_remove_node()
740 ASSERT(node->ptrs[pos]); in xfs_iext_remove_node()
741 ASSERT(node->ptrs[pos] == victim); in xfs_iext_remove_node()
771 ASSERT(pos != KEYS_PER_NODE); in xfs_iext_remove_node()
772 ASSERT(parent->ptrs[pos] == node); in xfs_iext_remove_node()
785 ASSERT(node == ifp->if_u1.if_root); in xfs_iext_remove_node()
879 ASSERT(ifp->if_height > 0); in xfs_iext_remove()
880 ASSERT(ifp->if_u1.if_root != NULL); in xfs_iext_remove()
881 ASSERT(xfs_iext_valid(ifp, cur)); in xfs_iext_remove()