Searched refs:LOS_IsUserAddress (Results 1 – 15 of 15) sorted by relevance
94 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()
416 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()
240 STATIC INLINE BOOL LOS_IsUserAddress(VADDR_T vaddr) in LOS_IsUserAddress() function248 … return (vaddr + len > vaddr) && LOS_IsUserAddress(vaddr) && (LOS_IsUserAddress(vaddr + len - 1)); in LOS_IsUserAddressRange()
44 if ((!LOS_IsUserAddress((VADDR_T)(UINTPTR)src)) || (count <= 0)) { in LOS_StrnlenUser()
44 …if ((!LOS_IsKernelAddress((VADDR_T)(UINTPTR)dst)) || (!LOS_IsUserAddress((VADDR_T)(UINTPTR)src)) |… in LOS_StrncpyFromUser()
355 if (LOS_IsUserAddress((vaddr_t)excBufAddr->PC)) { in OsExcSysInfo()718 if (LOS_IsUserAddress((VADDR_T)ip) == FALSE) { in OsGetUsrIpInfo()
154 if ((endPtr == NULL) || (*endPtr != 0) || !LOS_IsUserAddress(vaddr)) { in OsShellCmdV2P()
1285 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()
357 if (((flags & VM_MAP_PF_FLAG_USER) != 0) && (!LOS_IsUserAddress(vaddr))) { in OsVmPageFaultHandler()
69 } else if (LOS_IsUserAddress(vaddr)) { in LOS_SpaceGet()485 } else if (LOS_IsUserAddress((VADDR_T)(UINTPTR)vaddr)) { in LOS_PaddrQuery()
1602 if (!LOS_IsUserAddress((VADDR_T)(uintptr_t)buf_bak)) {1636 if (LOS_IsUserAddress((VADDR_T)(uintptr_t)argp)) {
1173 if (!LOS_IsUserAddress((unsigned long)(uintptr_t)area)) { in SysSetThreadArea()
1611 if (!LOS_IsUserAddress(name)) { in SysPrctl()
920 && !LOS_IsUserAddress(arg)) { in ConsoleIoctl()
743 if (LOS_IsUserAddress((vaddr_t)(UINTPTR)(obj->content.ptr.buff)) == FALSE) { in HandlePtr()