| /xnu-11215.1.10/osfmk/kern/ |
| H A D | bits.h | 188 typedef uint64_t bitmap_t; typedef 192 atomic_bit_set(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_set() 194 bitmap_t prev; in atomic_bit_set() 200 atomic_bit_clear(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_clear() 202 bitmap_t prev; in atomic_bit_clear() 213 inline static bitmap_t * __header_indexable 214 bitmap_zero(bitmap_t *__header_indexable map, uint nbits) in bitmap_zero() 220 inline static bitmap_t *__header_indexable 221 bitmap_full(bitmap_t *__header_indexable map, uint nbits) in bitmap_full() 239 bitmap_is_empty(bitmap_t *__header_indexable map, uint nbits) in bitmap_is_empty() [all …]
|
| H A D | sched_clutch.h | 67 bitmap_t scbrq_bitmap[BITMAP_LEN(NRQS_MAX)]; 161 bitmap_t scr_unbound_runnable_bitmap[BITMAP_LEN(TH_BUCKET_SCHED_MAX)]; 163 bitmap_t scr_unbound_warp_available[BITMAP_LEN(TH_BUCKET_SCHED_MAX)]; 165 bitmap_t scr_bound_runnable_bitmap[BITMAP_LEN(TH_BUCKET_SCHED_MAX)]; 167 bitmap_t scr_bound_warp_available[BITMAP_LEN(TH_BUCKET_SCHED_MAX)];
|
| H A D | sched.h | 245 bitmap_t bitmap[BITMAP_LEN(NRQS)]; /* run queue bitmap array */ 254 rq_bitmap_set(bitmap_t *__header_indexable map, u_int n) in rq_bitmap_set() 261 rq_bitmap_clear(bitmap_t *__header_indexable map, u_int n) in rq_bitmap_clear() 282 bitmap_t bitmap[BITMAP_LEN(NRTQS)];
|
| H A D | compact_id.h | 96 bitmap_t *cidt_bitmap[COMPACT_ID_SLAB_COUNT]; 138 static bitmap_t var##_bits0[BITMAP_LEN(COMPACT_ID_COUNT_BASE)] = { \
|
| H A D | compact_id.c | 119 table->cidt_bitmap[idx] = zalloc_permanent(BITMAP_SIZE(size), ZALIGN(bitmap_t)); in compact_id_table_grow() 153 bitmap_t *map = table->cidt_bitmap[idx]; in compact_id_get_locked() 199 bitmap_t *map = table->cidt_bitmap[idx]; in compact_id_put()
|
| H A D | processor.h | 174 typedef bitmap_t cpumap_t; 281 bitmap_t foreign_psets[BITMAP_LEN(MAX_PSETS)]; 282 bitmap_t native_psets[BITMAP_LEN(MAX_PSETS)]; 283 bitmap_t local_psets[BITMAP_LEN(MAX_PSETS)]; 284 bitmap_t remote_psets[BITMAP_LEN(MAX_PSETS)]; 298 typedef bitmap_t pset_map_t;
|
| H A D | sched_clutch.c | 919 …bitmap_t *warp_available_bitmap = (edf_bucket->scrb_bound) ? (root_clutch->scr_bound_warp_availabl… in sched_clutch_root_highest_root_bucket() 1085 …bitmap_t *runnable_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_runnable_bitmap : r… in sched_clutch_root_bucket_runnable() 1105 …bitmap_t *warp_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_warp_available : root_c… in sched_clutch_root_bucket_runnable() 1122 …bitmap_t *runnable_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_runnable_bitmap : r… in sched_clutch_root_bucket_empty() 1133 …bitmap_t *warp_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_warp_available : root_c… in sched_clutch_root_bucket_empty() 3786 static bitmap_t sched_edge_available_pset_bitmask[BITMAP_LEN(MAX_PSETS)]; 4118 bitmap_t *foreign_pset_bitmap = pset->foreign_psets; in sched_edge_foreign_runnable_thread_available() 4143 bitmap_t *foreign_pset_bitmap = pset->foreign_psets; in sched_edge_foreign_runnable_thread_remove() 4213 bitmap_t *foreign_pset_bitmap = pset->foreign_psets; in sched_edge_foreign_running_thread_available() 4468 bitmap_t *foreign_pset_bitmap = cpset->foreign_psets; in sched_edge_balance() [all …]
|
| H A D | exclaves_resource.h | 102 bitmap_t c_service_bitmap[BITMAP_LEN(CONCLAVE_SERVICE_MAX)];
|
| /xnu-11215.1.10/osfmk/tests/ |
| H A D | bitmap_test.c | 37 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-11215.1.10/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow.c | 95 sizeof(bitmap_t)); in flow_init() 97 sk_fab_size = (sk_fadv_nchunks * sizeof(bitmap_t)); in flow_init()
|
| H A D | flow_owner.c | 377 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-11215.1.10/bsd/net/ |
| H A D | restricted_in_port.h | 49 extern bitmap_t *__sized_by_or_null(BITMAP_SIZE(UINT16_MAX)) restricted_port_bitmap;
|
| H A D | restricted_in_port.c | 56 bitmap_t *__sized_by_or_null(BITMAP_SIZE(UINT16_MAX)) restricted_port_bitmap;
|
| /xnu-11215.1.10/osfmk/prng/ |
| H A D | entropy.c | 101 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 D | entropy.h | 76 …_filter(uint32_t sample_count, entropy_sample_t *samples, uint32_t filter_count, bitmap_t *filter);
|
| /xnu-11215.1.10/bsd/sys/ |
| H A D | kern_debug.h | 116 typedef bitmap_t *syscall_rejection_mask_t;
|
| /xnu-11215.1.10/bsd/kern/ |
| H A D | kern_debug.c | 243 bitmap_t mask[SR_MASK_SIZE / sizeof(bitmap_t)]; in sys_debug_syscall_reject_config()
|
| /xnu-11215.1.10/bsd/crypto/entropy/ |
| H A D | entropy_sysctl.c | 111 bitmap_t *filter = bitmap_alloc(filter_nbits);
|
| /xnu-11215.1.10/osfmk/arm64/ |
| H A D | bsd_arm64.c | 265 bitmap_t const *rejection_mask = uthread_get_syscall_rejection_mask(ut); in mach_syscall()
|
| /xnu-11215.1.10/bsd/skywalk/mem/ |
| H A D | skmem_region_var.h | 248 bitmap_t *__sized_by(skr_seg_bmap_size) skr_seg_bmap; /* segment bitmaps */
|
| H A D | skmem_region.c | 255 _CASSERT(sizeof(bitmap_t) == sizeof(uint64_t)); in skmem_region_init() 256 _CASSERT(BMAPSZ == (sizeof(bitmap_t) << 3)); in skmem_region_init() 977 bitmap_t *__indexable bmap = skr->skr_seg_bmap; in skmem_region_destroy() 1592 bitmap_t *bmap; in sksegment_create() 1631 bitmap_t *bmap; in sksegment_destroy() 1883 bitmap_t *bmap, mask; in sksegment_freelist_grow()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/ |
| H A D | nexus.c | 2533 bitmap_t *bmap; in nx_port_find() 2541 bitmap_t mask; in nx_port_find() 2595 bitmap_t *bmap; in nx_port_grow() 2659 bitmap_t *bmap; in nx_port_alloc() 2771 bitmap_t *bmap; in nx_port_free() 2805 bitmap_t *bmap; in nx_port_bind_info() 2883 bitmap_t *bmap; in nx_port_unbind() 3022 bitmap_t bmap = nx->nx_ports_bmap[i];
|
| H A D | nexus_var.h | 231 bitmap_t *__sized_by(nx_ports_bmap_size) nx_ports_bmap;
|
| /xnu-11215.1.10/osfmk/vm/ |
| H A D | vm_pageout_xnu.h | 241 bitmap_t *lite_list;
|
| /xnu-11215.1.10/osfmk/arm64/sptm/pmap/ |
| H A D | pmap.h | 345 bitmap_t *nested_region_unnested_table_bitmap;
|