/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_hio.c | 113 mac_share_bind(mac_client_handle_t mch, uint64_t cookie, uint64_t *rcookie) argument 115 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 133 mac_tx_client_quiesce(mch); 152 mac_tx_client_restart(mch); 164 mac_share_unbind(mac_client_handle_t mch) argument 166 mac_client_impl_t *mcip = (mac_client_impl_t *)mch;
|
H A D | mac_util.c | 823 mac_client_set_intr_cpu(void *arg, mac_client_handle_t mch, int32_t cpuid) argument 826 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 847 mac_client_intr_cpu(mac_client_handle_t mch) argument 849 mac_client_impl_t *mcip = (mac_client_impl_t *)mch;
|
H A D | mac_flow.c | 397 mac_flow_add_subflow(mac_client_handle_t mch, flow_entry_t *flent, argument 400 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1122 mac_link_init_flows(mac_client_handle_t mch) argument 1124 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1138 mac_link_has_flows(mac_client_handle_t mch) argument 1140 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1158 mac_link_release_flows(mac_client_handle_t mch) argument 1160 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1187 mac_link_flow_init(mac_client_handle_t mch, flow_entry_t *sub_flow) argument 1189 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1321 mac_link_flow_clean(mac_client_handle_t mch, flow_entry_t *sub_flow) argument [all...] |
H A D | mac_sched.c | 4300 mac_tx_send(mac_client_handle_t mch, mac_ring_handle_t ring, mblk_t *mp_chain, argument 4303 mac_client_impl_t *src_mcip = (mac_client_impl_t *)mch; 4314 vid = mac_client_vid(mch);
|
H A D | mac_protect.c | 2342 mac_protect_check(mac_client_handle_t mch, mblk_t *mp) argument 2344 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 2371 mac_protect_enabled(mac_client_handle_t mch, uint32_t type) argument 2373 return (MAC_PROTECT_ENABLED((mac_client_impl_t *)mch, type)); 2497 mac_protect_set(mac_client_handle_t mch, mac_resource_props_t *mrp) argument 2499 mac_client_impl_t *mcip = (mac_client_impl_t *)mch;
|
H A D | mac_client.c | 466 mac_client_name(mac_client_handle_t mch) argument 468 return (((mac_client_impl_t *)mch)->mci_name); 482 mac_client_vid(mac_client_handle_t mch) argument 485 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 504 mac_client_is_vlan_vnic(mac_client_handle_t mch) argument 506 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 609 mac_client_stat_get(mac_client_handle_t mch, uint_t stat) argument 611 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 924 mac_vnic_unicast_set(mac_client_handle_t mch, const uint8_t *addr) argument 926 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1257 mac_addr_random(mac_client_handle_t mch, uint_t prefix_len, uint8_t *mac_addr, mac_diag_t *diag) argument 1484 mac_client_close(mac_client_handle_t mch, uint16_t flags) argument 1544 mac_rx_bypass_set(mac_client_handle_t mch, mac_direct_rx_t rx_fn, void *arg1) argument 1572 mac_rx_bypass_enable(mac_client_handle_t mch) argument 1578 mac_rx_bypass_disable(mac_client_handle_t mch) argument 1588 mac_rx_set(mac_client_handle_t mch, mac_rx_t rx_fn, void *arg) argument 1623 mac_rx_clear(mac_client_handle_t mch) argument 1654 mac_secondary_cleanup(mac_client_handle_t mch) argument 2017 mac_resource_ctl_set(mac_client_handle_t mch, mac_resource_props_t *mrp) argument 2460 i_mac_unicast_add(mac_client_handle_t mch, uint8_t *mac_addr, uint16_t flags, mac_unicast_handle_t *mah, uint16_t vid, mac_diag_t *diag) argument 2813 mac_unicast_add_set_rx(mac_client_handle_t mch, uint8_t *mac_addr, uint16_t flags, mac_unicast_handle_t *mah, uint16_t vid, mac_diag_t *diag, mac_rx_t rx_fn, void *arg) argument 2836 mac_unicast_add(mac_client_handle_t mch, uint8_t *mac_addr, uint16_t flags, mac_unicast_handle_t *mah, uint16_t vid, mac_diag_t *diag) argument 2850 mac_client_datapath_teardown(mac_client_handle_t mch, mac_unicast_impl_t *muip, flow_entry_t *flent) argument 2974 mac_unicast_remove(mac_client_handle_t mch, mac_unicast_handle_t mah) argument 3173 mac_multicast_add(mac_client_handle_t mch, const uint8_t *addr) argument 3219 mac_multicast_remove(mac_client_handle_t mch, const uint8_t *addr) argument 3257 mac_promisc_add(mac_client_handle_t mch, mac_client_promisc_type_t type, mac_rx_t fn, void *arg, mac_promisc_handle_t *mphp, uint16_t flags) argument 3433 mac_tx(mac_client_handle_t mch, mblk_t *mp_chain, uintptr_t hint, uint16_t flag, mblk_t **ret_mp) argument 3567 mac_tx_is_flow_blocked(mac_client_handle_t mch, mac_tx_cookie_t cookie) argument 3773 mac_resource_set_common(mac_client_handle_t mch, mac_resource_add_t add, mac_resource_remove_t remove, mac_resource_quiesce_t quiesce, mac_resource_restart_t restart, mac_resource_bind_t bind, void *arg) argument 3789 mac_resource_set(mac_client_handle_t mch, mac_resource_add_t add, void *arg) argument 3800 mac_client_poll_enable(mac_client_handle_t mch) argument 3823 mac_client_poll_disable(mac_client_handle_t mch) argument 3845 mac_cpu_set(mac_client_handle_t mch, mac_resource_props_t *mrp) argument 3868 mac_client_set_resources(mac_client_handle_t mch, mac_resource_props_t *mrp) argument 3906 mac_client_get_resources(mac_client_handle_t mch, mac_resource_props_t *mrp) argument 3919 mac_client_get_effective_resources(mac_client_handle_t mch, mac_resource_props_t *mrp) argument 5187 mac_set_upper_mac(mac_client_handle_t mch, mac_handle_t mh, mac_resource_props_t *mrp) argument 5541 mac_client_set_rings(mac_client_handle_t mch, int rxrings, int txrings) argument 5558 mac_get_promisc_filtered(mac_client_handle_t mch) argument 5566 mac_set_promisc_filtered(mac_client_handle_t mch, boolean_t enable) argument [all...] |
H A D | mac.c | 1327 mac_addr_factory_reserve(mac_client_handle_t mch, int *slot) argument 1329 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1382 mac_addr_factory_release(mac_client_handle_t mch, uint_t slot) argument 1384 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1490 mac_hwrings_get(mac_client_handle_t mch, mac_group_handle_t *hwgh, argument 1493 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 1679 mac_hwring_send_priv(mac_client_handle_t mch, mac_ring_handle_t rh, mblk_t *mp) argument 1681 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 2095 mac_srs_perm_quiesce(mac_client_handle_t mch, boolean_t on) argument 2097 mac_client_impl_t *mcip = (mac_client_impl_t *)mch; 2120 mac_rx_client_quiesce(mac_client_handle_t mch) argument 2136 mac_rx_client_restart(mac_client_handle_t mch) argument 2223 i_mac_tx_client_quiesce(mac_client_handle_t mch, uint_t srs_quiesce_flag) argument 2238 mac_tx_client_quiesce(mac_client_handle_t mch) argument 2244 mac_tx_client_condemn(mac_client_handle_t mch) argument 2250 mac_tx_client_restart(mac_client_handle_t mch) argument 7374 mac_client_tx_notify(mac_client_handle_t mch, mac_tx_notify_t callb_func, void *ptr) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/ |
H A D | piclmemcfg.c | 206 picl_nodehdl_t mch, memmodh; local 216 PICL_CLASS_MEMORY_CONTROLLER, &mch); 232 err = ptree_create_and_add_node(mch, PICL_NAME_MEMORY_MODULE, 282 (void) ptree_delete_node(mch); 283 (void) ptree_destroy_node(mch);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | common.c | 47 crypto_mechanism_t mch; local 52 if (mdb_vread(&mch, sizeof (crypto_mechanism_t), addr) == -1) { 57 mdb_printf("cm_type\t%ll#x\n", mch.cm_type); 58 mdb_printf("cm_param\t%p\n", mch.cm_param); 59 mdb_printf("cm_param_len\t%u\n", mch.cm_param_len);
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_port.c | 136 mac_client_handle_t mch = NULL; local 187 if ((err = mac_client_open(mh, &mch, client_name, 207 if ((err = mac_unicast_add(mch, NULL, MAC_UNICAST_PRIMARY | 219 port->lp_mch = mch; 262 if (mch != NULL) 263 mac_client_close(mch, MAC_CLOSE_FLAGS_EXCLUSIVE);
|
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/ |
H A D | piclmemcfg_comm.c | 132 picl_nodehdl_t mch; member in struct:memmodgrp_info 160 del_plugout_mmodgrp(picl_nodehdl_t mch) argument 167 if (mmghdl->mch == mch) { 228 mmghdl->mch = mmghdl->mmgh = NULL; 554 create_physical_tree(picl_nodehdl_t mch, void *args) argument 570 err = ptree_get_propval_by_name(mch, OBP_PROP_PORTID, &portid, 617 err = ptree_create_and_add_node(mch, PICL_NAME_MEM_MOD_GROUP, 635 mmghdl->mch = mch; [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_phys.c | 85 static void vsw_mac_add_vlans(vsw_t *vswp, mac_client_handle_t mch, 87 static void vsw_mac_remove_vlans(mac_client_handle_t mch, vsw_vlanid_t *vids, 337 mac_client_handle_t mch; local 341 mch = (type == VSW_LOCALDEV) ? vswp->mch : port->p_mch; 343 if (mch != NULL) { 344 ret = mac_multicast_add(mch, mcst_p->mca.ether_addr_octet); 367 mac_client_handle_t mch; local 370 mch = (type == VSW_LOCALDEV) ? vswp->mch 387 mac_client_handle_t mch; local 429 mac_client_handle_t mch; local 828 mac_client_handle_t mch = NULL; local 951 mac_client_handle_t mch; local 1130 vsw_mac_add_vlans(vsw_t *vswp, mac_client_handle_t mch, uint8_t *macaddr, uint16_t flags, vsw_vlanid_t *vids, int nvids) argument 1167 vsw_mac_remove_vlans(mac_client_handle_t mch, vsw_vlanid_t *vids, int nvids) argument 1390 mac_client_handle_t mch; local [all...] |
H A D | vnet.c | 2693 mac_client_handle_t mch = NULL; local 2726 rv = mac_client_open(mh, &mch, client_name, MAC_OPEN_FLAGS_EXCLUSIVE); 2730 vnetp->hio_mch = mch; 2732 rv = mac_unicast_add(mch, vnetp->curr_macaddr, mac_flags, &muh, 0,
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vsw.h | 156 mac_client_handle_t mch; /* mac client handle */ member in struct:vsw
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 59 mc_hdr_t *mch = (mc_hdr_t *)node; local 60 return (mch->mch_type); 66 mc_hdr_t *mch = (mc_hdr_t *)node; local 67 ASSERT(mch->mch_type == type); 68 return (mch); 276 mc_hdr_t *mch = (mc_hdr_t *)node; local 277 int nt = mch->mch_type;
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 1766 mac_client_handle_t mch = dsp->ds_mch; local 1836 switch (mac_client_stat_get(mch, dsp->ds_lowlink ?
|
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 338 uintptr_t mch; local 342 mch = d->bd_mcip; 377 if (mch != 0) 378 MBPF_CLIENT_CLOSE(&d->bd_mac, mch); 707 uintptr_t mch; local 740 mch = d->bd_mcip; 762 error = MBPF_TX(&d->bd_mac, mch, m);
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_pfp.c | 586 mac_client_handle_t mch; local 600 error = pfp_open_index(addr_ll->sll_ifindex, &mh, &mch, cred); 609 pfp_close(mh, mch); 613 ps->ps_mch = mch; 739 mac_client_handle_t mch; local 754 mch = ps->ps_mch; 789 error = pfp_open_index(sol->sll_ifindex, &mh, &mch, 837 error = mac_tx(mch, mp, 0, MAC_DROP_ON_NO_DESC, NULL); 848 ASSERT(mch != ps->ps_mch); 850 pfp_close(mh, mch); 1422 mac_client_handle_t mch; local 1467 pfp_close(mac_handle_t mh, mac_client_handle_t mch) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 1334 find_memory_module_group(picl_nodehdl_t mch, int *print_header) argument 1341 mcid = picldiag_get_uint_propval(mch, OBP_PROP_PORTID, &err); 1347 err = picl_get_propval_by_name(mch, PICL_PROP_CHILD, 1387 picl_nodehdl_t mch; local 1397 err = picl_get_propval_by_name(plafh, PICL_PROP_CHILD, &mch, 1400 err = picl_get_propval_by_name(mch, PICL_PROP_CLASSNAME, 1406 err = print_memory_module_group_table(mch); 1409 err = picl_get_propval_by_name(mch, PICL_PROP_PEER, 1410 &mch, sizeof (picl_nodehdl_t)); 1414 err = find_memory_module_group(mch, 1436 picl_nodehdl_t mch; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 1351 find_memory_module_group(picl_nodehdl_t mch, int *print_header) argument 1358 mcid = picldiag_get_uint_propval(mch, OBP_PROP_PORTID, &err); 1364 err = picl_get_propval_by_name(mch, PICL_PROP_CHILD, 1404 picl_nodehdl_t mch; local 1414 err = picl_get_propval_by_name(plafh, PICL_PROP_CHILD, &mch, 1417 err = picl_get_propval_by_name(mch, PICL_PROP_CLASSNAME, 1423 err = print_memory_module_group_table(mch); 1426 err = picl_get_propval_by_name(mch, PICL_PROP_PEER, 1427 &mch, sizeof (picl_nodehdl_t)); 1431 err = find_memory_module_group(mch, 1453 picl_nodehdl_t mch; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 1241 find_memory_module_group(picl_nodehdl_t mch, int *print_header) argument 1248 mcid = picldiag_get_uint_propval(mch, OBP_PROP_PORTID, &err); 1254 err = picl_get_propval_by_name(mch, PICL_PROP_CHILD, 1294 picl_nodehdl_t mch; local 1304 err = picl_get_propval_by_name(plafh, PICL_PROP_CHILD, &mch, 1307 err = picl_get_propval_by_name(mch, PICL_PROP_CLASSNAME, 1313 err = print_memory_module_group_table(mch); 1316 err = picl_get_propval_by_name(mch, PICL_PROP_PEER, 1317 &mch, sizeof (picl_nodehdl_t)); 1321 err = find_memory_module_group(mch, 1343 picl_nodehdl_t mch; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 280 picl_nodehdl_t mch; local 285 mch = NULL; 287 PICLEVENTARG_NODEHANDLE, &mch); 288 if (mch != NULL) { 292 mch); 293 (void) ptree_destroy_node(mch); 306 post_mc_event(char *ename, picl_nodehdl_t mch) argument 323 if (nvlist_add_uint64(nvl, PICLEVENTARG_NODEHANDLE, mch) || 333 ev_name, mch);
|