Lines Matching refs:dn
106 #define DN_SLOT_IS_PTR(dn) ((void *)dn > DN_SLOT_INTERIOR) argument
107 #define DN_SLOT_IS_VALID(dn) ((void *)dn != NULL) argument
380 #define DN_DBUFS_COUNT(dn) ((dn)->dn_dbufs_count + \ argument
381 avl_numnodes(&(dn)->dn_dbufs))
416 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
417 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
418 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
424 boolean_t dnode_add_ref(dnode_t *dn, void *ref);
425 void dnode_rele(dnode_t *dn, void *ref);
426 void dnode_rele_and_unlock(dnode_t *dn, void *tag, boolean_t evicting);
428 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
429 void dnode_set_dirtyctx(dnode_t *dn, dmu_tx_t *tx, void *tag);
430 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
431 void dnode_allocate(dnode_t *dn, dmu_object_type_t ot, int blocksize, int ibs,
433 void dnode_reallocate(dnode_t *dn, dmu_object_type_t ot, int blocksize,
436 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
439 void dnode_verify(dnode_t *dn);
440 int dnode_set_nlevels(dnode_t *dn, int nlevels, dmu_tx_t *tx);
441 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx);
442 void dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx);
443 void dnode_diduse_space(dnode_t *dn, int64_t space);
444 void dnode_new_blkid(dnode_t *dn, uint64_t blkid, dmu_tx_t *tx,
446 uint64_t dnode_block_freed(dnode_t *dn, uint64_t blkid);
449 int dnode_next_offset(dnode_t *dn, int flags, uint64_t *off,
451 void dnode_evict_dbufs(dnode_t *dn);
452 void dnode_evict_bonus(dnode_t *dn);
453 void dnode_free_interior_slots(dnode_t *dn);
598 #define dprintf_dnode(dn, fmt, ...) do { \ argument
601 uint64_t __db_obj = (dn)->dn_object; \
607 dprintf_ds((dn)->dn_objset->os_dsl_dataset, "obj=%s " fmt, \
612 #define DNODE_VERIFY(dn) dnode_verify(dn) argument
618 #define DNODE_VERIFY(dn) argument