Home
last modified time | relevance | path

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

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_rdma.h239 struct ecore_bmap *bmap,
245 struct ecore_bmap *bmap,
250 struct ecore_bmap *bmap,
255 struct ecore_bmap *bmap,
260 struct ecore_bmap *bmap,
265 struct ecore_bmap *bmap,
H A Decore_rdma.c56 struct ecore_bmap *bmap, in ecore_rdma_bmap_alloc() argument
64 bmap->max_count = max_count; in ecore_rdma_bmap_alloc()
67 bmap->bitmap = OSAL_NULL; in ecore_rdma_bmap_alloc()
74 bmap->bitmap = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, size_in_bytes); in ecore_rdma_bmap_alloc()
75 if (!bmap->bitmap) in ecore_rdma_bmap_alloc()
83 OSAL_SNPRINTF(bmap->name, QEDR_MAX_BMAP_NAME, "%s", name); in ecore_rdma_bmap_alloc()
90 struct ecore_bmap *bmap, in ecore_rdma_bmap_alloc_id() argument
93 *id_num = OSAL_FIND_FIRST_ZERO_BIT(bmap->bitmap, bmap->max_count); in ecore_rdma_bmap_alloc_id()
94 if (*id_num >= bmap->max_count) in ecore_rdma_bmap_alloc_id()
97 OSAL_SET_BIT(*id_num, bmap->bitmap); in ecore_rdma_bmap_alloc_id()
[all …]
H A Decore_iwarp.c1511 struct ecore_bmap *bmap) in ecore_iwarp_wait_cid_map_cleared() argument
1517 weight = OSAL_BITMAP_WEIGHT(bmap->bitmap, bmap->max_count); in ecore_iwarp_wait_cid_map_cleared()
1523 weight = OSAL_BITMAP_WEIGHT(bmap->bitmap, bmap->max_count); in ecore_iwarp_wait_cid_map_cleared()
1535 bmap->name, weight); in ecore_iwarp_wait_cid_map_cleared()
/freebsd/tests/sys/fs/fusefs/
H A Dbmap.cc59 in.body.bmap.block == lbn && in expect_bmap()
60 in.body.bmap.blocksize == blocksize); in expect_bmap()
64 SET_OUT_HEADER_LEN(out, bmap); in expect_bmap()
65 out.body.bmap.block = pbn; in expect_bmap()
81 TEST_F(Bmap, bmap) in TEST_F() argument
H A Dmockfs.hh146 fuse_bmap_in bmap; member
200 fuse_bmap_out bmap; member
H A DMakefile13 GTESTS+= bmap
H A Dmockfs.cc182 in.body.bmap.block, in.body.bmap.blocksize); in debug_request()
720 EXPECT_EQ(inlen, fih + sizeof(in.body.bmap)); in audit_request()
/freebsd/sys/dev/ffec/
H A Dif_ffec.c707 struct ffec_bufmap *bmap; in ffec_txfinish_locked()
722 bmap = &sc->txbuf_map[sc->tx_idx_tail]; in ffec_txfinish_locked()
723 bus_dmamap_sync(sc->txbuf_tag, bmap->map, in ffec_txfinish_locked()
725 bus_dmamap_unload(sc->txbuf_tag, bmap->map); in ffec_txfinish_locked()
726 m_freem(bmap->mbuf); in ffec_txfinish_locked()
727 bmap->mbuf = NULL; in ffec_txfinish_locked()
814 struct ffec_bufmap *bmap; in ffec_rxfinish_onebuf()
832 bmap = &sc->rxbuf_map[sc->rx_idx]; in ffec_rxfinish_onebuf()
834 bus_dmamap_sync(sc->rxbuf_tag, bmap->map, BUS_DMASYNC_POSTREAD); in ffec_rxfinish_onebuf()
835 bus_dmamap_unload(sc->rxbuf_tag, bmap in ffec_rxfinish_onebuf()
706 struct ffec_bufmap *bmap; ffec_txfinish_locked() local
813 struct ffec_bufmap *bmap; ffec_rxfinish_onebuf() local
1041 struct ffec_bufmap *bmap; ffec_stop_locked() local
[all...]
/freebsd/tests/atf_python/sys/netlink/
H A Dutils.py79 bmap = get_bitmask_map(pmap, val)
80 return ",".join([v for k, v in bmap.items()])
H A Dnetlink.py127 bmap = get_bitmask_map(self.get_propmap(cls), val)
128 return ",".join([v for k, v in bmap.items()])
133 bmap = NlHelper.get_bitmask_map(pmap, val)
134 return ",".join([v for k, v in bmap.items()])
/freebsd/sys/dev/dwc/
H A Ddwc1000_dma.c424 struct dwc_bufmap *bmap; in dma1000_txfinish_locked() local
436 bmap = &sc->txbuf_map[sc->tx_map_tail]; in dma1000_txfinish_locked()
438 last_idx = next_txidx(sc, bmap->last_desc_idx); in dma1000_txfinish_locked()
450 bus_dmamap_sync(sc->txbuf_tag, bmap->map, in dma1000_txfinish_locked()
452 bus_dmamap_unload(sc->txbuf_tag, bmap->map); in dma1000_txfinish_locked()
453 m_freem(bmap->mbuf); in dma1000_txfinish_locked()
454 bmap->mbuf = NULL; in dma1000_txfinish_locked()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_hwrm.h52 int bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *bp, unsigned long *bmap, int bmap_size,
128 int bnxt_hwrm_func_rgtr_async_events(struct bnxt_softc *softc, unsigned long *bmap,
H A Dbnxt_hwrm.c956 int bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *bp, unsigned long *bmap, int bmap_size, in bnxt_hwrm_func_drv_rgtr() argument
1006 if (bmap && bmap_size) { in bnxt_hwrm_func_drv_rgtr()
1008 if (test_bit(i, bmap)) in bnxt_hwrm_func_drv_rgtr()
/freebsd/sys/dev/eqos/
H A Dif_eqos.c733 struct eqos_bufmap *bmap; in eqos_txintr() local
743 bmap = &sc->tx.buf_map[sc->tx.tail]; in eqos_txintr()
744 if (bmap->mbuf) { in eqos_txintr()
745 bus_dmamap_sync(sc->tx.buf_tag, bmap->map, in eqos_txintr()
747 bus_dmamap_unload(sc->tx.buf_tag, bmap->map); in eqos_txintr()
748 m_freem(bmap->mbuf); in eqos_txintr()
749 bmap->mbuf = NULL; in eqos_txintr()
/freebsd/sys/arm/allwinner/
H A Dif_awg.c707 struct awg_bufmap *bmap; in awg_clean_txbuf() local
711 bmap = &sc->tx.buf_map[index]; in awg_clean_txbuf()
712 if (bmap->mbuf != NULL) { in awg_clean_txbuf()
713 bus_dmamap_sync(sc->tx.buf_tag, bmap->map, in awg_clean_txbuf()
715 bus_dmamap_unload(sc->tx.buf_tag, bmap->map); in awg_clean_txbuf()
716 m_freem(bmap->mbuf); in awg_clean_txbuf()
717 bmap->mbuf = NULL; in awg_clean_txbuf()
/freebsd/tests/atf_python/sys/net/
H A Drtsock.py118 bmap = RtConst.get_bitmask_map(prefix, value)
119 return ",".join([v for k, v in bmap.items()])
/freebsd/sys/dev/sound/pci/
H A Demu10k1.c167 u_int8_t bmap[EMUMAXPAGES / 8]; member
1355 if (mem->bmap[idx >> 3] & (1 << (idx & 7))) in emu_memalloc()
1380 mem->bmap[idx >> 3] |= 1 << (idx & 7); in emu_memalloc()
1411 mem->bmap[idx >> 3] &= ~(1 << (idx & 7)); in emu_memfree()
H A Demu10kx.c279 uint8_t bmap[EMU_MAXPAGES / 8]; member
1102 if (mem->bmap[idx >> 3] & (1 << (idx & 7))) in emu_memalloc()
1134 mem->bmap[idx >> 3] |= 1 << (idx & 7); in emu_memalloc()
1160 mem->bmap[idx >> 3] &= ~(1 << (idx & 7)); in emu_memfree()
/freebsd/sys/kern/
H A Dvnode_if.src443 %% bmap vp L L L
/freebsd/sys/dev/hyperv/netvsc/
H A Dif_hn.c700 u_long *bmap = sc->hn_chim_bmap; in hn_chim_alloc() local
706 idx = ffsl(~bmap[i]); in hn_chim_alloc()
714 if (atomic_testandset_long(&bmap[i], idx)) in hn_chim_alloc()