Home
last modified time | relevance | path

Searched refs:bitmap_t (Results 1 – 25 of 41) sorted by relevance

12

/xnu-12377.81.4/osfmk/kern/
H A Dbits.h175 typedef uint64_t bitmap_t; typedef
179 atomic_bit_set(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_set()
181 bitmap_t prev; in atomic_bit_set()
187 atomic_bit_clear(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_clear()
189 bitmap_t prev; in atomic_bit_clear()
200 inline static bitmap_t * __header_indexable
201 bitmap_zero(bitmap_t *__header_indexable map, uint nbits) in bitmap_zero()
207 inline static bitmap_t *__header_indexable
208 bitmap_full(bitmap_t *__header_indexable map, uint nbits) in bitmap_full()
226 bitmap_is_empty(bitmap_t *__header_indexable map, uint nbits) in bitmap_is_empty()
[all …]
H A Dsched_clutch.h67 bitmap_t scbrq_bitmap[BITMAP_LEN(NRQS_MAX)];
135 bitmap_t _Atomic sess_populated_steal_queues[BITMAP_LEN(TH_BUCKET_SCHED_MAX)];
183 bitmap_t _Atomic scr_populated_steal_silos[BITMAP_LEN(MAX_PSETS)];
185bitmap_t _Atomic scr_incoming_migration_allowed[TH_BUCKET_SCHED_MAX][BITMAP_LEN(MAX…
191 bitmap_t scr_unbound_runnable_bitmap[BITMAP_LEN(TH_BUCKET_SCHED_MAX)];
193 bitmap_t scr_unbound_warp_available[BITMAP_LEN(TH_BUCKET_SCHED_MAX)];
195 bitmap_t scr_bound_runnable_bitmap[BITMAP_LEN(TH_BUCKET_SCHED_MAX)];
197 bitmap_t scr_bound_warp_available[BITMAP_LEN(TH_BUCKET_SCHED_MAX)];
H A Dsched.h250 bitmap_t bitmap[BITMAP_LEN(NRQS)]; /* run queue bitmap array */
259 rq_bitmap_set(bitmap_t *__header_indexable map, u_int n) in rq_bitmap_set()
266 rq_bitmap_clear(bitmap_t *__header_indexable map, u_int n) in rq_bitmap_clear()
287 bitmap_t bitmap[BITMAP_LEN(NRTQS)];
H A Dcompact_id.h96 bitmap_t *cidt_bitmap[COMPACT_ID_SLAB_COUNT];
143 static bitmap_t var##_bits0[BITMAP_LEN(COMPACT_ID_COUNT_BASE)] = { \
H A Dprocessor.h183 typedef bitmap_t cpumap_t;
328 bitmap_t foreign_psets[BITMAP_LEN(MAX_PSETS)];
329 bitmap_t native_psets[BITMAP_LEN(MAX_PSETS)];
330 bitmap_t local_psets[BITMAP_LEN(MAX_PSETS)];
331 bitmap_t remote_psets[BITMAP_LEN(MAX_PSETS)];
364 typedef bitmap_t pset_map_t;
H A Dcompact_id.c125 table->cidt_bitmap[idx] = zalloc_permanent(BITMAP_SIZE(size), ZALIGN(bitmap_t)); in compact_id_table_grow()
159 bitmap_t *map = table->cidt_bitmap[idx]; in compact_id_get_locked()
205 bitmap_t *map = table->cidt_bitmap[idx]; in compact_id_put()
H A Dsched_clutch.c169 static bool sched_edge_pset_peek_steal_possible(processor_set_t, processor_set_t, bitmap_t);
421 bitmap_zero((bitmap_t *)root_clutch->scr_populated_steal_silos, MAX_PSETS); in sched_clutch_root_init()
423 …bitmap_zero((bitmap_t *)root_clutch->scr_steal_silos[p].sess_populated_steal_queues, TH_BUCKET_SCH… in sched_clutch_root_init()
936bitmap_t *warp_available_bitmap = (edf_bucket->scrb_bound) ? (root_clutch->scr_bound_warp_availabl… in sched_clutch_root_highest_root_bucket()
1108bitmap_t *runnable_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_runnable_bitmap : r… in sched_clutch_root_bucket_runnable()
1128bitmap_t *warp_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_warp_available : root_c… in sched_clutch_root_bucket_runnable()
1145bitmap_t *runnable_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_runnable_bitmap : r… in sched_clutch_root_bucket_empty()
1156bitmap_t *warp_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_warp_available : root_c… in sched_clutch_root_bucket_empty()
3899 static _Atomic bitmap_t sched_edge_available_pset_bitmask[BITMAP_LEN(MAX_PSETS)];
4040 sched_bucket_t qos, bitmap_t *visited_map) in sched_edge_config_verify_transitive_traverse()
[all …]
H A Dsched_rt.c682 bitmap_t *map = pset->rt_runq.bitmap; in sched_rt_runq_scan()
1179 __assert_only bitmap_t *map = rt_run_queue->bitmap; in check_rt_runq_consistency()
1243 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_enqueue()
1331 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_priority()
1351 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_dequeue()
1415 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_first()
1435 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_remove()
H A Dexclaves_resource.h128 bitmap_t c_service_bitmap[BITMAP_LEN(CONCLAVE_SERVICE_MAX)];
/xnu-12377.81.4/osfmk/tests/
H A Dbitmap_test.c37 extern void dump_bitmap_next(bitmap_t *map, uint nbits);
38 extern void dump_bitmap_lsb(bitmap_t *map, uint nbits);
44 dump_bitmap_next(bitmap_t *map, uint nbits) in dump_bitmap_next()
53 dump_bitmap_lsb(bitmap_t *map, uint nbits) in dump_bitmap_lsb()
73 bitmap_t *map = bitmap_alloc(nbits); in test_bitmap()
131 bitmap_t *map0 = bitmap_alloc(nbits); in test_bitmap()
134 bitmap_t *map1 = bitmap_alloc(nbits); in test_bitmap()
186 bitmap_t map = 0; in test_bits()
/xnu-12377.81.4/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow.c94 static_assert(sizeof(*((struct flow_owner *)0)->fo_flowadv_bmap) == sizeof(bitmap_t)); in flow_init()
96 sk_fab_size = (sk_fadv_nchunks * sizeof(bitmap_t)); in flow_init()
H A Dflow_owner.c377 bitmap_t *bmap; in flow_owner_alloc()
456 bitmap_t *bmap = fo->fo_flowadv_bmap; in flow_owner_flowadv_index_alloc()
498 bitmap_t *bmap = fo->fo_flowadv_bmap; in flow_owner_flowadv_index_free()
/xnu-12377.81.4/bsd/net/
H A Drestricted_in_port.h49 extern bitmap_t *__sized_by_or_null(BITMAP_SIZE(UINT16_MAX)) restricted_port_bitmap;
H A Drestricted_in_port.c56 bitmap_t *__sized_by_or_null(BITMAP_SIZE(UINT16_MAX)) restricted_port_bitmap;
/xnu-12377.81.4/osfmk/prng/
H A Dentropy.c101 bitmap_t filter[ENTROPY_MAX_FILTER_COUNT];
277 …2_t sample_count, entropy_sample_t *samples, __assert_only uint32_t filter_count, bitmap_t *filter) in entropy_filter()
441 …2_t sample_count, entropy_sample_t *samples, __assert_only uint32_t filter_count, bitmap_t *filter) in entropy_health_test()
H A Dentropy.h76 …_filter(uint32_t sample_count, entropy_sample_t *samples, uint32_t filter_count, bitmap_t *filter);
/xnu-12377.81.4/tests/unit/mocks/
H A Dfake_kinit.c56 extern bitmap_t * asid_bitmap;
/xnu-12377.81.4/bsd/sys/
H A Dkern_debug.h116 typedef bitmap_t *syscall_rejection_mask_t;
/xnu-12377.81.4/bsd/kern/
H A Dkern_debug.c243 bitmap_t mask[SR_MASK_SIZE / sizeof(bitmap_t)]; in sys_debug_syscall_reject_config()
/xnu-12377.81.4/bsd/crypto/entropy/
H A Dentropy_sysctl.c111 bitmap_t *filter = bitmap_alloc(filter_nbits);
/xnu-12377.81.4/osfmk/vm/
H A Dvm_mteinfo_internal.h452 extern bitmap_t vm_mte_tag_storage_for_vm_tags_mask[BITMAP_LEN(VM_MEMORY_COUNT)];
/xnu-12377.81.4/osfmk/arm64/
H A Dbsd_arm64.c265 bitmap_t const *rejection_mask = uthread_get_syscall_rejection_mask(ut); in mach_syscall()
/xnu-12377.81.4/bsd/skywalk/mem/
H A Dskmem_region_var.h248 bitmap_t *__sized_by(skr_seg_bmap_size) skr_seg_bmap; /* segment bitmaps */
H A Dskmem_region.c257 static_assert(sizeof(bitmap_t) == sizeof(uint64_t)); in skmem_region_init()
258 static_assert(BMAPSZ == (sizeof(bitmap_t) << 3)); in skmem_region_init()
979 bitmap_t *__indexable bmap = skr->skr_seg_bmap; in skmem_region_destroy()
1593 bitmap_t *bmap; in sksegment_create()
1631 bitmap_t *bmap; in sksegment_destroy()
1919 bitmap_t *bmap, mask; in sksegment_freelist_grow()
/xnu-12377.81.4/bsd/skywalk/nexus/
H A Dnexus.c2530 bitmap_t *bmap; in nx_port_find()
2538 bitmap_t mask; in nx_port_find()
2591 bitmap_t *bmap; in nx_port_grow()
2655 bitmap_t *bmap; in nx_port_alloc()
2767 bitmap_t *bmap; in nx_port_free()
2801 bitmap_t *bmap; in nx_port_bind_info()
2879 bitmap_t *bmap; in nx_port_unbind()
3018 bitmap_t bmap = nx->nx_ports_bmap[i];

12