MCPcopy Create free account
hub / github.com/F-Stack/f-stack / free_wb_data

Function free_wb_data

dpdk/lib/vhost/vhost_crypto.c:629–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629static void
630free_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

Callers 3

prepare_write_back_dataFunction · 0.85
prepare_sym_cipher_opFunction · 0.85
prepare_sym_chain_opFunction · 0.85

Calls 1

rte_mempool_putFunction · 0.85

Tested by

no test coverage detected