Searched refs:LOS_IsUserAddressRange (Results 1 – 14 of 14) sorted by relevance
/kernel/liteos_a/arch/arm/arm/src/ |
D | user_copy.c | 47 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()
|
D | strnlen_user.c | 48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrnlenUser()
|
D | strncpy_from_user.c | 48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrncpyFromUser()
|
/kernel/liteos_a/kernel/extended/hilog/ |
D | los_hilog.c | 134 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/ |
D | process_proc.c | 118 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()
|
D | sys_user.c | 49 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, len)) { in MemUserCopy()
|
D | plimits_proc.c | 267 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, len)) { in MemUserCopy()
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_syscall.c | 61 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/ |
D | fs_syscall.c | 145 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()
|
D | syscall_pub.h | 51 if (!LOS_IsUserAddressRange((VADDR_T)(UINTPTR)ptr, len)) { \
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_map.h | 246 STATIC INLINE BOOL LOS_IsUserAddressRange(VADDR_T vaddr, size_t len) in LOS_IsUserAddressRange() function
|
/kernel/liteos_a/kernel/common/ |
D | console.c | 660 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/ |
D | disk.c | 814 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/ |
D | los_task.c | 1360 …if (userParam->userMapBase && !LOS_IsUserAddressRange(userParam->userMapBase, userParam->userMapSi… in OsCreateUserTaskParamCheck()
|