Home
last modified time | relevance | path

Searched refs:M_DEVBUF (Results 1 – 25 of 35) sorted by relevance

12

/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_mii.c263 ma = malloc(sizeof(struct mii_attach_args), M_DEVBUF, in miibus_hinted_child()
269 free(ma, M_DEVBUF); in miibus_hinted_child()
401 ivars = malloc(sizeof(*ivars), M_DEVBUF, M_NOWAIT); in mii_attach()
492 args = malloc(sizeof(struct mii_attach_args), M_DEVBUF, in mii_attach()
499 free(args, M_DEVBUF); in mii_attach()
537 free(ivars, M_DEVBUF); in mii_attach()
H A Dbus_dma.cpp105 M_DEVBUF, M_ZERO | M_NOWAIT); in bus_dma_tag_create()
164 kernel_free(dmat, M_DEVBUF); in bus_dma_tag_destroy()
206 kernel_contigfree(map->bounce_buffer, map->bounce_buffer_size, M_DEVBUF); in bus_dmamap_destroy()
234 *vaddr = kernel_contigmalloc(size, M_DEVBUF, mflags, in _allocate_dmamem()
242 *vaddr = kernel_contigmalloc(size, M_DEVBUF, mflags, in _allocate_dmamem()
287 kernel_contigfree(vaddr, size, M_DEVBUF); in bus_dmamem_free_tagless()
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_bip.c60 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO); in ieee80211_bip_set_key()
73 free(k->k_priv, M_DEVBUF, sizeof(struct ieee80211_bip_ctx)); in ieee80211_bip_delete_key()
H A Dieee80211_crypto_wep.c59 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO); in ieee80211_wep_set_key()
71 free(k->k_priv, M_DEVBUF, sizeof(struct ieee80211_wep_ctx)); in ieee80211_wep_delete_key()
H A Dieee80211_node.c212 free(ess, M_DEVBUF, sizeof(*ess)); in ieee80211_del_ess()
387 ess = malloc(sizeof(*ess), M_DEVBUF, M_NOWAIT|M_ZERO); in ieee80211_add_ess()
397 free(ess, M_DEVBUF, sizeof(*ess)); in ieee80211_add_ess()
415 free(ess, M_DEVBUF, sizeof(*ess)); in ieee80211_add_ess()
722 ic->ic_aid_bitmap = malloc(size, M_DEVBUF, M_NOWAIT | M_ZERO); in ieee80211_node_attach()
730 ic->ic_tim_bitmap = malloc(ic->ic_tim_len, M_DEVBUF, in ieee80211_node_attach()
789 free(ic->ic_aid_bitmap, M_DEVBUF, in ieee80211_node_detach()
791 free(ic->ic_tim_bitmap, M_DEVBUF, ic->ic_tim_len); in ieee80211_node_detach()
1184 free(ni->ni_unref_arg, M_DEVBUF, ni->ni_unref_arg_size); in ieee80211_node_free_unref_cb()
1566 arg = malloc(sizeof(*arg), M_DEVBUF, M_NOWAIT | M_ZERO); in ieee80211_end_scan()
[all …]
H A Dieee80211_crypto_ccmp.c58 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO); in ieee80211_ccmp_set_key()
71 free(k->k_priv, M_DEVBUF, sizeof(struct ieee80211_ccmp_ctx)); in ieee80211_ccmp_delete_key()
H A Dieee80211_crypto.c87 free(pmk, M_DEVBUF, sizeof(*pmk)); in ieee80211_crypto_detach()
636 if ((pmk = malloc(sizeof(*pmk), M_DEVBUF, M_NOWAIT)) == NULL) in ieee80211_pmksa_add()
H A Dieee80211_crypto_tkip.c73 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO); in ieee80211_tkip_set_key()
99 free(k->k_priv, M_DEVBUF, sizeof(struct ieee80211_tkip_ctx)); in ieee80211_tkip_delete_key()
H A Dieee80211_input.c1578 free(*ie, M_DEVBUF, olen); in ieee80211_save_ie()
1579 *ie = malloc(len, M_DEVBUF, M_NOWAIT); in ieee80211_save_ie()
2934 M_DEVBUF, M_NOWAIT | M_ZERO); in ieee80211_recv_addba_req()
2984 free(ba->ba_buf, M_DEVBUF, in ieee80211_addba_req_refuse()
3165 free(ba->ba_buf, M_DEVBUF, in ieee80211_recv_delba()
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmalloc.h28 #define M_DEVBUF 0 macro
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Dif_igc.c312 regs_buff = malloc(sizeof(u32) * IGC_REGS_LEN, M_DEVBUF, M_WAITOK); in igc_get_regs()
318 free(regs_buff, M_DEVBUF); in igc_get_regs()
325 free(regs_buff, M_DEVBUF); in igc_get_regs()
379 free(regs_buff, M_DEVBUF); in igc_get_regs()
579 MAX_NUM_MULTICAST_ADDRESSES, M_DEVBUF, M_NOWAIT); in igc_if_attach_pre()
654 free(adapter->mta, M_DEVBUF); in igc_if_attach_pre()
691 free(adapter->mta, M_DEVBUF); in igc_if_attach_post()
1797 adapter->tx_num_queues, M_DEVBUF, M_NOWAIT | M_ZERO))) { in igc_if_tx_queues_alloc()
1810 …if (!(txr->tx_rsq = (qidx_t *) malloc(sizeof(qidx_t) * scctx->isc_ntxd[0], M_DEVBUF, M_NOWAIT | M_… in igc_if_tx_queues_alloc()
1845 adapter->rx_num_queues, M_DEVBUF, M_NOWAIT | M_ZERO))) { in igc_if_rx_queues_alloc()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/onoe/
H A Donoe.c431 osc = malloc(sizeof(struct onoe_softc), M_DEVBUF, M_NOWAIT|M_ZERO); in ath_rate_attach()
445 free(osc, M_DEVBUF); in ath_rate_detach()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/amrr/
H A Damrr.c460 asc = malloc(sizeof(struct amrr_softc), M_DEVBUF, M_NOWAIT|M_ZERO); in ath_rate_attach()
474 free(asc, M_DEVBUF); in ath_rate_detach()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malohal.c105 mh = malloc(sizeof(struct malo_hal), M_DEVBUF, M_NOWAIT | M_ZERO); in malo_hal_attach()
168 free(mh, M_DEVBUF); in malo_hal_attach()
585 free(mh, M_DEVBUF); in malo_hal_detach()
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/
H A Dif_dc.c1634 m = malloc(sizeof(struct dc_mediainfo), M_DEVBUF, M_NOWAIT | M_ZERO); in dc_decode_leaf_sia()
1683 m = malloc(sizeof(struct dc_mediainfo), M_DEVBUF, M_NOWAIT | M_ZERO); in dc_decode_leaf_sym()
1710 m = malloc(sizeof(struct dc_mediainfo), M_DEVBUF, M_NOWAIT | M_ZERO); in dc_decode_leaf_mii()
1738 sc->dc_srom = malloc(size, M_DEVBUF, M_NOWAIT | M_ZERO); in dc_read_srom()
2177 sc->dc_pnic_rx_buf = malloc(DC_RXLEN * 5, M_DEVBUF, M_NOWAIT); in dc_attach()
2366 free(sc->dc_mi, M_DEVBUF); in dc_attach()
2563 free(sc->dc_pnic_rx_buf, M_DEVBUF); in dc_detach()
2567 free(sc->dc_mi, M_DEVBUF); in dc_detach()
2570 free(sc->dc_srom, M_DEVBUF); in dc_detach()
4124 free(sc->dc_srom, M_DEVBUF); in dc_check_multiport()
[all …]
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Dif_em.c635 regs_buff = malloc(sizeof(u32) * IGB_REGS_LEN, M_DEVBUF, M_WAITOK); in em_get_regs()
641 free(regs_buff, M_DEVBUF); in em_get_regs()
648 free(regs_buff, M_DEVBUF); in em_get_regs()
706 free(regs_buff, M_DEVBUF); in em_get_regs()
1083 MAX_NUM_MULTICAST_ADDRESSES, M_DEVBUF, M_NOWAIT);
1172 free(sc->mta, M_DEVBUF);
1233 free(sc->mta, M_DEVBUF);
3093 sc->tx_num_queues, M_DEVBUF, M_NOWAIT | M_ZERO))) {
3106 …if (!(txr->tx_rsq = (qidx_t *) malloc(sizeof(qidx_t) * scctx->isc_ntxd[0], M_DEVBUF, M_NOWAIT | M_…
3141 sc->rx_num_queues, M_DEVBUF, M_NOWAIT | M_ZERO))) {
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c627 free(dram->paging, M_DEVBUF, dram->paging_cnt * sizeof(*dram->paging)); in iwx_ctxt_info_free_paging()
664 sizeof(*dram->fw), M_DEVBUF, M_ZERO | M_NOWAIT); in iwx_init_fw_sec()
672 M_DEVBUF, M_ZERO | M_NOWAIT); in iwx_init_fw_sec()
1113 free(dram->fw, M_DEVBUF, in iwx_ctxt_info_free_fw_img()
1181 free(fw->fw_rawdata, M_DEVBUF, fw->fw_rawsize); in iwx_fw_info_free()
1186 free(fw->iml, M_DEVBUF, fw->iml_len); in iwx_fw_info_free()
1523 free(fw->iml, M_DEVBUF, fw->iml_len); in iwx_read_firmware()
1526 sc->sc_fw.iml = malloc(tlv_len, M_DEVBUF, in iwx_read_firmware()
4113 tmp = malloc(size + data_len, M_DEVBUF, in iwx_pnvm_handle_section()
4121 free(pnvm_data, M_DEVBUF, size); in iwx_pnvm_handle_section()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c686 free(fw->fw_rawdata, M_DEVBUF, fw->fw_rawsize); in iwm_fw_info_free()
2619 free(entry->data, M_DEVBUF, entry->size); in iwm_phy_db_set_section()
2620 entry->data = malloc(size, M_DEVBUF, M_NOWAIT); in iwm_phy_db_set_section()
4049 buf = malloc(bufsz, M_DEVBUF, M_WAIT); in iwm_nvm_init()
4062 nvm_sections[section].data = malloc(len, M_DEVBUF, M_WAIT); in iwm_nvm_init()
4070 free(buf, M_DEVBUF, bufsz); in iwm_nvm_init()
4076 free(nvm_sections[i].data, M_DEVBUF, in iwm_nvm_init()
6317 resp_buf = malloc(hcmd->resp_pkt_len, M_DEVBUF, in iwm_send_cmd()
6448 free(sc->sc_cmd_resp_pkt[idx], M_DEVBUF, in iwm_send_cmd()
6522 free(hcmd->resp_pkt, M_DEVBUF, hcmd->resp_pkt_len); in iwm_free_resp()
[all …]
/haiku/src/libs/compat/freebsd_iflib/
H A Dsubr_gtaskqueue.c900 free(gtask, M_DEVBUF); in taskqgroup_binder()
917 gtask = malloc(sizeof (*gtask), M_DEVBUF, M_WAITOK); in taskqgroup_bind()
/haiku/src/add-ons/kernel/drivers/network/ether/vmx/dev/vmxnet3/
H A Dif_vmx.c796 ntxqsets, M_DEVBUF, M_NOWAIT | M_ZERO); in vmxnet3_tx_queues_alloc()
892 nrxqsets, M_DEVBUF, M_NOWAIT | M_ZERO); in vmxnet3_rx_queues_alloc()
961 free(sc->vmx_rxq, M_DEVBUF); in vmxnet3_queues_free()
967 free(sc->vmx_txq, M_DEVBUF); in vmxnet3_queues_free()
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/
H A Dif_pcn.c611 sc->pcn_ldata = contigmalloc(sizeof(struct pcn_list_data), M_DEVBUF,
732 M_DEVBUF);
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2560.c485 ring->data = malloc(count * sizeof (struct rt2560_tx_data), M_DEVBUF, in rt2560_alloc_tx_ring()
585 free(ring->data, M_DEVBUF); in rt2560_free_tx_ring()
629 ring->data = malloc(count * sizeof (struct rt2560_rx_data), M_DEVBUF, in rt2560_alloc_rx_ring()
734 free(ring->data, M_DEVBUF); in rt2560_free_rx_ring()
H A Drt2661.c495 ring->data = malloc(count * sizeof (struct rt2661_tx_data), M_DEVBUF, in rt2661_alloc_tx_ring()
593 free(ring->data, M_DEVBUF); in rt2661_free_tx_ring()
636 ring->data = malloc(count * sizeof (struct rt2661_rx_data), M_DEVBUF, in rt2661_alloc_rx_ring()
738 free(ring->data, M_DEVBUF); in rt2661_free_rx_ring()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/
H A Dsample.c1642 ssc = malloc(sizeof(struct sample_softc), M_DEVBUF, M_NOWAIT|M_ZERO); in ath_rate_attach()
1661 free(ssc, M_DEVBUF); in ath_rate_detach()
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c258 q = malloc(sizeof(struct rge_queues), M_DEVBUF, M_NOWAIT | M_ZERO);
2612 rge_ks_sc = malloc(sizeof(*rge_ks_sc), M_DEVBUF, M_NOWAIT);
2687 free(rge_ks_sc, M_DEVBUF, sizeof(*rge_ks_sc));

12