Home
last modified time | relevance | path

Searched refs:M_NOWAIT (Results 1 – 25 of 90) sorted by relevance

1234

/haiku/src/libs/compat/freebsd_iflib/
H A Dnv_impl.h55 #define nv_malloc(size) malloc((size), M_NVLIST, M_NOWAIT)
57 M_NOWAIT | M_ZERO)
59 M_NOWAIT)
61 #define nv_strdup(buf) strdup_flags((buf), M_NVLIST, M_NOWAIT)
H A Diflib.c1799 scctx->isc_ntxd[txq->ift_br_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_txsd_alloc()
1810 M_IFLIB, M_NOWAIT | M_ZERO)) == NULL) { in iflib_txsd_alloc()
1818 M_IFLIB, M_NOWAIT | M_ZERO)) == NULL) { in iflib_txsd_alloc()
2016 scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_rxsd_alloc()
2026 scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_rxsd_alloc()
2036 scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_rxsd_alloc()
2047 … malloc(sizeof(bus_dmamap_t) * scctx->isc_nrxd[rxq->ifr_fl_offset], M_IFLIB, M_NOWAIT | M_ZERO))) { in iflib_rxsd_alloc()
2154 cl = uma_zalloc(fl->ifl_zone, M_NOWAIT); in iflib_fl_refill()
2157 if ((cl = m_cljget(NULL, M_NOWAIT, fl->ifl_buf_size)) == NULL) in iflib_fl_refill()
2187 m = m_gethdr(M_NOWAIT, MT_NOINIT); in iflib_fl_refill()
[all …]
/haiku/src/libs/compat/freebsd_network/
H A Dmalloc.cpp29 (flags & M_NOWAIT) ? HEAP_DONT_WAIT_FOR_MEMORY : 0); in _kernel_malloc()
52 const bool zero = (flags & M_ZERO) != 0, dontWait = (flags & M_NOWAIT) != 0; in _kernel_contigmalloc()
H A Dfbsd_uipc_mbuf2.c176 o = m_dup1(n, off, n->m_len - off, M_NOWAIT); in m_pulldown()
236 o = m_getcl(M_NOWAIT, m->m_type, 0); in m_pulldown()
238 o = m_get(M_NOWAIT, m->m_type); in m_pulldown()
H A Dfbsd_ether.c129 M_PREPEND(m, ETHER_VLAN_ENCAP_LEN, M_NOWAIT); in ether_vlanencap()
H A Dfbsd_uipc_mbuf.c807 m = m_get(M_NOWAIT, n->m_type); in m_pullup()
851 m = m_get(M_NOWAIT, n->m_type); in m_copyup()
978 m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR); in m_devget()
981 m = m_gethdr(M_NOWAIT, MT_DATA); in m_devget()
996 m = m_getcl(M_NOWAIT, MT_DATA, 0); in m_devget()
999 m = m_get(M_NOWAIT, MT_DATA); in m_devget()
1043 n = m_get(M_NOWAIT, m->m_type); in m_copyback()
1067 n = m_get(M_NOWAIT, m->m_type); in m_copyback()
1111 n = m_get(M_NOWAIT, m->m_type); in m_append()
H A Dfbsd_if_media.c133 entry = kernel_malloc(sizeof(*entry), M_IFADDR, M_NOWAIT);
301 M_TEMP, M_NOWAIT);
H A Dfbsd_mii.c264 M_NOWAIT); in miibus_hinted_child()
401 ivars = malloc(sizeof(*ivars), M_DEVBUF, M_NOWAIT); in mii_attach()
493 M_NOWAIT); in mii_attach()
H A Dbus_dma.cpp105 M_DEVBUF, M_ZERO | M_NOWAIT); in bus_dma_tag_create()
218 mflags = M_NOWAIT; in _allocate_dmamem()
H A Dmbuf.c40 if (how & M_NOWAIT) in m_to_oc_flags()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_haiku.cpp292 m = m_gethdr(M_NOWAIT, MT_DATA); in ieee80211_getmgtframe()
302 m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR); in ieee80211_getmgtframe()
443 n = m_gethdr(M_NOWAIT, MT_DATA); in ieee80211_realign()
445 n = m_getjcl(M_NOWAIT, MT_DATA, M_PKTHDR, in ieee80211_realign()
477 sizeof(struct ieee80211_cb), M_NOWAIT); in ieee80211_add_callback()
512 sizeof(struct ieee80211_tx_params), M_NOWAIT); in ieee80211_add_xmit_params()
552 sizeof(struct ieee80211_rx_stats), M_NOWAIT); in ieee80211_add_rx_params()
604 sizeof(struct ieee80211_toa_params), M_NOWAIT); in ieee80211_add_toa_params()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_dfs/null/
H A Ddfs_null.c231 indata = malloc(insize, M_TEMP, M_NOWAIT); in ath_ioctl_phyerr()
248 outdata = malloc(outsize, M_TEMP, M_NOWAIT); in ath_ioctl_phyerr()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_spectral.c201 indata = malloc(insize, M_TEMP, M_NOWAIT); in ath_ioctl_spectral()
218 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); in ath_ioctl_spectral()
H A Dif_ath_ioctl.c181 indata = malloc(insize, M_TEMP, M_NOWAIT); in ath_ioctl_diag()
198 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); in ath_ioctl_diag()
H A Dif_ath_btcoex.c445 indata = malloc(insize, M_TEMP, M_NOWAIT); in ath_btcoex_ioctl()
462 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); in ath_btcoex_ioctl()
H A Dif_ath_descdma.c261 bf = malloc(bsize, M_ATHDEV, M_NOWAIT | M_ZERO); in ath_descdma_setup()
349 bf = malloc(bsize, M_ATHDEV, M_NOWAIT | M_ZERO); in ath_descdma_setup_rx_edma()
H A Dif_ath_rx_edma.c684 m = m_getm(NULL, sc->sc_edma_bufsize, M_NOWAIT, MT_DATA); in ath_edma_rxbuf_init()
939 M_NOWAIT | M_ZERO); in ath_edma_setup_rxfifo()
H A Dif_ath_lna_div.c171 indata = malloc(insize, M_TEMP, M_NOWAIT); in ath_lna_div_ioctl()
188 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); in ath_lna_div_ioctl()
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmalloc.h22 #define M_NOWAIT 0x0001 macro
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/
H A Dlance.c389 MGETHDR(m0, M_NOWAIT, MT_DATA); in lance_get()
399 if (!(MCLGET(m, M_NOWAIT))) in lance_get()
417 MGET(newm, M_NOWAIT, MT_DATA); in lance_get()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/
H A Drtwn_usb_rx.c127 m = m_get2(totlen, M_NOWAIT, MT_DATA, M_PKTHDR); in rtwn_rx_copy_to_mbuf()
191 data->m = m_getm(NULL, totlen, M_NOWAIT, MT_DATA); in rtwn_rxeof_fragmented()
/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()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/
H A Drtwn_pci_tx.c145 mnew = rtwn_mbuf_defrag(m, M_NOWAIT); in rtwn_pci_tx_start_frame()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.c250 sc->malo_tq = taskqueue_create_fast("malo_taskq", M_NOWAIT, in malo_attach()
526 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO); in malo_rxdma_setup()
568 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO); in malo_txdma_setup()
824 m = m_defrag(m0, M_NOWAIT); in malo_tx_dmasetup()
1122 M_PREPEND(m0, space, M_NOWAIT); in malo_tx_start()
1344 m = m_getjcl(M_NOWAIT, MT_DATA, M_PKTHDR, MJUMPAGESIZE); in malo_getrxmbuf()
/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()
2650 m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR); in dc_newbuf()
3387 m = m_defrag(*m_head, M_NOWAIT); in dc_encap()
3402 m = m_collapse(*m_head, M_NOWAIT, DC_MAXFRAGS); in dc_encap()
3419 if (defragged != 0 || (m = m_collapse(*m_head, M_NOWAIT, in dc_encap()
4127 M_DEVBUF, M_NOWAIT); in dc_check_multiport()

1234