Home
last modified time | relevance | path

Searched refs:copyinstr (Results 1 – 25 of 28) sorted by relevance

12

/xnu-8020.140.41/bsd/tests/
H A Dcopyio_tests.c215 return copyinstr((user_addr_t)data->kern_addr, in_buf, copyio_test_buf_size, lencopied); in copyinstr_from_kernel()
227 int err = copyinstr(data->user_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test()
238 err = copyinstr(data->user_addr, in_buf, trunc_size, &lencopied); in copyinstr_test()
246 err = copyinstr(data->unmapped_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test()
248 err = copyinstr(data->user_lastpage_addr, in_buf, PAGE_SIZE * 2, &lencopied); in copyinstr_test()
269 err = copyinstr(data->user_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test()
279 err = copyinstr(user_unterminated_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test()
/xnu-8020.140.41/bsd/man/man9/
H A DMakefile17 copyinstr.9 \
/xnu-8020.140.41/bsd/kern/
H A Dkern_xxx.c125 int copy_error = copyinstr(uap->msg, (void *)message, sizeof(message), (size_t *)&dummy); in reboot()
H A Dposix_sem.c409 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); in sem_open()
719 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); in sem_unlink()
H A Dsys_persona.c123 error = copyinstr(path, (void *)pna_path, MAXPATHLEN, &pathlen); in kpersona_alloc_syscall()
H A Dposix_shm.c319 error = copyinstr(user_addr, &pinfo->pshm_hdr.pshm_name[0], PSHMNAMLEN + 1, &bytes_copied); in pshm_get_name()
H A Dkern_prot.c1669 error = copyinstr(uap->namebuf, in setlogin()
H A Dkern_exec.c429 error = copyinstr(str, imgp->ip_strendp, space, &len); in exec_add_user_string()
498 error = copyinstr(path, imgp->ip_strings + strlen(EXECUTABLE_KEY), len, &len); in exec_save_path()
H A Dkdebug.c1492 err = copyinstr(uap->str, str_buf, MAX_STR_LEN + 1, &len_copied); in kdebug_trace_string()
H A Dkern_credential.c1024 error = copyinstr(extl.el_extend, CAST_DOWN(void *, workp->kr_extend), MAXPATHLEN, &actual); in kauth_resolver_complete()
H A Dkern_sig.c1558 error = copyinstr(reason_string, (void *) reason_user_desc, in build_userspace_exit_reason()
/xnu-8020.140.41/osfmk/kern/
H A Dmisc_protos.h147 extern int copyinstr(
/xnu-8020.140.41/bsd/libkern/
H A Dlibkern.h202 int copyinstr(const user_addr_t uaddr, void *kaddr, size_t len, size_t *done) OS_WARN_RESULT;
/xnu-8020.140.41/osfmk/arm64/
H A Dcopyio.c326 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) in copyinstr() function
/xnu-8020.140.41/osfmk/kperf/
H A Dthread_samplers.c359 if ((error = copyinstr((user_addr_t)user_dqlbl_addr, in kperf_thread_dispatch_sample()
/xnu-8020.140.41/security/
H A Dmac_base.c1189 if ((error = copyinstr(mac.m_string, input, len, &ulen))) { in mac_do_get()
1225 if ((error = copyinstr(mac.m_string, input, len, &ulen))) { in mac_do_set()
1575 error = copyinstr(uap->policy, target, sizeof(target), &ulen); in __mac_syscall()
/xnu-8020.140.41/bsd/vfs/
H A Dvfs_syscalls.c430 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in fmount()
523 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in __mac_mount()
582 error = copyinstr(mac.m_string, labelstr, mac.m_buflen, &ulen); in __mac_mount()
2983 error = copyinstr(uap->arg, datap, MAXPATHLEN, &fnamelen); in quotactl()
4024 …error = copyinstr(uap->new_rootfs_path_before, &new_rootfs_path_before[0], PATHSTATICBUFLEN, &byte… in pivot_root()
4027 …error = copyinstr(uap->new_rootfs_path_before, new_rootfs_path_before_buf, MAXPATHLEN, &bytes_copi… in pivot_root()
4034 …error = copyinstr(uap->old_rootfs_path_after, &old_rootfs_path_after[0], PATHSTATICBUFLEN, &bytes_… in pivot_root()
4037 …error = copyinstr(uap->old_rootfs_path_after, old_rootfs_path_after_buf, MAXPATHLEN, &bytes_copied… in pivot_root()
4315 (void)copyinstr(ndp->ni_dirp, in open1()
5295 error = copyinstr(path_data, path, MAXPATHLEN, &dummy); in symlinkat_internal()
[all …]
H A Dvfs_lookup.c252 error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, in namei()
/xnu-8020.140.41/osfmk/x86_64/
H A Dcopyio.c504 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) in copyinstr() function
/xnu-8020.140.41/bsd/miscfs/bindfs/
H A Dbind_vfsops.c150 error = copyinstr(user_data, data, MAXPATHLEN - 1, &count); in bindfs_mount()
/xnu-8020.140.41/bsd/miscfs/nullfs/
H A Dnull_vfsops.c161 error = copyinstr(user_data + sizeof(conf), path, MAXPATHLEN - 1, &count); in nullfs_mount()
/xnu-8020.140.41/osfmk/arm/
H A Dmachine_routines_asm.s731 .globl EXT(copyinstr)
732 LEXT(copyinstr)
/xnu-8020.140.41/bsd/dev/dtrace/
H A Ddtrace_glue.c994 int error = copyinstr((const user_addr_t)src, (char *)dst, (vm_size_t)len, &actual); in dtrace_copyinstr()
/xnu-8020.140.41/bsd/nfs/
H A Dnfs_subs.c3151 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); in nfsrv_export()
3227 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); in nfsrv_export()
3375 error = copyinstr(unxa->nxa_exppath, path, MAXPATHLEN, &pathlen); in nfsrv_export()
H A Dnfs_syscalls.c551 error = copyinstr(uap->fname, path, MAXPATHLEN, &pathlen); in getfh()

12