Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/dis/
H A Ddis_main.c69 size_t db_size; /* size of data */ member
142 db.db_size = datalen; in dis_data()
151 while (addr < db.db_addr + db.db_size) { in dis_data()
178 db.db_nextaddr = db.db_addr + db.db_size; in dis_data()
180 if (next > db.db_size) in dis_data()
182 db.db_size; in dis_data()
312 if (addr < db->db_addr || addr >= db->db_addr + db->db_size) in do_read()
316 len = MIN(len, db->db_size - offset); in do_read()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddbuf.c436 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen); in dbuf_verify()
440 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen); in dbuf_verify()
443 ASSERT3U(db->db.db_offset, ==, db->db_blkid * db->db.db_size); in dbuf_verify()
480 int epb = db->db_parent->db.db_size >> SPA_BLKPTRSHIFT; in dbuf_verify()
509 for (i = 0; i < db->db.db_size >> 3; i++) { in dbuf_verify()
552 int blksz = db->db.db_size; in dbuf_loan_arcbuf()
618 bzero(buf->b_data, db->db.db_size); in dbuf_read_done()
655 ASSERT3U(bonuslen, <=, db->db.db_size); in dbuf_read_impl()
680 db->db.db_size, db, type)); in dbuf_read_impl()
681 bzero(db->db.db_data, db->db.db_size); in dbuf_read_impl()
[all …]
H A Ddmu.c197 } else if (newsize < 0 || newsize > db_fake->db_size) { in dmu_set_bonus()
811 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_read()
846 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write()
848 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size); in dmu_write()
850 if (tocpy == db->db_size) in dmu_write()
857 if (tocpy == db->db_size) in dmu_write()
1058 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_read_uio_dnode()
1161 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write_uio_dnode()
1163 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size); in dmu_write_uio_dnode()
1165 if (tocpy == db->db_size) in dmu_write_uio_dnode()
[all …]
H A Dzap.c88 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade()
95 bzero(zap->zap_dbuf->db_data, zap->zap_dbuf->db_size); in fzap_upgrade()
461 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
493 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size); in zap_open_leaf()
516 ASSERT3U(db->db_size, ==, 1 << bs); in zap_get_leaf_byblk()
1325 *tooverwrite += zap->zap_dbuf->db_size; in fzap_count_write()
1327 *towrite += zap->zap_dbuf->db_size; in fzap_count_write()
1340 *towrite += zap->zap_dbuf->db_size; in fzap_count_write()
1342 *towrite += (zap->zap_dbuf->db_size * 3); in fzap_count_write()
1355 *tooverwrite += l->l_dbuf->db_size; in fzap_count_write()
[all …]
H A Ddnode_sync.c72 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size); in dnode_increase_indirection()
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()
205 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify()
222 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify()
303 bzero(db->db.db_data, db->db.db_size); in free_children()
H A Dbpobj.c128 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_free()
236 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_impl()
295 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_impl()
435 VERIFY3U(subdb->db_size, >=, in bpobj_enqueue_subobj()
499 bpo->bpo_cached_dbuf->db_size) { in bpobj_enqueue()
H A Dsa.c570 full_space = (buftype == SA_BONUS) ? DN_MAX_BONUSLEN : db->db_size; in sa_find_sizes()
699 buf_space = hdl->sa_spill->db_size - spillhdrsize; in sa_build_layouts()
701 hdl->sa_spill->db_size) in sa_build_layouts()
715 buf_space = hdl->sa_bonus->db_size - hdrsize; in sa_build_layouts()
749 buf_space = hdl->sa_spill->db_size - spillhdrsize; in sa_build_layouts()
1669 bonus_data_size = hdl->sa_bonus->db_size; in sa_modify_attrs()
1672 hdl->sa_bonus->db_size); in sa_modify_attrs()
1682 spill_data_size = hdl->sa_spill->db_size; in sa_modify_attrs()
1685 hdl->sa_spill->db_size); in sa_modify_attrs()
H A Dzap_micro.c382 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open()
407 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1; in mzap_open()
445 zap->zap_dbuf->db_size); in mzap_open()
507 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir()
517 db->db_size / MZAP_ENT_LEN - 1; in zap_lockdir()
541 sz = zap->zap_dbuf->db_size; in mzap_upgrade()
1336 zs->zs_blocksize = zap->zap_dbuf->db_size; in zap_get_stats()
H A Dzfs_sa.c78 if (bufsz + ZFS_OLD_ZNODE_PHYS_SIZE <= db->db_size) { in zfs_sa_readlink()
115 ASSERT3U(len, <=, dbp->db_size); in zfs_sa_symlink()
H A Dspace_map.c138 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_clear()
167 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_add()
H A Ddnode.c277 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT))); in dnode_verify()
682 dn->dn_bonus->db.db_size = in dnode_reallocate()
684 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate()
1126 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT); in dnode_hold_impl()
1127 epb = db->db.db_size >> DNODE_SHIFT; in dnode_hold_impl()
H A Dspa_history.c102 ASSERT(dbp->db_size >= sizeof (spa_history_phys_t)); in spa_history_create_obj()
H A Ddmu_tx.c195 ASSERT(db->db.db_size == space); in dmu_tx_count_twig()
528 txh->txh_memory_tohold += dbuf->db.db_size; in dmu_tx_count_free()
H A Dzap_leaf.c165 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
H A Ddmu_send.c2011 ASSERT3U(db->db_size, >=, drro->drr_bonuslen); in receive_object()
2249 if (db_spill->db_size < drrs->drr_length) in receive_spill()
H A Dzvol.c1027 ASSERT(db->db_size == size); in zvol_get_data()
H A Dmetaslab.c1391 if (msp->ms_sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) { in metaslab_fragmentation()
H A Dzfs_vnops.c1167 ASSERT(db->db_size == size); in zfs_get_data()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/vm/
H A Dvfpf_if.h136 u16 db_size; member
H A Dhw_channel.h219 u16 db_size; member
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c123 response->pfdev_info.db_size = LM_VF_DQ_CID_SIZE; in lm_pf_vf_fill_acquire_response()
1338 DbgBreakIf(!p_sw_resp->pfdev_info.db_size); in lm_vf_get_doorbell_size()
1339 return p_sw_resp->pfdev_info.db_size; in lm_vf_get_doorbell_size()
1344 DbgBreakIf(!p_hw_resp->pfdev_info.db_size); in lm_vf_get_doorbell_size()
1345 return p_hw_resp->pfdev_info.db_size; in lm_vf_get_doorbell_size()
1600 … DbgMessage(pdev, FATALvf, "presp->pfdev_info.db_size = %d\n", presp->pfdev_info.db_size); in lm_vf_pf_acquire_msg()
1616 if (presp->pfdev_info.db_size) in lm_vf_pf_acquire_msg()
1618 max_dq = VF_BAR0_DB_SIZE / presp->pfdev_info.db_size; in lm_vf_pf_acquire_msg()
1707 … DbgMessage(pdev, FATALvf, "presp->pfdev_info.db_size = %d\n", presp->pfdev_info.db_size); in lm_vf_pf_acquire_msg()
1722 if (presp->pfdev_info.db_size) in lm_vf_pf_acquire_msg()
[all …]
/titanic_50/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c203 seglen = MIN(len, dbp->db_size - odiff); in sbd_zvol_alloc_read_bufs()
/titanic_50/usr/src/cmd/ztest/
H A Dztest.c1297 ASSERT3U(doi.doi_bonus_size, <=, db->db_size); in ztest_bt_bonus()
1755 lr->lr_size = (ztest_random(db->db_size / sizeof (*bbt)) + 1) * in ztest_replay_setattr()
1770 ASSERT3U(lr->lr_size, <=, db->db_size); in ztest_replay_setattr()
1904 ASSERT(db->db_size == size); in ztest_get_data()
5077 ASSERT(db->db_size == blocksize); in ztest_ddt_repair()
5078 ASSERT(ztest_pattern_match(db->db_data, db->db_size, pattern) || in ztest_ddt_repair()
5079 ztest_pattern_match(db->db_data, db->db_size, 0ULL)); in ztest_ddt_repair()
5081 ztest_pattern_set(db->db_data, db->db_size, pattern); in ztest_ddt_repair()
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Ddmu.h293 uint64_t db_size; /* size of buffer in bytes */ member
/titanic_50/usr/src/cmd/zdb/
H A Dzdb.c622 sm->sm_dbuf->db_size == sizeof (space_map_phys_t)) in get_dtl_refcount()
642 sm->sm_dbuf->db_size == sizeof (space_map_phys_t)) in get_metaslab_refcount()
1861 bsize = db->db_size; in dump_object()