Lines Matching refs:ubifs_assert

209 	ubifs_assert(!ubifs_zn_obsolete(znode));  in copy_znode()
319 ubifs_assert(!zbr->leaf); in lnc_add()
320 ubifs_assert(zbr->len != 0); in lnc_add()
321 ubifs_assert(is_hash_key(c, &zbr->key)); in lnc_add()
353 ubifs_assert(!zbr->leaf); in lnc_add_directly()
354 ubifs_assert(zbr->len != 0); in lnc_add_directly()
396 ubifs_assert(is_hash_key(c, &zbr->key)); in tnc_read_node_nm()
400 ubifs_assert(zbr->len != 0); in tnc_read_node_nm()
707 ubifs_assert(*n == 0); in resolve_collision()
747 ubifs_assert(0); in resolve_collision()
752 ubifs_assert(*n == 0); in resolve_collision()
764 ubifs_assert(err == NAME_GREATER); in resolve_collision()
788 ubifs_assert(err == NAME_LESS); in resolve_collision()
829 ubifs_assert(err == 1); in fallible_matches_name()
908 ubifs_assert(*n == 0); in fallible_resolve_collision()
920 ubifs_assert(0); in fallible_resolve_collision()
925 ubifs_assert(*n == 0); in fallible_resolve_collision()
1085 ubifs_assert(c->zroot.znode); in dirty_cow_bottom_up()
1086 ubifs_assert(znode); in dirty_cow_bottom_up()
1104 ubifs_assert(p < c->zroot.znode->level); in dirty_cow_bottom_up()
1118 ubifs_assert(path[p - 1] >= 0); in dirty_cow_bottom_up()
1119 ubifs_assert(path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1123 ubifs_assert(znode == c->zroot.znode); in dirty_cow_bottom_up()
1128 ubifs_assert(path[p - 1] >= 0); in dirty_cow_bottom_up()
1129 ubifs_assert(path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
1166 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0()
1646 ubifs_assert(wbuf && lnum >= 0 && lnum < c->leb_cnt && offs >= 0); in read_wbuf()
1647 ubifs_assert(!(offs & 7) && offs < c->leb_size); in read_wbuf()
1648 ubifs_assert(offs + len <= c->leb_size); in read_wbuf()
1812 ubifs_assert(n >= 0); in do_lookup_nm()
1882 ubifs_assert(znode->parent); in correct_parent_keys()
1883 ubifs_assert(znode->iip == 0); in correct_parent_keys()
1914 ubifs_assert(ubifs_zn_dirty(znode)); in insert_zbranch()
1968 ubifs_assert(n >= 0 && n <= c->fanout); in tnc_insert()
1974 ubifs_assert(n != c->fanout); in tnc_insert()
2384 ubifs_assert(znode->level == 0); in tnc_delete()
2385 ubifs_assert(n >= 0 && n < c->fanout); in tnc_delete()
2411 ubifs_assert(!ubifs_zn_obsolete(znode)); in tnc_delete()
2412 ubifs_assert(ubifs_zn_dirty(znode)); in tnc_delete()
2434 ubifs_assert(znode->level != 0); in tnc_delete()
2467 ubifs_assert(!ubifs_zn_obsolete(zp)); in tnc_delete()
2468 ubifs_assert(ubifs_zn_dirty(zp)); in tnc_delete()
2763 ubifs_assert(is_hash_key(c, key)); in ubifs_tnc_next_ent()
2846 ubifs_assert(c->cmt_state == COMMIT_BROKEN); in tnc_destroy_cnext()
2869 ubifs_assert(freed == n); in ubifs_tnc_close()
2982 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in lookup_znode()
3021 ubifs_assert(n >= 0); in lookup_znode()
3312 ubifs_assert(err == 0); in dbg_check_inode_size()