Home
last modified time | relevance | path

Searched refs:bitmap (Results 1 – 9 of 9) sorted by relevance

/hyp/core/util/src/
A Dbitmap.c22 BITMAP_SIZE_ASSERT(bitmap, bit); in bitmap_isset()
30 bitmap_set(register_t *bitmap, index_t bit) in bitmap_set() argument
32 BITMAP_SIZE_ASSERT(bitmap, bit); in bitmap_set()
36 bitmap[i] |= BITMAP_SET_BIT(bit); in bitmap_set()
42 BITMAP_SIZE_ASSERT(bitmap, bit); in bitmap_clear()
46 bitmap[i] &= ~BITMAP_SET_BIT(bit); in bitmap_clear()
116 if (bitmap[i] != 0U) { in bitmap_empty()
141 if (~bitmap[i] != 0U) { in bitmap_full()
160 BITMAP_SIZE_ASSERT(bitmap, bit); in bitmap_atomic_isset()
172 BITMAP_SIZE_ASSERT(bitmap, bit); in bitmap_atomic_test_and_set()
[all …]
/hyp/interfaces/util/include/
A Dbitmap.h13 bitmap_isset(const register_t *bitmap, index_t bit);
16 bitmap_set(register_t *bitmap, index_t bit);
19 bitmap_clear(register_t *bitmap, index_t bit);
22 bitmap_extract(const register_t *bitmap, index_t bit, index_t width);
34 bitmap_empty(const register_t *bitmap, index_t num_bits);
37 bitmap_full(const register_t *bitmap, index_t num_bits);
40 bitmap_atomic_isset(const _Atomic register_t *bitmap, index_t bit,
48 (void)bitmap_atomic_test_and_set((bitmap), (bit), (order))
55 (void)bitmap_atomic_test_and_clear((bitmap), (bit), (order))
80 bitmap__get_word(const register_t *bitmap, index_t word) in bitmap__get_word() argument
[all …]
/hyp/interfaces/trace/include/
A Dtrace_helpers.h5 #define TRACE_SET_CLASS(bitmap, trace_class) \ argument
7 (bitmap) |= (register_t)1U \
11 #define TRACE_CLEAR_CLASS(bitmap, trace_class) \ argument
13 (bitmap) &= (~((register_t)1U \
17 #define TRACE_CLASS_ENABLED(bitmap, trace_class) \ argument
18 ((bitmap) & ((register_t)1U << ((index_t)TRACE_CLASS_##trace_class)))
/hyp/mem/memdb_bitmap/src/
A Dmemdb.c144 error_t err = partition_free(hyp_partition, bitmap, sizeof(*bitmap)); in memdb_bitmap_free_level_bitmap()
238 bitmap->bitmap, i * MEMDB_BITMAP_ID_BITS, in memdb_convert_bitmap()
275 for (index_t i = 0U; i < util_array_size(bitmap->bitmap); i++) { in memdb_duplicate_bitmap()
277 atomic_load_relaxed(&bitmap->bitmap[i])); in memdb_duplicate_bitmap()
317 bitmap->bitmap, i * MEMDB_BITMAP_ID_BITS, in memdb_update_bitmap_check_owner()
425 bitmap_atomic_insert(bitmap->bitmap, i * MEMDB_BITMAP_ID_BITS, in memdb_update_bitmap()
431 bitmap->counts[new_id] = in memdb_update_bitmap()
433 bitmap->counts[old_id] = in memdb_update_bitmap()
860 bitmap->bitmap, index * MEMDB_BITMAP_ID_BITS, in memdb_lookup_bitmap()
975 bitmap->bitmap, i * MEMDB_BITMAP_ID_BITS, in memdb_is_contig_bitmap()
[all …]
/hyp/interfaces/util/
A Dbuild.conf5 types bitmap.tc
/hyp/core/util/
A Dbuild.conf6 source bitmap.c
/hyp/misc/gpt/tests/
A DMakefile41 SRC+=../../../core/util/src/bitmap.c
/hyp/vm/virtio_input/src/
A Dvirtio_input.c264 .bitmap, in sel_cfg_ev_bits_write()
356 .input_config.u.bitmap[i], in virtio_input_config_u_write()
/hyp/vm/arm_vm_amu/aarch64/src/
A Darm_vm_amu.c75 #error TODO: Check the AMU counter bitmap in arm_vm_amu_handle_boot_cpu_cold_init()

Completed in 80 milliseconds