Lines Matching refs:ubifs_assert
239 ubifs_assert(c, nrbits > 0); in pack_bits()
240 ubifs_assert(c, nrbits <= 32); in pack_bits()
241 ubifs_assert(c, *pos >= 0); in pack_bits()
242 ubifs_assert(c, *pos < 8); in pack_bits()
243 ubifs_assert(c, (val >> nrbits) == 0 || nrbits == 32); in pack_bits()
293 ubifs_assert(c, nrbits > 0); in ubifs_unpack_bits()
294 ubifs_assert(c, nrbits <= 32); in ubifs_unpack_bits()
295 ubifs_assert(c, *pos >= 0); in ubifs_unpack_bits()
296 ubifs_assert(c, *pos < 8); in ubifs_unpack_bits()
342 ubifs_assert(c, (val >> nrbits) == 0 || nrbits - b == 32); in ubifs_unpack_bits()
470 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in ubifs_add_lpt_dirt()
486 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in set_ltab()
644 ubifs_assert(c, !c->ltab); in ubifs_create_dflt_lpt()
1520 ubifs_assert(c, !test_bit(OBSOLETE_CNODE, &nnode->flags)); in dirty_cow_nnode()
1563 ubifs_assert(c, !test_bit(OBSOLETE_CNODE, &pnode->flags)); in dirty_cow_pnode()
1618 ubifs_assert(c, test_bit(DIRTY_CNODE, &pnode->flags)); in ubifs_lpt_lookup_dirty()
1894 ubifs_assert(c, branch->lnum >= c->lpt_first && in scan_get_pnode()
1896 ubifs_assert(c, branch->offs >= 0 && branch->offs < c->leb_size); in scan_get_pnode()
1940 ubifs_assert(c, start_lnum >= c->main_first && start_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock()
1941 ubifs_assert(c, end_lnum >= c->main_first && end_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock()
2060 ubifs_assert(c, h >= 0); in ubifs_lpt_scan_nolock()
2239 ubifs_assert(c, row >= 0); in dbg_check_lpt_nodes()