Home
last modified time | relevance | path

Searched refs:rap (Results 1 – 22 of 22) sorted by relevance

/titanic_50/usr/src/lib/libsmbfs/smb/
H A Drap.c152 smb_rap_rqparam_z(struct smb_rap *rap, const char *value) in smb_rap_rqparam_z() argument
156 bcopy(value, rap->r_npbuf, len); in smb_rap_rqparam_z()
157 rap->r_npbuf += len; in smb_rap_rqparam_z()
158 rap->r_plen += len; in smb_rap_rqparam_z()
167 smb_rap_rqparam(struct smb_rap *rap, char ptype, char plen, int value) in smb_rap_rqparam() argument
179 sp = (uint16_t *)rap->r_npbuf; in smb_rap_rqparam()
185 lp = (uint32_t *)rap->r_npbuf; in smb_rap_rqparam()
190 p = rap->r_npbuf; in smb_rap_rqparam()
196 rap->r_npbuf += len; in smb_rap_rqparam()
197 rap->r_plen += len; in smb_rap_rqparam()
[all …]
H A Dnetshareenum.c275 struct smb_rap *rap; in smb_rap_NetShareEnum() local
279 error = smb_rap_create(0, "WrLeh", "B13BWz", &rap); in smb_rap_NetShareEnum()
282 (void) smb_rap_setNparam(rap, sLevel); /* W - sLevel */ in smb_rap_NetShareEnum()
283 (void) smb_rap_setPparam(rap, pbBuffer); /* r - pbBuffer */ in smb_rap_NetShareEnum()
284 (void) smb_rap_setNparam(rap, *cbBuffer); /* L - cbBuffer */ in smb_rap_NetShareEnum()
285 error = smb_rap_request(rap, ctx); in smb_rap_NetShareEnum()
287 *pcEntriesRead = rap->r_entries; in smb_rap_NetShareEnum()
288 error = smb_rap_getNparam(rap, &lval); in smb_rap_NetShareEnum()
291 *cbBuffer = rap->r_rcvbuflen; in smb_rap_NetShareEnum()
293 error = smb_rap_error(rap, error); in smb_rap_NetShareEnum()
[all …]
/titanic_50/usr/src/cmd/sgs/librtld_db/common/
H A Drtld_db.c113 rd_get_dyns(rd_agent_t *rap, psaddr_t addr, void **dynpp, size_t *dynpp_sz) in rd_get_dyns() argument
115 if (rap->rd_helper.rh_ops != NULL) in rd_get_dyns()
116 return (rap->rd_helper.rh_ops->rho_get_dyns( in rd_get_dyns()
117 rap->rd_helper.rh_data, addr, dynpp, dynpp_sz)); in rd_get_dyns()
120 if (rap->rd_dmodel == PR_MODEL_LP64) in rd_get_dyns()
121 return (_rd_get_dyns64(rap, in rd_get_dyns()
125 return (_rd_get_dyns32(rap, in rd_get_dyns()
130 rd_reset(struct rd_agent *rap) in rd_reset() argument
134 RDAGLOCK(rap); in rd_reset()
136 rap->rd_flags = 0; in rd_reset()
[all …]
H A Drd_elf.c89 validate_rdebug32(struct rd_agent *rap) in validate_rdebug32() argument
91 struct ps_prochandle *php = rap->rd_psp; in validate_rdebug32()
95 if (rap->rd_rdebug == 0) in validate_rdebug32()
103 db_privp = rap->rd_rdebug; in validate_rdebug32()
129 rap->rd_flags |= RDF_FL_COREFILE; in validate_rdebug32()
131 rap->rd_rdebugvers = db_priv.rtd_version; in validate_rdebug32()
132 rap->rd_rtlddbpriv = db_privp; in validate_rdebug32()
134 LOG(ps_plog(MSG_ORIG(MSG_DB_VALIDRDEBUG), EC_ADDR(rap->rd_rdebug), in validate_rdebug32()
135 R_RTLDDB_VERSION, rap->rd_rdebugvers, in validate_rdebug32()
136 rap->rd_flags & RDF_FL_COREFILE)); in validate_rdebug32()
[all …]
H A D_rtld_db.h147 extern rd_err_e validate_rdebug32(struct rd_agent *rap);
162 extern rd_err_e validate_rdebug64(struct rd_agent *rap);
/titanic_50/usr/src/uts/common/inet/ipf/netinet/
H A Dip_raudio_pxy.c78 raudio_t *rap; local
88 rap = aps->aps_data;
90 rap->rap_mode = RAP_M_TCP; /* default is for TCP */
102 raudio_t *rap = aps->aps_data; local
116 if (rap->rap_eos == 1)
144 if (rap->rap_seenpna == 0) {
149 rap->rap_seenpna = 1;
157 if (rap->rap_seenpna == 1 && rap->rap_seenver == 0) {
159 rap->rap_version = (*s << 8) | *(s + 1);
161 rap->rap_seenver = 1;
[all …]
/titanic_50/usr/src/uts/common/io/net80211/
H A Dnet80211_ht.c160 ampdu_rx_start(struct ieee80211_rx_ampdu *rap, int bufsiz, int start) in ampdu_rx_start() argument
162 (void) memset(rap, 0, sizeof (*rap)); in ampdu_rx_start()
163 rap->rxa_wnd = (bufsiz == 0) ? IEEE80211_AGGR_BAWMAX in ampdu_rx_start()
165 rap->rxa_start = (uint16_t)start; in ampdu_rx_start()
166 rap->rxa_flags |= IEEE80211_AGGR_XCHGPEND; in ampdu_rx_start()
173 ampdu_rx_purge(struct ieee80211_rx_ampdu *rap) in ampdu_rx_purge() argument
178 for (i = 0; i < rap->rxa_wnd; i++) { in ampdu_rx_purge()
179 m = rap->rxa_m[i]; in ampdu_rx_purge()
181 rap->rxa_m[i] = NULL; in ampdu_rx_purge()
182 rap->rxa_qbytes -= MBLKL(m); in ampdu_rx_purge()
[all …]
/titanic_50/usr/src/lib/brand/shared/librtld_db/common/
H A Dbrand_librtld_db.c99 dummy_ldb_init32(rd_agent_t *rap, struct ps_prochandle *php) in dummy_ldb_init32() argument
163 brand_ldb_init32(rd_agent_t *rap, struct ps_prochandle *php) in brand_ldb_init32() argument
244 struct rd_agent *rap = (struct rd_agent *)rhd; in brand_ldb_fini32() local
246 free(rap); in brand_ldb_fini32()
253 struct rd_agent *rap = (struct rd_agent *)rhd; in brand_ldb_loadobj_iter32() local
257 assert(rap->rd_psp == php); in brand_ldb_loadobj_iter32()
258 RDAGLOCK(rap); in brand_ldb_loadobj_iter32()
265 err = _rd_loadobj_iter32(rap, cb, client_data); in brand_ldb_loadobj_iter32()
266 RDAGUNLOCK(rap); in brand_ldb_loadobj_iter32()
276 struct rd_agent *rap = (struct rd_agent *)rhd; in brand_ldb_get_dyns32() local
[all …]
/titanic_50/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c63 rd_agent_t *rap; in rli_func() local
68 rap = rli_data->rlid_rap; in rli_func()
70 if (ps_pread(rap->rd_psp, rl->rl_base, (char *)&ehdr, in rli_func()
84 if (ps_pread(rap->rd_psp, off, (char *)&phdr, in rli_func()
114 if ((rc = find_dynamic_ent32(rap, dynbase, DT_PLTGOT, in rli_func()
146 plt32_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, in plt32_resolution() argument
165 if (ps_pread(rap->rd_psp, pltaddr + 2, (char *)&addr, in plt32_resolution()
174 if (ps_pread(rap->rd_psp, pltaddr + 1, (char *)&ebx, in plt32_resolution()
196 rli_data.rlid_rap = rap; in plt32_resolution()
198 if ((rderr = _rd_loadobj_iter32(rap, rli_func, &rli_data)) in plt32_resolution()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c611 register struct icmp_ra *rap = (struct icmp_ra *)ALIGN(outpack); in advertise() local
621 rap->icmp_type = ICMP_ROUTERADVERT; in advertise()
622 rap->icmp_code = 0; in advertise()
623 rap->icmp_cksum = 0; in advertise()
624 rap->icmp_num_addrs = 0; in advertise()
625 rap->icmp_wpa = 2; in advertise()
626 rap->icmp_lifetime = htons(lifetime); in advertise()
637 if (packetlen + rap->icmp_wpa * 4 > sizeof (outpack)) { in advertise()
640 rap->icmp_num_addrs); in advertise()
646 packetlen += rap->icmp_wpa * 4; in advertise()
[all …]
/titanic_50/usr/src/cmd/sgs/librtld_db/amd64/
H A Dplt64_resolution.c51 plt64_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, in plt64_resolution() argument
70 if (ps_pread(rap->rd_psp, pltaddr + 2, (char *)&pcrel, in plt64_resolution()
85 if (ps_pread(rap->rd_psp, destaddr, (char *)&destaddr, in plt64_resolution()
96 if ((rerr = rd_binder_exit_addr(rap, MSG_ORIG(MSG_SYM_RTBIND), in plt64_resolution()
/titanic_50/usr/src/cmd/sgs/librtld_db/sparcv9/
H A Dplt64_resolution.c53 plt64_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, in plt64_resolution() argument
96 if (ps_pread(rap->rd_psp, pltaddr, (char *)instr, in plt64_resolution()
122 if (ps_pread(rap->rd_psp, pltptr, &pltptrval, in plt64_resolution()
130 if ((rerr = rd_binder_exit_addr(rap, in plt64_resolution()
152 if (ps_pread(rap->rd_psp, pltaddr, (char *)instr, in plt64_resolution()
167 if ((rerr = rd_binder_exit_addr(rap, in plt64_resolution()
/titanic_50/usr/src/cmd/sgs/librtld_db/sparc/
H A Dplt32_resolution.c50 plt32_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, in plt32_resolution() argument
63 if (ps_pread(rap->rd_psp, pltaddr, (char *)instr, in plt32_resolution()
79 if ((rerr = rd_binder_exit_addr(rap, MSG_ORIG(MSG_SYM_RTBIND), in plt32_resolution()
/titanic_50/usr/src/lib/libsmbfs/
H A DMakefile.com68 rap.o \
/titanic_50/usr/src/lib/libproc/common/
H A DPsymtab.c559 if (P->rap != NULL) in Pupdate_maps()
560 (void) rd_loadobj_iter(P->rap, map_iter, P); in Pupdate_maps()
592 if (P->rap == NULL && P->state != PS_DEAD && P->state != PS_IDLE) { in Prd_agent()
597 if ((P->rap = rd_new(P)) != NULL) in Prd_agent()
598 (void) rd_loadobj_iter(P->rap, map_iter, P); in Prd_agent()
600 return (P->rap); in Prd_agent()
992 if (P->rap != NULL) in build_map_symtab()
993 (void) rd_loadobj_iter(P->rap, map_iter, P); in build_map_symtab()
2049 if (P->rap == NULL) in object_to_map()
2963 if (P->rap != NULL) { in Preset_maps()
[all …]
H A DPcontrol.h223 rd_agent_t *rap; /* cookie for rtld_db */ member
H A DPsymtab_machelf32.c263 if (P->rap != NULL) { in fake_elf64()
264 if (rd_get_dyns(P->rap, addr, (void **)&dp, NULL) != RD_OK) in fake_elf64()
H A DPcore.c2737 if ((P->rap = rd_new(P)) != NULL) {
2738 (void) rd_loadobj_iter(P->rap, (rl_iter_f *)
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Drelocate.c664 Rel_aux *rap = rdesc->rel_aux; in ld_init_rel_aux() local
672 rap->ra_osdesc = (rdesc->rel_isdesc == NULL) ? NULL : in ld_init_rel_aux()
676 rap->ra_usym = rdesc->rel_sym; in ld_init_rel_aux()
679 rap->ra_move = NULL; in ld_init_rel_aux()
680 rap->ra_typedata = 0; in ld_init_rel_aux()
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c2815 rd_agent_t *rap; in pt_lookup_by_addr() local
2817 if ((rap = Prd_agent(P)) != NULL && in pt_lookup_by_addr()
2819 rd_plt_resolution(rap, addr, Pstatus(P)->pr_lwp.pr_lwpid, in pt_lookup_by_addr()
/titanic_50/usr/src/cmd/look/
H A Dwords18649 rap
/titanic_50/usr/src/cmd/spell/
H A Dlist18648 rap