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

/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_srvcache.c225 struct nfsrvcache *rp; local
238 for (rp = NFSRCHASH(nd->nd_retxid)->lh_first; rp != 0;
239 rp = rp->rc_hash.le_next) {
240 if (nd->nd_retxid == rp->rc_xid && nd->nd_procnum == rp->rc_proc &&
241 netaddr_match(rp->rc_family, &rp->rc_haddr, nd->nd_nam)) {
242 if ((rp
370 struct nfsrvcache *rp; local
433 struct nfsrvcache *rp, *nextrp; local
[all...]
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_red.c218 red_t *rp; local
224 rp = zalloc(red_zone);
225 if (rp == NULL)
228 bzero(rp, red_size);
229 rp->red_avg = 0;
230 rp->red_idle = 1;
233 rp->red_weight = W_WEIGHT;
235 rp->red_weight = weight;
237 rp->red_inv_pmax = default_inv_pmax;
239 rp
308 red_destroy(red_t *rp) argument
318 red_getstats(red_t *rp, struct red_stats *sp) argument
327 red_addq(red_t *rp, class_queue_t *q, struct mbuf *m, struct pf_mtag *tag) argument
470 red_getq_flow(struct red *rp, class_queue_t *q, u_int32_t flow, boolean_t purge) argument
489 red_getq(red_t *rp, class_queue_t *q) argument
495 red_purgeq(struct red *rp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
516 red_updateq(red_t *rp, cqev_t ev) argument
523 red_suspendq(red_t *rp, class_queue_t *q, boolean_t on) argument
[all...]
H A Dclassq_rio.c209 rio_t *rp; local
215 rp = zalloc(rio_zone);
216 if (rp == NULL)
219 bzero(rp, rio_size);
220 rp->rio_flags = (flags & RIOF_USERFLAGS);
221 rp->rio_ifp = ifp;
225 rp->rio_pkttime = 800;
227 rp->rio_pkttime = pkttime;
230 rp->rio_weight = weight;
233 rp
305 rio_destroy(rio_t *rp) argument
315 rio_getstats(rio_t *rp, struct red_stats *sp) argument
353 rio_addq(rio_t *rp, class_queue_t *q, struct mbuf *m, struct pf_mtag *tag) argument
464 rio_getq_flow(struct rio *rp, class_queue_t *q, u_int32_t flow, boolean_t purge) argument
489 rio_getq(rio_t *rp, class_queue_t *q) argument
495 rio_purgeq(struct rio *rp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
516 rio_updateq(rio_t *rp, cqev_t ev) argument
523 rio_suspendq(rio_t *rp, class_queue_t *q, boolean_t on) argument
[all...]
/darwin-on-arm/xnu/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.c110 struct rawcb *rp; local
122 LIST_FOREACH(rp, &rawcb_list, list) {
123 if (rp->rcb_proto.sp_family != proto->sp_family)
125 if (rp->rcb_proto.sp_protocol &&
126 rp->rcb_proto.sp_protocol != proto->sp_protocol)
138 if (rp->rcb_laddr && !equal(rp->rcb_laddr, dst))
140 if (rp->rcb_faddr && !equal(rp->rcb_faddr, src))
155 last = rp
183 struct rawcb *rp = sotorawcb(so); local
205 struct rawcb *rp = sotorawcb(so); local
232 struct rawcb *rp = sotorawcb(so); local
250 struct rawcb *rp = sotorawcb(so); local
267 struct rawcb *rp = sotorawcb(so); local
286 struct rawcb *rp = sotorawcb(so); local
339 struct rawcb *rp = sotorawcb(so); local
356 struct rawcb *rp = sotorawcb(so); local
[all...]
H A Drtsock.c165 struct rawcb *rp; local
170 MALLOC(rp, struct rawcb *, sizeof *rp, M_PCB, M_WAITOK); /* XXX */
171 if (rp == 0)
173 bzero(rp, sizeof *rp);
182 so->so_pcb = (caddr_t)rp;
184 rp = sotorawcb(so);
186 FREE(rp, M_PCB);
192 switch(rp
237 struct rawcb *rp = sotorawcb(so); local
694 struct rawcb *rp = 0; local
[all...]
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp.c230 kdp_connect_reply_t *rp = &pkt->connect_reply; local
249 rp->error = KDPERR_NO_ERROR;
251 rp->error = KDPERR_ALREADY_CONNECTED;
260 rp->error = KDPERR_NO_ERROR;
263 rp->hdr.is_reply = 1;
264 rp->hdr.len = sizeof (*rp);
267 *len = rp->hdr.len;
284 kdp_disconnect_reply_t *rp = &pkt->disconnect_reply; local
309 rp
345 kdp_hostinfo_reply_t *rp = &pkt->hostinfo_reply; local
372 kdp_kernelversion_reply_t *rp = &pkt->kernelversion_reply; local
401 kdp_suspend_reply_t *rp = &pkt->suspend_reply; local
428 kdp_resumecpus_reply_t *rp = &pkt->resumecpus_reply; local
455 kdp_writemem_reply_t *rp = &pkt->writemem_reply; local
488 kdp_writemem64_reply_t *rp = &pkt->writemem64_reply; local
521 kdp_writephysmem64_reply_t *rp = &pkt->writephysmem64_reply; local
552 kdp_readmem_reply_t *rp = &pkt->readmem_reply; local
606 kdp_readmem64_reply_t *rp = &pkt->readmem64_reply; local
642 kdp_readphysmem64_reply_t *rp = &pkt->readphysmem64_reply; local
678 kdp_maxbytes_reply_t *rp = &pkt->maxbytes_reply; local
705 kdp_version_reply_t *rp = &pkt->version_reply; local
736 kdp_regions_reply_t *rp = &pkt->regions_reply; local
773 kdp_writeregs_reply_t *rp = &pkt->writeregs_reply; local
799 kdp_readregs_reply_t *rp = &pkt->readregs_reply; local
826 kdp_breakpoint_reply_t *rp = &pkt->breakpoint_reply; local
855 kdp_breakpoint64_reply_t *rp = &pkt->breakpoint64_reply; local
884 kdp_breakpoint_reply_t *rp = &pkt->breakpoint_reply; local
912 kdp_breakpoint64_reply_t *rp = &pkt->breakpoint64_reply; local
1363 kdp_readioport_reply_t *rp = &pkt->readioport_reply; local
1400 kdp_writeioport_reply_t *rp = &pkt->writeioport_reply; local
1431 kdp_readmsr64_reply_t *rp = &pkt->readmsr64_reply; local
1459 kdp_writemsr64_reply_t *rp = &pkt->writemsr64_reply; local
1485 kdp_dumpinfo_reply_t *rp = &pkt->dumpinfo_reply; local
[all...]
H A Dkdp_udp.c1078 kdp_connect_reply_t *rp = local
1080 kdp_error_t err = rp->error;
/darwin-on-arm/xnu/bsd/dev/i386/
H A Ddtrace_subr_x86.c84 if (user_mode /*|| (rp->r_ps & PS_VM)*/) {
212 struct regs *rp = lwptoregs(ttolwp(t));
223 if (rp->r_pc < t->t_dtrace_scrpc ||
224 rp->r_pc > t->t_dtrace_astpc + isz) {
226 } else if (rp->r_pc == t->t_dtrace_scrpc ||
227 rp->r_pc == t->t_dtrace_astpc) {
228 rp->r_pc = t->t_dtrace_pc;
239 struct regs *rp = lwptoregs(ttolwp(t));
248 if (rp->r_pc < t->t_dtrace_scrpc ||
249 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.c827 fasttrap_do_seg(fasttrap_tracepoint_t *tp, x86_saved_state_t *rp, user_addr_t *addr) // 64 bit argument
829 #pragma unused(tp, rp, addr)
839 sel = rp->r_cs;
842 sel = rp->r_ds;
845 sel = rp->r_es;
848 sel = rp->r_fs;
851 sel = rp->r_gs;
854 sel = rp->r_ss;
2196 * We set rp->r_pc to the address of the traced instruction so
/darwin-on-arm/xnu/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.c544 struct rr_prefix rp;
551 /* init rp */
552 bzero(&rp, sizeof(rp));
553 rp.rp_type = IN6_PREFIX_RR;
554 rp.rp_ifp = ifp = ia->ia_ifp;
555 rp.rp_plen = pplen;
556 rp.rp_prefix.sin6_len = sizeof(rp.rp_prefix);
557 rp
[all...]
/darwin-on-arm/xnu/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...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_subr.c8175 vnode_resolve_t rp; local
8190 rp = vp->v_resolve;
8191 lck_mtx_lock(&rp->vr_lock);
8193 if (seq > rp->vr_lastseq) {
8195 rp->vr_flags |= VNT_RESOLVED;
8197 rp->vr_flags &= ~VNT_RESOLVED;
8199 rp->vr_lastseq = seq;
8202 lck_mtx_unlock(&rp->vr_lock);
8208 vnode_resolver_attach(vnode_t vp, vnode_resolve_t rp, boolean_t ref) argument
8217 vp->v_resolve = rp;
8240 vnode_resolve_t rp; local
8283 vnode_resolver_release(vnode_resolve_t rp) argument
8301 vnode_resolve_t rp; local
8345 vnode_resolve_t rp; local
8392 vnode_resolve_t rp; local
8448 vnode_resolve_t rp; local
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_usrreq.c1822 struct fileglob **rp = (struct fileglob **)(cm + 1); local
1836 fg = *rp;
1838 *rp++ = NULL;
1858 if (mac_file_check_receive(kauth_cred_get(), *rp)) {
1859 fg = *rp;
1860 *rp++ = 0;
1867 fg = rp[i];
1932 struct fileglob **rp; local
1957 rp = (struct fileglob **)(cm + 1);
1965 rp[
2242 struct fileglob **rp; local
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dtrap.c480 struct recovery *rp; local
734 for (rp = recover_table; rp < recover_table_end; rp++) {
735 if (kern_ip == rp->fault_addr) {
736 set_recovery_ip(saved_state, rp->recover_addr);

Completed in 143 milliseconds