| /freebsd-13.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_rdma.h | 241 struct ecore_bmap *bmap, 247 struct ecore_bmap *bmap, 252 struct ecore_bmap *bmap, 257 struct ecore_bmap *bmap, 262 struct ecore_bmap *bmap, 267 struct ecore_bmap *bmap,
|
| H A D | ecore_rdma.c | 77 if (!bmap->bitmap) in ecore_rdma_bmap_alloc() 95 *id_num = OSAL_FIND_FIRST_ZERO_BIT(bmap->bitmap, bmap->max_count); in ecore_rdma_bmap_alloc_id() 114 bmap->name, id_num, bmap->max_count); in ecore_bmap_set_id() 122 bmap->name, id_num); in ecore_bmap_set_id() 138 bmap->name, id_num); in ecore_bmap_release_id() 143 bmap->name, id_num); in ecore_bmap_release_id() 153 bmap->name, id_num, bmap->max_count); in ecore_bmap_test_id() 166 OSAL_FIND_FIRST_BIT(bmap->bitmap, bmap->max_count)); in ecore_bmap_is_empty() 455 if (!bmap || !bmap->bitmap) in ecore_rdma_bmap_free() 461 weight = OSAL_BITMAP_WEIGHT(bmap->bitmap, bmap->max_count); in ecore_rdma_bmap_free() [all …]
|
| H A D | ecore_iwarp.c | 1513 struct ecore_bmap *bmap) in ecore_iwarp_wait_cid_map_cleared() argument 1519 weight = OSAL_BITMAP_WEIGHT(bmap->bitmap, bmap->max_count); in ecore_iwarp_wait_cid_map_cleared() 1525 weight = OSAL_BITMAP_WEIGHT(bmap->bitmap, bmap->max_count); in ecore_iwarp_wait_cid_map_cleared() 1537 bmap->name, weight); in ecore_iwarp_wait_cid_map_cleared()
|
| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | bmap.cc | 61 in.body.bmap.block == lbn && in expect_bmap() 62 in.body.bmap.blocksize == blocksize); in expect_bmap() 66 SET_OUT_HEADER_LEN(out, bmap); in expect_bmap() 67 out.body.bmap.block = pbn; in expect_bmap() 85 TEST_F(Bmap, bmap) in TEST_F() argument
|
| H A D | mockfs.hh | 148 fuse_bmap_in bmap; member 202 fuse_bmap_out bmap; member
|
| H A D | Makefile | 14 GTESTS+= bmap
|
| H A D | mockfs.cc | 184 in.body.bmap.block, in.body.bmap.blocksize); in debug_request() 700 EXPECT_EQ(inlen, fih + sizeof(in.body.bmap)); in audit_request()
|
| /freebsd-13.1/sys/dev/ffec/ |
| H A D | if_ffec.c | 708 struct ffec_bufmap *bmap; in ffec_txfinish_locked() local 727 m_freem(bmap->mbuf); in ffec_txfinish_locked() 728 bmap->mbuf = NULL; in ffec_txfinish_locked() 815 struct ffec_bufmap *bmap; in ffec_rxfinish_onebuf() local 833 bmap = &sc->rxbuf_map[sc->rx_idx]; in ffec_rxfinish_onebuf() 837 m = bmap->mbuf; in ffec_rxfinish_onebuf() 838 bmap->mbuf = NULL; in ffec_rxfinish_onebuf() 1043 struct ffec_bufmap *bmap; in ffec_stop_locked() local 1079 bmap = &sc->txbuf_map[idx]; in ffec_stop_locked() 1082 m_freem(bmap->mbuf); in ffec_stop_locked() [all …]
|
| /freebsd-13.1/sys/dev/dwc/ |
| H A D | if_dwc.c | 1241 struct dwc_bufmap *bmap; in dwc_txfinish_locked() local 1253 bmap = &sc->txbuf_map[sc->tx_map_tail]; in dwc_txfinish_locked() 1255 last_idx = next_txidx(sc, bmap->last_desc_idx); in dwc_txfinish_locked() 1267 bus_dmamap_sync(sc->txbuf_tag, bmap->map, in dwc_txfinish_locked() 1269 bus_dmamap_unload(sc->txbuf_tag, bmap->map); in dwc_txfinish_locked() 1270 m_freem(bmap->mbuf); in dwc_txfinish_locked() 1271 bmap->mbuf = NULL; in dwc_txfinish_locked()
|
| /freebsd-13.1/sys/arm/allwinner/ |
| H A D | if_awg.c | 712 struct awg_bufmap *bmap; in awg_clean_txbuf() local 716 bmap = &sc->tx.buf_map[index]; in awg_clean_txbuf() 717 if (bmap->mbuf != NULL) { in awg_clean_txbuf() 718 bus_dmamap_sync(sc->tx.buf_tag, bmap->map, in awg_clean_txbuf() 720 bus_dmamap_unload(sc->tx.buf_tag, bmap->map); in awg_clean_txbuf() 721 m_freem(bmap->mbuf); in awg_clean_txbuf() 722 bmap->mbuf = NULL; in awg_clean_txbuf()
|
| /freebsd-13.1/sys/dev/bnxt/ |
| H A D | bnxt_hwrm.h | 113 int bnxt_hwrm_func_rgtr_async_events(struct bnxt_softc *softc, unsigned long *bmap,
|
| H A D | bnxt_hwrm.c | 1762 int bnxt_hwrm_func_rgtr_async_events(struct bnxt_softc *softc, unsigned long *bmap, in bnxt_hwrm_func_rgtr_async_events() argument 1784 if (bmap && bmap_size) { in bnxt_hwrm_func_rgtr_async_events() 1786 if (bit_test(bmap, i)) in bnxt_hwrm_func_rgtr_async_events()
|
| /freebsd-13.1/sys/dev/sound/pci/ |
| H A D | emu10k1.c | 169 u_int8_t bmap[EMUMAXPAGES / 8]; member 1363 if (mem->bmap[idx >> 3] & (1 << (idx & 7))) in emu_memalloc() 1388 mem->bmap[idx >> 3] |= 1 << (idx & 7); in emu_memalloc() 1419 mem->bmap[idx >> 3] &= ~(1 << (idx & 7)); in emu_memfree()
|
| H A D | emu10kx.c | 282 uint8_t bmap[EMU_MAXPAGES / 8]; member 1106 if (mem->bmap[idx >> 3] & (1 << (idx & 7))) in emu_memalloc() 1138 mem->bmap[idx >> 3] |= 1 << (idx & 7); in emu_memalloc() 1164 mem->bmap[idx >> 3] &= ~(1 << (idx & 7)); in emu_memfree()
|
| /freebsd-13.1/sys/kern/ |
| H A D | vnode_if.src | 448 %% bmap vp L L L
|
| /freebsd-13.1/sys/dev/hyperv/netvsc/ |
| H A D | if_hn.c | 710 u_long *bmap = sc->hn_chim_bmap; in hn_chim_alloc() local 716 idx = ffsl(~bmap[i]); in hn_chim_alloc() 724 if (atomic_testandset_long(&bmap[i], idx)) in hn_chim_alloc()
|