Searched refs:DNODE_SHIFT (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Ddnode.h33 #define DNODE_SHIFT 9 /* 512 bytes */ macro
44 #define DNODE_SIZE (1 << DNODE_SHIFT)
49 #define DNODES_PER_BLOCK_SHIFT (DNODE_BLOCK_SHIFT - DNODE_SHIFT)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_object.c54 int dn_slots = dnodesize >> DNODE_SHIFT;
131 offset = object << DNODE_SHIFT;
140 object = offset >> DNODE_SHIFT;
239 int dn_slots = dnodesize >> DNODE_SHIFT;
276 int dn_slots = dnodesize >> DNODE_SHIFT;
383 i += doi.doi_dnodesize >> DNODE_SHIFT;
398 offset = start_obj << DNODE_SHIFT;
403 *objectp = offset >> DNODE_SHIFT;
H A Ddmu_diff.c124 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT;
127 dnobj + (span >> DNODE_SHIFT) - 1);
134 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT;
148 (DNODE_BLOCK_SHIFT - DNODE_SHIFT)) + i;
H A Dzfs_replay.c320 dnodesize = LR_FOID_GET_SLOTS(lr->lr_foid) << DNODE_SHIFT;
338 error = dnode_try_claim(zfsvfs->z_os, objid, dnodesize >> DNODE_SHIFT);
454 int dnodesize = LR_FOID_GET_SLOTS(lr->lr_foid) << DNODE_SHIFT;
472 error = dnode_try_claim(zfsvfs->z_os, objid, dnodesize >> DNODE_SHIFT);
H A Ddnode.c310 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT)));
376 ASSERT3U(sizeof (dnode_phys_t), ==, (1<<DNODE_SHIFT));
582 ASSERT3U(dn_slots << DNODE_SHIFT, <=,
688 ASSERT3U(bonuslen, <=, DN_BONUS_SIZE(dn_slots << DNODE_SHIFT));
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;
2374 for (i = (*offset >> DNODE_SHIFT) & (blkfill - 1);
2384 (i << DNODE_SHIFT);
H A Ddmu_send.c495 1 << (DNODE_BLOCK_SHIFT - DNODE_SHIFT));
764 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT;
765 err = dump_freeobjects(dsa, dnobj, span >> DNODE_SHIFT);
775 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT;
H A Ddmu_recv.c1125 (spa_maxdnodesize(dmu_objset_spa(rwa->os)) >> DNODE_SHIFT)) {
1202 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT ||
1226 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT) {
1321 dn_slots << DNODE_SHIFT, tx);
1330 dn_slots << DNODE_SHIFT, rwa->spill ?
H A Dzio_crypt.c895 uint_t i, max_dnp = datalen >> DNODE_SHIFT;
1587 uint_t i, j, max_dnp = datalen >> DNODE_SHIFT;
H A Ddmu_traverse.c329 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT;
H A Dzfs_log.c296 LR_FOID_SET_SLOTS(lr->lr_foid, zp->z_dnodesize >> DNODE_SHIFT);
H A Ddmu.c2472 doi->doi_dnodesize = dn->dn_num_slots << DNODE_SHIFT;
2549 *dnsize = dn->dn_num_slots << DNODE_SHIFT;
H A Dzio.c4547 zb1obj = zb1L0 * (dbss1 << (SPA_MINBLOCKSHIFT - DNODE_SHIFT));
4556 zb2obj = zb2L0 * (dbss2 << (SPA_MINBLOCKSHIFT - DNODE_SHIFT));
H A Ddsl_scan.c1602 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT;
1784 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT;
H A Ddmu_objset.c1047 (mdn->dn_datablkshift - DNODE_SHIFT + (levels - 1) *
H A Ddbuf.c4026 for (int i = 0; i < db->db.db_size >> DNODE_SHIFT; i++) {
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddnode.h61 #define DNODE_SHIFT 9 /* 512 bytes */ macro
88 #define DNODE_MIN_SIZE (1 << DNODE_SHIFT)
91 #define DNODE_MIN_SLOTS (DNODE_MIN_SIZE >> DNODE_SHIFT)
92 #define DNODE_MAX_SLOTS (DNODE_MAX_SIZE >> DNODE_SHIFT)
95 #define DN_SLOTS_TO_BONUSLEN(slots) DN_BONUS_SIZE((slots) << DNODE_SHIFT)
109 #define DNODES_PER_BLOCK_SHIFT (DNODE_BLOCK_SHIFT - DNODE_SHIFT)
250 (((dnp)->dn_extra_slots + 1) << DNODE_SHIFT) - (1 << SPA_BLKPTRSHIFT)))
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h955 #define DNODE_SHIFT 9 /* 512 bytes */ macro
966 #define DNODE_MIN_SIZE (1 << DNODE_SHIFT)
969 #define DNODE_MIN_SLOTS (DNODE_MIN_SIZE >> DNODE_SHIFT)
970 #define DNODE_MAX_SLOTS (DNODE_MAX_SIZE >> DNODE_SHIFT)
973 #define DN_SLOTS_TO_BONUSLEN(slots) DN_BONUS_SIZE((slots) << DNODE_SHIFT)
980 #define DNODES_PER_BLOCK_SHIFT (DNODE_BLOCK_SHIFT - DNODE_SHIFT)
1055 (((dnp)->dn_extra_slots + 1) << DNODE_SHIFT) - (1 << SPA_BLKPTRSHIFT))
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c726 int blksft = zfs_log2(zap_dnode->dn_datablkszsec << DNODE_SHIFT);
867 epbs = zfs_log2(blksz) - DNODE_SHIFT;
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1104 int max_slots = spa_maxdnodesize(ztest_spa) >> DNODE_SHIFT;
1127 return (slots << DNODE_SHIFT);

Completed in 100 milliseconds