Home
last modified time | relevance | path

Searched refs:srp (Results 1 – 25 of 28) sorted by relevance

12

/titanic_44/usr/src/uts/common/io/bge/
H A Dbge_send.c92 static boolean_t bge_recycle_ring(bge_t *bgep, send_ring_t *srp);
96 bge_recycle_ring(bge_t *bgep, send_ring_t *srp) in bge_recycle_ring() argument
106 ASSERT(mutex_owned(srp->tc_lock)); in bge_recycle_ring()
115 ASSERT(srp->tx_free <= srp->desc.nslots); in bge_recycle_ring()
118 for (n = 0, slot = srp->tc_next; slot != *srp->cons_index_p; in bge_recycle_ring()
119 slot = NEXT(slot, srp->desc.nslots)) { in bge_recycle_ring()
120 ssbdp = &srp->sw_sbds[slot]; in bge_recycle_ring()
145 bgep->watchdog = (slot == srp->tx_next) ? 0 : 1; in bge_recycle_ring()
150 srp->tc_next = slot; in bge_recycle_ring()
151 ASSERT(srp->tx_free + n <= srp->desc.nslots); in bge_recycle_ring()
[all …]
H A Dbge_main2.c210 bge_reinit_send_ring(send_ring_t *srp) in bge_reinit_send_ring() argument
221 srp->tx_flow = 0; in bge_reinit_send_ring()
222 srp->tx_next = 0; in bge_reinit_send_ring()
223 srp->txfill_next = 0; in bge_reinit_send_ring()
224 srp->tx_free = srp->desc.nslots; in bge_reinit_send_ring()
225 ASSERT(mutex_owned(srp->tc_lock)); in bge_reinit_send_ring()
226 srp->tc_next = 0; in bge_reinit_send_ring()
227 srp->txpkt_next = 0; in bge_reinit_send_ring()
228 srp->tx_block = 0; in bge_reinit_send_ring()
229 srp->tx_nobd = 0; in bge_reinit_send_ring()
[all …]
H A Dbge_impl.h1268 bge_queue_item_t *bge_alloc_txbuf_array(bge_t *bgep, send_ring_t *srp);
1269 void bge_free_txbuf_arrays(send_ring_t *srp);
/titanic_44/usr/src/lib/libnsl/rpc/
H A Dsvc_raw.c75 struct svc_raw_private *srp; in svc_raw_create() local
80 srp = svc_raw_private; in svc_raw_create()
81 if (srp == NULL) { in svc_raw_create()
82 srp = calloc(1, sizeof (*srp)); in svc_raw_create()
83 if (srp == NULL) { in svc_raw_create()
92 free(srp); in svc_raw_create()
100 srp->raw_buf = _rawcombuf; /* Share it with the client */ in svc_raw_create()
101 svc_raw_private = srp; in svc_raw_create()
103 if ((srp->server = svc_xprt_alloc()) == NULL) { in svc_raw_create()
114 srp->server->xp_fd = FD_SETSIZE; in svc_raw_create()
[all …]
/titanic_44/usr/src/uts/common/io/nge/
H A Dnge_tx.c57 send_ring_t *srp; in nge_tx_recycle_all() local
63 srp = ngep->send; in nge_tx_recycle_all()
64 nslots = srp->desc.nslots; in nge_tx_recycle_all()
68 ssbdp = srp->sw_sbds + slot; in nge_tx_recycle_all()
127 send_ring_t *srp = ngep->send; in nge_tx_desc_sync() local
129 const uint64_t end = srp->desc.nslots * txd_size; in nge_tx_desc_sync()
137 (void) ddi_dma_sync(srp->desc.dma_hdl, start, num, type); in nge_tx_desc_sync()
140 (void) ddi_dma_sync(srp->desc.dma_hdl, start, 0, type); in nge_tx_desc_sync()
141 (void) ddi_dma_sync(srp->desc.dma_hdl, 0, start + num - end, in nge_tx_desc_sync()
162 send_ring_t *srp; in nge_tx_recycle() local
[all …]
H A Dnge_main.c461 send_ring_t *srp; in nge_fini_send_ring() local
464 srp = ngep->send; in nge_fini_send_ring()
465 ssbdp = srp->sw_sbds; in nge_fini_send_ring()
469 dmah_num = sizeof (srp->dmahndl) / sizeof (srp->dmahndl[0]); in nge_fini_send_ring()
472 if (srp->dmahndl[slot].hndl) { in nge_fini_send_ring()
473 (void) ddi_dma_unbind_handle(srp->dmahndl[slot].hndl); in nge_fini_send_ring()
474 ddi_dma_free_handle(&srp->dmahndl[slot].hndl); in nge_fini_send_ring()
475 srp->dmahndl[slot].hndl = NULL; in nge_fini_send_ring()
476 srp->dmahndl[slot].next = NULL; in nge_fini_send_ring()
480 srp->dmah_free.head = NULL; in nge_fini_send_ring()
[all …]
H A Dnge_chip.c1639 send_ring_t *srp; in nge_factotum_stall_check() local
1640 srp = ngep->send; in nge_factotum_stall_check()
1656 srp->tx_free < srp->desc.nslots) in nge_factotum_stall_check()
/titanic_44/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c580 status_record_t *srp; in add_resource() local
593 srp = sp->status_rec_list->status_record; in add_resource()
595 order = cmp_priority(severity, srp->severity, sec, in add_resource()
596 srp->uurec->sec, np->max_pct, sp->max_pct); in add_resource()
600 srp = tp->status_rec_list->status_record; in add_resource()
602 cmp_priority(severity, srp->severity, sec, in add_resource()
603 srp->uurec->sec, np->max_pct, sp->max_pct) < 0) { in add_resource()
605 srp = tp->status_rec_list->status_record; in add_resource()
621 status_record_t *srp; in add_resource_list() local
629 srp = np->status_rec_list->status_record; in add_resource_list()
[all …]
/titanic_44/usr/src/lib/libipmi/common/
H A Dipmi_sensor.c37 ipmi_sensor_reading_t *srp; in ipmi_get_sensor_reading() local
57 srp = resp->ic_data; in ipmi_get_sensor_reading()
60 (void) memset((char *)srp + resp->ic_dlen, '\0', in ipmi_get_sensor_reading()
63 srp->isr_state = LE_IN16(&srp->isr_state); in ipmi_get_sensor_reading()
64 return (srp); in ipmi_get_sensor_reading()
H A Dipmi_entity.c294 ipmi_sensor_reading_t *srp; in ipmi_entity_present_sdr() local
354 if ((srp = ipmi_get_sensor_reading(ihp, number)) == NULL) { in ipmi_entity_present_sdr()
363 *valp = (srp->isr_state & mask) != 0; in ipmi_entity_present_sdr()
410 ipmi_sensor_reading_t *srp; in ipmi_entity_present() local
478 if ((srp = ipmi_get_sensor_reading(ihp, number)) == NULL) { in ipmi_entity_present()
487 *valp = (srp->isr_state & mask) != 0; in ipmi_entity_present()
513 if ((srp = ipmi_get_sensor_reading(ihp, number)) == NULL) { in ipmi_entity_present()
520 if (srp->isr_scanning_enabled) { in ipmi_entity_present()
/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c632 sctp_reass_t *srp; in sctp_free_reass() local
642 srp = (sctp_reass_t *)DB_BASE(mctl); in sctp_free_reass()
644 ASSERT(mp->b_cont != NULL || srp->sr_got == 0); in sctp_free_reass()
806 sctp_try_partial_delivery(sctp_t *sctp, mblk_t *hmp, sctp_reass_t *srp, in sctp_try_partial_delivery() argument
819 (int)(srp->sr_got), (int)(srp->sr_needed))); in sctp_try_partial_delivery()
824 ASSERT(SCTP_DATA_GET_BBIT(qdc) && srp->sr_hasBchunk); in sctp_try_partial_delivery()
854 srp->sr_nexttsn = tsn; in sctp_try_partial_delivery()
855 srp->sr_msglen = 0; in sctp_try_partial_delivery()
856 srp->sr_needed = 0; in sctp_try_partial_delivery()
857 srp->sr_got = 0; in sctp_try_partial_delivery()
[all …]
/titanic_44/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c2622 lookup_sym_interpose(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) in lookup_sym_interpose() argument
2624 Rt_map *lmp, *clmp, *dlmp = srp->sr_dmap; in lookup_sym_interpose()
2625 Sym *osym = srp->sr_sym; in lookup_sym_interpose()
2641 srp->sr_dmap = rcp->r_rlmp; in lookup_sym_interpose()
2642 srp->sr_sym = rcp->r_rsym; in lookup_sym_interpose()
2710 *srp = sr; in lookup_sym_interpose()
2780 *srp = sr; in lookup_sym_interpose()
2795 lookup_sym_direct(Slookup *slp, Sresult *srp, uint_t *binfo, Syminfo *sip, in lookup_sym_direct() argument
2821 if (ret = SYMINTP(clmp)(slp, srp, binfo, in_nfavl)) in lookup_sym_direct()
2845 if (ret = SYMINTP(lmp)(&sl, srp, binfo, in_nfavl)) in lookup_sym_direct()
[all …]
H A Da.out.c444 aout_lookup_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) in aout_lookup_sym() argument
465 return (lookup_sym(&sl, srp, binfo, in_nfavl)); in aout_lookup_sym()
473 aout_find_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) in aout_find_sym() argument
490 srp->sr_dmap = ilmp; in aout_find_sym()
491 srp->sr_sym = aout_symconvert(sp); in aout_find_sym()
681 aout_dlsym_handle(Grp_hdl *ghp, Slookup *slp, Sresult *srp, uint_t *binfo, in aout_dlsym_handle() argument
687 if (dlsym_handle(ghp, slp, srp, binfo, in_nfavl)) in aout_dlsym_handle()
702 return (dlsym_handle(ghp, &sl, srp, binfo, in_nfavl)); in aout_dlsym_handle()
H A Dcap.c1323 cap_match(Sresult *srp, uint_t symndx, Sym *symtabptr, char *strtabptr) in cap_match() argument
1325 Rt_map *ilmp = srp->sr_dmap; in cap_match()
1347 srp->sr_name, symndx)); in cap_match()
1371 srp->sr_sym = fsym; in cap_match()
1372 srp->sr_name = fname; in cap_match()
1381 DBG_CALL(Dbg_syms_cap_lookup(ilmp, DBG_CAP_DEFAULT, srp->sr_name, in cap_match()
1383 bsym = srp->sr_sym; in cap_match()
1384 bname = srp->sr_name; in cap_match()
1429 srp->sr_sym = bsym; in cap_match()
1430 srp->sr_name = bname; in cap_match()
H A Delf.c767 elf_null_find_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) in elf_null_find_sym() argument
817 _elf_lookup_filtee(Slookup *slp, Sresult *srp, uint_t *binfo, uint_t ndx, argument
1212 if (((ret = SYMINTP(sl.sl_imap)(&sl, srp, binfo,
1278 elf_lookup_filtee(Slookup *slp, Sresult *srp, uint_t *binfo, uint_t ndx, argument
1303 ret = _elf_lookup_filtee(slp, srp, binfo, ndx, in_nfavl);
1346 elf_find_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) argument
1434 srp->sr_dmap = ilmp;
1435 srp->sr_sym = sym;
1444 srp->sr_dmap = ilmp;
1445 srp->sr_sym = sym;
[all …]
H A Ddlfcns.c1062 dlsym_handle(Grp_hdl *ghp, Slookup *slp, Sresult *srp, uint_t *binfo, in dlsym_handle() argument
1111 if (LM_LOOKUP_SYM(clmp)(&sl, srp, binfo, in_nfavl)) in dlsym_handle()
1142 if (elf_lazy_find_sym(&sl, srp, binfo, in dlsym_handle()
1163 if (LM_LOOKUP_SYM(clmp)(&sl, srp, binfo, in_nfavl)) in dlsym_handle()
1192 if (elf_lazy_find_sym(&sl, srp, binfo, in dlsym_handle()
1206 sym_lookup_in_caller(Rt_map *clmp, Slookup *slp, Sresult *srp, uint_t *binfo) in sym_lookup_in_caller() argument
1208 if (THIS_IS_ELF(clmp) && SYMINTP(clmp)(slp, srp, binfo, NULL)) { in sym_lookup_in_caller()
1209 Sym *sym = srp->sr_sym; in sym_lookup_in_caller()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c106 struct ip_sourceroute *srp; in set_IPv4_options() local
124 srp = (struct ip_sourceroute *)bufp; in set_IPv4_options()
125 srp->ipsr_code = strict ? IPOPT_SSRR : IPOPT_LSRR; in set_IPv4_options()
126 srp->ipsr_len = req_size; in set_IPv4_options()
127 srp->ipsr_ptr = IPOPT_MINOFF; in set_IPv4_options()
131 &srp->ipsr_addrs[i], in set_IPv4_options()
134 optsize -= srp->ipsr_len; in set_IPv4_options()
135 bufp += srp->ipsr_len; in set_IPv4_options()
193 srp = (struct ip_sourceroute *)bufp; in set_IPv4_options()
194 srp->ipsr_code = IPOPT_RR; in set_IPv4_options()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c151 struct ip_sourceroute *srp; in set_IPv4opt_sourcerouting() local
172 srp = (struct ip_sourceroute *)&optlist[1]; in set_IPv4opt_sourcerouting()
173 srp->ipsr_code = IPOPT_LSRR; in set_IPv4opt_sourcerouting()
175 srp->ipsr_len = 3 + (gwV4_count + 1) * sizeof (gwIPlist[0].addr); in set_IPv4opt_sourcerouting()
176 srp->ipsr_ptr = IPOPT_MINOFF; in set_IPv4opt_sourcerouting()
179 (void) bcopy((char *)&gwIPlist[i].addr, &srp->ipsr_addrs[i], in set_IPv4opt_sourcerouting()
184 srp->ipsr_len + 1) < 0) { in set_IPv4opt_sourcerouting()
/titanic_44/usr/src/cmd/fm/ipmitopo/common/
H A Dipmitopo.c51 ipmi_sensor_reading_t *srp; in sdr_print() local
85 if ((srp = ipmi_get_sensor_reading(ihp, in sdr_print()
94 (void) printf(" %04x\n", srp->isr_state); in sdr_print()
/titanic_44/usr/src/uts/sun/io/
H A Dsocal.c3295 soc_response_t *srp; in socal_intr_solicited() local
3345 srp = (soc_response_t *)cqe; in socal_intr_solicited()
3346 port = srp->sr_soc_hdr.sh_flags & SOC_PORT_B; in socal_intr_solicited()
3347 shp = &srp->sr_soc_hdr; in socal_intr_solicited()
3348 cq_hdr = &srp->sr_cqhdr; in socal_intr_solicited()
3410 status = srp->sr_soc_status; in socal_intr_solicited()
3435 (srp->sr_soc_hdr.sh_flags & SOC_FC_HEADER)) { in socal_intr_solicited()
3436 src = (caddr_t)&srp->sr_fc_frame_hdr; in socal_intr_solicited()
3440 i = srp->sr_soc_hdr.sh_flags & SOC_PORT_B ? in socal_intr_solicited()
3456 (uint32_t)srp->sr_dataseg.fc_base; in socal_intr_solicited()
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/sctp/
H A Dsctp.c434 sctp_reass_t srp; in sctp_reass_list() local
449 if (mdb_vread(&srp, sizeof (srp), in sctp_reass_list()
457 "\t\tpartial_delivered: %s\n", srp.sr_ssn, srp.sr_needed, in sctp_reass_list()
458 srp.sr_got, srp.sr_tail, srp.sr_partial_delivered ? "TRUE" : in sctp_reass_list()
/titanic_44/usr/src/uts/common/io/i40e/
H A Di40e_main.c999 i40e_switch_rsrc_t *srp = &i40e->i40e_switch_rsrcs[i]; in i40e_get_available_resources() local
1001 switch (srp->resource_type) { in i40e_get_available_resources()
1004 LE_16(srp->guaranteed); in i40e_get_available_resources()
1005 i40e->i40e_resources.ifr_nvsis_used = LE_16(srp->used); in i40e_get_available_resources()
1009 LE_16(srp->guaranteed); in i40e_get_available_resources()
1011 LE_16(srp->used); in i40e_get_available_resources()
1015 LE_16(srp->guaranteed); in i40e_get_available_resources()
1017 LE_16(srp->used); in i40e_get_available_resources()
1025 i40e_switch_rsrc_t *srp = &i40e->i40e_switch_rsrcs[i]; in i40e_get_available_resources() local
1026 switch (srp->resource_type) { in i40e_get_available_resources()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dgldutil.c2397 struct srtab **srp; in gld_sr_create_entry() local
2402 srp = gld_sr_hash(GLD_SR_HASH(macinfo), macaddr, macinfo->gldm_addrlen); in gld_sr_create_entry()
2404 for (sr = *srp; sr; sr = sr->sr_next) in gld_sr_create_entry()
2419 sr->sr_next = *srp; in gld_sr_create_entry()
2420 *srp = sr; in gld_sr_create_entry()
2429 struct srtab **srp, *sr; in gld_sr_clear() local
2437 for (srp = &sr_hash_tbl[i]; (sr = *srp) != NULL; ) { in gld_sr_clear()
2438 *srp = sr->sr_next; in gld_sr_clear()
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr.h234 int smbfs_check_table(struct vfs *vfsp, struct smbnode *srp);
/titanic_44/usr/src/lib/libast/common/port/
H A Dlc.tab138 sr serbian srp iso8859-2

12