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

ODP stash. More...

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

Go to the source code of this file.

Functions

int odp_stash_capability (odp_stash_capability_t *capa, odp_stash_type_t type)
 Query stash capabilities. More...
 
void odp_stash_param_init (odp_stash_param_t *param)
 Initialize stash params. More...
 
odp_stash_t odp_stash_create (const char *name, const odp_stash_param_t *param)
 Create a stash. More...
 
int odp_stash_destroy (odp_stash_t stash)
 Destroy a stash. More...
 
odp_stash_t odp_stash_lookup (const char *name)
 Find a stash by name. More...
 
uint64_t odp_stash_to_u64 (odp_stash_t stash)
 Get printable value for a stash handle. More...
 
int32_t odp_stash_put (odp_stash_t stash, const void *obj, int32_t num)
 Put object handles into a stash. More...
 
int32_t odp_stash_put_batch (odp_stash_t stash, const void *obj, int32_t num)
 Put batch of object handles into a stash. More...
 
int32_t odp_stash_put_u32 (odp_stash_t stash, const uint32_t val[], int32_t num)
 Put 32-bit integers into a stash. More...
 
int32_t odp_stash_put_u32_batch (odp_stash_t stash, const uint32_t val[], int32_t num)
 Put batch of 32-bit integers into a stash. More...
 
int32_t odp_stash_put_u64 (odp_stash_t stash, const uint64_t val[], int32_t num)
 Put 64-bit integers into a stash. More...
 
int32_t odp_stash_put_u64_batch (odp_stash_t stash, const uint64_t val[], int32_t num)
 Put batch of 64-bit integers into a stash. More...
 
int32_t odp_stash_put_ptr (odp_stash_t stash, const uintptr_t ptr[], int32_t num)
 Put pointers into a stash. More...
 
int32_t odp_stash_put_ptr_batch (odp_stash_t stash, const uintptr_t ptr[], int32_t num)
 Put batch of pointers into a stash. More...
 
int32_t odp_stash_get (odp_stash_t stash, void *obj, int32_t num)
 Get object handles from a stash. More...
 
int32_t odp_stash_get_batch (odp_stash_t stash, void *obj, int32_t num)
 Get batch of object handles from a stash. More...
 
int32_t odp_stash_get_u32 (odp_stash_t stash, uint32_t val[], int32_t num)
 Get 32-bit integers from a stash. More...
 
int32_t odp_stash_get_u32_batch (odp_stash_t stash, uint32_t val[], int32_t num)
 Get batch of 32-bit integers from a stash. More...
 
int32_t odp_stash_get_u64 (odp_stash_t stash, uint64_t val[], int32_t num)
 Get 64-bit integers from a stash. More...
 
int32_t odp_stash_get_u64_batch (odp_stash_t stash, uint64_t val[], int32_t num)
 Get batch of 64-bit integers from a stash. More...
 
int32_t odp_stash_get_ptr (odp_stash_t stash, uintptr_t ptr[], int32_t num)
 Get pointers from a stash. More...
 
int32_t odp_stash_get_ptr_batch (odp_stash_t stash, uintptr_t ptr[], int32_t num)
 Get batch of pointers from a stash. More...
 
int odp_stash_flush_cache (odp_stash_t stash)
 Flush object handles from the thread local cache. More...
 
void odp_stash_print (odp_stash_t stash)
 Print debug information about the stash. More...
 
int odp_stash_stats (odp_stash_t stash, odp_stash_stats_t *stats)
 Read statistics counters of a stash. More...
 

Detailed Description

ODP stash.

Definition in file api/spec/stash.h.