Lines Matching refs:ubi_assert
179 ubi_assert(dst && vol && vol->eba_tbl); in ubi_eba_copy_table()
292 ubi_assert(lnum != le1->lnum); in ltree_add_entry()
343 ubi_assert(le->users >= 0); in leb_read_unlock()
396 ubi_assert(le->users >= 0); in leb_write_trylock()
419 ubi_assert(le->users >= 0); in leb_write_unlock()
525 ubi_assert(0); in check_mapping()
545 ubi_assert(err == 0 || err == UBI_IO_BITFLIPS); in check_mapping()
623 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
686 ubi_assert(lnum < be32_to_cpu(vid_hdr->used_ebs)); in ubi_eba_read_leb()
687 ubi_assert(len == be32_to_cpu(vid_hdr->data_size)); in ubi_eba_read_leb()
756 ubi_assert(sgl->list_pos < UBI_MAX_SG_COUNT); in ubi_eba_read_leb_sg()
834 ubi_assert(vid_hdr->vol_type == UBI_VID_DYNAMIC); in try_recover_peb()
1134 ubi_assert(!(len & (ubi->min_io_size - 1))); in ubi_eba_write_leb_st()
1158 ubi_assert(vol->eba_tbl->entries[lnum].pnum < 0); in ubi_eba_write_leb_st()
1318 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in ubi_eba_copy_leb()
1461 ubi_assert(vol->eba_tbl->entries[lnum].pnum == from); in ubi_eba_copy_leb()
1593 ubi_assert(0); in self_check_eba()