Home
last modified time | relevance | path

Searched refs:LOS_IsUserAddressRange (Results 1 – 14 of 14) sorted by relevance

/kernel/liteos_a/arch/arm/arm/src/
Duser_copy.c47 if (!LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, len)) { in LOS_ArchCopyFromUser()
61 if (!LOS_IsUserAddressRange((VADDR_T)(UINTPTR)dst, len)) { in LOS_ArchCopyToUser()
72 if (!LOS_IsUserAddressRange((VADDR_T)(UINTPTR)dest, count)) { in LOS_CopyFromKernel()
85 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)src, count)) { in LOS_CopyToKernel()
97 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buf, len)) { in LOS_UserMemClear()
Dstrnlen_user.c48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrnlenUser()
Dstrncpy_from_user.c48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrncpyFromUser()
/kernel/liteos_a/kernel/extended/hilog/
Dlos_hilog.c134 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)dst, minLen) && in HiLogBufferCopy()
135 LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, minLen)) { in HiLogBufferCopy()
139 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)dst, minLen)) { in HiLogBufferCopy()
141 } else if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, minLen)) { in HiLogBufferCopy()
/kernel/liteos_a/fs/proc/os_adapt/
Dprocess_proc.c118 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)buffer, bufLen)) { in ProcessContainerReadLink()
145 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)buffer, bufLen)) { in ProcessContainerReadLink()
322 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)buf, count)) { in ProcTimeContainerWrite()
Dsys_user.c49 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, len)) { in MemUserCopy()
Dplimits_proc.c267 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, len)) { in MemUserCopy()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_syscall.c61 if ((*vaddr != 0) && (!LOS_IsUserAddressRange(*vaddr, len))) { in OsCheckMMapParams()
64 } else if ((!LOS_IsUserAddressRange(*vaddr, len)) || (!IS_ALIGNED(*vaddr, PAGE_SIZE))) { in OsCheckMMapParams()
/kernel/liteos_a/syscall/
Dfs_syscall.c145 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)iov[i].iov_base, iov[i].iov_len)) { in UserIovItemCheck()
259 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buf, nbytes)) { in SysRead()
281 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buf, nbytes)) { in SysWrite()
564 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buf, bufsize)) { in SysReadlink()
996 if (!LOS_IsUserAddressRange((uintptr_t)arg, size)) { in SysIoctl()
1986 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buf, bufsize)) { in SysReadlinkat()
2250 if (!LOS_IsUserAddressRange((VADDR_T)(UINTPTR)de_user, count)) { in SysGetdents64()
Dsyscall_pub.h51 if (!LOS_IsUserAddressRange((VADDR_T)(UINTPTR)ptr, len)) { \
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h246 STATIC INLINE BOOL LOS_IsUserAddressRange(VADDR_T vaddr, size_t len) in LOS_IsUserAddressRange() function
/kernel/liteos_a/kernel/common/
Dconsole.c660 userBuf = LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buffer, bufLen); in ConsoleRead()
762 userBuf = LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buffer, bufLen); in ConsoleWrite()
/kernel/liteos_a/drivers/block/disk/src/
Ddisk.c814 if (LOS_IsUserAddressRange((VADDR_T)buf, count * disk->sector_size)) { in disk_read_directly()
849 if (LOS_IsUserAddressRange((VADDR_T)buf, count * disk->sector_size)) { in disk_write_directly()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c1360 …if (userParam->userMapBase && !LOS_IsUserAddressRange(userParam->userMapBase, userParam->userMapSi… in OsCreateUserTaskParamCheck()