Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 4 of 4) sorted by relevance

/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_owner.c377 bitmap_t *bmap; in flow_owner_alloc() local
379 bmap = skmem_cache_alloc(sk_fab_cache, SKMEM_SLEEP); in flow_owner_alloc()
380 if (bmap == NULL) { in flow_owner_alloc()
385 bzero(bmap, sk_fab_size); in flow_owner_alloc()
386 fo->fo_flowadv_bmap = bmap; in flow_owner_alloc()
456 bitmap_t *bmap = fo->fo_flowadv_bmap; in flow_owner_flowadv_index_alloc() local
466 j = ffsll(bmap[i]); in flow_owner_flowadv_index_alloc()
473 bit_clear(bmap[i], j); in flow_owner_flowadv_index_alloc()
498 bitmap_t *bmap = fo->fo_flowadv_bmap; in flow_owner_flowadv_index_free() local
506 ASSERT(!bit_test(bmap[chunk_idx], bit_pos)); in flow_owner_flowadv_index_free()
[all …]
/xnu-11215/bsd/skywalk/nexus/
H A Dnexus.c2535 bitmap_t *bmap; in nx_port_find() local
2597 bitmap_t *bmap; in nx_port_grow() local
2661 bitmap_t *bmap; in nx_port_alloc() local
2703 bit_clear(*bmap, j); in nx_port_alloc()
2773 bitmap_t *bmap; in nx_port_free() local
2789 bit_set(*bmap, j); in nx_port_free()
2807 bitmap_t *bmap; in nx_port_bind_info() local
2832 bit_clear(*bmap, j); in nx_port_bind_info()
2838 bit_clear(*bmap, j); in nx_port_bind_info()
2885 bitmap_t *bmap; in nx_port_unbind() local
[all …]
/xnu-11215/bsd/skywalk/mem/
H A Dskmem_region.c1592 bitmap_t *bmap; in sksegment_create() local
1601 bmap = &skr->skr_seg_bmap[i / BMAPSZ]; in sksegment_create()
1602 ASSERT(bit_test(*bmap, i % BMAPSZ)); in sksegment_create()
1612 bit_clear(*bmap, i % BMAPSZ); in sksegment_create()
1631 bitmap_t *bmap; in sksegment_destroy() local
1641 bmap = &skr->skr_seg_bmap[i / BMAPSZ]; in sksegment_destroy()
1642 ASSERT(!bit_test(*bmap, i % BMAPSZ)); in sksegment_destroy()
1657 bit_set(*bmap, i % BMAPSZ); in sksegment_destroy()
1883 bitmap_t *bmap, mask; in sksegment_freelist_grow() local
1890 bmap = &skr->skr_seg_bmap[i]; in sksegment_freelist_grow()
[all …]
/xnu-11215/bsd/kern/
H A Duipc_mbuf.c4265 int m, bmap = 0; local
4330 bmap |= (1 << m);
4337 if (bmap != 0) {
4343 if ((bmap & (1 << m)) &&