ubi_assert 403 drivers/mtd/ubi/attach.c ubi_assert(vol_id == be32_to_cpu(vid_hdr->vol_id)); ubi_assert 260 drivers/mtd/ubi/build.c ubi_assert(ubi->ref_count >= 0); ubi_assert 297 drivers/mtd/ubi/build.c ubi_assert(ubi->ref_count >= 0); ubi_assert 459 drivers/mtd/ubi/build.c ubi_assert(MINOR(dev) == 0); ubi_assert 611 drivers/mtd/ubi/build.c ubi_assert(ubi->mtd->writesize == 1); ubi_assert 629 drivers/mtd/ubi/build.c ubi_assert(ubi->hdrs_min_io_size > 0); ubi_assert 630 drivers/mtd/ubi/build.c ubi_assert(ubi->hdrs_min_io_size <= ubi->min_io_size); ubi_assert 631 drivers/mtd/ubi/build.c ubi_assert(ubi->min_io_size % ubi->hdrs_min_io_size == 0); ubi_assert 1064 drivers/mtd/ubi/build.c ubi_assert(ubi_num == ubi->ubi_num); ubi_assert 51 drivers/mtd/ubi/cdev.c ubi_assert(users > 0); ubi_assert 76 drivers/mtd/ubi/cdev.c ubi_assert(vol->readers == 0 && vol->writers == 0 && vol->metaonly == 0); ubi_assert 77 drivers/mtd/ubi/cdev.c ubi_assert(vol->exclusive == 1 && desc->mode == UBI_EXCLUSIVE); ubi_assert 128 drivers/mtd/ubi/cdev.c ubi_assert(!vol->changing_leb); ubi_assert 180 drivers/mtd/ubi/eba.c ubi_assert(dst && vol && vol->eba_tbl); ubi_assert 293 drivers/mtd/ubi/eba.c ubi_assert(lnum != le1->lnum); ubi_assert 344 drivers/mtd/ubi/eba.c ubi_assert(le->users >= 0); ubi_assert 397 drivers/mtd/ubi/eba.c ubi_assert(le->users >= 0); ubi_assert 420 drivers/mtd/ubi/eba.c ubi_assert(le->users >= 0); ubi_assert 526 drivers/mtd/ubi/eba.c ubi_assert(0); ubi_assert 546 drivers/mtd/ubi/eba.c ubi_assert(err == 0 || err == UBI_IO_BITFLIPS); ubi_assert 624 drivers/mtd/ubi/eba.c ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); ubi_assert 687 drivers/mtd/ubi/eba.c ubi_assert(lnum < be32_to_cpu(vid_hdr->used_ebs)); ubi_assert 688 drivers/mtd/ubi/eba.c ubi_assert(len == be32_to_cpu(vid_hdr->data_size)); ubi_assert 757 drivers/mtd/ubi/eba.c ubi_assert(sgl->list_pos < UBI_MAX_SG_COUNT); ubi_assert 835 drivers/mtd/ubi/eba.c ubi_assert(vid_hdr->vol_type == UBI_VID_DYNAMIC); ubi_assert 1126 drivers/mtd/ubi/eba.c ubi_assert(!(len & (ubi->min_io_size - 1))); ubi_assert 1150 drivers/mtd/ubi/eba.c ubi_assert(vol->eba_tbl->entries[lnum].pnum < 0); ubi_assert 1310 drivers/mtd/ubi/eba.c ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); ubi_assert 1453 drivers/mtd/ubi/eba.c ubi_assert(vol->eba_tbl->entries[lnum].pnum == from); ubi_assert 1583 drivers/mtd/ubi/eba.c ubi_assert(0); ubi_assert 239 drivers/mtd/ubi/fastmap-wl.c ubi_assert(pool->used < pool->size); ubi_assert 256 drivers/mtd/ubi/fastmap-wl.c ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); ubi_assert 321 drivers/mtd/ubi/fastmap-wl.c ubi_assert(pnum >= 0); ubi_assert 322 drivers/mtd/ubi/fastmap-wl.c ubi_assert(pnum < ubi->peb_count); ubi_assert 333 drivers/mtd/ubi/fastmap-wl.c ubi_assert(e->ec >= 0); ubi_assert 268 drivers/mtd/ubi/fastmap.c ubi_assert(aeb->lnum == new_aeb->lnum); ubi_assert 357 drivers/mtd/ubi/fastmap.c ubi_assert(vol_id == av->vol_id); ubi_assert 772 drivers/mtd/ubi/fastmap.c ubi_assert(list_empty(&free)); ubi_assert 1171 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1175 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1221 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1234 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1246 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1259 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1267 drivers/mtd/ubi/fastmap.c ubi_assert(wl_e); ubi_assert 1277 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1292 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1301 drivers/mtd/ubi/fastmap.c ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || ubi_assert 1306 drivers/mtd/ubi/fastmap.c ubi_assert(fm_pos <= ubi->fm_size); ubi_assert 1367 drivers/mtd/ubi/fastmap.c ubi_assert(new_fm); ubi_assert 122 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 123 drivers/mtd/ubi/io.c ubi_assert(offset >= 0 && offset + len <= ubi->peb_size); ubi_assert 124 drivers/mtd/ubi/io.c ubi_assert(len > 0); ubi_assert 169 drivers/mtd/ubi/io.c ubi_assert(len == read); ubi_assert 190 drivers/mtd/ubi/io.c ubi_assert(0); ubi_assert 194 drivers/mtd/ubi/io.c ubi_assert(len == read); ubi_assert 231 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 232 drivers/mtd/ubi/io.c ubi_assert(offset >= 0 && offset + len <= ubi->peb_size); ubi_assert 233 drivers/mtd/ubi/io.c ubi_assert(offset % ubi->hdrs_min_io_size == 0); ubi_assert 234 drivers/mtd/ubi/io.c ubi_assert(len > 0 && len % ubi->hdrs_min_io_size == 0); ubi_assert 278 drivers/mtd/ubi/io.c ubi_assert(written == len); ubi_assert 313 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 369 drivers/mtd/ubi/io.c ubi_assert(patt_count > 0); ubi_assert 484 drivers/mtd/ubi/io.c ubi_assert(&vid_hdr == ubi_get_vid_hdr(&vidb)); ubi_assert 527 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 569 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 599 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 694 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 803 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 973 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 1057 drivers/mtd/ubi/io.c ubi_assert(pnum >= 0 && pnum < ubi->peb_count); ubi_assert 27 drivers/mtd/ubi/misc.c ubi_assert(!(length & (ubi->min_io_size - 1))); ubi_assert 1133 drivers/mtd/ubi/ubi.h ubi_assert(offset >= 0); ubi_assert 1145 drivers/mtd/ubi/ubi.h ubi_assert(offset >= 0); ubi_assert 49 drivers/mtd/ubi/upd.c ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); ubi_assert 83 drivers/mtd/ubi/upd.c ubi_assert(vol->upd_marker && vtbl_rec.upd_marker); ubi_assert 120 drivers/mtd/ubi/upd.c ubi_assert(!vol->updating && !vol->changing_leb); ubi_assert 171 drivers/mtd/ubi/upd.c ubi_assert(!vol->updating && !vol->changing_leb); ubi_assert 308 drivers/mtd/ubi/upd.c ubi_assert(flush_len <= vol->usable_leb_size); ubi_assert 349 drivers/mtd/ubi/upd.c ubi_assert(vol->upd_received <= vol->upd_bytes); ubi_assert 412 drivers/mtd/ubi/upd.c ubi_assert(vol->upd_received <= vol->upd_bytes); ubi_assert 104 drivers/mtd/ubi/vmt.c ubi_assert(vol->ref_count >= 0); ubi_assert 347 drivers/mtd/ubi/vmt.c ubi_assert(desc->mode == UBI_EXCLUSIVE); ubi_assert 348 drivers/mtd/ubi/vmt.c ubi_assert(vol == ubi->volumes[vol_id]); ubi_assert 96 drivers/mtd/ubi/vtbl.c ubi_assert(idx >= 0 && idx < ubi->vtbl_slots); ubi_assert 565 drivers/mtd/ubi/vtbl.c ubi_assert(!ubi->volumes[i]); ubi_assert 643 drivers/mtd/ubi/vtbl.c ubi_assert(!ubi->volumes[i]); ubi_assert 750 drivers/mtd/ubi/vtbl.c ubi_assert(i < ubi->vtbl_slots); ubi_assert 155 drivers/mtd/ubi/wl.c ubi_assert(e->pnum != e1->pnum); ubi_assert 212 drivers/mtd/ubi/wl.c ubi_assert(ubi->works_count >= 0); ubi_assert 247 drivers/mtd/ubi/wl.c ubi_assert(e == e1); ubi_assert 256 drivers/mtd/ubi/wl.c ubi_assert(e->pnum != e1->pnum); ubi_assert 304 drivers/mtd/ubi/wl.c ubi_assert(pq_tail >= 0 && pq_tail < UBI_PROT_QUEUE_LEN); ubi_assert 538 drivers/mtd/ubi/wl.c ubi_assert(ubi->pq_head >= 0 && ubi->pq_head < UBI_PROT_QUEUE_LEN); ubi_assert 554 drivers/mtd/ubi/wl.c ubi_assert(ubi->works_count >= 0); ubi_assert 595 drivers/mtd/ubi/wl.c ubi_assert(e); ubi_assert 680 drivers/mtd/ubi/wl.c ubi_assert(!ubi->move_from && !ubi->move_to); ubi_assert 681 drivers/mtd/ubi/wl.c ubi_assert(!ubi->move_to_put); ubi_assert 875 drivers/mtd/ubi/wl.c ubi_assert(0); ubi_assert 944 drivers/mtd/ubi/wl.c ubi_assert(!ubi->move_to_put); ubi_assert 988 drivers/mtd/ubi/wl.c ubi_assert(err != 0); ubi_assert 1235 drivers/mtd/ubi/wl.c ubi_assert(pnum >= 0); ubi_assert 1236 drivers/mtd/ubi/wl.c ubi_assert(pnum < ubi->peb_count); ubi_assert 1267 drivers/mtd/ubi/wl.c ubi_assert(!ubi->move_to_put); ubi_assert 1283 drivers/mtd/ubi/wl.c ubi_assert(ubi->erroneous_peb_count >= 0); ubi_assert 1408 drivers/mtd/ubi/wl.c ubi_assert(ubi->works_count >= 0); ubi_assert 1683 drivers/mtd/ubi/wl.c ubi_assert(ubi->works_count >= 0); ubi_assert 1783 drivers/mtd/ubi/wl.c ubi_assert(e->ec >= 0); ubi_assert 1827 drivers/mtd/ubi/wl.c ubi_assert(!ubi->lookuptbl[e->pnum]); ubi_assert 1863 drivers/mtd/ubi/wl.c ubi_assert(ubi->good_peb_count == found_pebs); ubi_assert 2028 drivers/mtd/ubi/wl.c ubi_assert(ubi->free_count >= 0); ubi_assert 2080 drivers/mtd/ubi/wl.c ubi_assert(list_empty(&ubi->works));