Lines Matching refs:ubi_assert
180 ubi_assert(dst && vol && vol->eba_tbl); in ubi_eba_copy_table()
293 ubi_assert(lnum != le1->lnum); in ltree_add_entry()
344 ubi_assert(le->users >= 0); in leb_read_unlock()
397 ubi_assert(le->users >= 0); in leb_write_trylock()
420 ubi_assert(le->users >= 0); in leb_write_unlock()
526 ubi_assert(0); in check_mapping()
546 ubi_assert(err == 0 || err == UBI_IO_BITFLIPS); in check_mapping()
624 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
687 ubi_assert(lnum < be32_to_cpu(vid_hdr->used_ebs)); in ubi_eba_read_leb()
688 ubi_assert(len == be32_to_cpu(vid_hdr->data_size)); in ubi_eba_read_leb()
757 ubi_assert(sgl->list_pos < UBI_MAX_SG_COUNT); in ubi_eba_read_leb_sg()
835 ubi_assert(vid_hdr->vol_type == UBI_VID_DYNAMIC); in try_recover_peb()
1126 ubi_assert(!(len & (ubi->min_io_size - 1))); in ubi_eba_write_leb_st()
1150 ubi_assert(vol->eba_tbl->entries[lnum].pnum < 0); in ubi_eba_write_leb_st()
1310 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in ubi_eba_copy_leb()
1453 ubi_assert(vol->eba_tbl->entries[lnum].pnum == from); in ubi_eba_copy_leb()
1583 ubi_assert(0); in self_check_eba()