API Reference Manual  1.45.0
api/spec/pool.h File Reference

ODP pool. More...

#include <odp/visibility_begin.h>
#include <odp/api/std_types.h>
#include <odp/api/pool_types.h>
#include <odp/visibility_end.h>
Include dependency graph for api/spec/pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int odp_pool_capability (odp_pool_capability_t *capa)
 Query pool capabilities. More...
 
odp_pool_t odp_pool_create (const char *name, const odp_pool_param_t *param)
 Create a pool. More...
 
int odp_pool_destroy (odp_pool_t pool)
 Destroy a pool previously created by odp_pool_create() More...
 
odp_pool_t odp_pool_lookup (const char *name)
 Find a pool by name. More...
 
int odp_pool_info (odp_pool_t pool, odp_pool_info_t *info)
 Retrieve information about a pool. More...
 
void odp_pool_print (odp_pool_t pool)
 Print pool info. More...
 
void odp_pool_print_all (void)
 Print debug info about all pools. More...
 
uint64_t odp_pool_to_u64 (odp_pool_t hdl)
 Get printable value for an odp_pool_t. More...
 
void odp_pool_param_init (odp_pool_param_t *param)
 Initialize pool params. More...
 
unsigned int odp_pool_max_index (void)
 Maximum pool index. More...
 
int odp_pool_index (odp_pool_t pool)
 Get pool index. More...
 
int odp_pool_stats (odp_pool_t pool, odp_pool_stats_t *stats)
 Read pool statistics. More...
 
int odp_pool_stats_selected (odp_pool_t pool, odp_pool_stats_selected_t *stats, const odp_pool_stats_opt_t *opt)
 Get selected pool statistics. More...
 
int odp_pool_stats_reset (odp_pool_t pool)
 Reset statistics for pool. More...
 
int odp_pool_ext_capability (odp_pool_type_t type, odp_pool_ext_capability_t *capa)
 Query capabilities of an external memory pool type. More...
 
void odp_pool_ext_param_init (odp_pool_type_t type, odp_pool_ext_param_t *param)
 Initialize pool params. More...
 
odp_pool_t odp_pool_ext_create (const char *name, const odp_pool_ext_param_t *param)
 Create an external memory pool. More...
 
int odp_pool_ext_populate (odp_pool_t pool, void *buf[], uint32_t buf_size, uint32_t num, uint32_t flags)
 Populate external memory pool with buffer memory. More...
 

Detailed Description

ODP pool.

Definition in file api/spec/pool.h.