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.c123 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT;
126 dnobj + (span >> DNODE_SHIFT) - 1);
145 for (i = 0; i < blksz >> DNODE_SHIFT; i++) {
147 (DNODE_BLOCK_SHIFT - DNODE_SHIFT)) + i;
H A Ddnode.c311 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT)));
377 ASSERT3U(sizeof (dnode_phys_t), ==, (1<<DNODE_SHIFT));
583 ASSERT3U(dn_slots << DNODE_SHIFT, <=,
689 ASSERT3U(bonuslen, <=, DN_BONUS_SIZE(dn_slots << DNODE_SHIFT));
1157 int epb = dn->dn_dbuf->db.db_size >> DNODE_SHIFT;
1357 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT);
1358 epb = db->db.db_size >> DNODE_SHIFT;
2348 for (i = (*offset >> DNODE_SHIFT) & (blkfill - 1);
2358 (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 Dzfs_replay.c320 dnodesize = LR_FOID_GET_SLOTS(lr->lr_foid) << DNODE_SHIFT;
454 int dnodesize = LR_FOID_GET_SLOTS(lr->lr_foid) << DNODE_SHIFT;
H A Ddmu_recv.c1129 (spa_maxdnodesize(dmu_objset_spa(rwa->os)) >> DNODE_SHIFT)) {
1206 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT ||
1230 dn_slots != doi.doi_dnodesize >> DNODE_SHIFT) {
1325 dn_slots << DNODE_SHIFT, tx);
1334 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 Ddsl_scan.c1606 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT;
1788 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT;
H A Dzio.c4514 zb1obj = zb1L0 * (dbss1 << (SPA_MINBLOCKSHIFT - DNODE_SHIFT));
4523 zb2obj = zb2L0 * (dbss2 << (SPA_MINBLOCKSHIFT - 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.h60 #define DNODE_SHIFT 9 /* 512 bytes */ macro
87 #define DNODE_MIN_SIZE (1 << DNODE_SHIFT)
90 #define DNODE_MIN_SLOTS (DNODE_MIN_SIZE >> DNODE_SHIFT)
91 #define DNODE_MAX_SLOTS (DNODE_MAX_SIZE >> DNODE_SHIFT)
94 #define DN_SLOTS_TO_BONUSLEN(slots) DN_BONUS_SIZE((slots) << DNODE_SHIFT)
108 #define DNODES_PER_BLOCK_SHIFT (DNODE_BLOCK_SHIFT - DNODE_SHIFT)
249 (((dnp)->dn_extra_slots + 1) << DNODE_SHIFT) - (1 << SPA_BLKPTRSHIFT)))
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h858 #define DNODE_SHIFT 9 /* 512 bytes */ macro
869 #define DNODE_MIN_SIZE (1 << DNODE_SHIFT)
872 #define DNODE_MIN_SLOTS (DNODE_MIN_SIZE >> DNODE_SHIFT)
873 #define DNODE_MAX_SLOTS (DNODE_MAX_SIZE >> DNODE_SHIFT)
876 #define DN_SLOTS_TO_BONUSLEN(slots) DN_BONUS_SIZE((slots) << DNODE_SHIFT)
883 #define DNODES_PER_BLOCK_SHIFT (DNODE_BLOCK_SHIFT - DNODE_SHIFT)
958 (((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 1094 milliseconds