Searched refs:req_cur (Results 1 – 1 of 1) sorted by relevance
374 struct cldma_request *req_cur, *req_next; in t7xx_cldma_ring_free() local376 list_for_each_entry_safe(req_cur, req_next, &ring->gpd_ring, entry) { in t7xx_cldma_ring_free()377 if (req_cur->mapped_buff && req_cur->skb) { in t7xx_cldma_ring_free()378 dma_unmap_single(md_ctrl->dev, req_cur->mapped_buff, in t7xx_cldma_ring_free()380 req_cur->mapped_buff = 0; in t7xx_cldma_ring_free()383 dev_kfree_skb_any(req_cur->skb); in t7xx_cldma_ring_free()385 if (req_cur->gpd) in t7xx_cldma_ring_free()386 dma_pool_free(md_ctrl->gpd_dmapool, req_cur->gpd, req_cur->gpd_addr); in t7xx_cldma_ring_free()388 list_del(&req_cur->entry); in t7xx_cldma_ring_free()389 kfree(req_cur); in t7xx_cldma_ring_free()