• Home
  • Raw
  • Download

Lines Matching refs:ubifs_assert

76 	ubifs_assert(gc_lnum != -1);  in switch_gc_head()
128 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
129 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
130 ubifs_assert(sa->type == UBIFS_DATA_NODE); in data_nodes_cmp()
131 ubifs_assert(sb->type == UBIFS_DATA_NODE); in data_nodes_cmp()
172 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp()
174 ubifs_assert(sa->type != UBIFS_DATA_NODE && in nondata_nodes_cmp()
186 ubifs_assert(key_type(c, &sa->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp()
188 ubifs_assert(key_type(c, &sb->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp()
190 ubifs_assert(sa->type == UBIFS_DENT_NODE || in nondata_nodes_cmp()
192 ubifs_assert(sb->type == UBIFS_DENT_NODE || in nondata_nodes_cmp()
247 ubifs_assert(snod->type == UBIFS_INO_NODE || in sort_nodes()
263 ubifs_assert(key_type(c, &snod->key) == UBIFS_DATA_KEY || in sort_nodes()
466 ubifs_assert(c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || in ubifs_garbage_collect_leb()
468 ubifs_assert(c->gc_lnum != lnum); in ubifs_garbage_collect_leb()
469 ubifs_assert(wbuf->lnum != lnum); in ubifs_garbage_collect_leb()
474 ubifs_assert(!(lp->flags & LPROPS_INDEX)); in ubifs_garbage_collect_leb()
510 ubifs_assert(!list_empty(&sleb->nodes)); in ubifs_garbage_collect_leb()
522 ubifs_assert(snod->type == UBIFS_IDX_NODE); in ubifs_garbage_collect_leb()
645 ubifs_assert(!c->ro_media && !c->ro_mount); in ubifs_garbage_collect()
658 ubifs_assert(!wbuf->used); in ubifs_garbage_collect()
749 ubifs_assert(ret == LEB_RETAINED); in ubifs_garbage_collect()
809 ubifs_assert(ret < 0); in ubifs_garbage_collect()
810 ubifs_assert(ret != -ENOSPC && ret != -EAGAIN); in ubifs_garbage_collect()
849 ubifs_assert(!(lp->flags & LPROPS_TAKEN)); in ubifs_gc_start_commit()
850 ubifs_assert(!(lp->flags & LPROPS_INDEX)); in ubifs_gc_start_commit()
859 ubifs_assert(!(lp->flags & LPROPS_TAKEN)); in ubifs_gc_start_commit()
860 ubifs_assert(!(lp->flags & LPROPS_INDEX)); in ubifs_gc_start_commit()
881 ubifs_assert(!(lp->flags & LPROPS_TAKEN)); in ubifs_gc_start_commit()
882 ubifs_assert(lp->flags & LPROPS_INDEX); in ubifs_gc_start_commit()
891 ubifs_assert(lp->flags & LPROPS_TAKEN); in ubifs_gc_start_commit()
892 ubifs_assert(!(lp->flags & LPROPS_INDEX)); in ubifs_gc_start_commit()