40 #include <rte_compat.h>
43 #define RTE_FBARRAY_NAME_LEN 64
46 char name[RTE_FBARRAY_NAME_LEN];
78 int __rte_experimental
79 rte_fbarray_init(
struct rte_fbarray *arr,
const char *name,
unsigned int len,
100 int __rte_experimental
121 int __rte_experimental
139 int __rte_experimental
156 void * __rte_experimental
173 int __rte_experimental
190 int __rte_experimental
207 int __rte_experimental
225 int __rte_experimental
242 int __rte_experimental
259 int __rte_experimental
279 int __rte_experimental
300 int __rte_experimental
318 int __rte_experimental
336 int __rte_experimental
352 int __rte_experimental
369 int __rte_experimental
390 int __rte_experimental
412 int __rte_experimental
431 int __rte_experimental
450 int __rte_experimental
463 void __rte_experimental
void __rte_experimental rte_fbarray_dump_metadata(struct rte_fbarray *arr, FILE *f)
void *__rte_experimental rte_fbarray_get(const struct rte_fbarray *arr, unsigned int idx)
int __rte_experimental rte_fbarray_set_free(struct rte_fbarray *arr, unsigned int idx)
int __rte_experimental rte_fbarray_find_prev_used(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_find_contig_used(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_set_used(struct rte_fbarray *arr, unsigned int idx)
int __rte_experimental rte_fbarray_find_prev_n_free(struct rte_fbarray *arr, unsigned int start, unsigned int n)
int __rte_experimental rte_fbarray_find_next_n_used(struct rte_fbarray *arr, unsigned int start, unsigned int n)
int __rte_experimental rte_fbarray_find_next_free(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_detach(struct rte_fbarray *arr)
int __rte_experimental rte_fbarray_find_prev_free(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_destroy(struct rte_fbarray *arr)
int __rte_experimental rte_fbarray_find_prev_n_used(struct rte_fbarray *arr, unsigned int start, unsigned int n)
int __rte_experimental rte_fbarray_find_next_used(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_find_contig_free(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_find_rev_contig_used(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_find_rev_contig_free(struct rte_fbarray *arr, unsigned int start)
int __rte_experimental rte_fbarray_attach(struct rte_fbarray *arr)
int __rte_experimental rte_fbarray_init(struct rte_fbarray *arr, const char *name, unsigned int len, unsigned int elt_sz)
int __rte_experimental rte_fbarray_find_next_n_free(struct rte_fbarray *arr, unsigned int start, unsigned int n)
int __rte_experimental rte_fbarray_find_idx(const struct rte_fbarray *arr, const void *elt)
int __rte_experimental rte_fbarray_is_used(struct rte_fbarray *arr, unsigned int idx)