/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vlds.c | 1512 vlds_recv_hdr_t *rhp; in vlds_recvq_get_data() local 1553 rhp = dpsp->recv_headp; in vlds_recvq_get_data() 1559 if (rhp->datasz > buflen) { in vlds_recvq_get_data() 1560 *msglenp = rhp->datasz; in vlds_recvq_get_data() 1564 if (rhp == dpsp->recv_tailp) { in vlds_recvq_get_data() 1568 dpsp->recv_headp = rhp->next; in vlds_recvq_get_data() 1572 dpsp->recv_size -= rhp->datasz; in vlds_recvq_get_data() 1576 msglen = rhp->datasz; in vlds_recvq_get_data() 1577 rv = ddi_copyout(rhp->data, buf, msglen, mode); in vlds_recvq_get_data() 1581 __func__, rhp->datasz); in vlds_recvq_get_data() [all …]
|
/titanic_41/usr/src/cmd/avs/nsctl/ |
H A D | nscadm.c | 254 nsc_rmhdr_t *rhp = (nsc_rmhdr_t *)addr; in show_maps() local 261 rhp->magic, rhp->ver, rhp->size, rhp->rh_dirty); in show_maps() 263 for (i = 0, rmap = rhp->map; in show_maps()
|
/titanic_41/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 663 struct tsol_rhent *rhp; in nss_get_rh() local 668 rhp = &rh; in nss_get_rh() 671 while ((rhp = (struct tsol_rhent *) in nss_get_rh() 680 rhp->rh_template); in nss_get_rh() 682 (void) strncpy(tp.name, rhp->rh_template, TNTNAMSIZ - 1); in nss_get_rh() 687 rhp->rh_template); in nss_get_rh() 689 rhp->rh_template); in nss_get_rh() 693 af = rhp->rh_address.ta_family; in nss_get_rh() 706 newflag = rhtable_search_and_update(rhp, 1); in nss_get_rh() 722 newflag = rhtable_search_and_update_v6(rhp, 1); in nss_get_rh() [all …]
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 2629 p_hxge_ring_handle_t rhp = (p_hxge_ring_handle_t)rdriver; in hxge_tx_ring_start() local 2633 ASSERT(rhp != NULL); in hxge_tx_ring_start() 2634 ASSERT((rhp->index >= 0) && (rhp->index < HXGE_MAX_TDCS)); in hxge_tx_ring_start() 2636 hxgep = rhp->hxgep; in hxge_tx_ring_start() 2641 ring = hxgep->tx_rings->rings[rhp->index]; in hxge_tx_ring_start() 2647 rhp->started = B_TRUE; in hxge_tx_ring_start() 2648 ring->ring_handle = rhp->ring_handle; in hxge_tx_ring_start() 2657 p_hxge_ring_handle_t rhp = (p_hxge_ring_handle_t)rdriver; in hxge_tx_ring_stop() local 2661 ASSERT(rhp != NULL); in hxge_tx_ring_stop() 2662 ASSERT((rhp->index >= 0) && (rhp->index < HXGE_MAX_TDCS)); in hxge_tx_ring_stop() [all …]
|
H A D | hxge_kstats.c | 890 p_hxge_ring_handle_t rhp = (p_hxge_ring_handle_t)rdriver; in hxge_rx_ring_stat() local 891 p_hxge_t hxgep = rhp->hxgep; in hxge_rx_ring_stat() 893 ASSERT(rhp != NULL); in hxge_rx_ring_stat() 896 ASSERT((rhp->index >= 0) && (rhp->index < HXGE_MAX_RDCS)); in hxge_rx_ring_stat() 900 *val = hxgep->statsp->rdc_stats[rhp->index].ierrors; in hxge_rx_ring_stat() 903 *val = hxgep->statsp->rdc_stats[rhp->index].ibytes; in hxge_rx_ring_stat() 906 *val = hxgep->statsp->rdc_stats[rhp->index].ipackets; in hxge_rx_ring_stat() 922 p_hxge_ring_handle_t rhp = (p_hxge_ring_handle_t)rdriver; in hxge_tx_ring_stat() local 923 p_hxge_t hxgep = rhp->hxgep; in hxge_tx_ring_stat() 925 ASSERT(rhp != NULL); in hxge_tx_ring_stat() [all …]
|
H A D | hxge_send.c | 66 p_hxge_ring_handle_t rhp = (p_hxge_ring_handle_t)arg; in hxge_tx_ring_send() local 71 ASSERT(rhp != NULL); in hxge_tx_ring_send() 72 ASSERT((rhp->index >= 0) && (rhp->index < HXGE_MAX_TDCS)); in hxge_tx_ring_send() 74 hxgep = rhp->hxgep; in hxge_tx_ring_send() 75 tx_ring_p = hxgep->tx_rings->rings[rhp->index]; in hxge_tx_ring_send()
|
H A D | hxge_rxdma.c | 1089 p_hxge_ring_handle_t rhp; in hxge_rx_intr() local 1123 rhp = &hxgep->rx_ring_handles[channel]; in hxge_rx_intr() 1128 if (rhp->started) { in hxge_rx_intr() 1147 if ((rhp->started) && in hxge_rx_intr() 1337 p_hxge_ring_handle_t rhp = (p_hxge_ring_handle_t)arg; in hxge_rx_poll() local 1345 hxgep = rhp->hxgep; in hxge_rx_poll() 1351 ring = hxgep->rx_rcr_rings->rcr_rings[rhp->index]; in hxge_rx_poll() 1355 ASSERT(rhp->started); in hxge_rx_poll() 1365 RXDMA_REG_READ64(handle, RDC_STAT, rhp->index, &cs.value); in hxge_rx_poll() 1368 RXDMA_REG_WRITE64(handle, RDC_STAT, rhp->index, cs.value); in hxge_rx_poll()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Pstack.c | 230 sort_uclist(const void *lhp, const void *rhp) in sort_uclist() argument 233 uintptr_t rhs = *((const uintptr_t *)rhp); in sort_uclist()
|
H A D | Pstack.h | 50 int sort_uclist(const void *lhp, const void *rhp);
|
/titanic_41/usr/src/uts/common/os/ |
H A D | labelsys.c | 335 tsol_tnrhc_t **rhp; in tnrh_hash_add() local 354 for (rhp = &tnrhc_hash->tnrh_list; (rh = *rhp) != NULL; in tnrh_hash_add() 355 rhp = &rh->rhc_next) { in tnrh_hash_add() 374 for (rhp = &tnrhc_hash->tnrh_list; (rh = *rhp) != NULL; in tnrh_hash_add() 375 rhp = &rh->rhc_next) { in tnrh_hash_add() 389 *rhp = rh->rhc_next; in tnrh_hash_add()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | gldutil.c | 2008 struct gld_ri **rhp, uchar_t *llcpkt) in gld_rcc_send() argument 2022 *rhp = (struct gld_ri *)NULL; /* start off clean (no RIF) */ in gld_rcc_send() 2028 *rhp = &ri_ste_def; /* STE option */ in gld_rcc_send() 2040 dhost, rhp, snaphdr->d_lsap, snaphdr->s_lsap); in gld_rcc_send() 2043 if (*rhp == NULL) { in gld_rcc_send() 2051 *rhp = &ri_ste_def; /* STE option */ in gld_rcc_send() 2176 struct gld_ri **rhp, uchar_t dsap, uchar_t ssap) in gld_get_route() argument 2195 *rhp = NULL; /* we have no route yet */ in gld_get_route() 2210 *rhp = NULL; /* we have no route yet */ in gld_get_route() 2223 *rhp = NULL; /* we have no route */ in gld_get_route() [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent.c | 1064 struct hostent *rhp; variable 1079 if (!(rhp = gethostbyname(hname2))) { 1085 for (haddr = rhp->h_addr_list; *haddr; haddr++)
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_main.c | 5538 p_nxge_ring_handle_t rhp = (p_nxge_ring_handle_t)rdriver; in nxge_tx_ring_start() local 5539 p_nxge_t nxgep = rhp->nxgep; in nxge_tx_ring_start() 5543 channel = nxgep->pt_config.hw_config.tdc.start + rhp->index; in nxge_tx_ring_start() 5548 ring->tx_ring_handle = rhp->ring_handle; in nxge_tx_ring_start() 5557 p_nxge_ring_handle_t rhp = (p_nxge_ring_handle_t)rdriver; in nxge_tx_ring_stop() local 5558 p_nxge_t nxgep = rhp->nxgep; in nxge_tx_ring_stop() 5562 channel = nxgep->pt_config.hw_config.tdc.start + rhp->index; in nxge_tx_ring_stop() 5574 p_nxge_ring_handle_t rhp = (p_nxge_ring_handle_t)rdriver; in nxge_rx_ring_start() local 5575 p_nxge_t nxgep = rhp->nxgep; in nxge_rx_ring_start() 5580 channel = nxgep->pt_config.hw_config.start_rdc + rhp->index; in nxge_rx_ring_start() [all …]
|
H A D | nxge_kstats.c | 2199 p_nxge_ring_handle_t rhp = (p_nxge_ring_handle_t)rdriver; in nxge_rx_ring_stat() local 2200 p_nxge_t nxgep = rhp->nxgep; in nxge_rx_ring_stat() 2207 r_index = rhp->index + nxgep->pt_config.hw_config.start_rdc; in nxge_rx_ring_stat() 2239 p_nxge_ring_handle_t rhp = (p_nxge_ring_handle_t)rdriver; in nxge_tx_ring_stat() local 2240 p_nxge_t nxgep = rhp->nxgep; in nxge_tx_ring_stat() 2247 r_index = nxgep->pt_config.hw_config.tdc.start + rhp->index; in nxge_tx_ring_stat()
|