| 627 | } |
| 628 | |
| 629 | static void |
| 630 | free_wb_data(struct vhost_crypto_writeback_data *wb_data, |
| 631 | struct rte_mempool *mp) |
| 632 | { |
| 633 | while (wb_data->next != NULL) |
| 634 | free_wb_data(wb_data->next, mp); |
| 635 | |
| 636 | rte_mempool_put(mp, wb_data); |
| 637 | } |
| 638 | |
| 639 | /** |
| 640 | * The function will allocate a vhost_crypto_writeback_data linked list |
no test coverage detected