Home
last modified time | relevance | path

Searched refs:LOS_ArchCopyFromUser (Results 1 – 20 of 20) sorted by relevance

/kernel/liteos_a/syscall/
Dipc_syscall.c99 ret = LOS_ArchCopyFromUser(&ksigev, sigev, sizeof(struct sigevent)); in SysMqNotify()
119 ret = LOS_ArchCopyFromUser(&knew, new, sizeof(struct mq_attr)); in SysMqGetSetAttr()
164 ret = LOS_ArchCopyFromUser(&timeout, absTimeout, sizeof(struct timespec)); in SysMqTimedSend()
176 ret = LOS_ArchCopyFromUser(msgIntr, msg, msgLen); in SysMqTimedSend()
199 ret = LOS_ArchCopyFromUser(&timeout, absTimeout, sizeof(struct timespec)); in SysMqTimedReceive()
269 retVal = LOS_ArchCopyFromUser(&set, &(setl->sig[0]), sizeof(sigset_t)); in SysSigTimedWait()
277 retVal = LOS_ArchCopyFromUser(&timeoutIntr, timeout, sizeof(struct timespec)); in SysSigTimedWait()
309 ret = LOS_ArchCopyFromUser(&set, &(setl->sig[0]), sizeof(sigset_t)); in SysSigPending()
329 retVal = LOS_ArchCopyFromUser(&set, &(setl->sig[0]), sizeof(sigset_t)); in SysSigSuspend()
Dtime_syscall.c73 if (ptimes && LOS_ArchCopyFromUser(&sptimes, ptimes, sizeof(struct utimbuf))) { in SysUtime()
119 if (LOS_ArchCopyFromUser(&svalue, value, sizeof(struct itimerval))) { in SysSetiTimer()
171 if (evp && LOS_ArchCopyFromUser(&ksevp, evp, sizeof(struct ksigevent))) { in SysTimerCreate()
223 if (LOS_ArchCopyFromUser(&svalue, value, sizeof(struct itimerspec))) { in SysTimerSettime()
273 if (LOS_ArchCopyFromUser(&stp, tp, sizeof(struct timespec))) { in SysClockSettime()
337 if (!req || LOS_ArchCopyFromUser(&sreq, req, sizeof(struct timespec))) { in SysClockNanoSleep()
361 if (!rqtp || LOS_ArchCopyFromUser(&srqtp, rqtp, sizeof(struct timespec))) { in SysNanoSleep()
366 if (rmtp && LOS_ArchCopyFromUser(&srmtp, rmtp, sizeof(struct timespec))) { in SysNanoSleep()
416 if (LOS_ArchCopyFromUser(&stp, tp, sizeof(struct timespec64))) { in SysClockSettime64()
497 if (!req || LOS_ArchCopyFromUser(&sreq, req, sizeof(struct timespec64))) { in SysClockNanoSleep64()
[all …]
Dmisc_syscall.c65 ret = LOS_ArchCopyFromUser(&tmpName, name, len); in SysSetHostName()
92 ret = LOS_ArchCopyFromUser(&tmpName, name, sizeof(struct utsname)); in SysUname()
201 ret = LOS_ArchCopyFromUser(&kru, ru, sizeof(struct rusage)); in SysGetrusage()
273 ret = LOS_ArchCopyFromUser(&lim, k_rlim, sizeof(struct rlimit)); in SysSetrlimit()
Dfs_syscall.c165 if (LOS_ArchCopyFromUser(*iovBuf, iov, bufLen) != 0) { in UserIovCopy()
1124 if (LOS_ArchCopyFromUser(readfdsRet, readfds, sizeof(fd_set)) != 0) { in SelectParamCheckCopy()
1131 if (LOS_ArchCopyFromUser(writefdsRet, writefds, sizeof(fd_set)) != 0) { in SelectParamCheckCopy()
1138 if (LOS_ArchCopyFromUser(exceptfdsRet, exceptfds, sizeof(fd_set)) != 0) { in SelectParamCheckCopy()
1166 if (LOS_ArchCopyFromUser(&timeoutRet, timeout, sizeof(struct timeval)) != 0) { in SysSelect()
1563 if (LOS_ArchCopyFromUser(kfds, fds, sizeof(struct pollfd) * nfds) != 0) { in SysPoll()
1689 ret = LOS_ArchCopyFromUser(bufRet, buf, nbytes); in SysPwrite64()
1745 retVal = LOS_ArchCopyFromUser(&offsetRet, offset, sizeof(off_t)); in SysSendFile()
2676 retVal = LOS_ArchCopyFromUser(&set, sigMask, sizeof(sigset_t)); in SysPpoll()
2714 retVal = LOS_ArchCopyFromUser(&(setl.sig[0]), (int *)((UINTPTR)data[0]), sizeof(sigset_t)); in SysPselect6()
[all …]
Dsyscall_pub.c54 if (needCopy && LOS_ArchCopyFromUser(p, ptr, len) != 0) { in DupUserMem()
Dprocess_syscall.c189 if (LOS_ArchCopyFromUser(&param, userParam, sizeof(LosSchedParam)) != 0) { in SysSchedSetScheduler()
307 if (LOS_ArchCopyFromUser(&param, userParam, sizeof(LosSchedParam)) != 0) { in SysSchedSetParam()
1120 ret = LOS_ArchCopyFromUser(safeList, list, size * sizeof(int)); in SysSetGroups()
1153 ret = LOS_ArchCopyFromUser(&(param.userParam), userParam, sizeof(UserTaskParam)); in SysCreateUserThread()
Dsyscall_pub.h113 if (LOS_ArchCopyFromUser((void*)&ptr##cpy, ptr##bak, sizeof(*ptr##bak)) != 0) { \
/kernel/liteos_a/arch/arm/arm/src/
Duser_copy.c42 return LOS_ArchCopyFromUser(dst, src, len); in arch_copy_from_user()
45 size_t LOS_ArchCopyFromUser(void *dst, const void *src, size_t len) in LOS_ArchCopyFromUser() function
/kernel/liteos_a/arch/arm/include/
Duser_copy.h47 size_t LOS_ArchCopyFromUser(void *dst, const void *src, size_t len);
/kernel/liteos_a/fs/proc/os_adapt/
Dsys_user.c55 if (LOS_ArchCopyFromUser(kernelBuf, src, len) != 0) { in MemUserCopy()
Dprocess_proc.c328 if (LOS_ArchCopyFromUser(kbuf, buf, count) != 0) { in ProcTimeContainerWrite()
371 if (LOS_ArchCopyFromUser(des, src, len) != 0) { in MemdupUserNul()
Dplimits_proc.c273 if (LOS_ArchCopyFromUser(kernelBuf, src, len) != 0) { in MemUserCopy()
/kernel/liteos_a/kernel/extended/hilog/
Dlos_hilog.c142 retval = LOS_ArchCopyFromUser(dst, src, minLen); in HiLogBufferCopy()
/kernel/liteos_a/kernel/common/
Dconsole.c782 if (userBuf && (LOS_ArchCopyFromUser(sbuffer, buffer, bufLen) != 0)) { in ConsoleWrite()
808 if (LOS_ArchCopyFromUser(&kerTermios, (struct termios *)arg, sizeof(struct termios)) != 0) { in ConsoleSetSW()
852 if (LOS_ArchCopyFromUser(&consoleCB->pgrpId, (INT32 *)(UINTPTR)arg, sizeof(INT32)) != 0) { in ConsoleSetPgrp()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsockets.c1592 if (LOS_ArchCopyFromUser(&ifc, argp, sizeof(struct ifconf)) != 0) {
1678 if (LOS_ArchCopyFromUser(argp, argpbak, nbytes) != 0) {
/kernel/liteos_a/kernel/base/ipc/
Dlos_signal.c688 if (LOS_ArchCopyFromUser(&action, act, sizeof(sigaction_t)) != LOS_OK) { in OsSigAction()
Dlos_futex.c583 if (LOS_ArchCopyFromUser(&lockVal, userVaddr, sizeof(UINT32))) { in OsFutexWaitTask()
/kernel/liteos_a/kernel/base/vm/
Dshm.c681 ret = LOS_ArchCopyFromUser(&shm_perm, &buf->shm_perm, sizeof(struct ipc_perm)); in ShmCtl()
/kernel/liteos_a/compat/posix/src/
Dmqueue.c491 if (LOS_ArchCopyFromUser(defaultAttr, attr, sizeof(struct mq_attr))) { in GetMqueueAttr()
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c679 err = LOS_ArchCopyFromUser((VOID *)(UINTPTR)(kvaddr + offset), strPtr, strLen); in OsCopyParams()