Home
last modified time | relevance | path

Searched refs:copyLen (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/shell/full/src/cmds/
Ddmesg.c175 UINT32 copyLen; in OsCopyToNew() local
195 copyLen = ((bufSize < g_dmesgInfo->logSize) ? bufSize : g_dmesgInfo->logSize); in OsCopyToNew()
206 ret = memcpy_s(newBuf, bufSize, temp + copyStart, copyLen); in OsCopyToNew()
213 return (INT32)copyLen; in OsCopyToNew()
225 INT32 copyLen; in OsDmesgResetMem() local
235 copyLen = OsCopyToNew(addr, size); in OsDmesgResetMem()
236 if (copyLen < 0) { in OsDmesgResetMem()
244 g_dmesgInfo->logSize = copyLen; in OsDmesgResetMem()
245 g_dmesgInfo->logTail = ((copyLen == g_logBufSize) ? 0 : copyLen); in OsDmesgResetMem()
266 INT32 copyLen; in OsDmesgChangeSize() local
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch148502 + gctUINT32 copyLen;
148539 + copyLen = copy_from_user(
148543 + if (copyLen != 0)
148568 + copyLen = copy_from_user(
148572 + if (copyLen != 0)
148605 + copyLen = copy_to_user(
148609 + if (copyLen != 0)
148624 + copyLen = copy_from_user(
148628 + if (copyLen != 0)
148653 + copyLen = copy_from_user(
[all …]