Lines Matching refs:dnp
122 #define DN_BONUS(dnp) ((void*)((dnp)->dn_bonus + \ argument
123 (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
124 #define DN_MAX_BONUS_LEN(dnp) \ argument
125 ((dnp->dn_flags & DNODE_FLAG_SPILL_BLKPTR) ? \
126 (uint8_t *)DN_SPILL_BLKPTR(dnp) - (uint8_t *)DN_BONUS(dnp) : \
127 (uint8_t *)(dnp + (dnp->dn_extra_slots + 1)) - (uint8_t *)DN_BONUS(dnp))
129 #define DN_USED_BYTES(dnp) (((dnp)->dn_flags & DNODE_FLAG_USED_BYTES) ? \ argument
130 (dnp)->dn_used : (dnp)->dn_used << SPA_MINBLOCKSHIFT)
271 #define DN_SPILL_BLKPTR(dnp) ((blkptr_t *)((char *)(dnp) + \ argument
272 (((dnp)->dn_extra_slots + 1) << DNODE_SHIFT) - (1 << SPA_BLKPTRSHIFT)))
412 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp,
421 void *ref, dnode_t **dnp);
423 void *ref, dnode_t **dnp);
437 void dnode_byteswap(dnode_phys_t *dnp);