Home
last modified time | relevance | path

Searched refs:mph (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/aggr/
H A Daggr_grp.c437 mac_perim_handle_t mph; in aggr_grp_update_ports_mac() local
443 mac_perim_enter_by_mh(cport->lp_mh, &mph); in aggr_grp_update_ports_mac()
458 mac_perim_exit(mph); in aggr_grp_update_ports_mac()
528 mac_perim_handle_t mph; in aggr_grp_add_port() local
549 mac_perim_enter_by_mh(port->lp_mh, &mph); in aggr_grp_add_port()
567 mac_perim_exit(mph); in aggr_grp_add_port()
1039 mac_perim_handle_t mph, pmph; in aggr_grp_add_ports() local
1053 mac_perim_enter_by_mh(grp->lg_mh, &mph); in aggr_grp_add_ports()
1151 mac_perim_exit(mph); in aggr_grp_add_ports()
1227 mac_perim_handle_t mph; in aggr_grp_modify() local
[all …]
H A Daggr_port.c344 mac_perim_handle_t mph; in aggr_port_notify_link() local
347 mac_perim_enter_by_mh(port->lp_mh, &mph); in aggr_port_notify_link()
391 mac_perim_exit(mph); in aggr_port_notify_link()
406 mac_perim_handle_t mph; in aggr_port_notify_unicst() local
411 mac_perim_enter_by_mh(port->lp_mh, &mph); in aggr_port_notify_unicst()
419 mac_perim_exit(mph); in aggr_port_notify_unicst()
429 mac_perim_exit(mph); in aggr_port_notify_unicst()
454 mac_perim_handle_t mph; in aggr_port_notify_cb() local
456 mac_perim_enter_by_mh(grp->lg_mh, &mph); in aggr_port_notify_cb()
458 mac_perim_exit(mph); in aggr_port_notify_cb()
[all …]
H A Daggr_lacp.c156 mac_perim_handle_t mph; in aggr_port_timer_thread() local
186 mac_perim_enter_by_mh(grp->lg_mh, &mph); in aggr_port_timer_thread()
188 mac_perim_exit(mph); in aggr_port_timer_thread()
199 mac_perim_exit(mph); in aggr_port_timer_thread()
1628 mac_perim_handle_t mph; in lacp_on() local
1632 mac_perim_enter_by_mh(portp->lp_mh, &mph); in lacp_on()
1661 mac_perim_exit(mph); in lacp_on()
1669 mac_perim_handle_t mph; in lacp_off() local
1672 mac_perim_enter_by_mh(portp->lp_mh, &mph); in lacp_off()
1702 mac_perim_exit(mph); in lacp_off()
[all …]
/titanic_41/usr/src/uts/common/io/dld/
H A Ddld_proto.c408 mac_perim_handle_t mph; in proto_bind_req() local
432 mac_perim_enter_by_mh(dsp->ds_mh, &mph); in proto_bind_req()
472 mac_perim_exit(mph); in proto_bind_req()
499 mac_perim_exit(mph); in proto_bind_req()
512 mac_perim_handle_t mph; in proto_unbind_req() local
531 mac_perim_enter_by_mh(dsp->ds_mh, &mph); in proto_unbind_req()
561 mac_perim_exit(mph); in proto_unbind_req()
579 mac_perim_handle_t mph; in proto_promiscon_req() local
592 mac_perim_enter_by_mh(dsp->ds_mh, &mph); in proto_promiscon_req()
632 mac_perim_exit(mph); in proto_promiscon_req()
[all …]
H A Ddld_str.c1005 mac_perim_handle_t mph = NULL; in dld_str_attach() local
1031 if ((err = mac_perim_enter_by_macname(dls_devnet_mac(ddp), &mph)) != 0) in dld_str_attach()
1053 mac_perim_exit(mph); in dld_str_attach()
1059 if (mph != NULL) in dld_str_attach()
1060 mac_perim_exit(mph); in dld_str_attach()
1076 mac_perim_handle_t mph; in dld_str_detach() local
1081 mac_perim_enter_by_mh(dsp->ds_mh, &mph); in dld_str_detach()
1106 mac_perim_exit(mph); in dld_str_detach()
2120 mac_perim_handle_t mph; in ioc_raw() local
2128 mac_perim_enter_by_mh(dsp->ds_mh, &mph); in ioc_raw()
[all …]
H A Ddld_drv.c340 mac_perim_handle_t mph; in drv_ioc_attr() local
350 dls_devnet_mac(dlh), &mph)) != 0) { in drv_ioc_attr()
356 mac_perim_exit(mph); in drv_ioc_attr()
364 mac_perim_exit(mph); in drv_ioc_attr()
635 mac_perim_handle_t mph = NULL; in drv_ioc_prop_common() local
675 if ((err = mac_perim_enter_by_macname(dls_devnet_mac(dlh), &mph)) != 0) in drv_ioc_prop_common()
800 if (mph != NULL) { in drv_ioc_prop_common()
809 mac_perim_exit(mph); in drv_ioc_prop_common()
/titanic_41/usr/src/uts/common/io/softmac/
H A Dsoftmac_pkt.c104 mac_perim_handle_t mph; in softmac_output() local
107 mac_perim_enter_by_mh(slp->sl_softmac->smac_mh, &mph); in softmac_output()
158 mac_perim_exit(mph); in softmac_output()
165 mac_perim_handle_t mph; in softmac_ioctl_tx() local
167 mac_perim_enter_by_mh(slp->sl_softmac->smac_mh, &mph); in softmac_ioctl_tx()
188 mac_perim_exit(mph); in softmac_ioctl_tx()
/titanic_41/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c1272 mac_perim_handle_t mph = NULL; in dls_devnet_rename() local
1298 if ((err = mac_perim_enter_by_linkid(id1, &mph)) != 0) { in dls_devnet_rename()
1417 if (mph != NULL) in dls_devnet_rename()
1418 mac_perim_exit(mph); in dls_devnet_rename()
1427 mac_perim_handle_t mph; in i_dls_devnet_setzid() local
1437 if ((err = mac_perim_enter_by_macname(ddp->dd_mac, &mph)) != 0) in i_dls_devnet_setzid()
1466 mac_perim_exit(mph); in i_dls_devnet_setzid()
1554 mac_perim_handle_t mph; in dls_devnet_open() local
1570 err = mac_perim_enter_by_macname(ddp->dd_mac, &mph); in dls_devnet_open()
1577 mac_perim_exit(mph); in dls_devnet_open()
[all …]
H A Ddls_link.c767 mac_perim_handle_t mph; in dls_link_devinfo() local
781 if (mac_perim_enter_by_macname(macname, &mph) != 0) in dls_link_devinfo()
785 mac_perim_exit(mph); in dls_link_devinfo()
791 mac_perim_exit(mph); in dls_link_devinfo()
/titanic_41/usr/src/uts/common/io/bpf/
H A Dbpf_mac.c174 mac_perim_handle_t mph; in mac_bpf_getzone() local
177 mac_perim_enter_by_mh((mac_handle_t)handle, &mph); in mac_bpf_getzone()
179 mac_perim_exit(mph); in mac_bpf_getzone()
H A Dbpf.c337 uintptr_t mph; in bpf_detachd() local
363 mph = d->bd_promisc_handle; in bpf_detachd()
374 if (mph != 0) in bpf_detachd()
375 MBPF_PROMISC_REMOVE(&d->bd_mac, mph); in bpf_detachd()
939 uintptr_t mph; in bpfioctl() local
941 mph = d->bd_promisc_handle; in bpfioctl()
945 MBPF_PROMISC_REMOVE(&d->bd_mac, mph); in bpfioctl()
/titanic_41/usr/src/uts/common/os/
H A Dmmapobj.c1312 STRUCT_HANDLE(myphdr, mph); in calc_loadable()
1324 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); in calc_loadable()
1345 p_type = STRUCT_FGET(mph, x.p_type); in calc_loadable()
1347 vaddr = (caddr_t)(uintptr_t)STRUCT_FGET(mph, x.p_vaddr); in calc_loadable()
1348 p_memsz = STRUCT_FGET(mph, x.p_memsz); in calc_loadable()
1355 STRUCT_SET_HANDLE(mph, model, in calc_loadable()
1356 (struct myphdr *)((size_t)STRUCT_BUF(mph) + in calc_loadable()
1381 p_offset = STRUCT_FGET(mph, x.p_offset); in calc_loadable()
1397 p_align = STRUCT_FGET(mph, x.p_align); in calc_loadable()
1406 STRUCT_SET_HANDLE(mph, model, in calc_loadable()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dmac_client_priv.h47 #define MAC_PERIM_HELD(mph) mac_perim_held(mph) argument
49 #define MAC_PERIM_HELD(mph)
H A Dmac_impl.h680 #define MAC_ENCODE_MPH(mph, mh, need_close) \ argument
681 (mph) = (mac_perim_handle_t)((uintptr_t)(mh) | need_close)
683 #define MAC_DECODE_MPH(mph, mip, need_close) { \ argument
684 mip = (mac_impl_t *)(((uintptr_t)mph) & ~0x1); \
685 (need_close) = ((uintptr_t)mph & 0x1); \
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_flow.c1218 mac_perim_handle_t mph; in mac_link_flow_add() local
1248 err = mac_perim_enter_by_linkid(linkid, &mph); in mac_link_flow_add()
1295 mac_perim_exit(mph); in mac_link_flow_add()
1311 mac_perim_exit(mph); in mac_link_flow_add()
1378 mac_perim_handle_t mph; in mac_link_flow_remove() local
1394 err = mac_perim_enter_by_linkid(linkid, &mph); in mac_link_flow_remove()
1405 mac_perim_exit(mph); in mac_link_flow_remove()
1428 mac_perim_exit(mph); in mac_link_flow_remove()
1443 mac_perim_handle_t mph; in mac_link_flow_modify() local
1463 err = mac_perim_enter_by_linkid(linkid, &mph); in mac_link_flow_modify()
[all …]
H A Dmac_util.c828 mac_perim_handle_t mph; in mac_client_set_intr_cpu() local
835 mac_perim_enter_by_mh((mac_handle_t)mcip->mci_mip, &mph); in mac_client_set_intr_cpu()
843 mac_perim_exit(mph); in mac_client_set_intr_cpu()
/titanic_41/usr/src/uts/common/io/vnic/
H A Dvnic_dev.c1140 mac_perim_handle_t mph; in vnic_m_propinfo() local
1151 mac_perim_enter_by_mh(vn->vn_lower_mh, &mph); in vnic_m_propinfo()
1154 mac_perim_exit(mph); in vnic_m_propinfo()
1161 mac_perim_exit(mph); in vnic_m_propinfo()
1168 mac_perim_exit(mph); in vnic_m_propinfo()
/titanic_41/usr/src/uts/common/io/mxfe/
H A Dmxfe.c3010 mac_prop_info_handle_t mph) in mxfe_m_propinfo() argument
3024 mac_prop_info_set_perm(mph, MAC_PROP_PERM_READ); in mxfe_m_propinfo()
3028 mac_prop_info_set_default_uint8(mph, mxfep->mxfe_cap_aneg); in mxfe_m_propinfo()
3032 mac_prop_info_set_default_uint8(mph, mxfep->mxfe_cap_100fdx); in mxfe_m_propinfo()
3036 mac_prop_info_set_default_uint8(mph, mxfep->mxfe_cap_100hdx); in mxfe_m_propinfo()
3040 mac_prop_info_set_default_uint8(mph, mxfep->mxfe_cap_10fdx); in mxfe_m_propinfo()
3044 mac_prop_info_set_default_uint8(mph, mxfep->mxfe_cap_10hdx); in mxfe_m_propinfo()
3048 mac_prop_info_set_default_uint8(mph, mxfep->mxfe_cap_100T4); in mxfe_m_propinfo()
/titanic_41/usr/src/uts/common/io/zyd/
H A Dzyd.c59 mac_prop_id_t wldp_pr_num, mac_prop_info_handle_t mph);
916 mac_prop_info_handle_t mph) in zyd_m_propinfo() argument
920 ieee80211_propinfo(&sc->ic, pr_name, wldp_pr_num, mph); in zyd_m_propinfo()
/titanic_41/usr/src/uts/common/io/atu/
H A Datu.c1526 mac_prop_info_handle_t mph) in atu_m_propinfo() argument
1531 ieee80211_propinfo(ic, name, id, mph); in atu_m_propinfo()
/titanic_41/usr/src/uts/common/io/iwi/
H A Dipw2200.c166 mac_prop_id_t wldp_pr_num, mac_prop_info_handle_t mph);
2590 mac_prop_id_t wlpd_pr_num, mac_prop_info_handle_t mph) in ipw2200_m_propinfo() argument
2595 ieee80211_propinfo(ic, pr_name, wlpd_pr_num, mph); in ipw2200_m_propinfo()
/titanic_41/usr/src/cmd/units/
H A Dunittab483 mph mile/hr
/titanic_41/usr/src/uts/common/io/hme/
H A Dhme.c1941 mac_prop_info_handle_t mph) in hme_m_propinfo() argument
1945 mii_m_propinfo(hmep->hme_mii, name, num, mph); in hme_m_propinfo()
1965 mac_prop_info_set_default_str(mph, valstr); in hme_m_propinfo()
/titanic_41/usr/src/uts/common/io/rwd/
H A Drt2661.c277 mac_prop_id_t wldp_pr_num, mac_prop_info_handle_t mph);
2637 mac_prop_info_handle_t mph) in rt2661_m_propinfo() argument
2641 ieee80211_propinfo(&sc->sc_ic, pr_name, wldp_pr_num, mph); in rt2661_m_propinfo()
/titanic_41/usr/src/uts/common/io/dmfe/
H A Ddmfe_main.c2204 mac_prop_info_handle_t mph) in dmfe_m_propinfo() argument
2208 mii_m_propinfo(dmfep->mii, name, num, mph); in dmfe_m_propinfo()

12