Home
last modified time | relevance | path

Searched refs:mprot (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/sys/dev/ral/
H A Drt2661.c1364 struct mbuf *mprot; in rt2661_sendprot() local
1369 mprot = ieee80211_alloc_prot(ni, m, rate, prot); in rt2661_sendprot()
1370 if (mprot == NULL) { in rt2661_sendprot()
1380 error = bus_dmamap_load_mbuf_sg(txq->data_dmat, data->map, mprot, segs, in rt2661_sendprot()
1385 m_freem(mprot); in rt2661_sendprot()
1389 data->m = mprot; in rt2661_sendprot()
1399 rt2661_setup_tx_desc(sc, desc, flags, 0, mprot->m_pkthdr.len, in rt2661_sendprot()
H A Drt2560.c1596 struct mbuf *mprot; in rt2560_sendprot() local
1601 mprot = ieee80211_alloc_prot(ni, m, rate, prot); in rt2560_sendprot()
1602 if (mprot == NULL) { in rt2560_sendprot()
1613 mprot, segs, &nsegs, 0); in rt2560_sendprot()
1617 m_freem(mprot); in rt2560_sendprot()
1621 data->m = mprot; in rt2560_sendprot()
1631 rt2560_setup_tx_desc(sc, desc, flags, mprot->m_pkthdr.len, protrate, 1, in rt2560_sendprot()
/freebsd-12.1/sys/dev/usb/wlan/
H A Dif_ural.c1129 struct mbuf *mprot; in ural_sendprot() local
1132 mprot = ieee80211_alloc_prot(ni, m, rate, prot); in ural_sendprot()
1133 if (mprot == NULL) { in ural_sendprot()
1149 data->m = mprot; in ural_sendprot()
1152 ural_setup_tx_desc(sc, &data->desc, flags, mprot->m_pkthdr.len, protrate); in ural_sendprot()
H A Dif_rum.c1418 struct mbuf *mprot; in rum_sendprot() local
1423 mprot = ieee80211_alloc_prot(ni, m, rate, prot); in rum_sendprot()
1424 if (mprot == NULL) { in rum_sendprot()
1440 data->m = mprot; in rum_sendprot()
1444 mprot->m_pkthdr.len, protrate); in rum_sendprot()
H A Dif_run.c3566 struct mbuf *mprot; in run_sendprot() local
3579 mprot = ieee80211_alloc_prot(ni, m, rate, prot); in run_sendprot()
3580 if (mprot == NULL) { in run_sendprot()
3604 data->m = mprot; in run_sendprot()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dutils.cc524 int mprot = PROT_READ | PROT_WRITE; in fork() local
536 sem = (sem_t*)mmap(NULL, sizeof(*sem), mprot, mflags, -1, 0); in fork()
H A Dinterrupt.cc159 const int mprot = PROT_READ | PROT_WRITE; in SetUp() local
165 mprot, mflags, -1, 0); in SetUp()
/freebsd-12.1/sys/net80211/
H A Dieee80211_output.c3188 struct mbuf *mprot; in ieee80211_alloc_prot() local
3205 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in ieee80211_alloc_prot()
3207 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in ieee80211_alloc_prot()
3209 return (mprot); in ieee80211_alloc_prot()
/freebsd-12.1/sys/dev/bwn/
H A Dif_bwn.c6400 struct mbuf *mprot; in bwn_set_txhdr() local
6533 mprot = ieee80211_alloc_prot(ni, m, rate, ic->ic_protmode); in bwn_set_txhdr()
6534 if (mprot == NULL) { in bwn_set_txhdr()
6554 bcopy(mtod(mprot, uint8_t *), prot_ptr, mprot->m_pkthdr.len); in bwn_set_txhdr()
6555 m_freem(mprot); in bwn_set_txhdr()