CNDP  22.08.0
mempool_ring.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
#include "mempool.h"
#include "mempool_private.h"

Go to the source code of this file.

Typedefs

typedef void() mempool_populate_obj_cb_t(struct cne_mempool *mp, void *opaque, void *vaddr)
 

Detailed Description

Private APIs for a mempool to use Ring to store memory pointers.

Definition in file mempool_ring.h.

Typedef Documentation

◆ mempool_populate_obj_cb_t

typedef void() mempool_populate_obj_cb_t(struct cne_mempool *mp, void *opaque, void *vaddr)

Function to be called for each populated object.

Parameters
[in]mpA pointer to the mempool structure.
[in]opaqueAn opaque pointer passed to iterator.
[in]vaddrObject virtual address.

Definition at line 33 of file mempool_ring.h.