Searched refs:mh (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-13-stable/sys/dev/malo/
H A Dif_malohal.c64 pCmd = (_type *)&mh->mh_cmdbuf[0]; \
71 malo_hal_read4(struct malo_hal *mh, bus_size_t off) argument
73 return bus_space_read_4(mh->mh_iot, mh->mh_ioh, off);
77 malo_hal_write4(struct malo_hal *mh, bus_size_t off, uint32_t val) argument
79 bus_space_write_4(mh->mh_iot, mh->mh_ioh, off, val);
104 struct malo_hal *mh; local
106 mh = malloc(sizeof(struct malo_hal), M_DEVBUF, M_NOWAIT | M_ZERO);
107 if (mh
179 malo_hal_send_cmd(struct malo_hal *mh) argument
194 malo_hal_waitforcmd(struct malo_hal *mh, uint16_t cmd) argument
211 malo_hal_execute_cmd(struct malo_hal *mh, unsigned short cmd) argument
243 malo_hal_get_cal_table(struct malo_hal *mh, uint8_t annex, uint8_t index) argument
261 malo_hal_get_pwrcal_table(struct malo_hal *mh, struct malo_hal_caldata *cal) argument
284 malo_hal_resetstate(struct malo_hal *mh) argument
296 malo_hal_fw_reset(struct malo_hal *mh) argument
310 malo_hal_trigger_pcicmd(struct malo_hal *mh) argument
328 malo_hal_waitfor(struct malo_hal *mh, uint32_t val) argument
345 malo_hal_send_helper(struct malo_hal *mh, int bsize, const void *data, size_t dsize, int waitfor) argument
373 malo_hal_fwload_helper(struct malo_hal *mh, char *helper) argument
406 malo_hal_send_main(struct malo_hal *mh, const void *data, size_t dsize, uint16_t seqnum, int waitfor) argument
435 malo_hal_fwload_main(struct malo_hal *mh, char *firmware) argument
482 malo_hal_fwload(struct malo_hal *mh, char *helper, char *firmware) argument
547 malo_hal_gethwspecs(struct malo_hal *mh, struct malo_hal_hwspec *hw) argument
582 malo_hal_detach(struct malo_hal *mh) argument
598 malo_hal_setantenna(struct malo_hal *mh, enum malo_hal_antenna dirset, int ant) argument
630 malo_hal_setradio(struct malo_hal *mh, int onoff, enum malo_hal_preamble preamble) argument
658 malo_hal_intrset(struct malo_hal *mh, uint32_t mask) argument
670 malo_hal_setchannel(struct malo_hal *mh, const struct malo_hal_channel *chan) argument
690 malo_hal_settxpower(struct malo_hal *mh, const struct malo_hal_channel *c) argument
716 malo_hal_setpromisc(struct malo_hal *mh, int enable) argument
723 malo_hal_setassocid(struct malo_hal *mh, const uint8_t bssid[IEEE80211_ADDR_LEN], uint16_t associd) argument
748 malo_hal_txstart(struct malo_hal *mh, int qnum) argument
759 malo_hal_getisr(struct malo_hal *mh, uint32_t *status) argument
784 malo_hal_cmddone(struct malo_hal *mh) argument
790 malo_hal_prescan(struct malo_hal *mh) argument
808 malo_hal_postscan(struct malo_hal *mh, uint8_t *macaddr, uint8_t ibsson) argument
828 malo_hal_set_slot(struct malo_hal *mh, int is_short) argument
847 malo_hal_set_rate(struct malo_hal *mh, uint16_t curmode, uint8_t rate) argument
890 malo_hal_setmcast(struct malo_hal *mh, int nmc, const uint8_t macs[]) argument
[all...]
H A Dif_malohal.h204 #define MALO_HAL_LOCK(mh) mtx_lock(&mh->mh_mtx)
205 #define MALO_HAL_LOCK_ASSERT(mh) mtx_assert(&mh->mh_mtx, MA_OWNED)
206 #define MALO_HAL_UNLOCK(mh) mtx_unlock(&mh->mh_mtx)
H A Dif_malo.c177 struct malo_hal *mh; local
185 mh = malo_hal_attach(sc->malo_dev, devid,
187 if (mh == NULL) {
192 sc->malo_mh = mh;
199 error = malo_hal_fwload(mh, "malo8335-h", "malo8335-m");
205 error = malo_hal_gethwspecs(mh, &sc->malo_hwspecs);
318 malo_hal_detach(mh);
379 struct malo_hal *mh = sc->malo_mh; local
394 malo_hal_getisr(mh, &status); /* NB: clears ISR too */
406 malo_hal_cmddone(mh);
1318 struct malo_hal *mh = sc->malo_mh; local
1448 struct malo_hal *mh = sc->malo_mh; local
1563 struct malo_hal *mh = sc->malo_mh; local
1623 struct malo_hal *mh = sc->malo_mh; local
1700 struct malo_hal *mh = sc->malo_mh; local
1727 struct malo_hal *mh = sc->malo_mh; local
1879 struct malo_hal *mh = sc->malo_mh; local
[all...]
/freebsd-13-stable/sys/dev/mwl/
H A Dmwlhal.c100 pCmd = (type *)&mh->mh_cmdbuf[0]; \
129 struct mwl_hal_priv *mh; /* back pointer */ member in struct:mwl_hal_vap
138 #define MWLVAP(_vap) ((_vap)->mh)
199 MWL_HAL_LOCK(struct mwl_hal_priv *mh) argument
201 mtx_lock(&mh->mh_mtx);
205 MWL_HAL_LOCK_ASSERT(struct mwl_hal_priv *mh) argument
207 mtx_assert(&mh->mh_mtx, MA_OWNED);
211 MWL_HAL_UNLOCK(struct mwl_hal_priv *mh) argument
213 mtx_unlock(&mh->mh_mtx);
217 RD4(struct mwl_hal_priv *mh, bus_size_ argument
223 WR4(struct mwl_hal_priv *mh, bus_size_t off, uint32_t val) argument
248 struct mwl_hal_priv *mh; local
373 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
385 mwlResetHalState(struct mwl_hal_priv *mh) argument
414 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
446 mwl_hal_setdebug(struct mwl_hal *mh, int debug) argument
452 mwl_hal_getdebug(struct mwl_hal *mh) argument
458 mwl_hal_setbastreams(struct mwl_hal *mh, int mask) argument
464 mwl_hal_getbastreams(struct mwl_hal *mh) argument
470 mwl_hal_ismbsscapable(struct mwl_hal *mh) argument
507 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
562 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
610 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
651 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
694 struct mwl_hal_priv *mh = MWLVAP(vap); local
724 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
752 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
780 struct mwl_hal_priv *mh = MWLVAP(vap); local
801 struct mwl_hal_priv *mh = MWLVAP(vap); local
820 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
889 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
912 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
943 struct mwl_hal_priv *mh = MWLVAP(vap); local
996 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1022 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1043 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1066 findchannel(const struct mwl_hal_priv *mh, const MWL_HAL_CHANNEL *c) argument
1102 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1140 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1159 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1182 struct mwl_hal_priv *mh = MWLVAP(vap); local
1231 struct mwl_hal_priv *mh = MWLVAP(vap); local
1257 struct mwl_hal_priv *mh = MWLVAP(vap); local
1272 struct mwl_hal_priv *mh = MWLVAP(vap); local
1284 struct mwl_hal_priv *mh = MWLVAP(vap); local
1304 struct mwl_hal_priv *mh = MWLVAP(vap); local
1321 struct mwl_hal_priv *mh = MWLVAP(vap); local
1339 struct mwl_hal_priv *mh = MWLVAP(vap); local
1356 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1376 struct mwl_hal_priv *mh = MWLVAP(vap); local
1419 struct mwl_hal_priv *mh = MWLVAP(vap); local
1451 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1468 struct mwl_hal_priv *mh = MWLVAP(vap); local
1521 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1554 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1574 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1599 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1618 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1640 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1658 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1689 struct mwl_hal_priv *mh = MWLVAP(vap); local
1717 struct mwl_hal_priv *mh = MWLVAP(vap); local
1744 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1765 struct mwl_hal_priv *mh = MWLVAP(vap); local
1783 struct mwl_hal_priv *mh = MWLVAP(vap); local
1804 struct mwl_hal_priv *mh = MWLVAP(vap); local
1822 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1839 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1857 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1885 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1903 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1921 struct mwl_hal_priv *mh = MWLVAP(vap); local
1939 struct mwl_hal_priv *mh = MWLVAP(vap); local
1956 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1974 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1990 mwlGetCalTable(struct mwl_hal_priv *mh, uint8_t annex, uint8_t index) argument
2099 mwlGetPwrCalTable(struct mwl_hal_priv *mh) argument
2154 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2171 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2184 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2196 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2217 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2235 getRFReg(struct mwl_hal_priv *mh, int flag, uint32_t reg, uint32_t *val) argument
2254 getBBReg(struct mwl_hal_priv *mh, int flag, uint32_t reg, uint32_t *val) argument
2273 mwl_hal_getregdump(struct mwl_hal_priv *mh, const MWL_DIAG_REGRANGE *regs, void *dstbuf, int space) argument
2310 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2346 mwlSendCmd(struct mwl_hal_priv *mh) argument
2360 mwlWaitForCmdComplete(struct mwl_hal_priv *mh, uint16_t cmdCode) argument
2375 mwlExecuteCmd(struct mwl_hal_priv *mh, unsigned short cmd) argument
2435 mwlFwReset(struct mwl_hal_priv *mh) argument
2447 mwlTriggerPciCmd(struct mwl_hal_priv *mh) argument
2464 mwlWaitFor(struct mwl_hal_priv *mh, uint32_t val) argument
2480 mwlSendBlock(struct mwl_hal_priv *mh, int bsize, const void *data, size_t dsize) argument
2501 mwlSendBlock2(struct mwl_hal_priv *mh, const void *data, size_t dsize) argument
2516 mwlPokeSdramController(struct mwl_hal_priv *mh, int SDRAMSIZE_Addr) argument
2527 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2746 dumpresult(struct mwl_hal_priv *mh, int showresult) argument
[all...]
H A Dmwlhal.h128 mwl_hal_getisr(struct mwl_hal *mh, uint32_t *status) argument
134 cause = bus_space_read_4(mh->mh_iot, mh->mh_ioh,
140 bus_space_write_4(mh->mh_iot, mh->mh_ioh,
141 MACREG_REG_A2H_INTERRUPT_CAUSE, cause &~ mh->mh_imask);
142 (void) bus_space_read_4(mh->mh_iot, mh->mh_ioh,
144 cause &= mh->mh_imask;
151 void mwl_hal_intrset(struct mwl_hal *mh, uint32_
159 mwl_hal_txstart(struct mwl_hal *mh, int qnum) argument
[all...]
H A Dif_mwl.c293 struct mwl_hal *mh; local
304 mh = mwl_hal_attach(sc->sc_dev, devid,
306 if (mh == NULL) {
311 sc->sc_mh = mh;
317 if (mwl_hal_fwload(mh, NULL) != 0) {
322 if (mwl_hal_gethwspecs(mh, &sc->sc_hwspecs) != 0) {
519 mwl_hal_detach(mh);
597 struct mwl_hal *mh = sc->sc_mh; local
609 hvap = mwl_hal_newvap(mh, MWL_HAL_AP, mac);
619 hvap = mwl_hal_newvap(mh, MWL_HAL_ST
723 struct mwl_hal *mh = sc->sc_mh; local
799 struct mwl_hal *mh = sc->sc_mh; local
896 struct mwl_hal *mh = sc->sc_mh; local
1114 struct mwl_hal *mh = sc->sc_mh; local
1137 struct mwl_hal *mh = sc->sc_mh; local
1250 struct mwl_hal *mh = sc->sc_mh; local
1754 struct mwl_hal *mh = sc->sc_mh; local
1798 struct mwl_hal *mh = sc->sc_mh; local
2893 struct mwl_hal *mh = sc->sc_mh; local
3800 struct mwl_hal *mh = sc->sc_mh; local
4091 struct mwl_hal *mh = sc->sc_mh; local
4329 struct mwl_hal *mh = sc->sc_mh; local
4603 struct mwl_hal *mh = sc->sc_mh; local
4658 struct mwl_hal *mh = sc->sc_mh; local
[all...]
/freebsd-13-stable/tools/tools/ath/ath_ee_v14_print/
H A Dath_ee_v14_print.c148 MODAL_EEP_HEADER *mh = &eep->ee_base.modalHeader[m]; local
151 printf("| antCtrlCommon: 0x%.8x |\n", mh->antCtrlCommon);
152 printf("| switchSettling: 0x%.2x |\n", mh->switchSettling);
154 mh->adcDesiredSize, (float) mh->pgaDesiredSize / 2.0);
157 mh->antCtrlChain[0], mh->antCtrlChain[1], mh->antCtrlChain[2]);
159 mh->antennaGainCh[0], mh
[all...]
/freebsd-13-stable/tools/tools/ath/ath_ee_v4k_print/
H A Dv4k.c90 MODAL_EEP4K_HEADER *mh = &eep->ee_base.modalHeader; local
93 printf("| antCtrlCommon: 0x%.8x |\n", mh->antCtrlCommon);
94 printf("| switchSettling: 0x%.2x |\n", mh->switchSettling);
96 mh->adcDesiredSize, (float) mh->pgaDesiredSize / 2.0);
98 printf("| antCtrlChain: 0:0x%.4x |\n", mh->antCtrlChain[0]);
99 printf("| antennaGainCh: 0:0x%.2x |\n", mh->antennaGainCh[0]);
100 printf("| txRxAttenCh: 0:0x%.2x |\n", mh->txRxAttenCh[0]);
101 printf("| rxTxMarginCh: 0:0x%.2x |\n", mh->rxTxMarginCh[0]);
102 printf("| noiseFloorThresCh: 0:0x%.2x |\n", mh
[all...]
/freebsd-13-stable/tools/regression/netinet6/inet6_rth/
H A Dinet6_rth-segments.c226 struct msghdr mh; local
237 init_hdrs(&mh, &cmh, ancbuf, sizeof(ancbuf));
238 mh.msg_control = (caddr_t)ancbuf;
239 mh.msg_controllen = CMSG_SPACE(0) * 2; /* 2 cmsghdr with no data */
251 cmhp = CMSG_FIRSTHDR(&mh);
252 cmhnextp = CMSG_NXTHDR(&mh, cmhp);
259 init_hdrs(&mh, &cmh, ancbuf, sizeof(ancbuf));
260 mh.msg_control = (caddr_t)ancbuf;
261 mh.msg_controllen = CMSG_SPACE(0);
264 cmhp = CMSG_FIRSTHDR(&mh);
284 struct msghdr mh; local
[all...]
/freebsd-13-stable/tools/tools/ath/ath_ee_9287_print/
H A D9287.c98 MODAL_EEP_9287_HEADER *mh = &eep->ee_base.modalHeader; local
101 printf("| antCtrlCommon: 0x%.8x |\n", mh->antCtrlCommon);
102 printf("| switchSettling: 0x%.2x |\n", mh->switchSettling);
103 printf("| adcDesiredSize: %d |\n", mh->adcDesiredSize);
107 printf("| antCtrlChain: 0:0x%.4x |\n", mh->antCtrlChain[i]);
108 printf("| antennaGainCh: 0:0x%.2x |\n", mh->antennaGainCh[i]);
109 printf("| txRxAttenCh: 0:0x%.2x |\n", mh->txRxAttenCh[i]);
110 printf("| rxTxMarginCh: 0:0x%.2x |\n", mh->rxTxMarginCh[i]);
111 printf("| noiseFloorThresCh: 0:0x%.2x |\n", mh->noiseFloorThreshCh[i]);
112 printf("| iqCalICh: 0:0x%.2x |\n", mh
[all...]
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-mobility.c205 const struct ip6_mobility *mh; local
210 mh = (const struct ip6_mobility *)bp;
215 if (!ND_TTEST(mh->ip6m_len)) {
231 mhlen = (mh->ip6m_len + 1) << 3;
235 ND_TCHECK(mh->ip6m_type);
236 type = mh->ip6m_type;
260 ND_TCHECK(mh->ip6m_data16[0]);
261 ND_PRINT((ndo, " nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0])));
281 ND_TCHECK(mh->ip6m_data16[0]);
282 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&mh
[all...]
H A Dprint-sctp.c262 struct sctpHeader mh; member in struct:sctpSendableInit
328 struct sctpHeader mh; member in struct:sctpUnifiedAbortLight
333 struct sctpHeader mh; member in struct:sctpUnifiedAbortHeavy
366 struct sctpHeader mh; member in struct:sctpUnifiedStreamError
374 struct sctpHeader mh; member in struct:staleCookieMsg
385 struct sctpHeader mh; member in struct:sctpUnifiedSingleMsg
/freebsd-13-stable/sbin/camcontrol/
H A Dmodeedit.c611 struct scsi_mode_header_6 *mh = local
613 mph = find_mode_page_6(mh);
615 struct scsi_mode_header_10 *mh = local
617 mph = find_mode_page_10(mh);
656 struct scsi_mode_header_6 *mh = local
658 desc = (uint8_t *)(mh + 1);
659 len = mh->blk_desc_len;
662 struct scsi_mode_header_10 *mh = local
664 desc = (uint8_t *)(mh + 1);
665 len = scsi_2btoul(mh
731 struct scsi_mode_header_6 *mh = local
736 bcopy(find_mode_page_6(mh), mh + 1, local
746 struct scsi_mode_header_10 *mh = local
751 bcopy(find_mode_page_10(mh), mh + 1, local
805 struct scsi_mode_header_6 *mh = local
814 struct scsi_mode_header_10 *mh = local
1016 struct scsi_mode_header_6 *mh = local
1020 struct scsi_mode_header_10 *mh = local
1053 struct scsi_mode_header_6 *mh = local
1058 struct scsi_mode_header_10 *mh = local
1178 struct scsi_mode_header_6 *mh = local
1183 struct scsi_mode_header_10 *mh = local
[all...]
/freebsd-13-stable/tools/tools/net80211/w00t/redir/
H A Dbuddy.c59 struct msghdr mh; local
91 memset(&mh, 0, sizeof(mh));
92 mh.msg_iov = iov;
93 mh.msg_iovlen = sizeof(iov)/sizeof(struct iovec);
96 if (sendmsg(dude, &mh, 0) != (4 + len))
/freebsd-13-stable/sys/dev/hyperv/vmbus/
H A Dvmbus.c228 vmbus_msghc_reset(struct vmbus_msghc *mh, size_t dsize) argument
235 inprm = vmbus_xact_req_data(mh->mh_xact);
245 struct vmbus_msghc *mh; local
256 mh = vmbus_xact_priv(xact, sizeof(*mh));
257 mh->mh_xact = xact;
259 vmbus_msghc_reset(mh, dsize);
260 return (mh);
264 vmbus_msghc_put(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh) argument
267 vmbus_xact_put(mh
271 vmbus_msghc_dataptr(struct vmbus_msghc *mh) argument
280 vmbus_msghc_exec_noresult(struct vmbus_msghc *mh) argument
328 vmbus_msghc_exec(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh) argument
340 vmbus_msghc_exec_cancel(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh) argument
347 vmbus_msghc_wait_result(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh) argument
355 vmbus_msghc_poll_result(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh) argument
388 struct vmbus_msghc *mh; local
422 struct vmbus_msghc *mh; local
476 struct vmbus_msghc *mh; local
502 struct vmbus_msghc *mh; local
[all...]
H A Dvmbus_chan.c385 struct vmbus_msghc *mh; local
456 mh = vmbus_msghc_get(sc, sizeof(*req));
457 if (mh == NULL) {
465 req = vmbus_msghc_dataptr(mh);
475 error = vmbus_msghc_exec(sc, mh);
480 vmbus_msghc_put(sc, mh);
485 msg = vmbus_msghc_poll_result(sc, mh);
509 msg = vmbus_msghc_poll_result(sc, mh);
516 vmbus_msghc_exec_cancel(sc, mh);
529 vmbus_msghc_put(sc, mh);
566 struct vmbus_msghc *mh; local
718 struct vmbus_msghc *mh; local
834 struct vmbus_msghc *mh; local
1998 struct vmbus_msghc *mh; local
[all...]
/freebsd-13-stable/contrib/processor-trace/libipt/internal/include/windows/
H A Dpt_section_windows.h51 HANDLE mh; member in struct:pt_sec_windows_mapping
/freebsd-13-stable/contrib/processor-trace/libipt/src/windows/
H A Dpt_section_windows.c129 HANDLE fh, mh; local
157 mh = CreateFileMapping(fh, NULL, PAGE_READONLY, 0, 0, NULL);
158 if (!mh)
161 base = MapViewOfFile(mh, FILE_MAP_READ, (DWORD) (offset >> 32),
175 mapping->mh = mh;
191 CloseHandle(mh);
342 CloseHandle(mapping->mh);
/freebsd-13-stable/sys/net/
H A Dif_me.c470 struct mobhdr *mh; local
486 mh = (struct mobhdr *)mtodo(m, sizeof(struct ip));
488 if (mh->mob_flags & (~MOB_FLAGS_SP)) {
492 if (mh->mob_flags) {
500 if (me_in_cksum((uint16_t *)mh, hlen / sizeof(uint16_t)) != 0) {
508 ip->ip_dst = mh->mob_dst;
509 ip->ip_p = mh->mob_proto;
512 if (mh->mob_flags)
513 ip->ip_src = mh->mob_src;
553 struct mobhdr mh; local
[all...]
/freebsd-13-stable/crypto/openssl/crypto/
H A Dmem_dbg.c83 static LHASH_OF(MEM) *mh = NULL;
337 if (mh == NULL) {
338 if ((mh = lh_MEM_new(mem_hash, mem_cmp)) == NULL) {
367 if ((mm = lh_MEM_insert(mh, m)) != NULL) {
392 if (mem_check_on() && (mh != NULL)) {
396 mp = lh_MEM_delete(mh, &m);
431 mp = lh_MEM_delete(mh, &m);
438 (void)lh_MEM_insert(mh, mp);
586 if (mh != NULL)
587 lh_MEM_doall_MEM_LEAK(mh, print_lea
[all...]
/freebsd-13-stable/sys/dev/iscsi_initiator/
H A Disc_soc.c90 struct mbuf *mh, **mp; local
98 MGETHDR(mh, M_WAITOK, MT_DATA);
99 mh->m_pkthdr.rcvif = NULL;
100 mh->m_next = NULL;
101 mh->m_len = sizeof(union ipdu_u);
105 mh->m_len += sizeof(pp->hdr_dig);
116 if((mh->m_len + pp->ahs_len) < MHLEN) {
117 M_ALIGN(mh, mh->m_len + pp->ahs_len);
118 bcopy(&pp->ipdu, mh
[all...]
/freebsd-13-stable/contrib/capsicum-test/
H A Dsocket.cc315 struct msghdr mh; local
316 memset(&mh, 0, sizeof(mh));
317 mh.msg_iov = &iov;
318 mh.msg_iovlen = 1;
325 mh.msg_name = &addr;
326 mh.msg_namelen = sizeof(addr);
328 EXPECT_NOTCAPABLE(sendmsg(cap_sock_rw, &mh, 0));
329 EXPECT_OK(sendmsg(cap_sock_connect, &mh, 0));
334 memcpy(&mv.msg_hdr, &mh, sizeo
[all...]
H A Dprocdesc.cc1017 struct msghdr mh; local
1018 mh.msg_name = NULL; // No address needed
1019 mh.msg_namelen = 0;
1024 mh.msg_iov = iov;
1025 mh.msg_iovlen = 1;
1027 mh.msg_control = buffer2;
1028 mh.msg_controllen = sizeof(buffer2);
1039 int rc = recvmsg(sock_fds[0], &mh, 0);
1041 EXPECT_LE(CMSG_LEN(sizeof(int)), mh.msg_controllen);
1042 cmptr = CMSG_FIRSTHDR(&mh);
[all...]
/freebsd-13-stable/sys/net80211/
H A Dieee80211_power.c369 struct mbuf *mh; local
379 mh = psq->psq_head[0].head;
380 if (mh != NULL)
381 age-= M_AGE_GET(mh);
383 mh = psq->psq_head[1].head;
384 if (mh != NULL) {
385 int nage = M_AGE_GET(mh) - age;
387 M_AGE_SET(mh, nage < 0 ? 0 : nage);
/freebsd-13-stable/contrib/llvm-project/libunwind/src/
H A Dlibunwind_ext.h48 unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh));

Completed in 176 milliseconds

123