/xnu-2422.115.4/bsd/kern/ |
H A D | kpi_mbuf.c | 117 caddr_t extbuf, void (*extfree)(caddr_t , u_int, caddr_t), 118 size_t extsize, caddr_t extarg) 131 mbuf_alloccluster(mbuf_how_t how, size_t *size, caddr_t *addr) 160 mbuf_freecluster(caddr_t addr, size_t size) 410 bcopy(mtod(m, caddr_t) + off, out_data, count);
|
H A D | kern_overrides.c | 188 msleep((caddr_t)&sys_override_wait, &sys_override_lock, PRIBIO | PCATCH, "system_override", &ts);
|
H A D | netboot.c | 336 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK); 542 bzero((caddr_t)&dst, sizeof(dst)); 548 bzero((caddr_t)&gw, sizeof(gw)); 637 error = ifioctl(so, SIOCSIFFLAGS, (caddr_t)&ifr, procp);
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | in_dhcp.c | 119 return (ifioctl(so, SIOCAIFADDR, (caddr_t)&ifra, current_proc())); 152 struct mbuf * ip_pkt_to_mbuf(caddr_t pkt, int pktsize); 249 ip_pkt_to_mbuf(caddr_t pkt, int pktsize) 311 m = ip_pkt_to_mbuf((caddr_t)pkt, pkt_size); 794 (caddr_t)&context->ifr, procp); 860 error = ifioctl(context->so, SIOCAUTOADDR, (caddr_t)&context->ifr, procp); 867 error = ifioctl(context->so, SIOCPROTOATTACH, (caddr_t)&context->ifr,
|
H A D | ip_output.c | 2058 !IP_HDR_ALIGNED_P(mtod(m, caddr_t) + hoff)) { 2059 m_copydata(m, hoff, sizeof (*ip), (caddr_t)buf); 2156 m_copydata(m, hoff, hlen, (caddr_t)buf); 2234 ovbcopy((caddr_t)ip, mtod(m, caddr_t), sizeof (struct ip)); 2507 caddr_t req = NULL; 2519 req = mtod(m, caddr_t); 2700 caddr_t req = NULL; 2704 req = mtod(m, caddr_t); 2791 ovbcopy(mtod(m, caddr_t), (caddr_ [all...] |
H A D | in_cksum.c | 474 !IP_HDR_ALIGNED_P(mtod(m, caddr_t))) { 475 m_copydata(m, 0, sizeof (*ip), (caddr_t)buf);
|
/xnu-2422.115.4/bsd/sys/ |
H A D | socketvar.h | 223 caddr_t so_tpcb; /* Misc. protocol control block, used 235 caddr_t so_saved_pcb; /* Saved pcb when cacheing */ 396 _XSOCKET_PTR(caddr_t) so_pcb; /* another convenient handle */ 708 extern struct mbuf *sbcreatecontrol(caddr_t p, int size, int type, int level); 709 extern struct mbuf **sbcreatecontrol_mbuf(caddr_t p, int size, int type, 782 extern int soioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p); 796 extern int soo_ioctl(struct fileproc *, u_long, caddr_t, vfs_context_t);
|
H A D | dtrace_impl.h | 414 caddr_t dtb_tomax; /* active buffer */ 415 caddr_t dtb_xamot; /* inactive buffer */ 486 caddr_t dtak_data; /* data pointer */
|
H A D | protosw.h | 409 int (*pru_control)(struct socket *so, u_long cmd, caddr_t data, 454 int (*pru_control)(struct socket *, u_long, caddr_t, 502 extern int pru_control_notsupp(struct socket *so, u_long cmd, caddr_t data,
|
H A D | quota.h | 247 int quotactl(const char *, int, int, caddr_t);
|
H A D | types.h | 99 typedef char * caddr_t; /* core address */ typedef
|
H A D | user.h | 186 caddr_t uu_wchan; /* sleeping thread wait channel */
|
/xnu-2422.115.4/bsd/net/ |
H A D | if_utun_crypto.h | 403 caddr_t kpi_ref; 423 typedef caddr_t (*utun_crypto_kpi_connect_func)(int kpi_handle, struct utun_pcb *utun_ref); 425 typedef errno_t (*utun_crypto_kpi_send_func)(caddr_t ref, mbuf_t *pkt);
|
H A D | route.c | 205 #define equal(a1, a2) (bcmp((caddr_t)(a1), (caddr_t)(a2), (a1)->sa_len) == 0) 655 caddr_t cp, base = (caddr_t)sa + skip; 980 bzero((caddr_t)&info, sizeof(info)); 1447 bzero((caddr_t)&info, sizeof(info)); 1459 rtioctl(unsigned long req, caddr_t data, struct proc *p) 2029 rn = rnh->rnh_addaddr((caddr_t)ndst, (caddr_t)netmask, 2056 rn = rnh->rnh_addaddr((caddr_t)nds [all...] |
/xnu-2422.115.4/bsd/netinet6/ |
H A D | esp_rijndael.c | 192 m_copydata(m, ivoff, ivlen, (caddr_t) iv); 225 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); 420 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf);
|
H A D | ip6_mroute.h | 329 extern int mrt6_ioctl(u_long, caddr_t);
|
/xnu-2422.115.4/bsd/nfs/ |
H A D | krpc_subr.c | 295 bcopy((caddr_t)sa, (caddr_t)sin, sa->sin_len); 344 bzero((caddr_t)call, sizeof(*call));
|
H A D | nfs_syscalls.c | 497 error = copyout((caddr_t)&nfh, uap->fhp, sizeof(fhandle_t)); 612 fp->f_fglob->fg_data = (caddr_t)vp; 626 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx, NULL))) { 682 error = copyin(uap->argp, (caddr_t)&user_nfsdarg, sizeof(user_nfsdarg)); 685 error = copyin(uap->argp, (caddr_t)&tmp_args, sizeof(tmp_args)); 792 bzero((caddr_t)slp, sizeof (struct nfsrv_sock)); 1259 error = copyin(argp, (caddr_t)&unxa, sizeof(unxa)); 1262 error = copyin(argp, (caddr_t)&tnxa, sizeof(tnxa));
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_syscalls.c | 692 if ( (error = copyin(fsmountargs, (caddr_t)&devpath, sizeof(devpath))) ) 697 if ( (error = copyin(fsmountargs, (caddr_t)&tmp, sizeof(tmp))) ) 994 FREE_ZONE((caddr_t)mp, sizeof (struct mount), M_MOUNT); 1055 FREE_ZONE((caddr_t)mp, sizeof (struct mount), M_MOUNT); 1394 if ( (error = copyin(fsmountargs, (caddr_t)&devpath, sizeof(devpath))) ) 1398 if ( (error = copyin(fsmountargs, (caddr_t)&tmp, sizeof(tmp))) ) 1834 msleep((caddr_t)mp, &mp->mnt_mlock, (PVFS | PDROP), "dounmount", NULL); 1969 wakeup((caddr_t)mp); 2007 wakeup((caddr_t)mp); 2033 FREE_ZONE((caddr_t)m [all...] |
/xnu-2422.115.4/bsd/miscfs/devfs/ |
H A D | devfs_fdesc_support.c | 237 msleep((caddr_t) &fdcache_lock, &fdesc_mtx, PINOD, "fdesc_allocvp", NULL); 283 wakeup((caddr_t) &fdcache_lock); 581 bzero((caddr_t) dp, UIO_MX); 591 error = uiomove((caddr_t) dp, UIO_MX, uio);
|
/xnu-2422.115.4/bsd/miscfs/mockfs/ |
H A D | mockfs_vfsops.c | 101 if (!VNOP_IOCTL(rvp, DKIOCGETMEMDEVINFO, (caddr_t)&memdev_info, 0, NULL)) {
|
/xnu-2422.115.4/bsd/net/altq/ |
H A D | altq_fairq.c | 237 if ((error = copyout((caddr_t)&stats, (user_addr_t)(uintptr_t)ubuf,
|
H A D | altq_priq.c | 202 if ((error = copyout((caddr_t)&stats, (user_addr_t)(uintptr_t)ubuf,
|
H A D | altq_qfq.c | 173 if ((error = copyout((caddr_t)&stats, (user_addr_t)(uintptr_t)ubuf,
|
/xnu-2422.115.4/tools/tests/memorystatus/ |
H A D | memorystatus.c | 99 extern int ledger(int cmd, caddr_t arg1, caddr_t arg2, caddr_t arg3); 390 if ((ledger(LEDGER_ENTRY_INFO, arg, (caddr_t)lei, (caddr_t)&count) >= 0) && (g_footprint_index < count)) { 1658 if (ledger(LEDGER_INFO, arg, (caddr_t)&li, NULL) < 0) { 1669 if (!(ledger(LEDGER_TEMPLATE_INFO, (caddr_t)templateInfo, (caddr_t)&template_cnt, NULL) < 0)) {
|