11 #ifndef ODP_API_SPEC_STASH_H_
12 #define ODP_API_SPEC_STASH_H_
13 #include <odp/visibility_begin.h>
438 #include <odp/visibility_end.h>
int odp_stash_flush_cache(odp_stash_t stash)
Flush object handles from the thread local cache.
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.
odp_stash_type_t
Stash types.
int32_t odp_stash_put_batch(odp_stash_t stash, const void *obj, int32_t num)
Put batch of object handles into a stash.
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.
int32_t odp_stash_put_u64(odp_stash_t stash, const uint64_t val[], int32_t num)
Put 64-bit integers into a stash.
int odp_stash_stats(odp_stash_t stash, odp_stash_stats_t *stats)
Read statistics counters of a stash.
int32_t odp_stash_get_u64(odp_stash_t stash, uint64_t val[], int32_t num)
Get 64-bit integers from a stash.
int32_t odp_stash_get_batch(odp_stash_t stash, void *obj, int32_t num)
Get batch of object handles from a stash.
int32_t odp_stash_put(odp_stash_t stash, const void *obj, int32_t num)
Put object handles into a stash.
odp_stash_t odp_stash_lookup(const char *name)
Find a stash by name.
int32_t odp_stash_get_ptr(odp_stash_t stash, uintptr_t ptr[], int32_t num)
Get pointers from a stash.
void odp_stash_param_init(odp_stash_param_t *param)
Initialize stash params.
int32_t odp_stash_get(odp_stash_t stash, void *obj, int32_t num)
Get object handles from a stash.
int32_t odp_stash_get_ptr_batch(odp_stash_t stash, uintptr_t ptr[], int32_t num)
Get batch of pointers from a stash.
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.
int odp_stash_destroy(odp_stash_t stash)
Destroy a stash.
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.
int32_t odp_stash_put_u32(odp_stash_t stash, const uint32_t val[], int32_t num)
Put 32-bit integers into a stash.
int odp_stash_capability(odp_stash_capability_t *capa, odp_stash_type_t type)
Query stash capabilities.
uint64_t odp_stash_to_u64(odp_stash_t stash)
Get printable value for a stash handle.
int32_t odp_stash_get_u32(odp_stash_t stash, uint32_t val[], int32_t num)
Get 32-bit integers from a stash.
void odp_stash_print(odp_stash_t stash)
Print debug information about the stash.
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.
int32_t odp_stash_put_ptr(odp_stash_t stash, const uintptr_t ptr[], int32_t num)
Put pointers into a stash.
odp_stash_t odp_stash_create(const char *name, const odp_stash_param_t *param)
Create a stash.
Stash capabilities (per stash type)
Stash statistics counters.