Lines Matching refs:ubifs_assert
239 ubifs_assert(c, !ubifs_zn_obsolete(old_zn)); in replace_znode()
350 ubifs_assert(c, !zbr->leaf); in lnc_add()
351 ubifs_assert(c, zbr->len != 0); in lnc_add()
352 ubifs_assert(c, is_hash_key(c, &zbr->key)); in lnc_add()
384 ubifs_assert(c, !zbr->leaf); in lnc_add_directly()
385 ubifs_assert(c, zbr->len != 0); in lnc_add_directly()
426 ubifs_assert(c, is_hash_key(c, &zbr->key)); in tnc_read_hashed_node()
430 ubifs_assert(c, zbr->len != 0); in tnc_read_hashed_node()
754 ubifs_assert(c, *n == 0); in resolve_collision()
794 ubifs_assert(c, 0); in resolve_collision()
799 ubifs_assert(c, *n == 0); in resolve_collision()
811 ubifs_assert(c, err == NAME_GREATER); in resolve_collision()
835 ubifs_assert(c, err == NAME_LESS); in resolve_collision()
876 ubifs_assert(c, err == 1); in fallible_matches_name()
956 ubifs_assert(c, *n == 0); in fallible_resolve_collision()
968 ubifs_assert(c, 0); in fallible_resolve_collision()
973 ubifs_assert(c, *n == 0); in fallible_resolve_collision()
1133 ubifs_assert(c, c->zroot.znode); in dirty_cow_bottom_up()
1134 ubifs_assert(c, znode); in dirty_cow_bottom_up()
1153 ubifs_assert(c, p < c->zroot.znode->level); in dirty_cow_bottom_up()
1167 ubifs_assert(c, path[p - 1] >= 0); in dirty_cow_bottom_up()
1168 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1172 ubifs_assert(c, znode == c->zroot.znode); in dirty_cow_bottom_up()
1177 ubifs_assert(c, path[p - 1] >= 0); in dirty_cow_bottom_up()
1178 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
1215 ubifs_assert(c, key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0()
1691 ubifs_assert(c, wbuf && lnum >= 0 && lnum < c->leb_cnt && offs >= 0); in read_wbuf()
1692 ubifs_assert(c, !(offs & 7) && offs < c->leb_size); in read_wbuf()
1693 ubifs_assert(c, offs + len <= c->leb_size); in read_wbuf()
1863 ubifs_assert(c, n >= 0); in do_lookup_nm()
1967 ubifs_assert(c, is_hash_key(c, key)); in do_lookup_dh()
2038 ubifs_assert(c, znode->parent); in correct_parent_keys()
2039 ubifs_assert(c, znode->iip == 0); in correct_parent_keys()
2071 ubifs_assert(c, ubifs_zn_dirty(znode)); in insert_zbranch()
2125 ubifs_assert(c, n >= 0 && n <= c->fanout); in tnc_insert()
2131 ubifs_assert(c, n != c->fanout); in tnc_insert()
2547 ubifs_assert(c, znode->level == 0); in tnc_delete()
2548 ubifs_assert(c, n >= 0 && n < c->fanout); in tnc_delete()
2574 ubifs_assert(c, !ubifs_zn_obsolete(znode)); in tnc_delete()
2575 ubifs_assert(c, ubifs_zn_dirty(znode)); in tnc_delete()
2597 ubifs_assert(c, znode->level != 0); in tnc_delete()
2630 ubifs_assert(c, !ubifs_zn_obsolete(zp)); in tnc_delete()
2631 ubifs_assert(c, ubifs_zn_dirty(zp)); in tnc_delete()
2999 ubifs_assert(c, is_hash_key(c, key)); in ubifs_tnc_next_ent()
3086 ubifs_assert(c, c->cmt_state == COMMIT_BROKEN); in tnc_destroy_cnext()
3230 ubifs_assert(c, key_type(c, key) < UBIFS_INVALID_KEY); in lookup_znode()
3269 ubifs_assert(c, n >= 0); in lookup_znode()
3560 ubifs_assert(c, err == 0); in dbg_check_inode_size()