| /NextBSD/sys/net80211/ |
| HD | ieee80211_freebsd.c | 431 struct m_tag *mtag; in ieee80211_add_callback() local 434 mtag = m_tag_alloc(MTAG_ABI_NET80211, NET80211_TAG_CALLBACK, in ieee80211_add_callback() 436 if (mtag == NULL) in ieee80211_add_callback() 439 cb = (struct ieee80211_cb *)(mtag+1); in ieee80211_add_callback() 442 m_tag_prepend(m, mtag); in ieee80211_add_callback() 451 struct m_tag *mtag; in ieee80211_add_xmit_params() local 454 mtag = m_tag_alloc(MTAG_ABI_NET80211, NET80211_TAG_XMIT_PARAMS, in ieee80211_add_xmit_params() 456 if (mtag == NULL) in ieee80211_add_xmit_params() 459 tx = (struct ieee80211_tx_params *)(mtag+1); in ieee80211_add_xmit_params() 461 m_tag_prepend(m, mtag); in ieee80211_add_xmit_params() [all …]
|
| /NextBSD/usr.sbin/bsdconfig/usermgmt/share/ |
| HD | group.subr | 144 local mtag retval defaultitem= 150 f_dialog_menutag_fetch mtag 151 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 152 defaultitem="$mtag" 157 case "$mtag" in 277 local mtag retval defaultitem= 283 f_dialog_menutag_fetch mtag 284 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 285 defaultitem="$mtag" 290 case "$mtag" in [all …]
|
| HD | user.subr | 352 local mtag retval defaultitem= 358 f_dialog_menutag_fetch mtag 359 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 360 defaultitem="$mtag" 365 case "$mtag" in 595 local mtag retval defaultitem= 601 f_dialog_menutag_fetch mtag 602 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 603 defaultitem="$mtag" 608 case "$mtag" in [all …]
|
| /NextBSD/usr.sbin/bsdconfig/usermgmt/ |
| HD | useredit | 83 f_dialog_menutag_fetch mtag 84 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 85 defaultitem="$mtag" 89 [ "$mtag" = "X $msg_exit" ] && break 93 f_user_edit "$mtag"
|
| HD | groupedit | 83 f_dialog_menutag_fetch mtag 84 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 85 defaultitem="$mtag" 89 [ "$mtag" = "X $msg_exit" ] && break 93 f_group_edit "$mtag"
|
| HD | groupdel | 83 f_dialog_menutag_fetch mtag 84 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 85 defaultitem="$mtag" 89 [ "$mtag" = "X $msg_exit" ] && break 93 f_group_delete "$mtag"
|
| HD | userdel | 83 f_dialog_menutag_fetch mtag 84 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 85 defaultitem="$mtag" 89 [ "$mtag" = "X $msg_exit" ] && break 93 f_user_delete "$mtag"
|
| HD | usermgmt | 137 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 147 case "$mtag" in
|
| /NextBSD/sys/net/altq/ |
| HD | altq_codel.c | 288 struct m_tag *mtag; in codel_addq() local 292 mtag = m_tag_locate(m, MTAG_CODEL, 0, NULL); in codel_addq() 293 if (mtag == NULL) in codel_addq() 294 mtag = m_tag_alloc(MTAG_CODEL, 0, sizeof(uint64_t), in codel_addq() 296 if (mtag == NULL) { in codel_addq() 300 enqueue_time = (uint64_t *)(mtag + 1); in codel_addq() 302 m_tag_prepend(m, mtag); in codel_addq() 316 struct m_tag *mtag; in codel_should_drop() local 324 mtag = m_tag_locate(m, MTAG_CODEL, 0, NULL); in codel_should_drop() 325 if (mtag == NULL) { in codel_should_drop() [all …]
|
| /NextBSD/usr.sbin/bsdconfig/startup/ |
| HD | rcadd | 121 case "$mtag" in 128 defaultitem="$mtag" 130 [ "$mtag" = "X $msg_exit" ] && break 135 "${mtag# }"
|
| HD | rcconf | 234 case "$mtag" in 247 case "$mtag" in 256 $BSDCFG_LIBE/$APP_DIR/rcedit ${USE_XDIALOG:+-X} "${mtag# }"
|
| /NextBSD/sys/netpfil/ipfw/ |
| HD | ip_fw2.c | 1797 struct m_tag *mtag; in ipfw_chk() local 1810 mtag = m_tag_get(PACKET_TAG_PF, in ipfw_chk() 1812 if (mtag == NULL) { in ipfw_chk() 1819 m_tag_prepend(m, mtag); in ipfw_chk() 1820 at = (struct pf_mtag *)(mtag + 1); in ipfw_chk() 1948 struct m_tag *mtag; in ipfw_chk() local 1952 mtag = m_tag_locate(m, MTAG_IPFW, tag, NULL); in ipfw_chk() 1962 if (mtag != NULL) in ipfw_chk() 1963 m_tag_delete(m, mtag); in ipfw_chk() 1966 if (mtag == NULL) { in ipfw_chk() [all …]
|
| /NextBSD/sys/netinet/ |
| HD | ip_divert.c | 200 struct m_tag *mtag; in divert_packet() local 202 mtag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL); in divert_packet() 203 if (mtag == NULL) { in divert_packet() 228 divsrc.sin_port = ((struct ipfw_rule_ref *)(mtag+1))->rulenum; in divert_packet() 280 nport = htons((u_int16_t)(((struct ipfw_rule_ref *)(mtag+1))->info)); in divert_packet() 319 struct m_tag *mtag; in div_output() local 334 mtag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL); in div_output() 335 if (mtag == NULL) { in div_output() 337 mtag = m_tag_alloc(MTAG_IPFW_RULE, 0, in div_output() 339 if (mtag == NULL) { in div_output() [all …]
|
| /NextBSD/sys/netpfil/pf/ |
| HD | pf_mtag.h | 56 struct m_tag *mtag; in pf_find_mtag() local 58 if ((mtag = m_tag_find(m, PACKET_TAG_PF, NULL)) == NULL) in pf_find_mtag() 61 return ((struct pf_mtag *)(mtag + 1)); in pf_find_mtag()
|
| /NextBSD/sys/dev/tx/ |
| HD | if_tx.c | 276 &sc->mtag); in epic_attach() 459 if (sc->mtag) in epic_release() 460 bus_dma_tag_destroy(sc->mtag); in epic_release() 669 error = bus_dmamap_load_mbuf(sc->mtag, buf->map, m0, in epic_ifstart_locked() 692 error = bus_dmamap_load_mbuf(sc->mtag, buf->map, m, in epic_ifstart_locked() 700 bus_dmamap_sync(sc->mtag, buf->map, BUS_DMASYNC_PREWRITE); in epic_ifstart_locked() 757 bus_dmamap_sync(sc->mtag, buf->map, BUS_DMASYNC_POSTREAD); in epic_rx_done() 773 error = bus_dmamap_load_mbuf(sc->mtag, sc->sparemap, buf->mbuf, in epic_rx_done() 783 bus_dmamap_unload(sc->mtag, buf->map); in epic_rx_done() 787 bus_dmamap_sync(sc->mtag, buf->map, BUS_DMASYNC_PREREAD); in epic_rx_done() [all …]
|
| /NextBSD/sys/net/ |
| HD | if_fwsubr.c | 84 struct m_tag *mtag; in firewire_output() local 123 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, NULL); in firewire_output() 124 if (!mtag) { in firewire_output() 125 mtag = m_tag_alloc(MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, in firewire_output() 127 if (!mtag) { in firewire_output() 131 m_tag_prepend(m, mtag); in firewire_output() 133 destfw = (struct fw_hwaddr *)(mtag + 1); in firewire_output() 569 struct m_tag *mtag; in firewire_input() local 571 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_SENDER_EUID, 0); in firewire_input() 572 if (mtag) in firewire_input() [all …]
|
| /NextBSD/crypto/openssl/crypto/asn1/ |
| HD | asn1_mac.h | 443 # define M_ASN1_I2D_len_EXP_opt(a,f,mtag,v) \ argument 447 ret+=ASN1_object_size(1,v,mtag); \ 450 # define M_ASN1_I2D_len_EXP_SET_opt(a,f,mtag,tag,v) \ argument 454 ret+=ASN1_object_size(1,v,mtag); \ 457 # define M_ASN1_I2D_len_EXP_SEQUENCE_opt(a,f,mtag,tag,v) \ argument 462 ret+=ASN1_object_size(1,v,mtag); \ 465 # define M_ASN1_I2D_len_EXP_SEQUENCE_opt_type(type,a,f,mtag,tag,v) \ argument 471 ret+=ASN1_object_size(1,v,mtag); \ 536 # define M_ASN1_I2D_put_EXP_SET_opt(a,f,mtag,tag,v) \ argument 539 ASN1_put_object(&p,1,v,mtag,V_ASN1_CONTEXT_SPECIFIC); \ [all …]
|
| /NextBSD/usr.sbin/bsdconfig/share/media/ |
| HD | any.subr | 96 local mtag 98 mtag=$( eval $DIALOG \ 113 f_dialog_data_sanitize mtag 114 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 123 case "$mtag" in
|
| HD | options.subr | 205 local mtag 206 mtag=$( eval $DIALOG \ 223 f_dialog_data_sanitize mtag 224 defaultitem="$mtag" 225 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 234 case "$mtag" in
|
| /NextBSD/sys/dev/firewire/ |
| HD | if_fwip.c | 537 struct m_tag *mtag; in fwip_async_output() local 576 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, 0); in fwip_async_output() 577 if (mtag == NULL) in fwip_async_output() 580 destfw = (struct fw_hwaddr *) (mtag + 1); in fwip_async_output() 712 struct m_tag *mtag; in fwip_stream_input() local 784 mtag = m_tag_alloc(MTAG_FIREWIRE, in fwip_stream_input() 787 if (mtag) { in fwip_stream_input() 790 uint32_t *p = (uint32_t *) (mtag + 1); in fwip_stream_input() 800 m_tag_prepend(m, mtag); in fwip_stream_input() 838 struct m_tag *mtag; in fwip_unicast_input() local [all …]
|
| /NextBSD/sys/netgraph/ |
| HD | ng_iface.c | 339 struct m_tag *mtag; in ng_iface_output() local 351 mtag = NULL; in ng_iface_output() 352 while ((mtag = m_tag_locate(m, MTAG_NGIF, MTAG_NGIF_CALLED, mtag))) { in ng_iface_output() 353 if (*(struct ifnet **)(mtag + 1) == ifp) { in ng_iface_output() 359 mtag = m_tag_alloc(MTAG_NGIF, MTAG_NGIF_CALLED, sizeof(struct ifnet *), in ng_iface_output() 361 if (mtag == NULL) { in ng_iface_output() 365 *(struct ifnet **)(mtag + 1) = ifp; in ng_iface_output() 366 m_tag_prepend(m, mtag); in ng_iface_output()
|
| /NextBSD/sys/netgraph/netflow/ |
| HD | ng_netflow.c | 594 struct m_tag *mtag; in ng_netflow_rcvdata() local 625 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW, in ng_netflow_rcvdata() 627 while (mtag != NULL) { in ng_netflow_rcvdata() 629 ((ng_ID_t *)(mtag + 1))[0] == NG_NODE_ID(node)) { in ng_netflow_rcvdata() 633 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW, in ng_netflow_rcvdata() 634 MTAG_NETFLOW_CALLED, mtag); in ng_netflow_rcvdata() 648 mtag = m_tag_alloc(MTAG_NETFLOW, MTAG_NETFLOW_CALLED, in ng_netflow_rcvdata() 650 if (mtag) { in ng_netflow_rcvdata() 651 ((ng_ID_t *)(mtag + 1))[0] = NG_NODE_ID(node); in ng_netflow_rcvdata() 652 m_tag_prepend(NGI_M(item), mtag); in ng_netflow_rcvdata()
|
| /NextBSD/usr.sbin/bsdconfig/ |
| HD | bsdconfig | 397 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 406 case "$mtag" in 415 f_getvar menu_program$mtag menu_program
|
| /NextBSD/sys/arm/at91/ |
| HD | if_ate.c | 140 bus_dma_tag_t mtag; /* bus dma tag for mbufs */ member 569 1, MCLBYTES, 0, busdma_lock_mutex, &sc->sc_mtx, &sc->mtag)) in ate_activate() 572 if ( bus_dmamap_create(sc->mtag, 0, &sc->tx_map[i])) in ate_activate() 689 if (sc->mtag != NULL) { in ate_deactivate() 692 bus_dmamap_sync(sc->mtag, sc->tx_map[i], in ate_deactivate() 694 bus_dmamap_unload(sc->mtag, sc->tx_map[i]); in ate_deactivate() 697 bus_dmamap_destroy(sc->mtag, sc->tx_map[i]); in ate_deactivate() 701 bus_dma_tag_destroy(sc->mtag); in ate_deactivate() 1040 bus_dmamap_sync(sc->mtag, sc->tx_map[sc->txtail], in ate_intr() 1042 bus_dmamap_unload(sc->mtag, sc->tx_map[sc->txtail]); in ate_intr() [all …]
|
| /NextBSD/sys/netipsec/ |
| HD | ipsec_input.c | 316 struct m_tag *mtag; in ipsec4_common_input_cb() local 467 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec4_common_input_cb() 469 if (mtag == NULL) { in ipsec4_common_input_cb() 476 tdbi = (struct tdb_ident *)(mtag + 1); in ipsec4_common_input_cb() 484 m_tag_prepend(m, mtag); in ipsec4_common_input_cb() 597 struct m_tag *mtag; in ipsec6_common_input_cb() local 733 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec6_common_input_cb() 735 if (mtag == NULL) { in ipsec6_common_input_cb() 742 tdbi = (struct tdb_ident *)(mtag + 1); in ipsec6_common_input_cb() 750 m_tag_prepend(m, mtag); in ipsec6_common_input_cb()
|