Searched refs:num_bundles (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/kernel/common/src/ |
D | bitarray.c | 55 size_t num_bundles; in validate_bitarray_define() local 58 num_bundles = ROUND_UP(ROUND_UP(num_bits, 8) / 8, sizeof(uint32_t)) in validate_bitarray_define() 65 zassert_equal(ba->num_bundles, num_bundles, in validate_bitarray_define() 67 num_bundles, ba->num_bundles); in validate_bitarray_define() 69 for (i = 0; i < num_bundles; i++) { in validate_bitarray_define() 109 for (i = 0; i < ba->num_bundles; i++) { in bitarray_bundles_is_zero() 306 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() 314 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() 320 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() 325 zassert_true(cmp_u32_arrays(ba_128.bundles, ba_128_expected, ba_128.num_bundles), in alloc_and_free_predefined() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | bitarray.h | 37 uint32_t num_bundles; member 63 .num_bundles = DIV_ROUND_UP( \
|
/Zephyr-latest/lib/utils/ |
D | bitarray.c | 524 for (size_t idx = 0; idx < bitarray->num_bundles; idx++) { in sys_bitarray_alloc()
|