Searched refs:spdk_bit_pool (Results 1 – 2 of 2) sorted by relevance
19 struct spdk_bit_pool;29 uint32_t spdk_bit_pool_capacity(const struct spdk_bit_pool *pool);40 struct spdk_bit_pool *spdk_bit_pool_create(uint32_t num_bits);57 struct spdk_bit_pool *spdk_bit_pool_create_from_array(struct spdk_bit_array *array);64 void spdk_bit_pool_free(struct spdk_bit_pool **pool);82 int spdk_bit_pool_resize(struct spdk_bit_pool **pool, uint32_t num_bits);95 bool spdk_bit_pool_is_allocated(const struct spdk_bit_pool *pool, uint32_t bit_index);104 uint32_t spdk_bit_pool_allocate_bit(struct spdk_bit_pool *pool);116 void spdk_bit_pool_free_bit(struct spdk_bit_pool *pool, uint32_t bit_index);125 uint32_t spdk_bit_pool_count_allocated(const struct spdk_bit_pool *pool);[all …]
338 struct spdk_bit_pool { struct344 struct spdk_bit_pool * argument347 struct spdk_bit_pool *pool = NULL; in spdk_bit_pool_create()368 struct spdk_bit_pool *371 struct spdk_bit_pool *pool = NULL; in spdk_bit_pool_create_from_array()386 spdk_bit_pool_free(struct spdk_bit_pool **ppool) in spdk_bit_pool_free()388 struct spdk_bit_pool *pool; in spdk_bit_pool_free()403 spdk_bit_pool_resize(struct spdk_bit_pool **ppool, uint32_t num_bits) in spdk_bit_pool_resize()405 struct spdk_bit_pool *pool; in spdk_bit_pool_resize()423 spdk_bit_pool_capacity(const struct spdk_bit_pool *pool) in spdk_bit_pool_capacity()[all …]