Searched refs:sys_bitarray_t (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/include/zephyr/sys/ |
D | bitarray.h | 48 typedef struct sys_bitarray sys_bitarray_t; typedef 61 sba_mod sys_bitarray_t name = { \ 96 int sys_bitarray_set_bit(sys_bitarray_t *bitarray, size_t bit); 108 int sys_bitarray_clear_bit(sys_bitarray_t *bitarray, size_t bit); 121 int sys_bitarray_test_bit(sys_bitarray_t *bitarray, size_t bit, int *val); 134 int sys_bitarray_test_and_set_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val); 147 int sys_bitarray_test_and_clear_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val); 168 int sys_bitarray_alloc(sys_bitarray_t *bitarray, size_t num_bits, 185 int sys_bitarray_xor(sys_bitarray_t *dst, sys_bitarray_t *other, size_t num_bits, size_t offset); 206 int sys_bitarray_find_nth_set(sys_bitarray_t *bitarray, size_t n, size_t num_bits, size_t offset, [all …]
|
D | mem_blocks.h | 101 sys_bitarray_t *bitmap;
|
/Zephyr-latest/lib/utils/ |
D | bitarray.c | 29 static void setup_bundle_data(sys_bitarray_t *bitarray, in setup_bundle_data() 65 static bool match_region(sys_bitarray_t *bitarray, size_t offset, in match_region() 172 static void set_region(sys_bitarray_t *bitarray, size_t offset, in set_region() 213 int sys_bitarray_popcount_region(sys_bitarray_t *bitarray, size_t num_bits, size_t offset, in sys_bitarray_popcount_region() 262 int sys_bitarray_xor(sys_bitarray_t *dst, sys_bitarray_t *other, size_t num_bits, size_t offset) in sys_bitarray_xor() 320 int sys_bitarray_set_bit(sys_bitarray_t *bitarray, size_t bit) in sys_bitarray_set_bit() 348 int sys_bitarray_clear_bit(sys_bitarray_t *bitarray, size_t bit) in sys_bitarray_clear_bit() 376 int sys_bitarray_test_bit(sys_bitarray_t *bitarray, size_t bit, int *val) in sys_bitarray_test_bit() 413 int sys_bitarray_test_and_set_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val) in sys_bitarray_test_and_set_bit() 452 int sys_bitarray_test_and_clear_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val) in sys_bitarray_test_and_clear_bit() [all …]
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_thread.c | 62 sys_bitarray_clear_bit((sys_bitarray_t *)(thread_def->status_mask), instance); in thread_abort_hook() 102 ret = sys_bitarray_alloc((sys_bitarray_t *)(thread_def->status_mask), in osThreadCreate()
|
/Zephyr-latest/tests/kernel/common/src/ |
D | bitarray.c | 53 void validate_bitarray_define(sys_bitarray_t *ba, size_t num_bits) in validate_bitarray_define() 104 bool bitarray_bundles_is_zero(sys_bitarray_t *ba) in bitarray_bundles_is_zero() 374 size_t get_bitarray_popcnt(sys_bitarray_t *ba) in get_bitarray_popcnt()
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icbmsg.c | 167 sys_bitarray_t *tx_usage_bitmap; /* Bit is set when TX block is in use */ 168 sys_bitarray_t *rx_hold_bitmap; /* Bit is set, if the buffer starting at
|
/Zephyr-latest/drivers/tee/optee/ |
D | optee.c | 83 sys_bitarray_t *notif_bitmap;
|