Lines Matching refs:ubifs_assert
238 ubifs_assert(c, !ubifs_zn_obsolete(old_zn)); in replace_znode()
349 ubifs_assert(c, !zbr->leaf); in lnc_add()
350 ubifs_assert(c, zbr->len != 0); in lnc_add()
351 ubifs_assert(c, is_hash_key(c, &zbr->key)); in lnc_add()
383 ubifs_assert(c, !zbr->leaf); in lnc_add_directly()
384 ubifs_assert(c, zbr->len != 0); in lnc_add_directly()
425 ubifs_assert(c, is_hash_key(c, &zbr->key)); in tnc_read_hashed_node()
429 ubifs_assert(c, zbr->len != 0); in tnc_read_hashed_node()
753 ubifs_assert(c, *n == 0); in resolve_collision()
793 ubifs_assert(c, 0); in resolve_collision()
798 ubifs_assert(c, *n == 0); in resolve_collision()
810 ubifs_assert(c, err == NAME_GREATER); in resolve_collision()
834 ubifs_assert(c, err == NAME_LESS); in resolve_collision()
875 ubifs_assert(c, err == 1); in fallible_matches_name()
955 ubifs_assert(c, *n == 0); in fallible_resolve_collision()
967 ubifs_assert(c, 0); in fallible_resolve_collision()
972 ubifs_assert(c, *n == 0); in fallible_resolve_collision()
1132 ubifs_assert(c, c->zroot.znode); in dirty_cow_bottom_up()
1133 ubifs_assert(c, znode); in dirty_cow_bottom_up()
1152 ubifs_assert(c, p < c->zroot.znode->level); in dirty_cow_bottom_up()
1166 ubifs_assert(c, path[p - 1] >= 0); in dirty_cow_bottom_up()
1167 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1171 ubifs_assert(c, znode == c->zroot.znode); in dirty_cow_bottom_up()
1176 ubifs_assert(c, path[p - 1] >= 0); in dirty_cow_bottom_up()
1177 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
1214 ubifs_assert(c, key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0()
1690 ubifs_assert(c, wbuf && lnum >= 0 && lnum < c->leb_cnt && offs >= 0); in read_wbuf()
1691 ubifs_assert(c, !(offs & 7) && offs < c->leb_size); in read_wbuf()
1692 ubifs_assert(c, offs + len <= c->leb_size); in read_wbuf()
1862 ubifs_assert(c, n >= 0); in do_lookup_nm()
1966 ubifs_assert(c, is_hash_key(c, key)); in do_lookup_dh()
2037 ubifs_assert(c, znode->parent); in correct_parent_keys()
2038 ubifs_assert(c, znode->iip == 0); in correct_parent_keys()
2070 ubifs_assert(c, ubifs_zn_dirty(znode)); in insert_zbranch()
2124 ubifs_assert(c, n >= 0 && n <= c->fanout); in tnc_insert()
2130 ubifs_assert(c, n != c->fanout); in tnc_insert()
2546 ubifs_assert(c, znode->level == 0); in tnc_delete()
2547 ubifs_assert(c, n >= 0 && n < c->fanout); in tnc_delete()
2573 ubifs_assert(c, !ubifs_zn_obsolete(znode)); in tnc_delete()
2574 ubifs_assert(c, ubifs_zn_dirty(znode)); in tnc_delete()
2596 ubifs_assert(c, znode->level != 0); in tnc_delete()
2629 ubifs_assert(c, !ubifs_zn_obsolete(zp)); in tnc_delete()
2630 ubifs_assert(c, ubifs_zn_dirty(zp)); in tnc_delete()
2998 ubifs_assert(c, is_hash_key(c, key)); in ubifs_tnc_next_ent()
3085 ubifs_assert(c, c->cmt_state == COMMIT_BROKEN); in tnc_destroy_cnext()
3123 ubifs_assert(c, freed == n); in ubifs_tnc_close()
3236 ubifs_assert(c, key_type(c, key) < UBIFS_INVALID_KEY); in lookup_znode()
3275 ubifs_assert(c, n >= 0); in lookup_znode()
3566 ubifs_assert(c, err == 0); in dbg_check_inode_size()