Searched refs:rp (Results 1 - 16 of 16) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_srvcache.c219 struct nfsrvcache *rp; local
232 for (rp = NFSRCHASH(nd->nd_retxid)->lh_first; rp != 0;
233 rp = rp->rc_hash.le_next) {
234 if (nd->nd_retxid == rp->rc_xid && nd->nd_procnum == rp->rc_proc &&
235 netaddr_match(AF_INET, &rp->rc_haddr, nd->nd_nam)) {
236 if ((rp->rc_flag & RC_LOCKED) != 0) {
237 rp
359 struct nfsrvcache *rp; local
422 struct nfsrvcache *rp, *nextrp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Draw_cb.c95 struct rawcb *rp = sotorawcb(so); local
103 if (rp == 0)
108 rp->rcb_socket = so;
109 rp->rcb_proto.sp_family = so->so_proto->pr_domain->dom_family;
110 rp->rcb_proto.sp_protocol = proto;
112 LIST_INSERT_HEAD(&rawcb_list, rp, list);
122 raw_detach(struct rawcb *rp) argument
124 struct socket *so = rp->rcb_socket;
134 LIST_REMOVE(rp, list);
137 if (rp
149 raw_disconnect(struct rawcb *rp) argument
167 struct rawcb *rp; local
[all...]
H A Draw_usrreq.c112 struct rawcb *rp; local
124 LIST_FOREACH(rp, &rawcb_list, list) {
125 if (rp->rcb_proto.sp_family != proto->sp_family)
127 if (rp->rcb_proto.sp_protocol &&
128 rp->rcb_proto.sp_protocol != proto->sp_protocol)
140 if (rp->rcb_laddr && !equal(rp->rcb_laddr, dst))
142 if (rp->rcb_faddr && !equal(rp->rcb_faddr, src))
157 last = rp
185 struct rawcb *rp = sotorawcb(so); local
207 struct rawcb *rp = sotorawcb(so); local
234 struct rawcb *rp = sotorawcb(so); local
252 struct rawcb *rp = sotorawcb(so); local
269 struct rawcb *rp = sotorawcb(so); local
288 struct rawcb *rp = sotorawcb(so); local
336 struct rawcb *rp = sotorawcb(so); local
353 struct rawcb *rp = sotorawcb(so); local
[all...]
H A Drtsock.c146 struct rawcb *rp; local
151 MALLOC(rp, struct rawcb *, sizeof *rp, M_PCB, M_WAITOK); /* XXX */
152 if (rp == 0)
154 bzero(rp, sizeof *rp);
163 so->so_pcb = (caddr_t)rp;
165 rp = sotorawcb(so);
167 FREE(rp, M_PCB);
173 switch(rp
218 struct rawcb *rp = sotorawcb(so); local
622 struct rawcb *rp = 0; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Ddtrace_subr_x86.c84 if (user_mode /*|| (rp->r_ps & PS_VM)*/) {
211 struct regs *rp = lwptoregs(ttolwp(t));
222 if (rp->r_pc < t->t_dtrace_scrpc ||
223 rp->r_pc > t->t_dtrace_astpc + isz) {
225 } else if (rp->r_pc == t->t_dtrace_scrpc ||
226 rp->r_pc == t->t_dtrace_astpc) {
227 rp->r_pc = t->t_dtrace_pc;
238 struct regs *rp = lwptoregs(ttolwp(t));
247 if (rp->r_pc < t->t_dtrace_scrpc ||
248 rp
[all...]
H A Dinstr_size.c127 instr_size(struct regs *rp, caddr_t *addrp, enum seg_rw rw) argument
130 caddr_t pc = (caddr_t)rp->r_pc;
H A Dfasttrap_isa.c806 fasttrap_do_seg(fasttrap_tracepoint_t *tp, x86_saved_state_t *rp, user_addr_t *addr) // 64 bit argument
808 #pragma unused(tp, rp, addr)
818 sel = rp->r_cs;
821 sel = rp->r_ds;
824 sel = rp->r_es;
827 sel = rp->r_fs;
830 sel = rp->r_gs;
833 sel = rp->r_ss;
2167 * We set rp->r_pc to the address of the traced instruction so
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/
H A Dkdp.c214 kdp_connect_reply_t *rp = &pkt->connect_reply; local
223 rp->error = KDPERR_NO_ERROR;
225 rp->error = KDPERR_ALREADY_CONNECTED;
233 rp->error = KDPERR_NO_ERROR;
236 rp->hdr.is_reply = 1;
237 rp->hdr.len = sizeof (*rp);
240 *len = rp->hdr.len;
257 kdp_disconnect_reply_t *rp = &pkt->disconnect_reply; local
281 rp
317 kdp_hostinfo_reply_t *rp = &pkt->hostinfo_reply; local
342 kdp_suspend_reply_t *rp = &pkt->suspend_reply; local
369 kdp_resumecpus_reply_t *rp = &pkt->resumecpus_reply; local
396 kdp_writemem_reply_t *rp = &pkt->writemem_reply; local
429 kdp_readmem_reply_t *rp = &pkt->readmem_reply; local
481 kdp_maxbytes_reply_t *rp = &pkt->maxbytes_reply; local
508 kdp_version_reply_t *rp = &pkt->version_reply; local
543 kdp_regions_reply_t *rp = &pkt->regions_reply; local
580 kdp_writeregs_reply_t *rp = &pkt->writeregs_reply; local
606 kdp_readregs_reply_t *rp = &pkt->readregs_reply; local
632 kdp_breakpoint_reply_t *rp = &pkt->breakpoint_reply; local
695 kdp_breakpoint_reply_t *rp = &pkt->breakpoint_reply; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Din6_prefix.h77 #define rp2ifpr(rp) ((struct ifprefix *)(rp))
79 #define RP_IN6(rp) (&(rp)->rp_prefix.sin6_addr)
H A Din6_prefix.c489 struct rr_prefix rp; local
495 /* init rp */
496 bzero(&rp, sizeof(rp));
497 rp.rp_type = IN6_PREFIX_RR;
498 rp.rp_ifp = ia->ia_ifp;
499 rp.rp_plen = pplen;
500 rp.rp_prefix.sin6_len = sizeof(rp.rp_prefix);
501 rp
957 struct rr_prefix rp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkeysock.c161 key_sendup0(rp, m, promisc)
162 struct rawcb *rp;
194 if (!sbappendaddr(&rp->rcb_socket->so_rcv, (struct sockaddr *)&key_src,
202 sorwakeup(rp->rcb_socket);
218 struct rawcb *rp; local
248 LIST_FOREACH(rp, &rawcb_list, list)
250 if (rp->rcb_proto.sp_family != PF_KEY)
252 if (rp->rcb_proto.sp_protocol
253 && rp->rcb_proto.sp_protocol != PF_KEY_V2) {
257 kp = (struct keycb *)rp;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Duipc_usrreq.c1234 struct fileglob **rp = (struct fileglob **)(cm + 1); local
1247 fg = *rp;
1249 *rp++ = NULL;
1268 if (mac_file_check_receive(kauth_cred_get(), *rp)) {
1269 fg = *rp;
1270 *rp++ = 0;
1277 fg = *rp;
1288 *(int *)rp++ = f;
1334 struct fileglob **rp; local
1347 rp
1634 struct fileglob **rp; local
[all...]
H A Dkern_bsm_token.c870 __unused u_int16_t rp,
879 __unused u_int16_t rp,
868 au_to_socket_ex_32( __unused u_int16_t lp, __unused u_int16_t rp, __unused struct sockaddr *la, __unused struct sockaddr *ra) argument
877 au_to_socket_ex_128( __unused u_int16_t lp, __unused u_int16_t rp, __unused struct sockaddr *la, __unused struct sockaddr *ra) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_command.c182 const char *rp; local
186 rp = cmd->name;
187 while ((c = *lp) == *rp) {
194 rp++;
/macosx-10.5.8/xnu-1228.15.4/bsd/bsm/
H A Daudit_record.h290 token_t *au_to_socket_ex_32(u_int16_t lp, u_int16_t rp,
292 token_t *au_to_socket_ex_128(u_int16_t lp, u_int16_t rp,
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dtrap.c332 struct recovery *rp; local
587 for (rp = recover_table; rp < recover_table_end; rp++) {
588 if (kern_ip == rp->fault_addr) {
589 set_recovery_ip(saved_state, rp->recover_addr);

Completed in 136 milliseconds