Lines Matching refs:handles
820 cmn_err(CE_WARN, "%s: %d tx dma handles allocated at close\n",
893 struct myri10ge_tx_dma_handle_head handles;
898 handles.head = NULL;
899 handles.tail = NULL;
903 handles.head = tx->info[idx].handle;
904 if (handles.tail == NULL)
905 handles.tail = tx->info[idx].handle;
916 if (handles.head != NULL)
917 myri10ge_free_tx_handles(tx, &handles);
922 * Allocates DMA handles associated with the send ring
927 struct myri10ge_tx_dma_handle *handles;
954 /* pre-allocate transmit handles */
955 handles = NULL;
957 &handles);
958 if (handles != NULL)
959 myri10ge_free_tx_handle_slist(&ss->tx, handles);
2513 struct myri10ge_tx_dma_handle_head handles;
2518 handles.head = NULL;
2519 handles.tail = NULL;
2530 tx->info[idx].handle->next = handles.head;
2531 handles.head = tx->info[idx].handle;
2532 if (handles.tail == NULL)
2533 handles.tail = tx->info[idx].handle;
2577 if (handles.head != NULL)
2578 myri10ge_free_tx_handles(tx, &handles);
3338 struct myri10ge_tx_dma_handle *handles, *dma_handle = NULL;
3487 handles = NULL;
3488 err = myri10ge_alloc_tx_handles(ss, count, &handles);
3497 dma_handle = handles;
3498 handles = handles->next;
3507 dma_handle->next = handles;
3508 handles = dma_handle;
3652 /* unbind and free handles from previous mblks */
3659 dma_handle->next = handles;
3660 handles = dma_handle;
3665 myri10ge_free_tx_handle_slist(tx, handles);