Home
last modified time | relevance | path

Searched refs:LOS_IsUserAddress (Results 1 – 15 of 15) sorted by relevance

/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_exec_elf.c94 if (LOS_IsUserAddress((VADDR_T)(UINTPTR)fileName)) { in OsCopyUserParam()
126 if ((fileName == NULL) || ((argv != NULL) && !LOS_IsUserAddress((VADDR_T)(UINTPTR)argv)) || in LOS_DoExecveFile()
127 ((envp != NULL) && !LOS_IsUserAddress((VADDR_T)(UINTPTR)envp))) { in LOS_DoExecveFile()
Dlos_load_elf.c416 if (!LOS_IsUserAddress((VADDR_T)mapAddr)) { in OsDoMmapFile()
473 if (!LOS_IsUserAddress((VADDR_T)mapBase)) { in OsSetBss()
512 if (!LOS_IsUserAddress((VADDR_T)mapAddr)) { in OsMmapELFFile()
1002 if (!LOS_IsUserAddress((VADDR_T)loadInfo->stackTop)) { in OsLoadELFSegment()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h240 STATIC INLINE BOOL LOS_IsUserAddress(VADDR_T vaddr) in LOS_IsUserAddress() function
248 … return (vaddr + len > vaddr) && LOS_IsUserAddress(vaddr) && (LOS_IsUserAddress(vaddr + len - 1)); in LOS_IsUserAddressRange()
/kernel/liteos_a/arch/arm/arm/src/
Dstrnlen_user.c44 if ((!LOS_IsUserAddress((VADDR_T)(UINTPTR)src)) || (count <= 0)) { in LOS_StrnlenUser()
Dstrncpy_from_user.c44 …if ((!LOS_IsKernelAddress((VADDR_T)(UINTPTR)dst)) || (!LOS_IsUserAddress((VADDR_T)(UINTPTR)src)) |… in LOS_StrncpyFromUser()
Dlos_exc.c355 if (LOS_IsUserAddress((vaddr_t)excBufAddr->PC)) { in OsExcSysInfo()
718 if (LOS_IsUserAddress((VADDR_T)ip) == FALSE) { in OsGetUsrIpInfo()
/kernel/liteos_a/kernel/base/misc/
Dvm_shellcmd.c154 if ((endPtr == NULL) || (*endPtr != 0) || !LOS_IsUserAddress(vaddr)) { in OsShellCmdV2P()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c1285 if (LOS_IsUserAddress((VADDR_T)(UINTPTR)name)) { in OsSetTaskName()
1352 if ((processID == OS_INVALID_VALUE) && !LOS_IsUserAddress(userParam->userArea)) { in OsCreateUserTaskParamCheck()
1356 if (!LOS_IsUserAddress((UINTPTR)param->pfnTaskEntry)) { in OsCreateUserTaskParamCheck()
1364 if (!LOS_IsUserAddress(userParam->userSP)) { in OsCreateUserTaskParamCheck()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_fault.c357 if (((flags & VM_MAP_PF_FLAG_USER) != 0) && (!LOS_IsUserAddress(vaddr))) { in OsVmPageFaultHandler()
Dlos_vm_map.c69 } else if (LOS_IsUserAddress(vaddr)) { in LOS_SpaceGet()
485 } else if (LOS_IsUserAddress((VADDR_T)(UINTPTR)vaddr)) { in LOS_PaddrQuery()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsockets.c1602 if (!LOS_IsUserAddress((VADDR_T)(uintptr_t)buf_bak)) {
1636 if (LOS_IsUserAddress((VADDR_T)(uintptr_t)argp)) {
/kernel/liteos_a/syscall/
Dprocess_syscall.c1173 if (!LOS_IsUserAddress((unsigned long)(uintptr_t)area)) { in SysSetThreadArea()
Dfs_syscall.c1611 if (!LOS_IsUserAddress(name)) { in SysPrctl()
/kernel/liteos_a/kernel/common/
Dconsole.c920 && !LOS_IsUserAddress(arg)) { in ConsoleIoctl()
/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c743 if (LOS_IsUserAddress((vaddr_t)(UINTPTR)(obj->content.ptr.buff)) == FALSE) { in HandlePtr()