Home
last modified time | relevance | path

Searched refs:CAST_USER_ADDR_T (Results 1 – 25 of 72) sorted by relevance

123

/xnu-8019.80.24/bsd/sys/
H A Dsignalvar.h82 #define KERN_SIG_CATCH CAST_USER_ADDR_T(2)
83 #define KERN_SIG_HOLD CAST_USER_ADDR_T(3)
84 #define KERN_SIG_WAIT CAST_USER_ADDR_T(4)
/xnu-8019.80.24/bsd/kern/
H A Dkern_physio.c191 error = vslock(CAST_USER_ADDR_T(buf_dataptr(bp)), in physio()
210 vsunlock(CAST_USER_ADDR_T(buf_dataptr(bp)), in physio()
H A Dkern_exec.c665 exec_save_path(imgp, CAST_USER_ADDR_T(imgp->ip_interp_buffer), in exec_shell_imgact()
1812 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
1921 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
2374 CAST_USER_ADDR_T(psfa->psfaa_openargs.psfao_path), in exec_handle_file_actions()
2514 CAST_USER_ADDR_T(psfa->psfaa_chdirargs.psfac_path), in exec_handle_file_actions()
3158 px_args.attrp = CAST_USER_ADDR_T(px_args32.attrp); in posix_spawn()
3160 px_args.file_actions = CAST_USER_ADDR_T(px_args32.file_actions); in posix_spawn()
3162 px_args.port_actions = CAST_USER_ADDR_T(px_args32.port_actions); in posix_spawn()
3164 px_args.mac_extensions = CAST_USER_ADDR_T(px_args32.mac_extensions); in posix_spawn()
3166 px_args.coal_info = CAST_USER_ADDR_T(px_args32.coal_info); in posix_spawn()
[all …]
H A Dkpi_socket.c525 sopt.sopt_val = CAST_USER_ADDR_T(optval); in sock_getsockopt()
554 sopt.sopt_val = CAST_USER_ADDR_T(optval); in sock_setsockopt()
617 sopt.sopt_val = CAST_USER_ADDR_T(&sotc); in sock_settclassopt()
641 sopt.sopt_val = CAST_USER_ADDR_T(optval); in sock_settclassopt()
678 sopt.sopt_val = CAST_USER_ADDR_T(optval); in sock_gettclassopt()
742 CAST_USER_ADDR_T((tempp + i)->iov_base), in sock_receive_internal()
881 CAST_USER_ADDR_T((tempp + i)->iov_base), in sock_send_internal()
H A Dimageboot.c523 NDINIT(&ndp, LOOKUP, OP_OPEN, LOCKLEAF, UIO_SYSSPACE, CAST_USER_ADDR_T(filename), ctx); in ubc_getobject_from_filename()
573 NDINIT(&ndp, LOOKUP, OP_OPEN, LOCKLEAF | FOLLOW, UIO_SYSSPACE, CAST_USER_ADDR_T(path), ctx); in imageboot_read_file_internal()
732 NDINIT(&ndp, LOOKUP, OP_OPEN, LOCKLEAF, UIO_SYSSPACE, CAST_USER_ADDR_T(path), ctx); in imgboot_get_image_file()
H A Dkern_aio.c1255 sigev->sigev_notify_function = CAST_USER_ADDR_T(sigevent32.sigev_notify_function); in aio_copy_in_sigev()
1256 sigev->sigev_notify_attributes = CAST_USER_ADDR_T(sigevent32.sigev_notify_attributes); in aio_copy_in_sigev()
2210 the_user_aiocbp->aio_buf = CAST_USER_ADDR_T(my_aiocbp->aio_buf); in do_munge_aiocb_user32_to_user()
2227 CAST_USER_ADDR_T(my_aiocbp->aio_sigevent.sigev_notify_function); in do_munge_aiocb_user32_to_user()
2229 CAST_USER_ADDR_T(my_aiocbp->aio_sigevent.sigev_notify_attributes); in do_munge_aiocb_user32_to_user()
/xnu-8019.80.24/osfmk/ipc/
H A Dmach_kernelrpc.c295 if ((rv = mach_copyin(CAST_USER_ADDR_T(args->count), &count, sizeof(count)))) { in _kernelrpc_mach_port_get_attributes_trap()
304 rv = mach_copyout(&count, CAST_USER_ADDR_T(args->count), sizeof(count)); in _kernelrpc_mach_port_get_attributes_trap()
307 rv = mach_copyout(info, CAST_USER_ADDR_T(args->info), count * sizeof(info[0])); in _kernelrpc_mach_port_get_attributes_trap()
510 if ((kr = mach_copyin(CAST_USER_ADDR_T(args->recipes), (void *)krecipes, args->recipes_size))) { in host_create_mach_voucher_trap()
564 if ((kr = mach_copyin(CAST_USER_ADDR_T(args->recipe), (void *)krecipe, max_sz))) { in mach_voucher_extract_attr_recipe_trap()
573 kr = mach_copyout(krecipe, CAST_USER_ADDR_T(args->recipe), sz); in mach_voucher_extract_attr_recipe_trap()
/xnu-8019.80.24/bsd/vfs/
H A Dvfs_quota.c398 uio_addiov(auio, CAST_USER_ADDR_T(&header), sizeof(header)); in dqfileopen()
447 uio_addiov(auio, CAST_USER_ADDR_T(&header), sizeof(header)); in dqfileclose()
455 uio_addiov(auio, CAST_USER_ADDR_T(&header), sizeof(header)); in dqfileclose()
789 uio_addiov(auio, CAST_USER_ADDR_T(dqb), sizeof(struct dqblk)); in dqlookup()
811 uio_addiov(auio, CAST_USER_ADDR_T(dqb), sizeof(struct dqblk)); in dqlookup()
1004 uio_addiov(auio, CAST_USER_ADDR_T(&dqb), sizeof(struct dqblk)); in dqsync_locked()
H A Dvfs_attrlist.c885 uio_addiov(auio, CAST_USER_ADDR_T(fndrinfo), 32); in setattrlist_setfinderinfo()
1209 CAST_USER_ADDR_T(attributeBuffer), num_bytes_valid); in getvolattrlist()
1586 error = copyout(ab.base, CAST_USER_ADDR_T(attributeBuffer), in getvolattrlist()
1837 uio_addiov(auio, CAST_USER_ADDR_T(abp->fixedcursor), in attr_pack_common()
3398 CAST_USER_ADDR_T(uap->path), &al, in getattrlist()
3399 CAST_USER_ADDR_T(uap->attributeBuffer), uap->bufferSize, in getattrlist()
3421 CAST_USER_ADDR_T(uap->path), &al, in getattrlistat()
3422 CAST_USER_ADDR_T(uap->attributeBuffer), uap->bufferSize, in getattrlistat()
3494 uio_addiov(rdir_uio, CAST_USER_ADDR_T(fvd->fv_buf), rdirbufsiz); in refill_fd_direntries()
3845 name_buffer = CAST_USER_ADDR_T(max_path_name_buf); in readdirattr()
[all …]
/xnu-8019.80.24/security/
H A Dmac_vfs_subr.c181 uio_addiov(auio, CAST_USER_ADDR_T(buf), len); in mac_vnop_setxattr()
207 uio_addiov(auio, CAST_USER_ADDR_T(buf), len); in mac_vnop_getxattr()
/xnu-8019.80.24/bsd/i386/
H A Dtypes.h108 #define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr))) macro
/xnu-8019.80.24/bsd/arm/
H A Dtypes.h95 #define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr))) macro
/xnu-8019.80.24/osfmk/arm/
H A Dstatus.c680 *user_stack = CAST_USER_ADDR_T(state->sp); in thread_userstack()
685 *user_stack = CAST_USER_ADDR_T(USRSTACK); in thread_userstack()
799 *entry_point = CAST_USER_ADDR_T(state->pc); in thread_entrypoint()
801 *entry_point = CAST_USER_ADDR_T(VM_MIN_ADDRESS); in thread_entrypoint()
/xnu-8019.80.24/libkern/
H A DOSKextLib.cpp324 CAST_USER_ADDR_T(response), responseLength, in kext_request()
344 CAST_USER_ADDR_T(logData), logDataLength, in kext_request()
/xnu-8019.80.24/bsd/net/
H A Dif_6lowpan.c746 CAST_USER_ADDR_T(ifr->ifr_data64) : in sixlowpan_ioctl()
747 CAST_USER_ADDR_T(ifr->ifr_data); in sixlowpan_ioctl()
786 CAST_USER_ADDR_T(ifr->ifr_data64) : in sixlowpan_ioctl()
787 CAST_USER_ADDR_T(ifr->ifr_data); in sixlowpan_ioctl()
H A Dif_headless.c1372 CAST_USER_ADDR_T(((struct ifmediareq64 *)ifmr)->ifmu_ulist) : in headless_ioctl()
1373 CAST_USER_ADDR_T(((struct ifmediareq32 *)ifmr)->ifmu_ulist); in headless_ioctl()
1422 user_addr = CAST_USER_ADDR_T(drv.ifdrvu_32->ifd_data); in headless_ioctl()
1426 user_addr = CAST_USER_ADDR_T(drv.ifdrvu_64->ifd_data); in headless_ioctl()
H A Dndrv.c703 user_addr = CAST_USER_ADDR_T(ndrvSpec64.demux_list); in ndrv_setspec()
720 user_addr = CAST_USER_ADDR_T(ndrvSpec32.demux_list); in ndrv_setspec()
H A Dif.c1741 error = ifconf(cmd, CAST_USER_ADDR_T(ifc.ifc_req), in ifioctl_ifconf()
1751 error = ifconf(cmd, CAST_USER_ADDR_T(ifc.ifc_req), &ifc.ifc_len); in ifioctl_ifconf()
1774 CAST_USER_ADDR_T(ifcr.ifcru_buffer)); in ifioctl_ifclone()
1783 CAST_USER_ADDR_T(ifcr.ifcru_buffer)); in ifioctl_ifclone()
2271 CAST_USER_ADDR_T(u.s64.ifar_uuids)); in ifioctl_netagent()
2445 error = copyin(CAST_USER_ADDR_T(ifo->ifo_ordered_indices), in ifioctl_iforder()
2700 CAST_USER_ADDR_T(ifpl.ifpl_list)); in ifioctl_protolist()
2713 CAST_USER_ADDR_T(ifpl.ifpl_list)); in ifioctl_protolist()
2838 CAST_USER_ADDR_T(((struct ifmediareq64 *)ifmr)->ifmu_ulist) : in compat_ifmu_ulist()
2839 CAST_USER_ADDR_T(((struct ifmediareq32 *)ifmr)->ifmu_ulist); in compat_ifmu_ulist()
/xnu-8019.80.24/osfmk/arm64/
H A Dstatus.c1591 *user_stack = CAST_USER_ADDR_T(sp); in thread_userstack()
1596 *user_stack = CAST_USER_ADDR_T(USRSTACK64); in thread_userstack()
1706 *entry_point = CAST_USER_ADDR_T(state->pc); in thread_entrypoint()
1708 *entry_point = CAST_USER_ADDR_T(VM_MIN_ADDRESS); in thread_entrypoint()
1727 *entry_point = CAST_USER_ADDR_T(state->pc); in thread_entrypoint()
1729 *entry_point = CAST_USER_ADDR_T(VM_MIN_ADDRESS); in thread_entrypoint()
/xnu-8019.80.24/bsd/nfs/
H A Dnfs_syscalls.c569 UIO_SYSSPACE, CAST_USER_ADDR_T(path), vfs_context_current()); in getfh()
876 user_nfsdarg.name = CAST_USER_ADDR_T(tmp_args.name); in nfssvc()
1557 unxa.nxa_fspath = CAST_USER_ADDR_T(tnxa.nxa_fspath); in nfssvc_export()
1558 unxa.nxa_exppath = CAST_USER_ADDR_T(tnxa.nxa_exppath); in nfssvc_export()
1561 unxa.nxa_nets = CAST_USER_ADDR_T(tnxa.nxa_nets); in nfssvc_export()
H A Dnfs_boot.c1141 if ((error = VFS_MOUNT(mp, vp, CAST_USER_ADDR_T(xdrbuf), ctx))) { in nfs_mount_diskless()
1217 CAST_USER_ADDR_T(mntname), ctx); in nfs_mount_diskless_private()
1410 if ((error = VFS_MOUNT(mp, vp, CAST_USER_ADDR_T(xdrbuf), ctx))) { in nfs_mount_diskless_private()
H A Dnfs_serv.c807 uio_addiov(auio, CAST_USER_ADDR_T((caddr_t)mbuf_data(mp)), mbuf_len(mp)); in nfsrv_readlink()
1016 uio_addiov(auio, CAST_USER_ADDR_T((caddr_t)mbuf_data(m)), mbuf_len(m)); in nfsrv_read()
1421 uio_addiov(auio, CAST_USER_ADDR_T((caddr_t)mbuf_data(m)), mlen); in nfsrv_write()
1735 uio_addiov(auio, CAST_USER_ADDR_T((caddr_t)mbuf_data(m)), tlen); in nfsrv_writegather()
2819 NDINIT(&fromni, DELETE, OP_UNLINK, WANTPARENT, UIO_SYSSPACE, CAST_USER_ADDR_T(frompath), ctx); in nfsrv_rename()
2850 NDINIT(&toni, RENAME, OP_RENAME, WANTPARENT, UIO_SYSSPACE, CAST_USER_ADDR_T(topath), ctx); in nfsrv_rename()
3429 NDINIT(&ni, CREATE, OP_LINK, LOCKPARENT, UIO_SYSSPACE, CAST_USER_ADDR_T(vnode_getname(vp)), ctx); in nfsrv_link()
3632 uio_addiov(auio, CAST_USER_ADDR_T(linkdata), linkdatalen); in nfsrv_symlink()
4298 uio_addiov(auio, CAST_USER_ADDR_T(rbuf), fullsiz); in nfsrv_readdir()
4547 uio_addiov(auio, CAST_USER_ADDR_T(rbuf), fullsiz); in nfsrv_readdirplus()
/xnu-8019.80.24/bsd/dev/vn/
H A Dvn.c259 uio_addiov(auio, CAST_USER_ADDR_T(base), count); in file_io()
1251 vnio.vn_file = CAST_USER_ADDR_T(path); in vndevice_root_image()
1385 to->vn_file = CAST_USER_ADDR_T(from->vn_file); in vn_ioctl_to_64()
/xnu-8019.80.24/bsd/vm/
H A Dvm_compressor_backing_file.c107 error = unlink1(context, NULLVP, CAST_USER_ADDR_T(path_addr), in vm_swapfile_close()
/xnu-8019.80.24/bsd/dev/arm/
H A Dunix_signal.c360 sp = CAST_USER_ADDR_T(ts.ts64.ss.sp); in sendsig()
365 sp = CAST_USER_ADDR_T(ts.ts32.ss.sp); in sendsig()

123