/freebsd-10.1-release/contrib/ofed/libmlx4/src/ |
H A D | dbrec.c | 52 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.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dmu.c | 201 } 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); 1105 tocpy = (int)MIN(db->db_size - bufoff, size); 1107 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size); 1109 if (tocpy == db->db_size) [all...] |
H A D | dbuf.c | 338 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen); 342 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen); 345 ASSERT3U(db->db.db_offset, ==, db->db_blkid * db->db.db_size); 355 * We can't assert that db_size matches dn_datablksz because it 382 int epb = db->db_parent->db.db_size >> SPA_BLKPTRSHIFT; 411 for (i = 0; i < db->db.db_size >> 3; i++) { 459 int blksz = db->db.db_size; 501 bzero(buf->b_data, db->db.db_size); 538 ASSERT3U(bonuslen, <=, db->db.db_size); 564 db->db.db_size, d [all...] |
H A D | bpobj.c | 127 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); 432 VERIFY3U(subdb->db_size, >=, 496 bpo->bpo_cached_dbuf->db_size) {
|
H A D | zap.c | 87 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); 461 l->l_bs = highbit64(db->db_size) - 1; 493 (uintptr_t)l->l_phys, ==, l->l_dbuf->db_size); 516 ASSERT3U(db->db_size, ==, 1 << bs); 1347 *tooverwrite += zap->zap_dbuf->db_size; 1349 *towrite += zap->zap_dbuf->db_size; 1362 *towrite += zap->zap_dbuf->db_size; 1364 *towrite += (zap->zap_dbuf->db_size * 3); 1377 *tooverwrite += l->l_dbuf->db_size; [all...] |
H A D | dnode_sync.c | 71 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 D | sa.c | 576 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; 1670 bonus_data_size = hdl->sa_bonus->db_size; 1673 hdl->sa_bonus->db_size); 1683 spill_data_size = hdl->sa_spill->db_size; 1686 hdl->sa_spill->db_size);
|
H A D | zfs_sa.c | 79 if (bufsz + ZFS_OLD_ZNODE_PHYS_SIZE <= db->db_size) { 116 ASSERT3U(len, <=, dbp->db_size);
|
H A D | zap_micro.c | 383 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; 407 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1; 450 zap->zap_dbuf->db_size); 512 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; 522 db->db_size / MZAP_ENT_LEN - 1; 546 sz = zap->zap_dbuf->db_size; 1382 zs->zs_blocksize = zap->zap_dbuf->db_size;
|
H A D | space_map.c | 141 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) 170 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t))
|
H A D | dnode.c | 280 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT))); 654 /* fix up the bonus db_size */ 656 dn->dn_bonus->db.db_size = 658 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); 997 int epb = db->db_size >> DNODE_SHIFT; 1105 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT); 1106 epb = db->db.db_size >> DNODE_SHIFT;
|
H A D | spa_history.c | 101 ASSERT(dbp->db_size >= sizeof (spa_history_phys_t));
|
H A D | dmu_tx.c | 194 ASSERT(db->db.db_size == space); 517 txh->txh_memory_tohold += dbuf->db.db_size;
|
H A D | zap_leaf.c | 160 l->l_bs = highbit64(l->l_dbuf->db_size) - 1;
|
H A D | dmu_send.c | 1465 ASSERT3U(db->db_size, >=, drro->drr_bonuslen); 1682 if (db_spill->db_size < drrs->drr_length)
|
H A D | metaslab.c | 1490 if (msp->ms_sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) {
|
H A D | zvol.c | 1162 ASSERT(db->db_size == size);
|
H A D | zfs_vnops.c | 1286 ASSERT(db->db_size == size);
|
/freebsd-10.1-release/sys/geom/part/ |
H A D | g_part_ldm.c | 123 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.1-release/sbin/fsck_ffs/ |
H A D | suj.c | 102 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.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | dmu.h | 291 uint64_t db_size; /* size of buffer in bytes */ member in struct:dmu_buf 423 * dmu_buf_t with db_offset==-1ULL, and db_size = the size of the bonus
|
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 1304 ASSERT3U(doi.doi_bonus_size, <=, db->db_size); 1762 lr->lr_size = (ztest_random(db->db_size / sizeof (*bbt)) + 1) * 1777 ASSERT3U(lr->lr_size, <=, db->db_size); 1911 ASSERT(db->db_size == size); 5047 ASSERT(db->db_size == blocksize); 5048 ASSERT(ztest_pattern_match(db->db_data, db->db_size, pattern) || 5049 ztest_pattern_match(db->db_data, db->db_size, 0ULL)); 5051 ztest_pattern_set(db->db_data, db->db_size, pattern);
|
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 537 sm->sm_dbuf->db_size == sizeof (space_map_phys_t)) 557 sm->sm_dbuf->db_size == sizeof (space_map_phys_t)) 1758 bsize = db->db_size;
|