Home
last modified time | relevance | path

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

12

/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c124 ASSERT3U(db->db_size, >=, PAGESIZE); in dmu_write_pages()
127 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write_pages()
131 if (tocpy == db->db_size) in dmu_write_pages()
147 if (tocpy == db->db_size) in dmu_write_pages()
184 ASSERT(ISP2(dbp[i]->db_size)); in dmu_read_pages()
186 ASSERT3U(dbp[i]->db_size, ==, dbp[0]->db_size); in dmu_read_pages()
208 ASSERT(db->db_size > PAGE_SIZE); in dmu_read_pages()
267 ASSERT(bufoff <= db->db_size); in dmu_read_pages()
268 if (bufoff == db->db_size) { in dmu_read_pages()
324 ASSERT(db->db_size > PAGE_SIZE); in dmu_read_pages()
[all …]
/f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dbuf.h56 __field(uint64_t, db_size) \
73 __entry->db_size = db->db.db_size; \
85 __entry->db_size = 0; \
100 __entry->db_size, __entry->db_state, __entry->db_holds
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddbuf.c692 db->db.db_size); in dbuf_evict_one()
1037 db->db.db_size); in dbuf_verify()
1921 db->db.db_size = size; in dbuf_new_size()
2762 db->db.db_size, db); in dbuf_destroy()
2770 db->db.db_size); in dbuf_destroy()
3472 db->db.db_size, db); in dbuf_hold_impl()
3480 db->db.db_size); in dbuf_hold_impl()
3727 db->db.db_size); in dbuf_rele_and_unlock()
4583 db->db.db_size); in dbuf_write_done()
4862 contents, db->db.db_size, db->db.db_size, &zp, in dbuf_write()
[all …]
H A Dspace_map.c114 ASSERT3U(blksz, ==, db->db_size); in space_map_iterate()
221 ASSERT3U(sm->sm_blksz, ==, db->db_size); in space_map_reversed_last_block_entries()
222 ASSERT3U(bufsz, >=, db->db_size); in space_map_reversed_last_block_entries()
455 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_clear()
483 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_add()
566 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_seg()
603 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_seg()
608 (db->db_size / sizeof (uint64_t)); in space_map_write_seg()
696 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_impl()
H A Ddmu.c1016 tocpy = MIN(db->db_size - bufoff, size); in dmu_read_impl()
1066 tocpy = MIN(db->db_size - bufoff, size); in dmu_write_impl()
1070 if (tocpy == db->db_size) in dmu_write_impl()
1077 if (tocpy == db->db_size) in dmu_write_impl()
1199 tocpy = MIN(db->db_size - bufoff, size); in dmu_read_uio_dnode()
1291 tocpy = MIN(db->db_size - bufoff, size); in dmu_write_uio_dnode()
1295 if (tocpy == db->db_size) in dmu_write_uio_dnode()
1313 if (tocpy == db->db_size) in dmu_write_uio_dnode()
1506 BP_SET_LSIZE(bp, db->db_size); in dmu_sync_ready()
1620 dmu_tx_hold_space(tx, zgd->zgd_db->db_size); in dmu_sync_late_arrival()
[all …]
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()
216 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify()
233 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify()
349 bzero(db->db.db_data, db->db.db_size); in free_children()
H A Dbpobj.c131 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_free()
301 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_blkptrs()
720 VERIFY3U(subdb->db_size, >=, in bpobj_enqueue_subobj()
751 VERIFY3U(bps->db_size, >=, numbps * sizeof (blkptr_t)); in bpobj_enqueue_subobj()
827 bpo->bpo_cached_dbuf->db_size) { in bpobj_enqueue()
H A Dzap_micro.c429 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open()
452 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1; in mzap_open()
489 zap->zap_dbuf->db_size); in mzap_open()
563 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir_impl()
575 db->db_size / MZAP_ENT_LEN - 1; in zap_lockdir_impl()
644 int sz = zap->zap_dbuf->db_size; in mzap_upgrade()
1639 zs->zs_blocksize = zap->zap_dbuf->db_size; in zap_get_stats()
H A Ddbuf_stats.c89 (u_longlong_t)db->db.db_size, in __dbuf_stats_hash_table_data()
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 Dzap.c110 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade()
117 bzero(zap->zap_dbuf->db_data, zap->zap_dbuf->db_size); in fzap_upgrade()
480 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
512 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size); in zap_open_leaf()
545 ASSERT3U(db->db_size, ==, 1 << bs); in zap_get_leaf_byblk()
H A Dsa.c712 hdl->sa_spill->db_size, &i, &spill_used, &dummy); in sa_build_layouts()
718 hdl->sa_spill->db_size) in sa_build_layouts()
1875 bonus_data_size = hdl->sa_bonus->db_size; in sa_modify_attrs()
1878 hdl->sa_bonus->db_size); in sa_modify_attrs()
1888 spill_data_size = hdl->sa_spill->db_size; in sa_modify_attrs()
1891 hdl->sa_spill->db_size); in sa_modify_attrs()
H A Ddnode.c307 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT))); in dnode_verify()
738 dn->dn_bonus->db.db_size = in dnode_reallocate()
741 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate()
1152 int epb = dn->dn_dbuf->db.db_size >> DNODE_SHIFT; in dnode_free_interior_slots()
1366 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT); in dnode_hold_impl()
1367 epb = db->db.db_size >> DNODE_SHIFT; in dnode_hold_impl()
H A Dspa_history.c103 ASSERT3U(dbp->db_size, >=, sizeof (spa_history_phys_t)); in spa_history_create_obj()
H A Dzfs_vnops.c831 ASSERT(db->db_size == size); in zfs_get_data()
H A Dzap_leaf.c164 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
/f-stack/app/redis-5.0.5/src/
H A Dredis-check-rdb.c250 uint64_t db_size, expires_size; in redis_check_rdb() local
252 if ((db_size = rdbLoadLen(&rdb,NULL)) == RDB_LENERR) in redis_check_rdb()
H A Drdb.c1130 uint64_t db_size, expires_size; in rdbSaveRio() local
1131 db_size = dictSize(db->dict); in rdbSaveRio()
1134 if (rdbSaveLen(rdb,db_size) == -1) goto werr; in rdbSaveRio()
1926 uint64_t db_size, expires_size; in rdbLoadRio() local
1927 if ((db_size = rdbLoadLen(rdb,NULL)) == RDB_LENERR) in rdbLoadRio()
1931 dictExpand(db->dict,db_size); in rdbLoadRio()
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_vfpf.h132 uint16_t db_size; member
H A Dbnx2x_vfpf.c301 sc->doorbell_size = sc_resp.db_size; in bnx2x_vf_get_resources()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore.h612 unsigned long db_size; member
860 unsigned long db_size; member
H A Decore_vfpf_if.h189 u16 db_size; member
H A Decore_sriov.c1641 u8 db_size = DB_ADDR_VF(1, DQ_DEMS_LEGACY) - in ecore_iov_vf_mbx_acquire_resc_cids() local
1671 if (bar_size / db_size < 256) in ecore_iov_vf_mbx_acquire_resc_cids()
1673 (u8)(bar_size / db_size)); in ecore_iov_vf_mbx_acquire_resc_cids()
1862 pfdev_info->db_size = 0; /* @@@ TBD MichalK Vf Doorbells */ in ecore_iov_vf_mbx_acquire()
1931 resp->pfdev_info.db_size, resp->pfdev_info.indices_per_sb, in ecore_iov_vf_mbx_acquire()
/f-stack/dpdk/drivers/net/qede/
H A Dqede_main.c39 edev->db_size = pci_dev->mem_resource[2].len; in qed_init_pci()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Ddmu.h349 uint64_t db_size; /* size of buffer in bytes */ member

12