Home
last modified time | relevance | path

Searched refs:ASSERT3U (Results 1 – 25 of 79) sorted by relevance

1234

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzap_leaf.c194 ASSERT3U(chunk, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_chunk_alloc()
195 ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); in zap_leaf_chunk_alloc()
209 ASSERT3U(zap_leaf_phys(l)->l_hdr.lh_nfree, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_chunk_free()
210 ASSERT3U(chunk, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_chunk_free()
236 ASSERT3U(num_integers * integer_size, <, MAX_ARRAY_BYTES); in zap_leaf_array_create()
274 ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, in zap_leaf_array_free()
292 ASSERT3U(array_int_len, <=, buf_int_len); in zap_leaf_array_read()
324 ASSERT3U(chunk, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_array_read()
385 ASSERT3U(chunk, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_array_match()
404 ASSERT3U(zap_leaf_phys(l)->l_hdr.lh_magic, ==, ZAP_LEAF_MAGIC); in zap_leaf_lookup()
[all …]
H A Ddnode.c249 ASSERT3U(dn->dn_indblkshift, >=, 0); in dnode_verify()
250 ASSERT3U(dn->dn_indblkshift, <=, SPA_MAXBLOCKSHIFT); in dnode_verify()
252 ASSERT3U(dn->dn_datablkshift, >=, SPA_MINBLOCKSHIFT); in dnode_verify()
253 ASSERT3U(dn->dn_datablkshift, <=, SPA_MAXBLOCKSHIFT); in dnode_verify()
254 ASSERT3U(1<<dn->dn_datablkshift, ==, dn->dn_datablksz); in dnode_verify()
256 ASSERT3U(dn->dn_nlevels, <=, 30); in dnode_verify()
258 ASSERT3U(dn->dn_nblkptr, >=, 1); in dnode_verify()
259 ASSERT3U(dn->dn_nblkptr, <=, DN_MAX_NBLKPTR); in dnode_verify()
260 ASSERT3U(dn->dn_bonuslen, <=, DN_MAX_BONUSLEN); in dnode_verify()
261 ASSERT3U(dn->dn_datablksz, ==, in dnode_verify()
[all …]
H A Dmultilist.c67 ASSERT3U(size, >, 0); in multilist_create()
68 ASSERT3U(size, >=, offset + sizeof (multilist_node_t)); in multilist_create()
69 ASSERT3U(num, >, 0); in multilist_create()
132 ASSERT3U(sublist_idx, <, ml->ml_num_sublists); in multilist_insert()
177 ASSERT3U(sublist_idx, <, ml->ml_num_sublists); in multilist_remove()
255 ASSERT3U(sublist_idx, <, ml->ml_num_sublists); in multilist_sublist_lock()
H A Dvdev_queue.c276 ASSERT3U(zio->io_priority, <, ZIO_PRIORITY_NUM_QUEUEABLE); in vdev_queue_io_add()
291 ASSERT3U(zio->io_priority, <, ZIO_PRIORITY_NUM_QUEUEABLE); in vdev_queue_io_remove()
296 ASSERT3U(spa->spa_queue_stats[zio->io_priority].spa_queued, >, 0); in vdev_queue_io_remove()
308 ASSERT3U(zio->io_priority, <, ZIO_PRIORITY_NUM_QUEUEABLE); in vdev_queue_pending_add()
324 ASSERT3U(zio->io_priority, <, ZIO_PRIORITY_NUM_QUEUEABLE); in vdev_queue_pending_remove()
329 ASSERT3U(spa->spa_queue_stats[zio->io_priority].spa_active, >, 0); in vdev_queue_pending_remove()
414 ASSERT3U(writes, >=, zfs_vdev_async_write_min_active); in vdev_queue_max_async_writes()
415 ASSERT3U(writes, <=, zfs_vdev_async_write_max_active); in vdev_queue_max_async_writes()
589 ASSERT3U(size, <=, zfs_vdev_aggregation_limit); in vdev_queue_aggregate()
601 ASSERT3U(dio->io_type, ==, aio->io_type); in vdev_queue_aggregate()
[all …]
H A Dblkptr.c54 ASSERT3U(compressed_size, <=, BPE_PAYLOAD_SIZE); in encode_embedded_bp_compressed()
57 ASSERT3U(comp, >=, ZIO_COMPRESS_OFF); in encode_embedded_bp_compressed()
58 ASSERT3U(comp, <, ZIO_COMPRESS_FUNCTIONS); in encode_embedded_bp_compressed()
H A Ddbuf.c262 ASSERT3U(db->db_state, ==, DB_CACHED); in dbuf_verify_user()
275 ASSERT3U(holds, >=, db->db_dirtycnt); in dbuf_verify_user()
278 ASSERT3U(holds, >=, db->db_dirtycnt); in dbuf_verify_user()
280 ASSERT3U(holds, >, 0); in dbuf_verify_user()
426 ASSERT3U(db->db.db_object, ==, dn->dn_object); in dbuf_verify()
428 ASSERT3U(db->db_level, <, dn->dn_nlevels); in dbuf_verify()
435 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen); in dbuf_verify()
436 ASSERT3U(db->db.db_offset, ==, DMU_BONUS_BLKID); in dbuf_verify()
439 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen); in dbuf_verify()
442 ASSERT3U(db->db.db_offset, ==, db->db_blkid * db->db.db_size); in dbuf_verify()
[all …]
H A Dzfs_rlock.c198 ASSERT3U(rl->r_cnt, ==, 1); in zfs_range_proxify()
227 ASSERT3U(rl->r_len, >, 1); in zfs_range_split()
228 ASSERT3U(off, >, rl->r_off); in zfs_range_split()
229 ASSERT3U(off, <, rl->r_off + rl->r_len); in zfs_range_split()
326 ASSERT3U(next->r_off, >, prev->r_off + prev->r_len); in zfs_range_add_reader()
342 ASSERT3U(off + len, >, next->r_off + next->r_len); in zfs_range_add_reader()
577 ASSERT3U(rl->r_len, ==, UINT64_MAX); in zfs_range_reduce()
578 ASSERT3U(rl->r_cnt, ==, 1); in zfs_range_reduce()
H A Dbpobj.c126 ASSERT3U(offset, >=, dbuf->db_offset); in bpobj_free()
127 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_free()
161 ASSERT3U(doi.doi_type, ==, DMU_OT_BPOBJ); in bpobj_open()
162 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_BPOBJ_HDR); in bpobj_open()
234 ASSERT3U(offset, >=, dbuf->db_offset); in bpobj_iterate_impl()
235 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_impl()
271 ASSERT3U(doi.doi_type, ==, DMU_OT_BPOBJ_SUBOBJ); in bpobj_iterate_impl()
293 ASSERT3U(offset, >=, dbuf->db_offset); in bpobj_iterate_impl()
294 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_impl()
406 ASSERT3U(doi.doi_type, ==, DMU_OT_BPOBJ_SUBOBJ); in bpobj_enqueue_subobj()
H A Dzap.c342 ASSERT3U(zap_f_phys(zap)->zap_ptrtbl.zt_shift, ==, in zap_grow_ptrtbl()
361 ASSERT3U(1ULL << zap_f_phys(zap)->zap_ptrtbl.zt_shift, ==, in zap_grow_ptrtbl()
485 ASSERT3U(ZAP_LEAF_HASH_NUMENTRIES(l), >, ZAP_LEAF_NUMCHUNKS(l) / 3); in zap_open_leaf()
492 ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - in zap_open_leaf()
514 ASSERT3U(db->db_object, ==, zap->zap_object); in zap_get_leaf_byblk()
515 ASSERT3U(db->db_offset, ==, blkid << bs); in zap_get_leaf_byblk()
516 ASSERT3U(db->db_size, ==, 1 << bs); in zap_get_leaf_byblk()
531 ASSERT3U(l->l_blkid, ==, blkid); in zap_get_leaf_byblk()
533 ASSERT3U(zap_leaf_phys(l)->l_hdr.lh_block_type, ==, ZBT_LEAF); in zap_get_leaf_byblk()
534 ASSERT3U(zap_leaf_phys(l)->l_hdr.lh_magic, ==, ZAP_LEAF_MAGIC); in zap_get_leaf_byblk()
[all …]
H A Ddsl_destroy.c186 ASSERT3U(poa.used, ==, dsl_dataset_phys(ds)->ds_unique_bytes); in process_old_deadlist()
248 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_snapshot_sync_impl()
261 ASSERT3U(dsl_dataset_phys(ds)->ds_num_children, <=, 1); in dsl_destroy_snapshot_sync_impl()
307 ASSERT3U(dsl_dataset_phys(ds_next)->ds_prev_snap_obj, ==, obj); in dsl_destroy_snapshot_sync_impl()
316 ASSERT3U(dsl_dataset_phys(ds)->ds_prev_snap_txg, ==, in dsl_destroy_snapshot_sync_impl()
443 ASSERT3U(val, ==, obj); in dsl_destroy_snapshot_sync_impl()
569 ASSERT3U(bp->blk_birth, >, in kill_blkptr()
719 ASSERT3U(dsl_dataset_phys(ds)->ds_num_children, <=, 1); in dsl_destroy_head_sync_impl()
722 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_head_sync_impl()
755 ASSERT3U(dsl_dataset_phys(ds->ds_prev)->ds_next_snap_obj, !=, in dsl_destroy_head_sync_impl()
[all …]
H A Dzfs_fm.c427 ASSERT3U(eip->zei_range_count, >, 0); in shrink_ranges()
428 ASSERT3U(eip->zei_range_count, <=, MAX_RANGES); in shrink_ranges()
454 ASSERT3U(output, <, eip->zei_range_count); in shrink_ranges()
555 ASSERT3U(nui64s, <=, UINT16_MAX); in annotate_ecksum()
556 ASSERT3U(size, ==, nui64s * sizeof (uint64_t)); in annotate_ecksum()
557 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in annotate_ecksum()
558 ASSERT3U(size, <=, UINT32_MAX); in annotate_ecksum()
613 ASSERT3U(offset, <, inline_size); in annotate_ecksum()
H A Dspace_map.c88 ASSERT3U(sm->sm_blksz, !=, 0); in space_map_load()
193 ASSERT3U(i, >=, idx + sm->sm_shift); in space_map_histogram_add()
203 ASSERT3U(idx + sm->sm_shift, ==, i); in space_map_histogram_add()
205 ASSERT3U(idx, <, SPACE_MAP_HISTOGRAM_SIZE); in space_map_histogram_add()
325 ASSERT3U(expected_entries, ==, actual_entries); in space_map_write()
472 ASSERT3U(bonuslen, <=, dmu_bonus_max()); in space_map_alloc()
H A Ddnode_sync.c72 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size); in dnode_increase_indirection()
132 ASSERT3U(bytesfreed, <=, DN_USED_BYTES(dn->dn_phys)); in free_blocks()
174 ASSERT3U(off, >=, 0); in free_verify()
175 ASSERT3U(num, >=, 0); in free_verify()
176 ASSERT3U(db->db_level, >, 0); in free_verify()
177 ASSERT3U(db->db.db_size, ==, 1 << dn->dn_phys->dn_indblkshift); in free_verify()
178 ASSERT3U(off+num, <=, db->db.db_size >> SPA_BLKPTRSHIFT); in free_verify()
276 ASSERT3U(start, <=, end); in free_children()
344 ASSERT3U(blkid + nblks, <=, dn->dn_phys->dn_nblkptr); in dnode_sync_free_range_impl()
H A Dbqueue.c71 ASSERT3U(item_size, >, 0); in bqueue_enqueue()
72 ASSERT3U(item_size, <, q->bq_maxsize); in bqueue_enqueue()
H A Drange_tree.c66 ASSERT3U(hist[idx], !=, 0); in range_tree_stat_verify()
85 ASSERT3U(idx, <, in range_tree_stat_incr()
90 ASSERT3U(rt->rt_histogram[idx], !=, 0); in range_tree_stat_incr()
100 ASSERT3U(idx, <, in range_tree_stat_decr()
104 ASSERT3U(rt->rt_histogram[idx], !=, 0); in range_tree_stat_decr()
H A Dvdev_raidz.c302 ASSERT3U(rm->rm_reports, >, 0); in vdev_raidz_cksum_free()
403 ASSERT3U(rm->rm_reports, >, 0); in vdev_raidz_cksum_report()
490 ASSERT3U(acols, <=, scols); in vdev_raidz_map_alloc()
533 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
536 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()
537 ASSERT3U(rm->rm_nskip, <=, nparity); in vdev_raidz_map_alloc()
1150 ASSERT3U(used[j], >=, rm->rm_firstdatacol); in vdev_raidz_matrix_invert()
1166 ASSERT3U(rows[i][missing[i]], !=, 0); in vdev_raidz_matrix_invert()
1183 ASSERT3U(rows[ii][missing[i]], !=, 0); in vdev_raidz_matrix_invert()
1203 ASSERT3U(rows[i][j], ==, 1); in vdev_raidz_matrix_invert()
[all …]
H A Dzfeature.c339 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_enable_sync()
387 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_do_action()
435 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in spa_feature_enable()
H A Ddsl_pool.c416 ASSERT3U(comp, ==, uncomp); /* it's all metadata */ in dsl_pool_mos_diduse_space()
448 ASSERT3U(-delta, <=, dp->dp_dirty_total); in dsl_pool_dirty_delta()
578 ASSERT3U(spa_sync_pass(dp->dp_spa), ==, 1); in dsl_pool_sync()
668 ASSERT3U(dp->dp_dirty_pertxg[txg & TXG_MASK], >=, space); in dsl_pool_undirty_space()
670 ASSERT3U(dp->dp_dirty_total, >=, space); in dsl_pool_undirty_space()
736 ASSERT3U(dsl_dir_phys(ds->ds_dir)->dd_origin_obj, ==, prev->ds_object); in upgrade_clones_cb()
737 ASSERT3U(dsl_dataset_phys(ds)->ds_prev_snap_obj, ==, prev->ds_object); in upgrade_clones_cb()
H A Dzil.c223 ASSERT3U(len, <=, SPA_OLD_MAXBLOCKSIZE); in zil_read_log_block()
238 ASSERT3U(zilc->zc_nused, <=, in zil_read_log_block()
335 ASSERT3U(max_blk_seq, <, blk_seq); in zil_parse()
349 ASSERT3U(reclen, >=, sizeof (lr_t)); in zil_parse()
354 ASSERT3U(max_lr_seq, <, lr->lrc_seq); in zil_parse()
599 ASSERT3U(zilog->zl_destroy_txg, <, txg); in zil_destroy()
672 ASSERT3U(zh->zh_claim_txg, <=, first_txg); in zil_claim()
685 ASSERT3U(first_txg, ==, (spa_last_synced_txg(zilog->zl_spa) + 1)); in zil_claim()
994 ASSERT3U(bp->blk_birth, ==, txg); in zil_lwb_write_start()
1010 ASSERT3U(wsz, <=, lwb->lwb_sz); in zil_lwb_write_start()
[all …]
/titanic_44/usr/src/uts/common/io/i40e/
H A Di40e_intr.c409 ASSERT3U(vector, ==, i40e->i40e_trqpairs[queue].itrq_rx_intrvec); in i40e_set_rqctl()
431 ASSERT3U(vector, ==, i40e->i40e_trqpairs[queue].itrq_tx_intrvec); in i40e_set_tqctl()
558 ASSERT3U(reg & I40E_QINT_RQCTL_CAUSE_ENA_MASK, ==, in i40e_intr_rx_queue_disable()
735 ASSERT3U(vector_idx, <, i40e->i40e_intr_count); in i40e_intr_msix()
747 ASSERT3U(vector_idx, >, 0); in i40e_intr_msix()
763 ASSERT3U(i, <, i40e->i40e_num_trqpairs); in i40e_intr_msix()
H A Di40e_transceiver.c2218 ASSERT3U(len, >, 0); in i40e_tx_copy_fragment()
2221 ASSERT3U(len, <=, MBLKL(mp)); in i40e_tx_copy_fragment()
2222 ASSERT3U((uintptr_t)soff + len, <=, (uintptr_t)mp->b_wptr); in i40e_tx_copy_fragment()
2223 ASSERT3U(tcb->tcb_dma.dmab_size - tcb->tcb_dma.dmab_len, >=, len); in i40e_tx_copy_fragment()
2316 ASSERT3U(len, >=, 1); in i40e_tx_set_data_desc()
2317 ASSERT3U(len, <=, I40E_MAX_TX_BUFSZ); in i40e_tx_set_data_desc()
2371 ASSERT3U(msgsize(mp), <, i40e->i40e_tx_buf_size); in i40e_non_lso_chain()
2444 ASSERT3U(needed_desc, <=, I40E_TX_MAX_COOKIE); in i40e_non_lso_chain()
2614 ASSERT3U(hdrcopied, ==, hdrlen); in i40e_lso_chain()
2664 ASSERT3U(segdesc, <=, i40e_lso_num_descs); in i40e_lso_chain()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Ddebug.h119 #define ASSERT3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) macro
124 #define ASSERT3U(x, y, z) ((void)0) macro
/titanic_44/usr/src/uts/intel/pcbe/
H A Dopteron_pcbe.c494 ASSERT3U(counter, <, opd.opd_ncounters); in opt_pcbe_pes_addr()
501 ASSERT3U(counter, <, opd.opd_ncounters); in opt_pcbe_pes_ext_addr()
508 ASSERT3U(counter, <, opd.opd_ncounters); in opt_pcbe_pic_addr()
515 ASSERT3U(counter, <, opd.opd_ncounters); in opt_pcbe_pic_ext_addr()
905 ASSERT3U(pcfg->opt_picno, <, opd.opd_ncounters); in opt_pcbe_sample()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_session.c946 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_lookup_tree()
984 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_lookup_share()
992 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_lookup_share()
1025 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_lookup_volume()
1033 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_lookup_volume()
1065 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_close_pid()
1133 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_disconnect_trees()
1156 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_disconnect_share()
1201 ASSERT3U(tree->t_magic, ==, SMB_TREE_MAGIC); in smb_session_get_tree()
/titanic_44/usr/src/cmd/ztest/
H A Dztest.c1229 ASSERT3U(error, ==, ENOSPC); in ztest_tx_assign()
1280 ASSERT3U(bt->bt_magic, ==, BT_MAGIC); in ztest_bt_verify()
1281 ASSERT3U(bt->bt_objset, ==, dmu_objset_id(os)); in ztest_bt_verify()
1282 ASSERT3U(bt->bt_object, ==, object); in ztest_bt_verify()
1283 ASSERT3U(bt->bt_offset, ==, offset); in ztest_bt_verify()
1284 ASSERT3U(bt->bt_gen, <=, gen); in ztest_bt_verify()
1285 ASSERT3U(bt->bt_txg, <=, txg); in ztest_bt_verify()
1286 ASSERT3U(bt->bt_crtxg, ==, crtxg); in ztest_bt_verify()
1296 ASSERT3U(doi.doi_bonus_size, <=, db->db_size); in ztest_bt_bonus()
1297 ASSERT3U(doi.doi_bonus_size, >=, sizeof (*bt)); in ztest_bt_bonus()
[all …]

1234