Lines Matching refs:dnh
403 uint64_t object, dnode_handle_t *dnh)
417 dn->dn_handle = dnh;
444 if (dnh->dnh_dnode != NULL) {
448 return (dnh->dnh_dnode);
468 dnh->dnh_dnode = dn;
980 dnode_special_close(dnode_handle_t *dnh)
982 dnode_t *dn = dnh->dnh_dnode;
994 zrl_add(&dnh->dnh_zrlock);
996 zrl_destroy(&dnh->dnh_zrlock);
997 dnh->dnh_dnode = NULL;
1002 dnode_handle_t *dnh)
1006 dn = dnode_create(os, dnp, NULL, object, dnh);
1007 zrl_init(&dnh->dnh_zrlock);
1018 dnode_handle_t *dnh = &children_dnodes->dnc_children[i];
1026 if (dnh->dnh_dnode == NULL) {
1027 zrl_destroy(&dnh->dnh_zrlock);
1031 zrl_add(&dnh->dnh_zrlock);
1032 dn = dnh->dnh_dnode;
1043 zrl_destroy(&dnh->dnh_zrlock);
1044 dnh->dnh_dnode = NULL;
1067 dnode_handle_t *dnh;
1134 dnh = &children_dnodes->dnc_children[0];
1136 zrl_init(&dnh[i].dnh_zrlock);
1144 zrl_destroy(&dnh[i].dnh_zrlock);
1154 dnh = &children_dnodes->dnc_children[idx];
1155 zrl_add(&dnh->dnh_zrlock);
1156 dn = dnh->dnh_dnode;
1160 dn = dnode_create(os, phys, db, object, dnh);
1170 zrl_remove(&dnh->dnh_zrlock);
1175 dbuf_add_ref(db, dnh);
1179 zrl_remove(&dnh->dnh_zrlock);
1230 dnode_handle_t *dnh = dn->dn_handle;
1244 ASSERT(refs > 0 || dnh->dnh_zrlock.zr_owner != curthread);
1256 dbuf_rele(db, dnh);