Home
last modified time | relevance | path

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
143 db.db_size = datalen; in dis_data()
152 while (addr < db.db_addr + db.db_size) { in dis_data()
179 db.db_nextaddr = db.db_addr + db.db_size; in dis_data()
181 if (next > db.db_size) in dis_data()
183 db.db_size; in dis_data()
313 if (addr < db->db_addr || addr >= db->db_addr + db->db_size) in do_read()
317 len = MIN(len, db->db_size - offset); in do_read()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c541 db->db.db_size, db); in dbuf_evict_one()
830 db->db.db_size); in dbuf_verify()
933 int blksz = db->db.db_size; in dbuf_loan_arcbuf()
1148 db->db.db_size)); in dbuf_read_impl()
1602 int osize = db->db.db_size; in dbuf_new_size()
1630 db->db.db_size = size; in dbuf_new_size()
2344 db->db.db_size, db); in dbuf_destroy()
3005 db->db.db_size, db); in dbuf_hold_impl()
3929 db->db.db_size); in dbuf_write_done()
4219 contents, db->db.db_size, db->db.db_size, &zp, in dbuf_write()
[all …]
H A Ddmu.c1081 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write_impl()
1085 if (tocpy == db->db_size) in dmu_write_impl()
1092 if (tocpy == db->db_size) in dmu_write_impl()
1548 if (tocpy == db->db_size) in dmu_write_uio_dnode()
1562 if (tocpy == db->db_size) in dmu_write_uio_dnode()
1652 ASSERT3U(db->db_size, >=, PAGESIZE); in dmu_write_pages()
1659 if (tocpy == db->db_size) in dmu_write_pages()
1674 if (tocpy == db->db_size) in dmu_write_pages()
1836 BP_SET_LSIZE(bp, db->db_size); in dmu_sync_ready()
1950 dmu_tx_hold_space(tx, zgd->zgd_db->db_size); in dmu_sync_late_arrival()
[all …]
H A Dspace_map.c116 ASSERT3U(blksz, ==, db->db_size); in space_map_iterate()
200 ASSERT3U(sm->sm_blksz, ==, db->db_size); in space_map_reversed_last_block_entries()
201 ASSERT3U(bufsz, >=, db->db_size); in space_map_reversed_last_block_entries()
434 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_clear()
462 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_add()
545 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_seg()
582 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_seg()
587 (db->db_size / sizeof (uint64_t)); in space_map_write_seg()
675 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_impl()
H A Dbpobj.c129 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_free()
244 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_impl()
303 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_impl()
445 VERIFY3U(subdb->db_size, >=, in bpobj_enqueue_subobj()
510 bpo->bpo_cached_dbuf->db_size) { in bpobj_enqueue()
H A Ddnode_sync.c84 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size); in dnode_increase_indirection()
191 ASSERT3U(db->db.db_size, ==, 1 << dn->dn_phys->dn_indblkshift); in free_verify()
192 ASSERT3U(off+num, <=, db->db.db_size >> SPA_BLKPTRSHIFT); in free_verify()
219 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify()
236 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify()
352 bzero(db->db.db_data, db->db.db_size); in free_children()
H A Dzap_micro.c395 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open()
418 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1; in mzap_open()
455 zap->zap_dbuf->db_size); in mzap_open()
524 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir_impl()
536 db->db_size / MZAP_ENT_LEN - 1; in zap_lockdir_impl()
605 int sz = zap->zap_dbuf->db_size; in mzap_upgrade()
1549 zs->zs_blocksize = zap->zap_dbuf->db_size; in zap_get_stats()
H A Dzfs_sa.c81 if (bufsz + ZFS_OLD_ZNODE_PHYS_SIZE <= db->db_size) { in zfs_sa_readlink()
117 ASSERT3U(len, <=, dbp->db_size); in zfs_sa_symlink()
H A Dsa.c699 hdl->sa_spill->db_size, &i, &spill_used, &dummy); in sa_build_layouts()
704 buf_space = hdl->sa_spill->db_size - spillhdrsize; in sa_build_layouts()
706 hdl->sa_spill->db_size) in sa_build_layouts()
720 buf_space = hdl->sa_bonus->db_size - hdrsize; in sa_build_layouts()
754 buf_space = hdl->sa_spill->db_size - spillhdrsize; in sa_build_layouts()
1851 bonus_data_size = hdl->sa_bonus->db_size; in sa_modify_attrs()
1854 hdl->sa_bonus->db_size); in sa_modify_attrs()
1864 spill_data_size = hdl->sa_spill->db_size; in sa_modify_attrs()
1867 hdl->sa_spill->db_size); in sa_modify_attrs()
H A Dzap.c111 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade()
118 bzero(zap->zap_dbuf->db_data, zap->zap_dbuf->db_size); in fzap_upgrade()
481 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
513 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size); in zap_open_leaf()
536 ASSERT3U(db->db_size, ==, 1 << bs); in zap_get_leaf_byblk()
H A Ddnode.c312 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT))); in dnode_verify()
735 dn->dn_bonus->db.db_size = in dnode_reallocate()
738 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate()
1149 int epb = dn->dn_dbuf->db.db_size >> DNODE_SHIFT; in dnode_free_interior_slots()
1358 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT); in dnode_hold_impl()
1359 epb = db->db.db_size >> DNODE_SHIFT; in dnode_hold_impl()
H A Dspa_history.c103 ASSERT(dbp->db_size >= sizeof (spa_history_phys_t)); in spa_history_create_obj()
H A Dzap_leaf.c164 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
H A Dmetaslab.c2806 if (msp->ms_sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) { in metaslab_set_fragmentation()
2977 ASSERT3U(sm->sm_dbuf->db_size, ==, sizeof (space_map_phys_t)); in metaslab_weight_from_spacemap()
3045 ASSERT3U(msp->ms_sm->sm_dbuf->db_size, ==, sizeof (space_map_phys_t)); in metaslab_segment_weight()
3148 (msp->ms_sm == NULL || msp->ms_sm->sm_dbuf->db_size == in metaslab_weight()
H A Ddmu_recv.c1441 ASSERT3U(db->db_size, >=, drro->drr_bonuslen); in receive_object()
1752 if (db_spill->db_size != drrs->drr_length) { in receive_spill()
H A Dvdev_removal.c326 offset += dbuf->db_size; in vdev_remove_initiate_sync()
/illumos-gate/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
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore.h594 unsigned long db_size; member
795 unsigned long db_size; member
H A Decore_vfpf_if.h213 u16 db_size; member
/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; 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 …]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c205 seglen = MIN(len, dbp->db_size - odiff); in sbd_zvol_alloc_read_bufs()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1483 ASSERT3U(doi.doi_bonus_size, <=, db->db_size); in ztest_bt_bonus()
2002 lr->lr_size = (ztest_random(db->db_size / sizeof (*bbt)) + 1) * in ztest_replay_setattr()
2017 ASSERT3U(lr->lr_size, <=, db->db_size); in ztest_replay_setattr()
2151 ASSERT(db->db_size == size); in ztest_get_data()
5973 ASSERT(db->db_size == blocksize); in ztest_ddt_repair()
5974 ASSERT(ztest_pattern_match(db->db_data, db->db_size, pattern) || in ztest_ddt_repair()
5975 ztest_pattern_match(db->db_data, db->db_size, 0ULL)); in ztest_ddt_repair()
5977 ztest_pattern_set(db->db_data, db->db_size, pattern); in ztest_ddt_repair()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu.h355 uint64_t db_size; /* size of buffer in bytes */ member
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c679 sm->sm_dbuf->db_size == sizeof (space_map_phys_t)) in get_dtl_refcount()
699 sm->sm_dbuf->db_size == sizeof (space_map_phys_t)) in get_metaslab_refcount()
2286 bsize = db->db_size; in dump_object()

12