Home
last modified time | relevance | path

Searched refs:errRet (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/kernel/base/core/
Dlos_task.c557 UINT32 intSave, errRet; in LOS_TaskCreateOnly() local
561 errRet = OsTaskCreateParamCheck(taskID, initParam, &pool); in LOS_TaskCreateOnly()
562 if (errRet != LOS_OK) { in LOS_TaskCreateOnly()
563 return errRet; in LOS_TaskCreateOnly()
568 errRet = LOS_ERRNO_TSK_TCB_UNAVAILABLE; in LOS_TaskCreateOnly()
572 errRet = OsTaskSyncCreate(taskCB); in LOS_TaskCreateOnly()
573 if (errRet != LOS_OK) { in LOS_TaskCreateOnly()
579 errRet = LOS_ERRNO_TSK_NO_MEMORY; in LOS_TaskCreateOnly()
584 errRet = OsTaskCBInit(taskCB, initParam, stackPtr, topStack); in LOS_TaskCreateOnly()
585 if (errRet != LOS_OK) { in LOS_TaskCreateOnly()
[all …]
Dlos_process.c650 errno_t errRet; in OsSetProcessName() local
657 errRet = strncpy_s(processCB->processName, OS_PCB_NAME_LEN, name, OS_PCB_NAME_LEN - 1); in OsSetProcessName()
658 if (errRet == EOK) { in OsSetProcessName()
665 errRet = snprintf_s(processCB->processName, OS_PCB_NAME_LEN, OS_PCB_NAME_LEN - 1, in OsSetProcessName()
669 errRet = snprintf_s(processCB->processName, OS_PCB_NAME_LEN, OS_PCB_NAME_LEN - 1, in OsSetProcessName()
674 if (errRet < 0) { in OsSetProcessName()
1617 errno_t errRet; in OsLoadUserInit() local
1641 errRet = memcpy_s(userText, initSize, (VOID *)&__user_init_load_addr, initSize - initBssSize); in OsLoadUserInit()
1642 if (errRet != EOK) { in OsLoadUserInit()
1643 PRINT_ERR("Load user init text, data and bss failed! err : %d\n", errRet); in OsLoadUserInit()
[all …]
/kernel/liteos_m/kernel/src/
Dlos_tick.c215 … errno_t errRet = memcpy_s(g_sysTickTimer, sizeof(ArchTickTimer), timer, sizeof(ArchTickTimer)); in LOS_TickTimerRegister() local
216 if (errRet != EOK) { in LOS_TickTimerRegister()
217 PRINT_ERR("%s timer addr fault! errno %d\n", __FUNCTION__, errRet); in LOS_TickTimerRegister()