Home
last modified time | relevance | path

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

123

/xnu-8020.101.4/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-8020.101.4/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()
1813 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
1922 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
2358 CAST_USER_ADDR_T(psfa->psfaa_openargs.psfao_path), in exec_handle_file_actions()
2498 CAST_USER_ADDR_T(psfa->psfaa_chdirargs.psfac_path), in exec_handle_file_actions()
3142 px_args.attrp = CAST_USER_ADDR_T(px_args32.attrp); in posix_spawn()
3144 px_args.file_actions = CAST_USER_ADDR_T(px_args32.file_actions); in posix_spawn()
3146 px_args.port_actions = CAST_USER_ADDR_T(px_args32.port_actions); in posix_spawn()
3148 px_args.mac_extensions = CAST_USER_ADDR_T(px_args32.mac_extensions); in posix_spawn()
3150 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()
736 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-8020.101.4/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-8020.101.4/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()
3402 CAST_USER_ADDR_T(uap->path), &al, in getattrlist()
3403 CAST_USER_ADDR_T(uap->attributeBuffer), uap->bufferSize, in getattrlist()
3425 CAST_USER_ADDR_T(uap->path), &al, in getattrlistat()
3426 CAST_USER_ADDR_T(uap->attributeBuffer), uap->bufferSize, in getattrlistat()
3498 uio_addiov(rdir_uio, CAST_USER_ADDR_T(fvd->fv_buf), rdirbufsiz); in refill_fd_direntries()
3849 name_buffer = CAST_USER_ADDR_T(max_path_name_buf); in readdirattr()
[all …]
H A Dvfs_syscalls.c294 UIO_SYSSPACE, CAST_USER_ADDR_T(path), ctx); in kernel_mount()
321 error = mount_common(fstype, pvp, vp, &nd.ni_cnd, CAST_USER_ADDR_T(data), in kernel_mount()
995 devpath = CAST_USER_ADDR_T(devnamep); in mount_common()
1016 devpath = CAST_USER_ADDR_T(tmp); in mount_common()
1906 devpath = CAST_USER_ADDR_T(tmp); in relocate_imageboot_source()
2080 CAST_USER_ADDR_T(qfpath), ctx); in enablequotas()
6174 CAST_USER_ADDR_T(((const char *)input) + input[i].ad_name_offset), in access_extended()
6804 vp, 0, procseg, CAST_USER_ADDR_T(uap->buf), in freadlink()
6819 CAST_USER_ADDR_T(uap->path), procseg, CAST_USER_ADDR_T(uap->buf), in readlink()
6830 CAST_USER_ADDR_T(uap->path), procseg, uap->buf, uap->bufsize, procseg, in readlinkat()
[all …]
/xnu-8020.101.4/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-8020.101.4/bsd/i386/
H A Dtypes.h108 #define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr))) macro
/xnu-8020.101.4/bsd/arm/
H A Dtypes.h95 #define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr))) macro
/xnu-8020.101.4/osfmk/arm/
H A Dstatus.c684 *user_stack = CAST_USER_ADDR_T(state->sp); in thread_userstack()
689 *user_stack = CAST_USER_ADDR_T(USRSTACK); in thread_userstack()
803 *entry_point = CAST_USER_ADDR_T(state->pc); in thread_entrypoint()
805 *entry_point = CAST_USER_ADDR_T(VM_MIN_ADDRESS); in thread_entrypoint()
/xnu-8020.101.4/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-8020.101.4/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.c1371 CAST_USER_ADDR_T(((struct ifmediareq64 *)ifmr)->ifmu_ulist) : in headless_ioctl()
1372 CAST_USER_ADDR_T(((struct ifmediareq32 *)ifmr)->ifmu_ulist); in headless_ioctl()
1421 user_addr = CAST_USER_ADDR_T(drv.ifdrvu_32->ifd_data); in headless_ioctl()
1425 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.c1738 error = ifconf(cmd, CAST_USER_ADDR_T(ifc.ifc_req), in ifioctl_ifconf()
1748 error = ifconf(cmd, CAST_USER_ADDR_T(ifc.ifc_req), &ifc.ifc_len); in ifioctl_ifconf()
1771 CAST_USER_ADDR_T(ifcr.ifcru_buffer)); in ifioctl_ifclone()
1780 CAST_USER_ADDR_T(ifcr.ifcru_buffer)); in ifioctl_ifclone()
2268 CAST_USER_ADDR_T(u.s64.ifar_uuids)); in ifioctl_netagent()
2442 error = copyin(CAST_USER_ADDR_T(ifo->ifo_ordered_indices), in ifioctl_iforder()
2697 CAST_USER_ADDR_T(ifpl.ifpl_list)); in ifioctl_protolist()
2710 CAST_USER_ADDR_T(ifpl.ifpl_list)); in ifioctl_protolist()
2835 CAST_USER_ADDR_T(((struct ifmediareq64 *)ifmr)->ifmu_ulist) : in compat_ifmu_ulist()
2836 CAST_USER_ADDR_T(((struct ifmediareq32 *)ifmr)->ifmu_ulist); in compat_ifmu_ulist()
/xnu-8020.101.4/osfmk/arm64/
H A Dstatus.c1748 *user_stack = CAST_USER_ADDR_T(sp); in thread_userstack()
1753 *user_stack = CAST_USER_ADDR_T(USRSTACK64); in thread_userstack()
1863 *entry_point = CAST_USER_ADDR_T(state->pc); in thread_entrypoint()
1865 *entry_point = CAST_USER_ADDR_T(VM_MIN_ADDRESS); in thread_entrypoint()
1884 *entry_point = CAST_USER_ADDR_T(state->pc); in thread_entrypoint()
1886 *entry_point = CAST_USER_ADDR_T(VM_MIN_ADDRESS); in thread_entrypoint()
/xnu-8020.101.4/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()
/xnu-8020.101.4/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-8020.101.4/bsd/vm/
H A Dvm_compressor_backing_file.c107 error = unlink1(context, NULLVP, CAST_USER_ADDR_T(path_addr), in vm_swapfile_close()
/xnu-8020.101.4/bsd/dev/arm/
H A Dunix_signal.c371 sp = CAST_USER_ADDR_T(ts.ts64.ss.sp); in sendsig()
376 sp = CAST_USER_ADDR_T(ts.ts32.ss.sp); in sendsig()

123