Lines Matching defs:tmp_handle
502 qlt_dma_handle_t *tmp_handle, *first_handle, *last_handle;
514 if ((tmp_handle = qlt_dma_alloc_handle(qlt)) == NULL)
517 tmp_handle->next = pool->free_list;
518 pool->free_list = tmp_handle;
529 tmp_handle = first_handle;
531 last_handle = tmp_handle;
532 tmp_handle = tmp_handle->next;
534 pool->free_list = tmp_handle;
548 qlt_dma_handle_t *tmp_handle, *last_handle;
555 tmp_handle = first_handle;
557 while (tmp_handle != NULL) {
558 last_handle = tmp_handle;
563 if (tmp_handle->num_cookies != 0) {
564 rv = ddi_dma_unbind_handle(tmp_handle->dma_handle);
566 tmp_handle->num_cookies = 0;
567 tmp_handle->num_cookies_fetched = 0;
569 tmp_handle = tmp_handle->next;