/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_srvcache.c | 225 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...] |
/xnu-2422.115.4/bsd/net/classq/ |
H A D | classq_red.c | 220 red_t *rp; local 226 rp = zalloc(red_zone); 227 if (rp == NULL) 230 bzero(rp, red_size); 231 rp->red_avg = 0; 232 rp->red_idle = 1; 235 rp->red_weight = W_WEIGHT; 237 rp->red_weight = weight; 239 rp->red_inv_pmax = default_inv_pmax; 241 rp 317 red_destroy(red_t *rp) argument 327 red_getstats(red_t *rp, struct red_stats *sp) argument 336 red_addq(red_t *rp, class_queue_t *q, struct mbuf *m, struct pf_mtag *tag) argument 485 red_getq_flow(struct red *rp, class_queue_t *q, u_int32_t flow, boolean_t purge) argument 504 red_getq(red_t *rp, class_queue_t *q) argument 510 red_purgeq(struct red *rp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument 531 red_updateq(red_t *rp, cqev_t ev) argument 538 red_suspendq(red_t *rp, class_queue_t *q, boolean_t on) argument [all...] |
H A D | classq_rio.c | 211 rio_t *rp; local 217 rp = zalloc(rio_zone); 218 if (rp == NULL) 221 bzero(rp, rio_size); 222 rp->rio_ifp = ifp; 223 rp->rio_flags = (flags & RIOF_USERFLAGS); 225 if (rp->rio_flags & RIOF_ECN) { 226 rp->rio_flags &= ~RIOF_ECN; 230 if (rp->rio_flags & RIOF_CLEARDSCP) { 231 rp 319 rio_destroy(rio_t *rp) argument 329 rio_getstats(rio_t *rp, struct red_stats *sp) argument 370 rio_addq(rio_t *rp, class_queue_t *q, struct mbuf *m, struct pf_mtag *tag) argument 490 rio_getq_flow(struct rio *rp, class_queue_t *q, u_int32_t flow, boolean_t purge) argument 515 rio_getq(rio_t *rp, class_queue_t *q) argument 521 rio_purgeq(struct rio *rp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument 542 rio_updateq(rio_t *rp, cqev_t ev) argument 549 rio_suspendq(rio_t *rp, class_queue_t *q, boolean_t on) argument [all...] |
/xnu-2422.115.4/bsd/net/ |
H A D | raw_cb.c | 95 struct rawcb *rp = sotorawcb(so); local 103 if (rp == 0) 108 rp->rcb_socket = so; 109 rp->rcb_proto.sp_family = SOCK_DOM(so); 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 174 struct rawcb *rp; local [all...] |
H A D | raw_usrreq.c | 116 struct rawcb *rp; local 128 LIST_FOREACH(rp, &rawcb_list, list) { 129 if (rp->rcb_proto.sp_family != proto->sp_family) 131 if (rp->rcb_proto.sp_protocol && 132 rp->rcb_proto.sp_protocol != proto->sp_protocol) 144 if (rp->rcb_laddr && !equal(rp->rcb_laddr, dst)) 146 if (rp->rcb_faddr && !equal(rp->rcb_faddr, src)) 161 last = rp 189 struct rawcb *rp = sotorawcb(so); local 211 struct rawcb *rp = sotorawcb(so); local 238 struct rawcb *rp = sotorawcb(so); local 256 struct rawcb *rp = sotorawcb(so); local 273 struct rawcb *rp = sotorawcb(so); local 292 struct rawcb *rp = sotorawcb(so); local 345 struct rawcb *rp = sotorawcb(so); local 362 struct rawcb *rp = sotorawcb(so); local [all...] |
H A D | rtsock.c | 171 struct rawcb *rp; local 176 MALLOC(rp, struct rawcb *, sizeof (*rp), M_PCB, M_WAITOK | M_ZERO); 177 if (rp == NULL) 180 so->so_pcb = (caddr_t)rp; 183 rp = sotorawcb(so); 185 FREE(rp, M_PCB); 191 switch (rp->rcb_proto.sp_protocol) { 199 rp->rcb_faddr = &route_src; 225 struct rawcb *rp local 309 struct rawcb *rp = NULL; local [all...] |
/xnu-2422.115.4/bsd/dev/i386/ |
H A D | dtrace_subr_x86.c | 84 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 D | instr_size.c | 127 instr_size(struct regs *rp, caddr_t *addrp, enum seg_rw rw) argument 130 caddr_t pc = (caddr_t)rp->r_pc;
|
H A D | fasttrap_isa.c | 827 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
|
/xnu-2422.115.4/osfmk/kdp/ |
H A D | kdp.c | 242 kdp_connect_reply_t *rp = &pkt->connect_reply; local 261 rp->error = KDPERR_NO_ERROR; 263 rp->error = KDPERR_ALREADY_CONNECTED; 272 rp->error = KDPERR_NO_ERROR; 275 rp->hdr.is_reply = 1; 276 rp->hdr.len = sizeof (*rp); 279 *len = rp->hdr.len; 296 kdp_disconnect_reply_t *rp = &pkt->disconnect_reply; local 321 rp 357 kdp_hostinfo_reply_t *rp = &pkt->hostinfo_reply; local 384 kdp_kernelversion_reply_t *rp = &pkt->kernelversion_reply; local 413 kdp_suspend_reply_t *rp = &pkt->suspend_reply; local 440 kdp_resumecpus_reply_t *rp = &pkt->resumecpus_reply; local 467 kdp_writemem_reply_t *rp = &pkt->writemem_reply; local 500 kdp_writemem64_reply_t *rp = &pkt->writemem64_reply; local 533 kdp_writephysmem64_reply_t *rp = &pkt->writephysmem64_reply; local 568 kdp_readmem_reply_t *rp = &pkt->readmem_reply; local 605 kdp_readmem64_reply_t *rp = &pkt->readmem64_reply; local 642 kdp_readphysmem64_reply_t *rp = &pkt->readphysmem64_reply; local 679 kdp_maxbytes_reply_t *rp = &pkt->maxbytes_reply; local 706 kdp_version_reply_t *rp = &pkt->version_reply; local 737 kdp_regions_reply_t *rp = &pkt->regions_reply; local 774 kdp_writeregs_reply_t *rp = &pkt->writeregs_reply; local 800 kdp_readregs_reply_t *rp = &pkt->readregs_reply; local 827 kdp_breakpoint_reply_t *rp = &pkt->breakpoint_reply; local 856 kdp_breakpoint64_reply_t *rp = &pkt->breakpoint64_reply; local 885 kdp_breakpoint_reply_t *rp = &pkt->breakpoint_reply; local 913 kdp_breakpoint64_reply_t *rp = &pkt->breakpoint64_reply; local 1519 kdp_readioport_reply_t *rp = &pkt->readioport_reply; local 1556 kdp_writeioport_reply_t *rp = &pkt->writeioport_reply; local 1588 kdp_readmsr64_reply_t *rp = &pkt->readmsr64_reply; local 1616 kdp_writemsr64_reply_t *rp = &pkt->writemsr64_reply; local 1642 kdp_dumpinfo_reply_t *rp = &pkt->dumpinfo_reply; local [all...] |
H A D | kdp_udp.c | 1190 kdp_connect_reply_t *rp = local 1192 kdp_error_t err = rp->error;
|
/xnu-2422.115.4/bsd/netkey/ |
H A D | keysock.c | 164 key_sendup0(rp, m, promisc) 165 struct rawcb *rp; 197 if (!sbappendaddr(&rp->rcb_socket->so_rcv, (struct sockaddr *)&key_src, 205 sorwakeup(rp->rcb_socket); 221 struct rawcb *rp; local 251 LIST_FOREACH(rp, &rawcb_list, list) 253 if (rp->rcb_proto.sp_family != PF_KEY) 255 if (rp->rcb_proto.sp_protocol 256 && rp->rcb_proto.sp_protocol != PF_KEY_V2) { 260 kp = (struct keycb *)rp; [all...] |
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_subr.c | 8189 vnode_resolve_t rp; local 8204 rp = vp->v_resolve; 8205 lck_mtx_lock(&rp->vr_lock); 8207 if (seq > rp->vr_lastseq) { 8209 rp->vr_flags |= VNT_RESOLVED; 8211 rp->vr_flags &= ~VNT_RESOLVED; 8213 rp->vr_lastseq = seq; 8216 lck_mtx_unlock(&rp->vr_lock); 8222 vnode_resolver_attach(vnode_t vp, vnode_resolve_t rp, boolean_t ref) argument 8231 vp->v_resolve = rp; 8254 vnode_resolve_t rp; local 8297 vnode_resolver_release(vnode_resolve_t rp) argument 8315 vnode_resolve_t rp; local 8359 vnode_resolve_t rp; local 8406 vnode_resolve_t rp; local 8462 vnode_resolve_t rp; local [all...] |
/xnu-2422.115.4/bsd/kern/ |
H A D | uipc_usrreq.c | 1861 struct fileglob **rp = (struct fileglob **)(cm + 1); local 1875 fg = *rp; 1877 *rp++ = NULL; 1897 if (mac_file_check_receive(kauth_cred_get(), *rp)) { 1898 fg = *rp; 1899 *rp++ = 0; 1906 fg = rp[i]; 1969 struct fileglob **rp; local 1999 rp = (struct fileglob **)(cm + 1); 2007 rp[ 2285 struct fileglob **rp; local [all...] |
/xnu-2422.115.4/osfmk/i386/ |
H A D | trap.c | 511 struct recovery *rp; local 745 for (rp = recover_table; rp < recover_table_end; rp++) { 746 if (kern_ip == rp->fault_addr) { 747 set_recovery_ip(saved_state, rp->recover_addr);
|