Searched refs:num_bundles (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-2.7.6/tests/kernel/common/src/ |
D | bitarray.c | 54 size_t num_bundles; in validate_bitarray_define() local 57 num_bundles = ROUND_UP(ROUND_UP(num_bits, 8) / 8, sizeof(uint32_t)) in validate_bitarray_define() 64 zassert_equal(ba->num_bundles, num_bundles, in validate_bitarray_define() 66 num_bundles, ba->num_bundles); in validate_bitarray_define() 68 for (i = 0; i < num_bundles; i++) { in validate_bitarray_define() 108 for (i = 0; i < ba->num_bundles; i++) { in bitarray_bundles_is_zero() 305 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() 313 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() 319 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() 324 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() [all …]
|
/Zephyr-Core-2.7.6/include/sys/ |
D | bitarray.h | 24 uint32_t num_bundles; member 49 .num_bundles = (((total_bits + 8 - 1) / 8) \
|
/Zephyr-Core-2.7.6/lib/os/ |
D | bitarray.c | 416 for (ret = 0; ret < bitarray->num_bundles; ret++) { in sys_bitarray_alloc()
|