Searched refs:dhe (Results 1 – 2 of 2) sorted by relevance
1042 dhe = (free_dh_t *)kmem_zalloc(sizeof (*dhe), KM_SLEEP); in ch_get_dma_handle()1069 kmem_free(dhe, sizeof (*dhe)); in ch_get_dma_handle()1076 return (dhe); in ch_get_dma_handle()1088 while (dhe) { in ch_free_dma_handles()1090 the = dhe; in ch_free_dma_handles()1091 dhe = dhe->dhe_next; in ch_free_dma_handles()1233 dhe = (free_dh_t *)kmem_zalloc(sizeof (*dhe), KM_SLEEP); in ch_get_dvma_handle()1254 kmem_free(dhe, sizeof (*dhe)); in ch_get_dvma_handle()1261 return (dhe); in ch_get_dvma_handle()1277 the = dhe; in ch_free_dvma_handles()[all …]
1556 free_dh_t *dhe; in pe_dma_handle_init() local1561 dhe = ch_get_dvma_handle(chp); in pe_dma_handle_init()1562 if (dhe == NULL) in pe_dma_handle_init()1565 dhe->dhe_next = chp->ch_vdh; in pe_dma_handle_init()1566 chp->ch_vdh = dhe; in pe_dma_handle_init()1573 dhe = ch_get_dma_handle(chp); in pe_dma_handle_init()1574 if (dhe == NULL) in pe_dma_handle_init()1577 dhe->dhe_next = chp->ch_dh; in pe_dma_handle_init()1578 chp->ch_dh = dhe; in pe_dma_handle_init()