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

12

/illumos-gate/usr/src/cmd/dis/
H A Ddis_main.c70 size_t db_size; /* size of data */ member in struct:dis_buffer
143 db.db_size = datalen;
152 while (addr < db.db_addr + db.db_size) {
179 db.db_nextaddr = db.db_addr + db.db_size;
181 if (next > db.db_size)
183 db.db_size;
313 if (addr < db->db_addr || addr >= db->db_addr + db->db_size)
317 len = MIN(len, db->db_size - offset);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c539 db->db.db_size, db);
743 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen);
749 ASSERT3U(db->db.db_offset, ==, db->db_blkid * db->db.db_size);
759 * We can't assert that db_size matches dn_datablksz because it
786 int epb = db->db_parent->db.db_size >> SPA_BLKPTRSHIFT;
822 for (i = 0; i < db->db.db_size >> 3; i++) {
828 db->db.db_size);
837 i < db->db.db_size / sizeof (blkptr_t);
893 int blksz = db->db.db_size;
970 db, DBUF_GET_BUFC_TYPE(db), db->db.db_size);
[all...]
H A Dspace_map.c116 ASSERT3U(blksz, ==, db->db_size);
200 ASSERT3U(sm->sm_blksz, ==, db->db_size);
201 ASSERT3U(bufsz, >=, db->db_size);
434 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t))
462 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t))
545 ASSERT3U(db->db_size, ==, sm->sm_blksz);
582 ASSERT3U(db->db_size, ==, sm->sm_blksz);
587 (db->db_size / sizeof (uint64_t));
675 ASSERT3U(db->db_size, ==, sm->sm_blksz);
H A Ddmu.c283 } else if (newsize < 0 || newsize > db_fake->db_size) {
1032 tocpy = (int)MIN(db->db_size - bufoff, size);
1082 tocpy = (int)MIN(db->db_size - bufoff, size);
1084 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size);
1086 if (tocpy == db->db_size)
1093 if (tocpy == db->db_size)
1442 tocpy = (int)MIN(db->db_size - bufoff, size);
1545 tocpy = (int)MIN(db->db_size - bufoff, size);
1547 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size);
1549 if (tocpy == db->db_size)
[all...]
H A Dbpobj.c129 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
244 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
303 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
445 VERIFY3U(subdb->db_size, >=,
510 bpo->bpo_cached_dbuf->db_size) {
H A Ddnode_sync.c68 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size);
172 ASSERT3U(db->db.db_size, ==, 1 << dn->dn_phys->dn_indblkshift);
173 ASSERT3U(off+num, <=, db->db.db_size >> SPA_BLKPTRSHIFT);
200 for (j = 0; j < child->db.db_size >> 3; j++) {
217 for (j = 0; j < child->db.db_size >> 3; j++) {
328 bzero(db->db.db_data, db->db.db_size);
H A Dzfs_sa.c81 if (bufsz + ZFS_OLD_ZNODE_PHYS_SIZE <= db->db_size) {
117 ASSERT3U(len, <=, dbp->db_size);
H A Dzap_micro.c395 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1;
418 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1;
455 zap->zap_dbuf->db_size);
524 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE;
536 db->db_size / MZAP_ENT_LEN - 1;
605 int sz = zap->zap_dbuf->db_size;
1549 zs->zs_blocksize = zap->zap_dbuf->db_size;
H A Dzap.c111 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1;
118 bzero(zap->zap_dbuf->db_data, zap->zap_dbuf->db_size);
481 l->l_bs = highbit64(db->db_size) - 1;
513 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size);
536 ASSERT3U(db->db_size, ==, 1 << bs);
H A Dsa.c698 hdl->sa_spill->db_size, &i, &spill_used, &dummy);
703 buf_space = hdl->sa_spill->db_size - spillhdrsize;
705 hdl->sa_spill->db_size)
719 buf_space = hdl->sa_bonus->db_size - hdrsize;
753 buf_space = hdl->sa_spill->db_size - spillhdrsize;
1850 bonus_data_size = hdl->sa_bonus->db_size;
1853 hdl->sa_bonus->db_size);
1863 spill_data_size = hdl->sa_spill->db_size;
1866 hdl->sa_spill->db_size);
H A Ddnode.c310 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT)));
740 /* fix up the bonus db_size */
742 dn->dn_bonus->db.db_size =
745 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size);
1156 int epb = dn->dn_dbuf->db.db_size >> DNODE_SHIFT;
1364 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT);
1365 epb = db->db.db_size >> DNODE_SHIFT;
H A Dspa_history.c103 ASSERT(dbp->db_size >= sizeof (spa_history_phys_t));
H A Dzap_leaf.c164 l->l_bs = highbit64(l->l_dbuf->db_size) - 1;
H A Ddmu_recv.c1420 ASSERT3U(db->db_size, >=, drro->drr_bonuslen);
1728 if (db_spill->db_size != drrs->drr_length) {
H A Dmetaslab.c2806 if (msp->ms_sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) {
2977 ASSERT3U(sm->sm_dbuf->db_size, ==, sizeof (space_map_phys_t));
3045 ASSERT3U(msp->ms_sm->sm_dbuf->db_size, ==, sizeof (space_map_phys_t));
3148 (msp->ms_sm == NULL || msp->ms_sm->sm_dbuf->db_size ==
H A Dvdev_removal.c326 offset += dbuf->db_size;
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/vm/
H A Dhw_channel.h219 u16 db_size; member in struct:pfvf_acquire_resp_tlv::pf_vf_pfdev_info
H A Dvfpf_if.h136 u16 db_size; member in struct:pf_vf_msg_acquire_resp::sw_pf_vf_pfdev_info
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore.h594 unsigned long db_size; member in struct:ecore_hwfn
795 unsigned long db_size; member in struct:ecore_dev
H A Decore_vfpf_if.h213 u16 db_size; member in struct:pfvf_acquire_resp_tlv::pf_vf_pfdev_info
/illumos-gate/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;
1338 DbgBreakIf(!p_sw_resp->pfdev_info.db_size);
1339 return p_sw_resp->pfdev_info.db_size;
1344 DbgBreakIf(!p_hw_resp->pfdev_info.db_size);
1345 return p_hw_resp->pfdev_info.db_size;
1600 DbgMessage(pdev, FATALvf, "presp->pfdev_info.db_size = %d\n", presp->pfdev_info.db_size);
1616 if (presp->pfdev_info.db_size)
1618 max_dq = VF_BAR0_DB_SIZE / presp->pfdev_info.db_size;
1707 DbgMessage(pdev, FATALvf, "presp->pfdev_info.db_size
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c205 seglen = MIN(len, dbp->db_size - odiff);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1478 ASSERT3U(doi.doi_bonus_size, <=, db->db_size);
1997 lr->lr_size = (ztest_random(db->db_size / sizeof (*bbt)) + 1) *
2012 ASSERT3U(lr->lr_size, <=, db->db_size);
2146 ASSERT(db->db_size == size);
5823 ASSERT(db->db_size == blocksize);
5824 ASSERT(ztest_pattern_match(db->db_data, db->db_size, pattern) ||
5825 ztest_pattern_match(db->db_data, db->db_size, 0ULL));
5827 ztest_pattern_set(db->db_data, db->db_size, pattern);
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu.h355 uint64_t db_size; /* size of buffer in bytes */ member in struct:dmu_buf
527 * dmu_buf_t with db_offset==-1ULL, and db_size = the size of the bonus
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c675 sm->sm_dbuf->db_size == sizeof (space_map_phys_t))
695 sm->sm_dbuf->db_size == sizeof (space_map_phys_t))
2242 bsize = db->db_size;

Completed in 423 milliseconds

12