Lines Matching refs:handles
813 cmn_err(CE_WARN, "%s: %d tx dma handles allocated at close\n",
886 struct myri10ge_tx_dma_handle_head handles;
891 handles.head = NULL;
892 handles.tail = NULL;
896 handles.head = tx->info[idx].handle;
897 if (handles.tail == NULL)
898 handles.tail = tx->info[idx].handle;
909 if (handles.head != NULL)
910 myri10ge_free_tx_handles(tx, &handles);
915 * Allocates DMA handles associated with the send ring
920 struct myri10ge_tx_dma_handle *handles;
947 /* pre-allocate transmit handles */
948 handles = NULL;
950 &handles);
951 if (handles != NULL)
952 myri10ge_free_tx_handle_slist(&ss->tx, handles);
2506 struct myri10ge_tx_dma_handle_head handles;
2511 handles.head = NULL;
2512 handles.tail = NULL;
2523 tx->info[idx].handle->next = handles.head;
2524 handles.head = tx->info[idx].handle;
2525 if (handles.tail == NULL)
2526 handles.tail = tx->info[idx].handle;
2570 if (handles.head != NULL)
2571 myri10ge_free_tx_handles(tx, &handles);
3331 struct myri10ge_tx_dma_handle *handles, *dma_handle = NULL;
3480 handles = NULL;
3481 err = myri10ge_alloc_tx_handles(ss, count, &handles);
3490 dma_handle = handles;
3491 handles = handles->next;
3500 dma_handle->next = handles;
3501 handles = dma_handle;
3645 /* unbind and free handles from previous mblks */
3652 dma_handle->next = handles;
3653 handles = dma_handle;
3658 myri10ge_free_tx_handle_slist(tx, handles);