Searched defs:rh (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtimer.c53 struct rthash *rh; local
105 for (rh = net_hashes[i];
106 rh < &net_hashes[i][ROUTEHASHSIZ]; rh++) {
107 for (rt = rh->rt_forw; rt != (struct rt_entry *)rh;
160 struct rthash *rh; local
170 for (rh = net_hashes[i]; rh < &net_hashes[i][ROUTEHASHSIZ];
171 rh
[all...]
H A Doutput.c138 struct rthash *rh; local
155 for (rh = net_hashes[i]; rh < &net_hashes[i][ROUTEHASHSIZ];
156 rh++) {
157 for (rt = rh->rt_forw; rt != (struct rt_entry *)rh;
H A Dtables.c181 struct rthash *rh; local
189 rh = &net_hashes[prefix_length][hash & ROUTEHASHMASK];
191 for (rt = rh->rt_forw; rt != (struct rt_entry *)rh; rt = rt->rt_forw) {
238 struct rthash *rh; local
249 rh = (struct rthash *)
251 if (rh == NULL)
253 for (trh = rh; trh < &rh[ROUTEHASHSIZ]; trh++)
255 net_hashes[prefix_length] = rh;
474 struct rthash *rh; local
505 struct rthash *rh; local
595 struct rthash *rh; local
[all...]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_stat.c277 igb_rx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
279 igb_rx_ring_t *rx_ring = (igb_rx_ring_t *)rh;
302 igb_tx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
304 igb_tx_ring_t *tx_ring = (igb_tx_ring_t *)rh;
H A Digb_gld.c785 igb_ring_start(mac_ring_driver_t rh, uint64_t mr_gen_num) argument
787 igb_rx_ring_t *rx_ring = (igb_rx_ring_t *)rh;
801 const int index, mac_ring_info_t *infop, mac_ring_handle_t rh)
820 rx_ring->ring_handle = rh;
841 tx_ring->ring_handle = rh;
800 igb_fill_ring(void *arg, mac_ring_type_t rtype, const int rg_index, const int index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_stat.c822 ixgbe_rx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
824 ixgbe_rx_ring_t *rx_ring = (ixgbe_rx_ring_t *)rh;
852 ixgbe_tx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
854 ixgbe_tx_ring_t *tx_ring = (ixgbe_tx_ring_t *)rh;
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetrhent.c103 parse_address(tsol_rhent_t *rh, const char *addrbuf) argument
111 rh->rh_address.ta_family = AF_INET;
113 &rh->rh_address.ta_addr_v4) > 0) {
114 if (rh->rh_prefix == -1)
115 rh->rh_prefix = get_classful_prefix(rh->
117 } else if ((rh->rh_address.ta_addr_v4.s_addr =
119 len = get_network_prefix(&rh->rh_address.ta_addr_v4.
121 if (rh->rh_prefix == -1)
122 rh
268 tsol_freerhent(tsol_rhent_t *rh) argument
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_stat.c955 e1000g_rx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
957 e1000g_rx_ring_t *rx_ring = (e1000g_rx_ring_t *)rh;
/illumos-gate/usr/src/lib/libm/common/C/
H A D__tan.c124 double a, t, z, w = 0.0L, s, c, r, rh, xh, xl; local
145 * Let r = -1/(x+T), rh = r chopped to 20 bits.
147 * -1/(x+T) = rh + (-1/(x+T)-rh) = rh + r*(1+rh*(x+T))
148 * = rh + r*((1+rh*xh)+rh*xl).
150 rh
[all...]
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_send.c80 aggr_find_tx_ring(void *arg, mblk_t *mp, uintptr_t hint, mac_ring_handle_t *rh) argument
113 *rh = port->lp_pseudo_tx_rings[hash % port->lp_tx_ring_cnt];
115 *rh = port->lp_pseudo_tx_rings[0];
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.h123 struct tsol_rhent rh; member in struct:__anon1906
H A Dtnd.c653 * Build/update the table of rh entries from the
662 struct tsol_rhent rh; /* to store result */ local
668 rhp = &rh;
927 * If the rh entry is in table, we may update its template name
1509 * load/delete marked rh ents into kernel
1576 /* load marked rh ents into kernel */
1711 (void) fprintf(logf, "rh table begin\n");
1714 (void) fprintf(logf, "rh table end \n");
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_kstats.c1171 bge_rx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
1173 recv_ring_t *rx_ring = (recv_ring_t *)rh;
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_stats.c1108 i40e_rx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
1110 i40e_trqpair_t *itrq = (i40e_trqpair_t *)rh;
1133 i40e_tx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument
1135 i40e_trqpair_t *itrq = (i40e_trqpair_t *)rh;
H A Di40e_gld.c435 i40e_ring_start(mac_ring_driver_t rh, uint64_t gen_num) argument
437 i40e_trqpair_t *itrq = (i40e_trqpair_t *)rh;
483 const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh)
496 itrq->itrq_mactxring = rh;
516 const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh)
530 itrq->itrq_macrxring = rh;
482 i40e_fill_tx_ring(void *arg, mac_ring_type_t rtype, const int group_index, const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument
515 i40e_fill_rx_ring(void *arg, mac_ring_type_t rtype, const int group_index, const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_hub.c700 ehci_root_hub_t *rh; local
707 rh = &ehcip->ehci_root_hub;
728 rh->rh_port_status[port] = 0;
729 rh->rh_port_state[port] = DISCONNECTED;
738 rh->rh_port_status[port] = 0;
739 rh->rh_port_state[port] = POWERED_OFF;
972 ehci_root_hub_t *rh; local
979 rh = &ehcip->ehci_root_hub;
998 if (rh->rh_companion_controllers) {
1059 if (rh
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_hub.c720 ohci_root_hub_t *rh; local
726 rh = &ohcip->ohci_root_hub;
745 rh->rh_port_status[p] = 0;
746 rh->rh_port_state[p] = DISCONNECTED;
756 rh->rh_port_status[port] = 0;
757 rh->rh_port_state[port] = DISCONNECTED;
771 rh->rh_port_status[p] = 0;
772 rh->rh_port_state[p] = POWERED_OFF;
782 rh->rh_port_status[port] = 0;
783 rh
[all...]
/illumos-gate/usr/src/common/mpi/
H A Dmp_gf2m.c61 * Output in two mp_digits rh, rl.
65 s_bmul_1x1(mp_digit *rh, mp_digit *rl, const mp_digit a, const mp_digit b) argument
93 *rh = h; *rl = l;
97 s_bmul_1x1(mp_digit *rh, mp_digit *rl, const mp_digit a, const mp_digit b) argument
133 *rh = h; *rl = l;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_provider.c782 mac_tx_ring_update(mac_handle_t mh, mac_ring_handle_t rh) argument
784 i_mac_tx_srs_notify((mac_impl_t *)mh, rh);
1328 mac_group_rem_ring(mac_group_handle_t gh, mac_ring_handle_t rh) argument
1334 i_mac_group_rem_ring(group, (mac_ring_t *)rh, B_TRUE);
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Dpsm_common.c371 ACPI_HANDLE rh; local
384 return (AcpiGetHandle(ah, "_PRT", &rh) == AE_OK);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c781 print_sr(struct tr_ri *rh) argument
787 rh->dir, Mtutab[rh->mtu]);
789 hops = (int)(rh->len - 2) / (int)2;
794 if (! bridge(rh->rd[ii])) {
796 ring(rh->rd[ii]));
799 ring(rh->rd[ii]), bridge(rh->rd[ii]));
810 struct tr_ri *rh; local
847 rh
1014 struct tr_ri *rh; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c336 tsol_tnrhc_t *rh; local
354 for (rhp = &tnrhc_hash->tnrh_list; (rh = *rhp) != NULL;
355 rhp = &rh->rhc_next) {
356 ASSERT(rh->rhc_host.ta_family == AF_INET);
357 if (((rh->rhc_host.ta_addr_v4.s_addr ^
374 for (rhp = &tnrhc_hash->tnrh_list; (rh = *rhp) != NULL;
375 rhp = &rh->rhc_next) {
376 ASSERT(rh->rhc_host.ta_family == AF_INET6);
377 if (V6_MASK_EQ_2(rh->rhc_host.ta_addr_v6, tmpmask_v6,
386 if (rh !
1043 tsol_tnrhc_t *rh = NULL; local
1233 tsol_tnrhc_t *rh, *new; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_intrmap.c55 #define IRTE_LOW(dst, vector, dlm, tm, rh, dm, fpd, p) \
60 ((uint64_t)(rh) << 3) | \
757 uchar_t vector, dlm, tm, rh, dm; local
770 rh = 0;
785 rh = MSI_ADDR_RH_FIXED;
797 irte.lo = IRTE_LOW(dst, vector, dlm, tm, rh, dm, 0, 1);
809 irte.lo = IRTE_LOW(dst, vector, dlm, tm, rh, dm, 0, 1);
/illumos-gate/usr/src/uts/common/io/
H A Dgldutil.c1402 struct gld_ri *rh; local
1461 rh = (struct gld_ri *)NULL;
1500 rh = (struct gld_ri *)&mh->tr_ri;
1501 if ((rh->len & 1) || rh->len < 2) {
1508 rh->len);
1512 if (pktinfo->pktLen < sizeof (struct tr_mac_frm_nori) + rh->len)
1514 pktinfo->macLen += rh->len;
1533 gld_rcc_receive(macinfo, pktinfo, rh,
1555 struct gld_ri *rh; local
1821 gld_rcc_receive(gld_mac_info_t *macinfo, pktinfo_t *pktinfo, struct gld_ri *rh, uchar_t *llcpkt, int llcpktlen) argument
1898 gld_send_rqr(gld_mac_info_t *macinfo, uchar_t *shost, struct gld_ri *rh, struct rde_pdu *pdu, int pdulen) argument
2066 gld_rde_pdu_req(gld_mac_info_t *macinfo, queue_t *q, uchar_t *dhost, struct gld_ri *rh, uchar_t dsap, uchar_t ssap, uchar_t ptype) argument
2265 gld_rde_pdu_ind(gld_mac_info_t *macinfo, struct gld_ri *rh, struct rde_pdu *pdu, int pdulen) argument
2340 gld_rif_ind(gld_mac_info_t *macinfo, struct gld_ri *rh, uchar_t *shost, uchar_t ssap, uchar_t dsap) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hio.c1621 nxge_ring_handle_t *rh; local
1628 rh = nxge->rx_ring_handles;
1633 rh = nxge->tx_ring_handles;
1646 rings[0] = rh[(shp->index * 2) - offset].ring_handle;
1647 rings[1] = rh[(shp->index * 2 + 1) - offset].ring_handle;

Completed in 113 milliseconds

12