Searched refs:spdk_bit_array (Results 1 – 12 of 12) sorted by relevance
/spdk/include/spdk/ |
H A D | bit_array.h | 22 struct spdk_bit_array; 31 uint32_t spdk_bit_array_capacity(const struct spdk_bit_array *ba); 42 struct spdk_bit_array *spdk_bit_array_create(uint32_t num_bits); 49 void spdk_bit_array_free(struct spdk_bit_array **bap); 70 int spdk_bit_array_resize(struct spdk_bit_array **bap, uint32_t num_bits); 83 bool spdk_bit_array_get(const struct spdk_bit_array *ba, uint32_t bit_index); 95 int spdk_bit_array_set(struct spdk_bit_array *ba, uint32_t bit_index); 106 void spdk_bit_array_clear(struct spdk_bit_array *ba, uint32_t bit_index); 117 uint32_t spdk_bit_array_find_first_set(const struct spdk_bit_array *ba, uint32_t start_bit_index); 128 uint32_t spdk_bit_array_find_first_clear(const struct spdk_bit_array *ba, uint32_t start_bit_index); [all …]
|
H A D | bit_pool.h | 20 struct spdk_bit_array; 57 struct spdk_bit_pool *spdk_bit_pool_create_from_array(struct spdk_bit_array *array);
|
/spdk/lib/util/ |
H A D | bit_array.c | 24 struct spdk_bit_array { struct 29 struct spdk_bit_array * argument 32 struct spdk_bit_array *ba = NULL; in spdk_bit_array_create() 40 spdk_bit_array_free(struct spdk_bit_array **bap) in spdk_bit_array_free() 42 struct spdk_bit_array *ba; in spdk_bit_array_free() 67 spdk_bit_array_resize(struct spdk_bit_array **bap, uint32_t num_bits) in spdk_bit_array_resize() 69 struct spdk_bit_array *new_ba; in spdk_bit_array_resize() 82 new_size = offsetof(struct spdk_bit_array, words) + new_word_count * SPDK_BIT_ARRAY_WORD_BYTES; in spdk_bit_array_resize() 90 new_ba = (struct spdk_bit_array *)spdk_realloc(*bap, new_size, 64); in spdk_bit_array_resize() 131 spdk_bit_array_capacity(const struct spdk_bit_array *ba) in spdk_bit_array_capacity() [all …]
|
/spdk/test/unit/lib/util/bit_array.c/ |
H A D | bit_array_ut.c | 16 struct spdk_bit_array *ba; in test_1bit() 42 struct spdk_bit_array *ba; in test_64bit() 82 struct spdk_bit_array *ba; in test_find() 138 struct spdk_bit_array *ba; in test_resize() 203 struct spdk_bit_array *ba; in test_count() 258 struct spdk_bit_array *ba; in test_mask_store_load() 302 struct spdk_bit_array *ba; in test_mask_clear()
|
/spdk/lib/nvmf/ |
H A D | nvmf_internal.h | 64 struct spdk_bit_array *subsystem_ids; 218 struct spdk_bit_array *visible_ns; 228 struct spdk_bit_array *qpair_mask; 335 struct spdk_bit_array *used_listener_ids;
|
/spdk/test/unit/lib/ftl/ftl_band.c/ |
H A D | ftl_band_ut.c | 177 return spdk_bit_array_get((struct spdk_bit_array *)bitmap, bit); in ftl_bitmap_get() 186 ret = spdk_bit_array_set((struct spdk_bit_array *)bitmap, bit); in ftl_bitmap_set() 194 spdk_bit_array_clear((struct spdk_bit_array *)bitmap, bit); in ftl_bitmap_clear()
|
/spdk/test/unit/lib/ftl/common/ |
H A D | utils.c | 162 spdk_bit_array_free((struct spdk_bit_array **)&band->p2l_map.valid); in test_free_ftl_band()
|
/spdk/lib/trace/ |
H A D | trace.c | 27 static struct spdk_bit_array *g_ut_array;
|
/spdk/test/env/memory/ |
H A D | memory_ut.c | 16 static struct spdk_bit_array *g_page_array;
|
/spdk/lib/reduce/ |
H A D | reduce.c | 134 struct spdk_bit_array *allocated_chunk_maps; 139 struct spdk_bit_array *allocated_backing_io_units;
|
/spdk/lib/nvme/ |
H A D | nvme_internal.h | 1067 struct spdk_bit_array *free_io_qids;
|
H A D | nvme_cuse.c | 45 static struct spdk_bit_array *g_ctrlr_started;
|