/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 226 lacp_port_select(aggr_port_t *portp) argument 228 ASSERT(MAC_PERIM_HELD(portp->lp_grp->lg_mh)); 230 if (!lacp_sel_ports_add(portp)) 232 portp->lp_lacp.sm.selected = AGGR_SELECTED; 240 lacp_port_unselect(aggr_port_t *portp) argument 242 aggr_grp_t *grp = portp->lp_grp; 246 lacp_sel_ports_del(portp); 247 portp->lp_lacp.sm.selected = AGGR_UNSELECTED; 267 aggr_lacp_init_port(aggr_port_t *portp) argument 269 aggr_grp_t *aggrp = portp 370 lacp_reset_port(aggr_port_t *portp) argument 440 start_periodic_timer(aggr_port_t *portp) argument 455 stop_periodic_timer(aggr_port_t *portp) argument 482 aggr_port_t *portp = data; local 498 periodic_timer_pop_handler(aggr_port_t *portp) argument 534 lacp_periodic_sm(aggr_port_t *portp) argument 599 lacp_xmit_sm(aggr_port_t *portp) argument 678 fill_lacp_pdu(aggr_port_t *portp, lacp_t *lacp) argument 743 lacp_mux_sm(aggr_port_t *portp) argument 906 receive_marker_pdu(aggr_port_t *portp, mblk_t *mp) argument 1101 lacp_misconfig_check(aggr_port_t *portp) argument 1151 lacp_sel_ports_del(aggr_port_t *portp) argument 1181 lacp_sel_ports_add(aggr_port_t *portp) argument 1239 lacp_selection_logic(aggr_port_t *portp) argument 1484 aggr_port_t *portp = data; local 1498 wait_while_timer_pop_handler(aggr_port_t *portp) argument 1510 start_wait_while_timer(aggr_port_t *portp) argument 1528 stop_wait_while_timer(aggr_port_t *portp) argument 1553 aggr_lacp_port_attached(aggr_port_t *portp) argument 1589 aggr_lacp_port_detached(aggr_port_t *portp) argument 1625 lacp_on(aggr_port_t *portp) argument 1666 lacp_off(aggr_port_t *portp) argument 1707 valid_lacp_pdu(aggr_port_t *portp, lacp_t *lacp) argument 1732 start_current_while_timer(aggr_port_t *portp, uint_t time) argument 1757 stop_current_while_timer(aggr_port_t *portp) argument 1778 aggr_port_t *portp = (aggr_port_t *)data; local 1788 current_while_timer_pop_handler(aggr_port_t *portp) argument 1805 record_Default(aggr_port_t *portp) argument 1824 record_PDU(aggr_port_t *portp, lacp_t *lacp) argument 1893 update_selected(aggr_port_t *portp, lacp_t *lacp) argument 1927 update_default_selected(aggr_port_t *portp) argument 1956 update_NTT(aggr_port_t *portp, lacp_t *lacp) argument 2001 lacp_receive_sm(aggr_port_t *portp, lacp_t *lacp) argument 2182 aggr_set_coll_dist(aggr_port_t *portp, boolean_t enable) argument 2221 aggr_lacp_rx_enqueue(aggr_port_t *portp, mblk_t *dmp) argument 2275 aggr_port_t *portp = (aggr_port_t *)dmp->b_prev; local [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_gen.c | 89 static int vgen_force_link_state(vgen_port_t *portp, int link_state); 102 static void vgen_port_detach(vgen_port_t *portp); 103 static void vgen_port_list_insert(vgen_port_t *portp); 104 static void vgen_port_list_remove(vgen_port_t *portp); 112 static int vgen_port_read_props(vgen_port_t *portp, vgen_t *vgenp, md_t *mdp, 115 static int vgen_port_attach(vgen_port_t *portp); 116 static void vgen_port_detach_mdeg(vgen_port_t *portp); 119 static uint64_t vgen_port_stat(vgen_port_t *portp, uint_t stat); 120 static void vgen_port_reset(vgen_port_t *portp); 124 static int vgen_ldc_attach(vgen_port_t *portp, uint64_ 631 vgen_port_t *portp = (vgen_port_t *)arg; local 648 vgen_port_t *portp = (vgen_port_t *)arg; local 667 vgen_port_t *portp; local 699 vgen_vlan_frame_fixtag(vgen_port_t *portp, mblk_t *mp, boolean_t is_tagged, uint16_t vid) argument 779 vgen_portsend(vgen_port_t *portp, mblk_t *mp) argument 996 vgen_port_t *portp; local 1118 vgen_port_t *portp = (vgen_port_t *)arg; local 1129 vgen_port_t *portp; local 1144 vgen_port_detach(vgen_port_t *portp) argument 1198 vgen_port_list_insert(vgen_port_t *portp) argument 1217 vgen_port_list_remove(vgen_port_t *portp) argument 1252 vgen_port_t *portp = NULL; local 1264 vgen_port_init(vgen_port_t *portp) argument 1274 vgen_port_uninit(vgen_port_t *portp) argument 1404 vgen_port_t *portp; local 1490 vgen_vlan_create_hash(vgen_port_t *portp) argument 1506 vgen_vlan_destroy_hash(vgen_port_t *portp) argument 1519 vgen_vlan_add_ids(vgen_port_t *portp) argument 1541 vgen_vlan_remove_ids(vgen_port_t *portp) argument 2089 vgen_port_t *portp; local 2110 vgen_port_read_props(vgen_port_t *portp, vgen_t *vgenp, md_t *mdp, mde_cookie_t mdex) argument 2235 vgen_port_t *portp; local 2262 vgen_port_attach(vgen_port_t *portp) argument 2343 vgen_port_detach_mdeg(vgen_port_t *portp) argument 2370 vgen_port_t *portp; local 2448 vgen_port_stat(vgen_port_t *portp, uint_t stat) argument 2455 vgen_ldc_attach(vgen_port_t *portp, uint64_t ldc_id) argument 2569 vgen_port_t *portp; local 3671 vgen_port_t *portp = ldcp->portp; local 3699 vgen_port_t *portp = ldcp->portp; local 3766 vgen_vlan_unaware_port_reset(vgen_port_t *portp) argument 3791 vgen_port_reset(vgen_port_t *portp) argument 3799 vgen_port_t *portp; local 3817 vgen_port_t *portp; local 3886 vgen_port_t *portp = ldcp->portp; local 5521 vgen_port_t *portp = (vgen_port_t *)arg; local 5553 vgen_port_t *portp = (vgen_port_t *)arg; local 5573 vgen_port_t *portp = (vgen_port_t *)arg; local 5820 vgen_port_t *portp; local 5870 vgen_force_link_state(vgen_port_t *portp, int cmd) argument 5914 vgen_port_t *portp; local [all...] |
H A D | vsw_switching.c | 516 (void) vsw_portsend(fp->portp, mp); 639 (void) vsw_portsend(fp->portp, mp); 713 vsw_port_t *portp; local 752 for (portp = plist->head; portp != NULL; portp = portp->p_next) { 753 D2(vswp, "vsw_forward_all: port %d", portp->p_instance); 759 if ((skip_port) && (portp == arg)) { 766 * portp fro 951 vsw_port_t *portp = (vsw_port_t *)arg; local 977 vsw_port_t *portp = (vsw_port_t *)arg; local 1018 vsw_port_t *portp = (vsw_port_t *)arg; local 1078 vsw_port_t *portp = (vsw_port_t *)arg; local 1131 vsw_port_t *portp; local 1244 vsw_port_t *portp; local 1327 vsw_port_t *portp; local 1481 vsw_port_t *portp; local [all...] |
H A D | vsw_hio.c | 83 extern void vsw_hio_port_reset(vsw_port_t *portp, boolean_t immediate); 84 extern void vsw_port_mac_reconfig(vsw_port_t *portp, boolean_t update_vlans, 94 void vsw_hio_stop_port(vsw_port_t *portp); 102 static vsw_share_t *vsw_hio_find_vshare_port(vsw_t *vswp, vsw_port_t *portp); 194 vsw_port_t *portp = ldcp->ldc_port; local 205 WRITE_ENTER(&portp->maccl_rwlock); 206 rv = mac_share_bind(portp->p_mch, ldc_id, &vsharep->vs_cookie); 207 RW_EXIT(&portp->maccl_rwlock); 215 portp->p_macaddr.ether_addr_octet); 274 * vsw_hio_find_vshare_port -- Given portp, fin 278 vsw_hio_find_vshare_port(vsw_t *vswp, vsw_port_t *portp) argument 307 vsw_port_t *portp = vsharep->vs_portp; local 470 vsw_port_t *portp; local 586 vsw_port_t *portp; local 766 vsw_hio_port_update(vsw_port_t *portp, boolean_t hio_enabled) argument 794 vsw_hio_stop_port(vsw_port_t *portp) argument [all...] |
H A D | vsw_phys.c | 82 static void vsw_mac_multicast_add_all(vsw_t *vswp, vsw_port_t *portp, int type); 84 vsw_port_t *portp, int type); 113 void vsw_publish_macaddr(vsw_t *vswp, vsw_port_t *portp); 114 void vsw_port_mac_reconfig(vsw_port_t *portp, boolean_t update_vlans, 116 void vsw_mac_port_reconfig_vlans(vsw_port_t *portp, uint16_t new_pvid, 127 extern void vsw_hio_stop_port(vsw_port_t *portp); 128 extern void vsw_hio_port_reset(vsw_port_t *portp, boolean_t immediate); 384 vsw_mac_multicast_add_all(vsw_t *vswp, vsw_port_t *portp, int type) argument 398 ASSERT(RW_WRITE_HELD(&portp->maccl_rwlock)); 399 mch = portp 427 vsw_mac_multicast_remove_all(vsw_t *vswp, vsw_port_t *portp, int type) argument 987 vsw_port_mac_reconfig(vsw_port_t *portp, boolean_t update_vlans, uint16_t new_pvid, vsw_vlanid_t *new_vids, int new_nvids) argument 1110 vsw_mac_port_reconfig_vlans(vsw_port_t *portp, uint16_t new_pvid, vsw_vlanid_t *new_vids, int new_nvids) argument 1198 vsw_publish_macaddr(vsw_t *vswp, vsw_port_t *portp) argument [all...] |
H A D | vsw.c | 94 static void vsw_port_read_bandwidth(vsw_port_t *portp, md_t *mdp, 96 static int vsw_port_read_props(vsw_port_t *portp, vsw_t *vswp, 156 extern void vsw_vlan_unaware_port_reset(vsw_port_t *portp); 162 extern void vsw_hio_port_update(vsw_port_t *portp, boolean_t hio_enabled); 165 extern void vsw_mac_port_reconfig_vlans(vsw_port_t *portp, uint16_t new_pvid, 172 extern void vsw_port_reset(vsw_port_t *portp); 1819 vsw_port_t *portp; local 1840 portp = (vsw_port_t *)arg; 1841 vswp = portp->p_vswp; 1844 inst = portp 1901 vsw_port_read_bandwidth(vsw_port_t *portp, md_t *mdp, mde_cookie_t node, uint64_t *bw) argument 2451 vsw_port_read_props(vsw_port_t *portp, vsw_t *vswp, md_t *mdp, mde_cookie_t *node) argument 2578 vsw_port_t *portp; local 2605 vsw_port_t *portp; local [all...] |
H A D | vsw_ldc.c | 88 int vsw_port_attach(vsw_port_t *portp); 90 void vsw_vlan_unaware_port_reset(vsw_port_t *portp); 91 void vsw_hio_port_reset(vsw_port_t *portp, boolean_t immediate); 93 void vsw_port_reset(vsw_port_t *portp); 95 static void vsw_port_physlink_update(vsw_port_t *portp); 196 extern void vsw_hio_stop_port(vsw_port_t *portp); 197 extern void vsw_publish_macaddr(vsw_t *vswp, vsw_port_t *portp); 1070 vsw_vlan_unaware_port_reset(vsw_port_t *portp) argument 1072 vsw_ldc_t *ldcp = portp->ldcp; 1081 portp 1089 vsw_hio_port_reset(vsw_port_t *portp, boolean_t immediate) argument 1113 vsw_port_reset(vsw_port_t *portp) argument 1131 vsw_port_t *portp; local 1166 vsw_port_physlink_update(vsw_port_t *portp) argument 1192 vsw_port_t *portp; local 1456 vsw_port_t *portp; local 1693 vsw_port_t *portp = ldcp->ldc_port; local 1978 vsw_port_t *portp = ldcp->ldc_port; local [all...] |
H A D | ds_drv.c | 223 mde_cookie_t *portp = NULL; local 239 portp = kmem_zalloc(listsz, KM_SLEEP); 250 md_find_name(mdp, "fwd"), portp); 263 dsnode = portp[0]; 267 md_find_name(mdp, "fwd"), portp); 280 nchan = md_scan_dag(mdp, portp[idx], 297 if (ds_port_add(mdp, portp[idx], chanp[0]) != 0) { 307 DS_FREE(portp, listsz);
|
H A D | vnet_rxdring.c | 682 ldcp->portp->vcb.vio_net_tx_update; 684 vtx_update(ldcp->portp->vhp); 879 vio_net_rx_cb_t vrx_cb = ldcp->portp->vcb.vio_net_rx_cb; 919 vrx_cb(ldcp->portp->vhp, bp); 934 vrx_cb(ldcp->portp->vhp, bp); 1222 ldcp->portp->vcb.vio_net_tx_update; 1225 vtx_update(ldcp->portp->vhp);
|
H A D | vnet_txdring.c | 1476 vio_net_rx_cb_t vrx_cb = ldcp->portp->vcb.vio_net_rx_cb; 1525 vrx_cb(ldcp->portp->vhp, bp); 1578 ldcp->portp->vcb.vio_net_tx_update; 1581 vtx_update(ldcp->portp->vhp);
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/ahci/ |
H A D | ahcivar.h | 326 #define AHCIPORT_NUM_PMPORTS(portp) \ 327 (portp)->ahciport_pmult_info->ahcipmi_num_dev_ports 332 #define AHCIPORT_DEV_TYPE(portp, addrp) \ 333 (portp)->ahciport_device_type 335 #define AHCIPORT_PMDEV_TYPE(portp, addrp) \ 336 (portp)->ahciport_pmult_info->ahcipmi_device_type \ 339 #define AHCIPORT_GET_DEV_TYPE(portp, addrp) \ 341 AHCIPORT_DEV_TYPE(portp, addrp) : \ 342 AHCIPORT_PMDEV_TYPE(portp, addrp)) 344 #define AHCIPORT_SET_DEV_TYPE(portp, addr [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vsw_fdb.h | 68 void *portp; /* pointer to the vnet_port */ member in struct:vsw_fdbe
|
H A D | vsw_ldc.h | 489 #define VSW_PORT_REFHOLD(portp) atomic_inc_32(&((portp)->ref_cnt)) 490 #define VSW_PORT_REFRELE(portp) atomic_dec_32(&((portp)->ref_cnt))
|
H A D | vnet_gen.h | 68 #define LDC_TO_VNET(ldcp) ((ldcp)->portp->vgenp->vnetp) 69 #define LDC_TO_VGEN(ldcp) ((ldcp)->portp->vgenp) 262 struct vgen_port *portp; /* associated port */ member in struct:vgen_ldc
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_impl.c | 1847 ibcm_port_info_t *portp = (ibcm_port_info_t *)callback_arg; local 1876 if (event_status == (portp->port_event_status & 1881 portp->port_event_status = event_status; 1895 if (!IBCM_ACCESS_HCA_OK(portp->port_hcap)) { 1901 ++(portp->port_hcap->hca_acc_cnt); 1905 ibtl_cm_sm_notice_handler(portp->port_sgid0, code, &event); 1909 ibcm_dec_hca_acc_cnt(portp->port_hcap); 1916 ibcm_port_info_t *portp; local 1939 portp = hcap->hca_port_info; 1941 if (!(portp 1980 ibcm_port_info_t *portp = (ibcm_port_info_t *)arg; local 2014 ibcm_port_info_t *portp = &hcap->hca_port_info[port_index]; local 2064 ibcm_port_info_t *portp = &hcap->hca_port_info[port_index]; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 1185 frutree_portnode_t *portp = NULL; local 1208 portp = (frutree_portnode_t *)datap->data; 1209 free(portp->name); 1210 free(portp); 1524 frutree_portnode_t *portp; local 1534 portp = (frutree_portnode_t *)malloc(sizeof (frutree_portnode_t)); 1535 if (portp == NULL) { 1542 free(portp); 1548 portp->name = name_copy; 1549 portp 3811 frutree_get_port_type(frutree_portnode_t *portp) argument 3842 frutree_portnode_t *portp = NULL; local 3882 frutree_portnode_t *portp = NULL; local 3917 port_init(frutree_portnode_t *portp) argument 4282 frutree_portnode_t *portp = NULL; local 4411 frutree_portnode_t *portp = NULL; local 5501 update_port_state(frutree_portnode_t *portp, boolean_t post_ev) argument 5622 frutree_portnode_t *portp = NULL; local [all...] |
H A D | picllibdevinfo.c | 782 get_port_info(frutree_portnode_t *portp) argument 791 if ((rc = ptree_get_propval_by_name(portp->portnodeh, 797 if (ptree_get_propval_by_name(portp->portnodeh, PICL_PROP_BUS_ADDR, 846 (void) strncpy(portp->driver, di_drv, sizeof (portp->driver)); 847 portp->instance = di_instance(curr);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 627 * Return the first host and port in hostlist (setting *hostp and *portp). 634 int *portp, struct ldap_x_hostlist_status **statusp ) 637 if ( NULL == hostp || NULL == portp || NULL == statusp ) { 646 *portp = defport; 661 return( ldap_x_hostlist_next( hostp, portp, *statusp )); 665 * Return the next host and port in hostlist (setting *hostp and *portp). 671 ldap_x_hostlist_next( char **hostp, int *portp, argument 677 if ( NULL == hostp || NULL == portp ) { 725 *portp = atoi( q ); 727 *portp 633 ldap_x_hostlist_first( const char *hostlist, int defport, char **hostp, int *portp, struct ldap_x_hostlist_status **statusp ) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_soc.c | 278 __rpc_bindresvport_ipv6(int fd, struct sockaddr *sin, int *portp, int qlen, argument 361 if ((portp != NULL) && (res == 0)) 362 *portp = *sinport; 368 __rpc_bindresvport(int fd, struct sockaddr_in *sin, int *portp, int qlen) argument 370 return (__rpc_bindresvport_ipv6(fd, (struct sockaddr *)sin, portp,
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_handlers.c | 197 ibtl_async_port_event_t *portp; local 340 portp = &hca_devp->hd_async_port[port_minus1]; 346 portp->status = IBTL_HCA_PORT_UP; 352 portp->status = IBTL_HCA_PORT_DOWN; 367 portp->flags |= event_p->ev_port_flags; 368 portp->status |= IBTL_HCA_PORT_CHG; 374 portp->status |= IBTL_HCA_PORT_ASYNC_CLNT_REREG; 490 ibtl_async_port_event_t *portp; local 502 portp = &hca_devp->hd_async_port[port - 1]; 514 portp 630 ibtl_async_port_event_t *portp; local [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr.h | 307 #define xdr_rpcport(xdrs, portp) xdr_u_int(xdrs, portp) 313 #define xdr_rpcport(xdrs, portp) xdr_u_long(xdrs, portp)
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 284 int defport, char **hostp, int *portp /* host byte order */, 287 int *portp /* host byte order */, struct ldap_x_hostlist_status *status );
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | vntsd.h | 463 void vntsd_clean_group(vntsd_group_t *portp);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 2591 int *addr_type, const char *portp) 2618 (portp != NULL) ? portp : "telnet", &hints, &res); 2944 char *portp = NULL; local 3027 if (portp == 0) { 3028 portp = *argv++; 3033 if (*portp == '-') { 3034 portp++; 3064 portp); 3106 if (portp 2590 resolve_hosts(char **hostname_list, int num_gw, struct gateway **gw_addrsp, int *addr_type, const char *portp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 2200 in_port_t *portp) 2208 if (portp) 2209 sock_in4p->sin_port = ntohs(*portp); 2216 if (portp) 2217 in6_addr->sin6_port = *portp; 2223 ibt_ip_addr_t *ibt_addrp, in_port_t *portp) 2242 if (portp) 2243 *portp = ip_port; 2250 if (portp) 2251 *portp 2199 ipaddr2sockaddr(ibt_ip_addr_t *ibt_addrp, struct sockaddr *sock_addrp, in_port_t *portp) argument 2222 sockaddr2ibtaddr_port(struct rdma_cm_id *idp, struct sockaddr *sock_addrp, ibt_ip_addr_t *ibt_addrp, in_port_t *portp) argument [all...] |