Searched refs:userBuf (Results 1 – 1 of 1) sorted by relevance
648 BOOL userBuf = FALSE; in ConsoleRead() local660 userBuf = LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buffer, bufLen); in ConsoleRead()678 sbuffer = userBuf ? LOS_MemAlloc(m_aucSysMem0, bufLen) : buffer; in ConsoleRead()689 if (userBuf) { in ConsoleRead()701 if ((userBuf) && (sbuffer != NULL)) { in ConsoleRead()748 BOOL userBuf = FALSE; in ConsoleWrite() local762 userBuf = LOS_IsUserAddressRange((vaddr_t)(UINTPTR)buffer, bufLen); in ConsoleWrite()776 sbuffer = userBuf ? LOS_MemAlloc(m_aucSysMem0, bufLen) : (CHAR *)buffer; in ConsoleWrite()782 if (userBuf && (LOS_ArchCopyFromUser(sbuffer, buffer, bufLen) != 0)) { in ConsoleWrite()788 if (userBuf) { in ConsoleWrite()[all …]