Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 1069) sorted by relevance

12345678910>>...43

/illumos-gate/usr/src/lib/librstp/common/
H A Droletrns.c58 for (port = this->owner.port->owner->ports; port; port = port->next) { in setSyncBridge()
68 for (port = this->owner.port->owner->ports; port; port = port->next) { in setReRootBridge()
78 for (port = this->owner->ports; port; port = port->next) { in compute_all_synced()
93 for (port = this->owner->ports; port; port = port->next) { in compute_re_rooted()
131 port->role = port->selectedRole; in STP_roletrns_enter_state()
381 if (!port->forward && !port->agreed && !port->proposing && !port->operEdge) { in STP_roletrns_check_conditions()
389 if (!port->learning && !port->forwarding && !port->synced) { in STP_roletrns_check_conditions()
399 if (port->sync && port->synced) { in STP_roletrns_check_conditions()
403 if ((!port->fdWhile || port->agreed || port->operEdge) && in STP_roletrns_check_conditions()
409 if ((!port->fdWhile || port->agreed || port->operEdge) && in STP_roletrns_check_conditions()
[all …]
H A Dportinfo.c64 register PORT_T* port = this->owner.port; in rcvBpdu() local
150 register PORT_T* port = this->owner.port; in recordProposed() local
163 register PORT_T* port = this->owner.port; in setTcFlags() local
177 port->owner->name, port->port_name, in setTcFlags()
199 register PORT_T* port = this->owner.port; in updtBPDUVersion() local
221 register PORT_T* port = this->owner.port; in updtRcvdInfoWhile() local
329 port->msgPrio.bridge_port = port->port_id; in STP_info_rx_bpdu()
339 register PORT_T* port = this->owner.port; in STP_info_enter_state() local
354 port->rcvdBpdu = port->rcvdRSTP = port->rcvdSTP = False; in STP_info_enter_state()
356 port->agreed = port->proposed = False; in STP_info_enter_state()
[all …]
H A Drolesel.c131 for (port = this->ports; port; port = port->next) { in updtRoleDisableBridge()
141 for (port = this->ports; port; port = port->next) { in clearReselectBridge()
156 for (port = stpm->ports; port; port = port->next) { in updtRootPrio()
212 for (port = stpm->ports; port; port = port->next) { in updtRolesBridge()
219 &stpm->BrId, port->port_id, port->port_id); in updtRolesBridge()
246 for (port = stpm->ports; port; port = port->next) { in updtRolesBridge()
249 port->forward = port->learn = True; in updtRolesBridge()
302 for (port = this->ports; port; port = port->next) { in setSelectedBridge()
311 for (port = this->ports; port; port = port->next) { in setSelectedBridge()
362 for (port = stpm->ports; port; port = port->next) { in STP_rolesel_check_conditions()
[all …]
H A Dtopoch.c57 register PORT_T* port = this->owner.port; in flush() local
76 register PORT_T* port = this->owner.port; in setTcPropBridge() local
101 register PORT_T* port = this->owner.port; in newTcWhile() local
128 port->rcvdTcAck = port->tc = port->tcProp = False; in STP_topoch_enter_state()
137 port->tcWhile, port->port_name); in STP_topoch_enter_state()
143 port->rcvdTcn = port->rcvdTc = False; in STP_topoch_enter_state()
154 port->tcWhile, port->port_name); in STP_topoch_enter_state()
166 port->tcWhile, port->port_name); in STP_topoch_enter_state()
175 port->tcWhile, port->port_name); in STP_topoch_enter_state()
196 if (port->rcvdTc || port->rcvdTcn || port->rcvdTcAck || in STP_topoch_check_conditions()
[all …]
H A Dtransmit.c158 (int) port->tcWhile, port->port_name); in build_config_bpdu()
188 port = this->owner.port; in txConfig()
231 port = this->owner.port; in txRstp()
262 if (port->synced) { in txRstp()
293 register PORT_T* port = this->owner.port; in STP_transmit_enter_state() local
303 port->newInfo = port->newInfo || in STP_transmit_enter_state()
306 port->helloWhen = port->owner->rootTimes.HelloTime; in STP_transmit_enter_state()
333 register PORT_T* port = this->owner.port; in STP_transmit_check_conditions() local
344 if (!port->sendRSTP && port->newInfo && in STP_transmit_check_conditions()
349 if (!port->sendRSTP && port->newInfo && in STP_transmit_check_conditions()
[all …]
H A Dsttrans.c43 register PORT_T *port = this->owner.port; in disableLearning() local
45 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, False); in disableLearning()
51 register PORT_T *port = this->owner.port; in enableLearning() local
53 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, True); in enableLearning()
59 register PORT_T *port = this->owner.port; in disableForwarding() local
61 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, False); in disableForwarding()
67 register PORT_T *port = this->owner.port; in enableForwarding() local
69 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, True); in enableForwarding()
76 register PORT_T *port = this->owner.port; in STP_sttrans_enter_state() local
99 port->tc = !port->operEdge; in STP_sttrans_enter_state()
[all …]
H A Dmigrate.c44 register PORT_T* port = this->owner.port; in STP_migrate_enter_state() local
54 port->mcheck = port->initPm = False; in STP_migrate_enter_state()
58 port->rcvdRSTP = port->rcvdSTP = False; in STP_migrate_enter_state()
66 port->rcvdRSTP = port->rcvdSTP = False; in STP_migrate_enter_state()
74 register PORT_T* port = this->owner.port; in STP_migrate_check_conditions() local
76 if ((!port->portEnabled && !port->initPm) || BEGIN == this->State) in STP_migrate_check_conditions()
89 if (port->mcheck) in STP_migrate_check_conditions()
92 (port->rcvdSTP || port->rcvdRSTP)) { in STP_migrate_check_conditions()
96 if (!port->mdelayWhile && port->rcvdSTP) { in STP_migrate_check_conditions()
111 (port->rcvdSTP || port->rcvdRSTP)) in STP_migrate_check_conditions()
[all …]
H A Dstp_in.c128 for (port = this->ports; port; port = port->next) in _stpapi_port_find()
130 return port; in _stpapi_port_find()
360 } else if (! port->forward && ! port->learn) { in STP_IN_port_get_state()
362 } else if (! port->forward && port->learn) { in STP_IN_port_get_state()
641 port->port_name, port->skip_rx); in STP_IN_rx_bpdu()
648 if (port->operEdge && ! port->lnkWhile && port->portEnabled) { in STP_IN_rx_bpdu()
664 if (port->edge->debug && port->operEdge) { in STP_IN_rx_bpdu()
846 port->operEdge = port->adminEdge; in STP_IN_port_set_cfg()
939 PORT_T *port; in STP_IN_port_add() local
959 if (!port) in STP_IN_port_add()
[all …]
H A Dpcost.c42 register PORT_T* port = this->owner.port; in computeAutoPCost() local
64 if (port->pcost->debug) { in computeAutoPCost()
81 register PORT_T* port = this->owner.port; in STP_pcost_enter_state() local
87 port->operSpeed = STP_OUT_get_port_oper_speed (port->port_index); in STP_pcost_enter_state()
89 if (port->pcost->debug) { in STP_pcost_enter_state()
93 port->usedSpeed = port->operSpeed; in STP_pcost_enter_state()
97 port->operPCost = port->adminPCost; in STP_pcost_enter_state()
98 port->usedSpeed = (unsigned long)-1; in STP_pcost_enter_state()
109 register PORT_T* port = this->owner.port; in STP_pcost_check_conditions() local
120 port->operSpeed != port->usedSpeed) { in STP_pcost_check_conditions()
[all …]
H A Dstpm.c58 for (port = this->ports; port; port = port->next) { in _stp_stpm_iterate_machines()
88 register PORT_T* port; in _check_topoch() local
90 for (port = this->ports; port; port = port->next) { in _check_topoch()
91 if (port->tcWhile) { in _check_topoch()
107 for (port = this->ports; port; port = port->next) { in STP_stpm_one_second()
113 port->uptime++; in STP_stpm_one_second()
192 for (port = this->ports; port; ) { in STP_stpm_delete()
237 for (port = this->ports; port; port = port->next) { in STP_stpm_start()
297 for (port = this->ports; port; port = port->next) { in STP_compute_bridge_id()
322 for (port = this->ports; port; port = port->next) { in STP_stpm_update_after_bridge_management()
[all …]
H A Dedge.c45 register PORT_T *port = s->owner.port; in STP_edge_enter_state() local
51 port->operEdge = port->adminEdge; in STP_edge_enter_state()
53 port->lnkWhile = 0; in STP_edge_enter_state()
57 port->portEnabled = True; in STP_edge_enter_state()
58 port->lnkWhile = port->LinkDelay; in STP_edge_enter_state()
59 port->operEdge = False; in STP_edge_enter_state()
65 port->operEdge = port->adminEdge; in STP_edge_enter_state()
74 register PORT_T *port = s->owner.port; in STP_edge_check_conditions() local
77 if (!port->adminEnable) { in STP_edge_check_conditions()
88 if (port->adminEnable) { in STP_edge_check_conditions()
[all …]
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_port.c113 port->lp_mnh = mac_notify_add(port->lp_mh, aggr_port_notify_cb, port); in aggr_port_init_callbacks()
138 aggr_port_t *port; in aggr_port_create() local
217 port->lp_refs = 1; in aggr_port_create()
219 port->lp_mh = mh; in aggr_port_create()
220 port->lp_mch = mch; in aggr_port_create()
221 port->lp_mip = mip; in aggr_port_create()
227 mac_unicast_primary_get(port->lp_mh, port->lp_addr); in aggr_port_create()
259 *pp = port; in aggr_port_create()
277 VERIFY0(mac_margin_remove(port->lp_mh, port->lp_margin)); in aggr_port_delete()
309 (void) mac_unicast_primary_set(port->lp_mh, port->lp_addr); in aggr_port_delete()
[all …]
H A Daggr_grp.c1135 for (port = grp->lg_ports; port != NULL; port = port->lp_next) { in aggr_grp_balance_tx()
1522 for (port = grp->lg_ports; port != NULL; port = port->lp_next) { in aggr_grp_create()
1646 for (port = grp->lg_ports; port != NULL; port = port->lp_next) { in aggr_grp_create()
1789 for (port = grp->lg_ports; port != NULL; port = port->lp_next) { in aggr_grp_port_lookup()
2180 for (port = grp->lg_ports; port != NULL; port = port->lp_next) { in aggr_grp_info()
2224 for (port = grp->lg_ports; port != NULL; port = port->lp_next) { in aggr_grp_stat()
2319 for (port = grp->lg_ports; port != NULL; port = port->lp_next) { in aggr_m_start()
2712 for (port = grp->lg_ports; port != NULL; port = port->lp_next) in aggr_addmac()
2762 for (port = grp->lg_ports; port != NULL; port = port->lp_next) in aggr_remmac()
2834 for (port = aggr->lg_ports; port != NULL; port = port->lp_next) in aggr_addvlan()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dio.h185 ((__builtin_constant_p((port)) && (port) < 256) ? \
190 ((__builtin_constant_p((port)) && (port) < 256) ? \
195 ((__builtin_constant_p((port)) && (port) < 256) ? \
200 ((__builtin_constant_p((port)) && (port) < 256) ? \
205 ((__builtin_constant_p((port)) && (port) < 256) ? \
210 ((__builtin_constant_p((port)) && (port) < 256) ? \
215 ((__builtin_constant_p((port)) && (port) < 256) ? \
220 ((__builtin_constant_p((port)) && (port) < 256) ? \
225 ((__builtin_constant_p((port)) && (port) < 256) ? \
230 ((__builtin_constant_p((port)) && (port) < 256) ? \
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1161 port->fp_last_task = port->fp_task; in fp_attach_handler()
2383 port->fp_last_task = port->fp_task; in fp_job_handler()
2511 port->fp_last_task = port->fp_task; in fp_job_handler()
2556 port->fp_task = port->fp_last_task; in fp_job_handler()
2565 port->fp_last_task = port->fp_task; in fp_job_handler()
2579 port->fp_task = port->fp_last_task; in fp_job_handler()
2673 port->fp_last_task = port->fp_task; in fp_job_handler()
2784 port->fp_task = port->fp_last_task; in fp_job_handler()
3076 port->fp_task = port->fp_last_task; in fp_ulp_port_attach()
11046 ub_spec->port = port; in fp_handle_unsol_buf()
[all …]
H A Dfctl.c959 if (port->fp_dev_count && (port->fp_dev_count == in fc_ulp_getportmap()
1553 return (port->fp_fca_tran->fca_ub_alloc(port->fp_fca_handle, in fc_ulp_uballoc()
1563 return (port->fp_fca_tran->fca_ub_free(port->fp_fca_handle, in fc_ulp_ubfree()
1573 return (port->fp_fca_tran->fca_ub_release(port->fp_fca_handle, in fc_ulp_ubrelease()
2278 if (!port) { in fctl_get_npiv_portindex()
2302 if (!port) { in fctl_set_npiv_portindex()
4336 port->fp_job_head = port->fp_job_tail = job; in fctl_enque_job()
4379 port->fp_job_head = port->fp_job_tail = job; in fctl_priority_enque_job()
4940 port->fp_fca_tran->fca_ub_release(port->fp_fca_handle, in fctl_ulp_unsol_cb()
4992 port->fp_fca_tran->fca_ub_release(port->fp_fca_handle, in fctl_ulp_unsol_cb()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Ddlpi.c88 port->speed)) != 0) in dlpi_notify()
99 if (!port->phys_status) in dlpi_notify()
103 port->sdu_failed) in dlpi_notify()
111 if (port->phys_status) in dlpi_notify()
115 port->sdu_failed) { in dlpi_notify()
124 if (port->admin_non_stp && port->bpdu_protect) { in dlpi_notify()
166 get_dladm_speed(port); in port_dlpi_open()
172 port->name = dlpi_linkname(port->dlpi); in port_dlpi_open()
194 DL_NOTE_SPEED, dlpi_notify, port, &port->notifyid)) != in port_dlpi_open()
208 alen, port->name); in port_dlpi_open()
[all …]
H A Devents.c131 port = allports[i]; in find_by_linkid()
133 return (port); in find_by_linkid()
156 if (port == NULL || !port->kern_added) in set_vlan()
221 if ((port = calloc(1, sizeof (*port))) == NULL) { in update_port()
242 if (port->name != NULL && strcmp(portname, port->name) != 0) { in update_port()
315 free(port); in update_port()
462 if (!port->phys_status || !port->admin_status || in handle_control()
469 bss.bss_state = !port->sdu_failed && !port->bpdu_protect ? in handle_control()
474 port->name); in handle_control()
528 if (port->admin_non_stp && !port->bpdu_protect) { in receive_packet()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioixp/
H A Daudioixp.c696 port = kmem_zalloc(sizeof (*port), KM_SLEEP); in audioixp_alloc_port()
734 port->nchan = max(port->nchan, 2); in audioixp_alloc_port()
742 port->fragfr = port->nframes / IXP_BD_NUMS; in audioixp_alloc_port()
743 port->fragsz = port->fragfr * port->nchan * 2; in audioixp_alloc_port()
744 port->samp_size = port->nframes * port->nchan * 2; in audioixp_alloc_port()
756 &port->samp_size, &port->samp_acch); in audioixp_alloc_port()
788 rc = ddi_dma_mem_alloc(port->bdl_dmah, port->bdl_size, in audioixp_alloc_port()
790 &port->bdl_kaddr, &port->bdl_size, &port->bdl_acch); in audioixp_alloc_port()
830 audio_engine_set_private(port->engine, port); in audioixp_alloc_port()
874 kmem_free(port, sizeof (*port)); in audioixp_free_port()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_common.c632 devent->port = port; in ds_handle_recv()
663 port = event->port; in ds_dispatch_event()
953 if (port != NULL && svc->port == port) { in ds_find_svc_by_id_port()
1090 if (svc->port != NULL && port == svc->port) { in ds_handle_reg_req()
1108 svc->port = port; in ds_handle_reg_req()
1220 svc->port = port; in ds_handle_reg_ack()
1444 svc->port != port))) { in ds_handle_unreg_req()
1763 svc->port = port; in ds_send_reg_req()
1783 ds_port_t *port = svc->port; in ds_send_unreg_req() local
2243 if (svc->port != port) { in ds_svc_unregister()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/
H A Daudio810.c615 val = (port->samp_size - port->offset) + offset; in audio810_count()
620 port->count += (val / (port->nchan * 2)); in audio810_count()
1054 port = kmem_zalloc(sizeof (*port), KM_SLEEP); in audio810_alloc_port()
1082 port->stsoff = port->regoff + I810_OFFSET_PICB; in audio810_alloc_port()
1083 port->picboff = port->regoff + I810_OFFSET_SR; in audio810_alloc_port()
1085 port->stsoff = port->regoff + I810_OFFSET_SR; in audio810_alloc_port()
1097 port->samp_size = port->samp_frames * port->nchan * sizeof (int16_t); in audio810_alloc_port()
1109 &port->samp_size, &port->samp_acch); in audio810_alloc_port()
1144 &port->bdl_kaddr, &port->bdl_size, &port->bdl_acch); in audio810_alloc_port()
1184 audio_engine_set_private(port->engine, port); in audio810_alloc_port()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiop16x/
H A Daudiop16x.c330 n = offset + (port->buf_frames - port->offset); in p16x_count()
382 port = kmem_zalloc(sizeof (*port), KM_SLEEP); in p16x_alloc_port()
383 dev->port[num] = port; in p16x_alloc_port()
414 port->buf_size = port->buf_frames * port->nchan * sizeof (uint16_t); in p16x_alloc_port()
423 if (ddi_dma_mem_alloc(port->buf_dmah, port->buf_size, in p16x_alloc_port()
444 audio_engine_set_private(port->engine, port); in p16x_alloc_port()
456 p16x_port_t *port = dev->port[i]; in p16x_destroy() local
457 if (!port) in p16x_destroy()
472 kmem_free(port, sizeof (*port)); in p16x_destroy()
516 port = dev->port[P16X_REC]; in p16x_hwinit()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcihub.c46 usb_port_t port);
49 usb_port_t port,
53 usb_port_t port,
57 usb_port_t port,
61 usb_port_t port);
280 usb_port_t port) in uhci_handle_set_clear_port_feature() argument
375 usb_port_t port, in uhci_handle_port_suspend() argument
382 port, on); in uhci_handle_port_suspend()
472 uint16_t port) in uhci_root_hub_reset_occurred() argument
722 usb_port_t port; in uhci_handle_root_hub_status_change() local
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audio1575/
H A Daudio1575.c630 val = (port->samp_size - port->offset) + n; in audio1575_count()
635 port->count += (val / (port->nchan * sizeof (int16_t))); in audio1575_count()
657 (void) ddi_dma_sync(port->samp_dmah, 0, 0, port->sync_dir); in audio1575_sync()
841 port = kmem_zalloc(sizeof (*port), KM_SLEEP); in audio1575_alloc_port()
865 port->samp_size = port->nframes * port->nchan * sizeof (int16_t); in audio1575_alloc_port()
877 &port->samp_size, &port->samp_acch); in audio1575_alloc_port()
909 rc = ddi_dma_mem_alloc(port->bdl_dmah, port->bdl_size, in audio1575_alloc_port()
911 &port->bdl_kaddr, &port->bdl_size, &port->bdl_acch); in audio1575_alloc_port()
925 ddi_put32(port->bdl_acch, kaddr, port->samp_paddr); in audio1575_alloc_port()
949 audio_engine_set_private(port->engine, port); in audio1575_alloc_port()
[all …]
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c454 dev = port->p_dev; in yge_setrxfilt()
512 yge_set_prefetch(port->p_dev, port->p_rxq, ring); in yge_init_rx_ring()
532 yge_set_prefetch(port->p_dev, port->p_txq, ring); in yge_init_tx_ring()
916 port->p_ppa = ddi_get_instance(dev->d_dip) + (port->p_port * 100); in yge_init_port()
947 port->p_mii = mii_alloc(port, dev->d_dip, &yge_mii_ops); in yge_init_port()
1374 if (mac_register(port->p_mreg, &port->p_mh) != DDI_SUCCESS) { in yge_register_port()
1391 if (port->p_mreg) in yge_uninit_port()
1394 if (port->p_mii) in yge_uninit_port()
1789 if (port != NULL && port->p_running) { in yge_resume()
2428 port->p_framesize = port->p_mtu; in yge_start_port()
[all …]

12345678910>>...43