| /xnu-8020.101.4/osfmk/kern/ |
| H A D | bits.h | 184 typedef uint64_t bitmap_t; typedef 188 atomic_bit_set(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_set() 190 bitmap_t prev; in atomic_bit_set() 196 atomic_bit_clear(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_clear() 198 bitmap_t prev; in atomic_bit_clear() 209 inline static bitmap_t * __header_indexable 210 bitmap_zero(bitmap_t *__header_indexable map, uint nbits) in bitmap_zero() 216 inline static bitmap_t *__header_indexable 217 bitmap_full(bitmap_t *__header_indexable map, uint nbits) in bitmap_full() 235 bitmap_is_full(bitmap_t *__header_indexable map, uint nbits) in bitmap_is_full() [all …]
|
| H A D | sched_clutch.h | 79 bitmap_t scbrq_bitmap[BITMAP_LEN(NRQS_MAX)]; 171 bitmap_t scr_unbound_runnable_bitmap[BITMAP_LEN(TH_BUCKET_SCHED_MAX)]; 173 bitmap_t scr_unbound_warp_available[BITMAP_LEN(TH_BUCKET_SCHED_MAX)]; 175 bitmap_t scr_bound_runnable_bitmap[BITMAP_LEN(TH_BUCKET_SCHED_MAX)]; 177 bitmap_t scr_bound_warp_available[BITMAP_LEN(TH_BUCKET_SCHED_MAX)];
|
| H A D | sched.h | 227 bitmap_t bitmap[BITMAP_LEN(NRQS)]; /* run queue bitmap array */ 236 rq_bitmap_set(bitmap_t *map, u_int n) in rq_bitmap_set() 243 rq_bitmap_clear(bitmap_t *map, u_int n) in rq_bitmap_clear() 264 bitmap_t bitmap[BITMAP_LEN(NRTQS)];
|
| H A D | processor.h | 174 typedef bitmap_t cpumap_t; 273 bitmap_t foreign_psets[BITMAP_LEN(MAX_PSETS)]; 274 bitmap_t native_psets[BITMAP_LEN(MAX_PSETS)]; 275 bitmap_t local_psets[BITMAP_LEN(MAX_PSETS)]; 276 bitmap_t remote_psets[BITMAP_LEN(MAX_PSETS)]; 286 typedef bitmap_t pset_map_t;
|
| H A D | sched_clutch.c | 662 …bitmap_t *warp_available_bitmap = (edf_bucket->scrb_bound) ? (root_clutch->scr_bound_warp_availabl… in sched_clutch_root_highest_root_bucket() 799 …bitmap_t *runnable_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_runnable_bitmap : r… in sched_clutch_root_bucket_runnable() 819 …bitmap_t *warp_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_warp_available : root_c… in sched_clutch_root_bucket_runnable() 836 …bitmap_t *runnable_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_runnable_bitmap : r… in sched_clutch_root_bucket_empty() 847 …bitmap_t *warp_bitmap = (root_bucket->scrb_bound) ? root_clutch->scr_bound_warp_available : root_c… in sched_clutch_root_bucket_empty() 3430 static bitmap_t sched_edge_available_pset_bitmask[BITMAP_LEN(MAX_PSETS)]; 3840 bitmap_t *foreign_pset_bitmap = pset->foreign_psets; in sched_edge_foreign_runnable_thread_available() 3865 bitmap_t *foreign_pset_bitmap = pset->foreign_psets; in sched_edge_foreign_runnable_thread_remove() 3935 bitmap_t *foreign_pset_bitmap = pset->foreign_psets; in sched_edge_foreign_running_thread_available() 4137 bitmap_t *foreign_pset_bitmap = cpset->foreign_psets; in sched_edge_balance() [all …]
|
| H A D | sched_prim.c | 175 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_priority() 192 bitmap_t *map = rt_run_queue->bitmap; in check_rt_runq_consistency() 397 bitmap_t sched_preempt_pri[BITMAP_LEN(NRQS_MAX)]; 746 bitmap_t *p = sched_preempt_pri; in preempt_pri_init() 4035 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_enqueue() 4092 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_dequeue() 4156 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_first() 4176 bitmap_t *map = rt_run_queue->bitmap; in rt_runq_remove() 4275 bitmap_t *map = pset->rt_runq.bitmap; in sched_rtlocal_runq_scan() 7550 bitmap_t *active_map = &pset->cpu_state_map[PROCESSOR_RUNNING]; in sched_edge_pset_running_higher_bucket()
|
| H A D | zalloc.c | 539 static bitmap_t zone_destroyed_bitmap[BITMAP_LEN(MAX_ZONES)]; 2092 static bitmap_t * 2137 bitmap_t *bits = zba_bits_ref_ptr(meta->zm_bitmap); in zba_scan_bitmap_ref() 2330 bitmap_t *bits = zba_bits_ref_ptr(meta->zm_bitmap); in zone_meta_is_free() 2354 bitmap_t *bits = zba_bits_ref_ptr(meta->zm_bitmap); in zone_meta_mark_free() 2382 bitmap_t *bits = zba_bits_ref_ptr(meta->zm_bitmap); in zone_meta_mark_used() 9907 bitmap_t *bits = zba_bits_ref_ptr(meta->zm_bitmap); in zone_copy_allocations()
|
| /xnu-8020.101.4/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-8020.101.4/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 | 457 bitmap_t *bmap = fo->fo_flowadv_bmap; in flow_owner_flowadv_index_alloc() 499 bitmap_t *bmap = fo->fo_flowadv_bmap; in flow_owner_flowadv_index_free()
|
| H A D | flow_var.h | 135 bitmap_t *fo_flowadv_bmap;
|
| /xnu-8020.101.4/bsd/net/ |
| H A D | restricted_in_port.h | 49 extern bitmap_t *restricted_port_bitmap;
|
| H A D | restricted_in_port.c | 56 bitmap_t *restricted_port_bitmap = NULL;
|
| /xnu-8020.101.4/osfmk/prng/ |
| H A D | entropy.c | 108 bitmap_t filter[ENTROPY_MAX_FILTER_COUNT]; 281 …2_t sample_count, entropy_sample_t *samples, __assert_only uint32_t filter_count, bitmap_t *filter) in entropy_filter() 445 …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-8020.101.4/bsd/sys/ |
| H A D | kern_debug.h | 85 typedef bitmap_t *syscall_rejection_mask_t;
|
| /xnu-8020.101.4/bsd/kern/ |
| H A D | kern_debug.c | 170 bitmap_t mask[SR_MASK_SIZE / sizeof(bitmap_t)]; in debug_syscall_reject()
|
| /xnu-8020.101.4/bsd/crypto/entropy/ |
| H A D | entropy_sysctl.c | 111 bitmap_t *filter = bitmap_alloc(filter_nbits);
|
| /xnu-8020.101.4/bsd/skywalk/mem/ |
| H A D | skmem_region_var.h | 242 bitmap_t *skr_seg_bmap; /* segment bitmaps */
|
| H A D | skmem_region.c | 239 _CASSERT(sizeof(bitmap_t) == sizeof(uint64_t)); in skmem_region_init() 240 _CASSERT(BMAPSZ == (sizeof(bitmap_t) << 3)); in skmem_region_init() 1533 bitmap_t *bmap; in sksegment_create() 1572 bitmap_t *bmap; in sksegment_destroy() 1824 bitmap_t *bmap, mask; in sksegment_freelist_grow()
|
| /xnu-8020.101.4/osfmk/arm64/ |
| H A D | bsd_arm64.c | 266 bitmap_t const *rejection_mask = uthread_get_syscall_rejection_mask(ut); in mach_syscall()
|
| /xnu-8020.101.4/bsd/skywalk/nexus/ |
| H A D | nexus.c | 2514 bitmap_t *bmap; in nx_port_find() 2522 bitmap_t mask; in nx_port_find() 2575 bitmap_t *bmap; in nx_port_grow() 2634 bitmap_t *bmap; in nx_port_alloc() 2746 bitmap_t *bmap; in nx_port_free() 2780 bitmap_t *bmap; in nx_port_bind_info() 2854 bitmap_t *bmap; in nx_port_unbind() 2977 nx->nx_ports_bmap, (num_ports / NX_PORT_CHUNK) * sizeof(bitmap_t)); in nx_port_free_all() 2989 bitmap_t bmap = nx->nx_ports_bmap[i];
|
| H A D | nexus_var.h | 225 bitmap_t *nx_ports_bmap;
|
| /xnu-8020.101.4/bsd/skywalk/core/ |
| H A D | skywalk.c | 343 _CASSERT(sizeof(bitmap_t) == sizeof(uint64_t)); in skywalk_init()
|
| /xnu-8020.101.4/osfmk/arm/ |
| H A D | pmap.c | 520 SECURITY_READ_ONLY_LATE(static bitmap_t*) asid_bitmap; 521 static bitmap_t asid_plru_bitmap[BITMAP_LEN(MAX_HW_ASIDS)] MARK_AS_PMAP_DATA; 2132 avail_start = PMAP_ALIGN(avail_start, __alignof(bitmap_t)); in pmap_bootstrap() 2136 asid_bitmap = (bitmap_t*)phystokv(avail_start); in pmap_bootstrap() 3843 bitmap_t active_disconnects[BITMAP_LEN(MAX_CPUS)];
|