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

/freebsd-10.2-release/contrib/ofed/libmlx4/src/
H A Ddbrec.c52 static const int db_size[] = { variable
65 pp = ps / db_size[type];
114 db = page->buf.buf + (i * 8 * sizeof (long) + (j - 1)) * db_size[type];
137 i = ((void *) db - page->buf.buf) / db_size[type];
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddmu.c201 } else if (newsize < 0 || newsize > db_fake->db_size) {
805 tocpy = (int)MIN(db->db_size - bufoff, size);
840 tocpy = (int)MIN(db->db_size - bufoff, size);
842 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size);
844 if (tocpy == db->db_size)
851 if (tocpy == db->db_size)
1054 tocpy = (int)MIN(db->db_size - bufoff, size);
1157 tocpy = (int)MIN(db->db_size - bufoff, size);
1159 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size);
1161 if (tocpy == db->db_size)
[all...]
H A Ddbuf.c335 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen);
339 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen);
342 ASSERT3U(db->db.db_offset, ==, db->db_blkid * db->db.db_size);
352 * We can't assert that db_size matches dn_datablksz because it
379 int epb = db->db_parent->db.db_size >> SPA_BLKPTRSHIFT;
408 for (i = 0; i < db->db.db_size >> 3; i++) {
445 int blksz = db->db.db_size;
487 bzero(buf->b_data, db->db.db_size);
524 ASSERT3U(bonuslen, <=, db->db.db_size);
549 db->db.db_size, d
[all...]
H A Dbpobj.c127 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
235 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
295 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
433 VERIFY3U(subdb->db_size, >=,
497 bpo->bpo_cached_dbuf->db_size) {
H A Dzap.c87 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1;
94 bzero(zap->zap_dbuf->db_data, zap->zap_dbuf->db_size);
459 l->l_bs = highbit64(db->db_size) - 1;
490 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size);
513 ASSERT3U(db->db_size, ==, 1 << bs);
1345 *tooverwrite += zap->zap_dbuf->db_size;
1347 *towrite += zap->zap_dbuf->db_size;
1360 *towrite += zap->zap_dbuf->db_size;
1362 *towrite += (zap->zap_dbuf->db_size * 3);
1375 *tooverwrite += l->l_dbuf->db_size;
[all...]
H A Ddnode_sync.c71 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size);
175 ASSERT3U(db->db.db_size, ==, 1 << dn->dn_phys->dn_indblkshift);
176 ASSERT3U(off+num, <=, db->db.db_size >> SPA_BLKPTRSHIFT);
203 for (j = 0; j < child->db.db_size >> 3; j++) {
220 for (j = 0; j < child->db.db_size >> 3; j++) {
301 bzero(db->db.db_data, db->db.db_size);
H A Dsa.c576 full_space = (buftype == SA_BONUS) ? DN_MAX_BONUSLEN : db->db_size;
705 buf_space = hdl->sa_spill->db_size - spillhdrsize;
707 hdl->sa_spill->db_size)
721 buf_space = hdl->sa_bonus->db_size - hdrsize;
757 buf_space = hdl->sa_spill->db_size - spillhdrsize;
1669 bonus_data_size = hdl->sa_bonus->db_size;
1672 hdl->sa_bonus->db_size);
1682 spill_data_size = hdl->sa_spill->db_size;
1685 hdl->sa_spill->db_size);
H A Dzfs_sa.c79 if (bufsz + ZFS_OLD_ZNODE_PHYS_SIZE <= db->db_size) {
116 ASSERT3U(len, <=, dbp->db_size);
H A Dzap_micro.c386 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1;
410 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1;
453 zap->zap_dbuf->db_size);
515 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE;
525 db->db_size / MZAP_ENT_LEN - 1;
549 sz = zap->zap_dbuf->db_size;
1385 zs->zs_blocksize = zap->zap_dbuf->db_size;
H A Dspace_map.c142 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t))
171 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t))
H A Ddnode.c278 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT)));
653 /* fix up the bonus db_size */
655 dn->dn_bonus->db.db_size =
657 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size);
996 int epb = db->db_size >> DNODE_SHIFT;
1104 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT);
1105 epb = db->db.db_size >> DNODE_SHIFT;
H A Dspa_history.c101 ASSERT(dbp->db_size >= sizeof (spa_history_phys_t));
H A Ddmu_tx.c194 ASSERT(db->db.db_size == space);
525 txh->txh_memory_tohold += dbuf->db.db_size;
H A Dzap_leaf.c165 l->l_bs = highbit64(l->l_dbuf->db_size) - 1;
H A Ddmu_send.c1548 ASSERT3U(db->db_size, >=, drro->drr_bonuslen);
1776 if (db_spill->db_size < drrs->drr_length)
H A Dmetaslab.c1500 if (msp->ms_sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) {
H A Dzvol.c1333 ASSERT(db->db_size == size);
H A Dzfs_vnops.c1292 ASSERT(db->db_size == size);
/freebsd-10.2-release/sys/geom/part/
H A Dg_part_ldm.c123 uint64_t db_size; /* LDM database size */ member in struct:ldm_privhdr
428 hdr->db_size = be64dec(buf + LDM_PH_DBSIZE_OFF);
493 hdr.db_size != LDM_DB_SIZE ||
501 "db_offset: %jd, db_size: %jd, th_offset0: %jd, "
504 hdr.db_offset, hdr.db_size, hdr.th_offset[0],
/freebsd-10.2-release/sbin/fsck_ffs/
H A Dsuj.c102 int db_size; member in struct:data_blk
372 if (size != dblk->db_size) {
376 dblk->db_size = size;
400 if (dblk->db_dirty == 0 || dblk->db_size == 0)
403 dblk->db_buf, dblk->db_size) == -1)
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu.h292 uint64_t db_size; /* size of buffer in bytes */ member in struct:dmu_buf
424 * dmu_buf_t with db_offset==-1ULL, and db_size = the size of the bonus
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c1295 ASSERT3U(doi.doi_bonus_size, <=, db->db_size);
1753 lr->lr_size = (ztest_random(db->db_size / sizeof (*bbt)) + 1) *
1768 ASSERT3U(lr->lr_size, <=, db->db_size);
1902 ASSERT(db->db_size == size);
5038 ASSERT(db->db_size == blocksize);
5039 ASSERT(ztest_pattern_match(db->db_data, db->db_size, pattern) ||
5040 ztest_pattern_match(db->db_data, db->db_size, 0ULL));
5042 ztest_pattern_set(db->db_data, db->db_size, pattern);
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c541 sm->sm_dbuf->db_size == sizeof (space_map_phys_t))
561 sm->sm_dbuf->db_size == sizeof (space_map_phys_t))
1767 bsize = db->db_size;

Completed in 292 milliseconds