Lines Matching refs:ubifs_assert
204 ubifs_assert(!ubifs_zn_obsolete(znode)); in copy_znode()
314 ubifs_assert(!zbr->leaf); in lnc_add()
315 ubifs_assert(zbr->len != 0); in lnc_add()
316 ubifs_assert(is_hash_key(c, &zbr->key)); in lnc_add()
348 ubifs_assert(!zbr->leaf); in lnc_add_directly()
349 ubifs_assert(zbr->len != 0); in lnc_add_directly()
391 ubifs_assert(is_hash_key(c, &zbr->key)); in tnc_read_node_nm()
395 ubifs_assert(zbr->len != 0); in tnc_read_node_nm()
702 ubifs_assert(*n == 0); in resolve_collision()
742 ubifs_assert(0); in resolve_collision()
747 ubifs_assert(*n == 0); in resolve_collision()
759 ubifs_assert(err == NAME_GREATER); in resolve_collision()
783 ubifs_assert(err == NAME_LESS); in resolve_collision()
824 ubifs_assert(err == 1); in fallible_matches_name()
903 ubifs_assert(*n == 0); in fallible_resolve_collision()
915 ubifs_assert(0); in fallible_resolve_collision()
920 ubifs_assert(*n == 0); in fallible_resolve_collision()
1080 ubifs_assert(c->zroot.znode); in dirty_cow_bottom_up()
1081 ubifs_assert(znode); in dirty_cow_bottom_up()
1099 ubifs_assert(p < c->zroot.znode->level); in dirty_cow_bottom_up()
1113 ubifs_assert(path[p - 1] >= 0); in dirty_cow_bottom_up()
1114 ubifs_assert(path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1118 ubifs_assert(znode == c->zroot.znode); in dirty_cow_bottom_up()
1123 ubifs_assert(path[p - 1] >= 0); in dirty_cow_bottom_up()
1124 ubifs_assert(path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
1161 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0()
1641 ubifs_assert(wbuf && lnum >= 0 && lnum < c->leb_cnt && offs >= 0); in read_wbuf()
1642 ubifs_assert(!(offs & 7) && offs < c->leb_size); in read_wbuf()
1643 ubifs_assert(offs + len <= c->leb_size); in read_wbuf()
1807 ubifs_assert(n >= 0); in do_lookup_nm()
1877 ubifs_assert(znode->parent); in correct_parent_keys()
1878 ubifs_assert(znode->iip == 0); in correct_parent_keys()
1909 ubifs_assert(ubifs_zn_dirty(znode)); in insert_zbranch()
1963 ubifs_assert(n >= 0 && n <= c->fanout); in tnc_insert()
1969 ubifs_assert(n != c->fanout); in tnc_insert()
2379 ubifs_assert(znode->level == 0); in tnc_delete()
2380 ubifs_assert(n >= 0 && n < c->fanout); in tnc_delete()
2406 ubifs_assert(!ubifs_zn_obsolete(znode)); in tnc_delete()
2407 ubifs_assert(ubifs_zn_dirty(znode)); in tnc_delete()
2429 ubifs_assert(znode->level != 0); in tnc_delete()
2462 ubifs_assert(!ubifs_zn_obsolete(zp)); in tnc_delete()
2463 ubifs_assert(ubifs_zn_dirty(zp)); in tnc_delete()
2758 ubifs_assert(is_hash_key(c, key)); in ubifs_tnc_next_ent()
2841 ubifs_assert(c->cmt_state == COMMIT_BROKEN); in tnc_destroy_cnext()
2864 ubifs_assert(freed == n); in ubifs_tnc_close()
2977 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in lookup_znode()
3016 ubifs_assert(n >= 0); in lookup_znode()
3307 ubifs_assert(err == 0); in dbg_check_inode_size()