Lines Matching defs:dhe
1037 free_dh_t *dhe;
1040 dhe = (free_dh_t *)kmem_zalloc(sizeof (*dhe), KM_SLEEP);
1067 kmem_free(dhe, sizeof (*dhe));
1072 dhe->dhe_dh = (ulong_t)ch_dh;
1074 return (dhe);
1083 free_dh_t *dhe, *the;
1085 dhe = chp->ch_dh;
1086 while (dhe) {
1087 ddi_dma_free_handle((ddi_dma_handle_t *)&dhe->dhe_dh);
1088 the = dhe;
1089 dhe = dhe->dhe_next;
1115 free_dh_t *dhe;
1119 if ((dhe = chp->ch_dh) != NULL) {
1120 chp->ch_dh = dhe->dhe_next;
1124 if (dhe == NULL) {
1128 ch_dh = (ddi_dma_handle_t)dhe->dhe_dh;
1144 dhe->dhe_next = chp->ch_dh;
1145 chp->ch_dh = dhe;
1161 dhe->dhe_next = chp->ch_dh;
1162 chp->ch_dh = dhe;
1185 cmp->ce_dh = dhe;
1199 ch_unbind_dma_handle(ch_t *chp, free_dh_t *dhe)
1201 ddi_dma_handle_t ch_dh = (ddi_dma_handle_t)dhe->dhe_dh;
1208 dhe->dhe_next = chp->ch_dh;
1209 chp->ch_dh = dhe;
1228 free_dh_t *dhe;
1231 dhe = (free_dh_t *)kmem_zalloc(sizeof (*dhe), KM_SLEEP);
1252 kmem_free(dhe, sizeof (*dhe));
1257 dhe->dhe_dh = (ulong_t)ch_dh;
1259 return (dhe);
1270 free_dh_t *dhe, *the;
1272 dhe = chp->ch_vdh;
1273 while (dhe) {
1274 dvma_release((ddi_dma_handle_t)dhe->dhe_dh);
1275 the = dhe;
1276 dhe = dhe->dhe_next;
1302 free_dh_t *dhe;
1305 if ((dhe = chp->ch_vdh) != NULL) {
1306 chp->ch_vdh = dhe->dhe_next;
1310 if (dhe == NULL) {
1314 ch_dh = (ddi_dma_handle_t)dhe->dhe_dh;
1330 cmp->ce_dh = dhe;
1347 ch_unbind_dvma_handle(ch_t *chp, free_dh_t *dhe)
1349 ddi_dma_handle_t ch_dh = (ddi_dma_handle_t)dhe->dhe_dh;
1354 dhe->dhe_next = chp->ch_vdh;
1355 chp->ch_vdh = dhe;