Home
last modified time | relevance | path

Searched refs:OS_OK (Results 1 – 25 of 45) sorted by relevance

12

/kernel/uniproton/doc/design/
Dinterface_description.md66 #ifndef OS_OK
67 #define OS_OK 0
147 #OS_OK 0x00000000,硬中断激活成功。
173 #OS_OK 0x00000000,硬中断请求位清除成功。
186 #OS_OK 0x00000000,硬中断去使能成功。
199 #OS_OK 0x00000000,硬中断使能成功。
212 #OS_OK 0x00000000,硬中断使能成功。
227 #OS_OK 0x00000000,硬中断使能成功。
242 #OS_OK 0x00000000,硬中断使能成功。
257 #OS_OK 0x00000000,硬中断使能成功。
[all …]
/kernel/uniproton/src/config/
Dprt_config.c29 if (ret != OS_OK) { in OsMemConfigReg()
33 return OS_OK; in OsMemConfigReg()
38 return OS_OK; in OsMemDefPtInit()
100 if (ret != OS_OK) { in OsSysConfigReg()
103 return OS_OK; in OsSysConfigReg()
164 if (ret != OS_OK) { in OsCpupConfigInit()
175 return OS_OK; in OsCpupConfigInit()
233 U32 ret = OS_OK; in OsModuleConfigRun()
240 if (ret != OS_OK) { in OsModuleConfigRun()
270 if (ret != OS_OK) { in OsStart()
[all …]
/kernel/uniproton/src/core/kernel/irq/
Dprt_irq.c109 return OS_OK; in OsHwiResourceAlloc()
119 if (ret != OS_OK) { in OsHwiConfigInit()
135 return OS_OK; in OsHwiConfigInit()
166 return OS_OK; in OsHwiSetAttrParaCheck()
174 return OS_OK; in OsHwiSetAttrConflictErrCheck()
184 return OS_OK; in OsHwiSetAttrConflictErrCheck()
197 if (ret != OS_OK) { in PRT_HwiSetAttr()
207 if (ret != OS_OK) { in PRT_HwiSetAttr()
220 return OS_OK; in PRT_HwiSetAttr()
297 return OS_OK; in OsHwiCombineAlloc()
[all …]
/kernel/uniproton/src/om/cpup/
Dprt_cpup_thread_init.c34 return OS_OK; in OsCpupReg()
54 if (ret != OS_OK) { in OsCpupThreadHookAdd()
60 if (ret != OS_OK) { in OsCpupThreadHookAdd()
66 if (ret != OS_OK) { in OsCpupThreadHookAdd()
72 if (ret != OS_OK) { in OsCpupThreadHookAdd()
78 if (ret != OS_OK) { in OsCpupThreadHookAdd()
84 if (ret != OS_OK) { in OsCpupThreadHookAdd()
88 return OS_OK; in OsCpupThreadHookAdd()
Dprt_cpup.c42 if (ret != OS_OK) { in OsCpupRegister()
49 if (ret != OS_OK) { in OsCpupRegister()
55 return OS_OK; in OsCpupRegister()
77 return OS_OK; in OsCpupLazyInit()
Dprt_cpup_thread_64.c127 return OS_OK; in OsCpupParaCheck()
257 if (ret != OS_OK) { in PRT_CpupThread()
262 if (ret != OS_OK) { in PRT_CpupThread()
274 return OS_OK; in PRT_CpupThread()
314 return OS_OK; in PRT_CpupThread()
Dprt_cpup_warn.c85 return OS_OK; in PRT_CpupSetWarnValue()
114 return OS_OK; in PRT_CpupGetWarnValue()
138 return OS_OK; in OsCpupWarnReg()
/kernel/uniproton/src/core/kernel/task/
Dprt_task_init.c47 return OS_OK; in OsTskRegister()
57 if (ret == OS_OK) { in OsTskInfoGet()
72 return OS_OK; in OsTaskNameAdd()
90 if (ret != OS_OK) { in OsTskInit()
106 return OS_OK; in OsTskInit()
128 if (ret != OS_OK) { in OsActivate()
220 return OS_OK; in OsTaskCreateParaCheck()
262 return OS_OK; in OsTaskCreateChkAndGetTcb()
268 U32 ret = OS_OK; in OsTaskCreateRsrcInit()
274 if (ret != OS_OK) { in OsTaskCreateRsrcInit()
[all …]
Dprt_task_minor.c45 return OS_OK; in OsTaskYieldProc()
71 if (ret != OS_OK) { in OsTaskYield()
79 return OS_OK; in OsTaskYield()
86 return OS_OK; in OsTaskYield()
124 return OS_OK; in PRT_TaskDelay()
130 ret = OS_OK; in PRT_TaskDelay()
Dprt_task_priority.c47 return OS_OK; in PRT_TaskGetPriority()
63 return OS_OK; in OsTaskPrioritySetCheck()
77 if (ret != OS_OK) { in PRT_TaskSetPriority()
105 return OS_OK; in PRT_TaskSetPriority()
Dprt_task_info.c55 return OS_OK; in OsTaskInfoGetChk()
129 return OS_OK; in OsTaskStackInfoGet()
137 if (ret != OS_OK) { in OsTaskInfoStackGet()
145 return OS_OK; in OsTaskInfoStackGet()
158 if (ret != OS_OK) { in PRT_TaskGetInfo()
214 return OS_OK; in PRT_TaskGetName()
Dprt_amp_task_del.c66 if (ret != OS_OK) { in OsTaskDelete()
90 return OS_OK; in OsTaskDelete()
101 return OS_OK; in OsTaskDelete()
Dprt_amp_task_init.c72 return OS_OK; in OsTskAMPInit()
94 if (ret != OS_OK) { in OsIdleTskAMPCreate()
98 if (ret != OS_OK) { in OsIdleTskAMPCreate()
/kernel/uniproton/src/om/hook/
Dprt_hook_init.c40 return OS_OK; in OsHookRegister()
70 return OS_OK; in OsHookConfigInit()
100 return OS_OK; in OsHookConfigInit()
110 U32 ret = OS_OK; in OsMhookAdd()
158 if (ret == OS_OK) { in OsMhookAdd()
206 if (ret != OS_OK) { in OsMhookDel()
223 return OS_OK; in OsMhookDel()
264 U32 ret = OS_OK; in OsShookReg()
275 return OS_OK; in OsShookReg()
282 if (ret == OS_OK) { in OsShookReg()
[all …]
/kernel/uniproton/src/core/ipc/queue/
Dprt_queue_init.c34 return OS_OK; in OsQueueRegister()
52 return OS_OK; in OsQueueConfigInit()
73 return OS_OK; in OsQueueCreatParaCheck()
121 return OS_OK; in OsQueueCreate()
134 if (ret != OS_OK) { in PRT_QueueCreate()
140 if (ret != OS_OK) { in PRT_QueueCreate()
147 return OS_OK; in PRT_QueueCreate()
Dprt_queue_minor.c31 return OS_OK; in OsQueueGetParaCheck()
46 if (ret != OS_OK) { in PRT_QueueGetUsedPeak()
54 return OS_OK; in PRT_QueueGetUsedPeak()
73 if (ret != OS_OK) { in PRT_QueueGetNodeNum()
95 return OS_OK; in PRT_QueueGetNodeNum()
Dprt_queue.c43 return OS_OK; in OsInnerPend()
89 return OS_OK; in OsInnerPend()
162 if (ret != OS_OK) { in PRT_QueueRead()
190 return OS_OK; in PRT_QueueRead()
218 return OS_OK; in OsQueueWriteParaCheck()
271 if (ret != OS_OK) { in PRT_QueueWrite()
290 if (ret != OS_OK) { in PRT_QueueWrite()
300 return OS_OK; in PRT_QueueWrite()
/kernel/uniproton/src/core/ipc/sem/
Dprt_sem.c91 return OS_OK; in OsSemPendParaCheck()
138 return OS_OK; in PRT_SemPend()
142 if (ret != OS_OK) { in PRT_SemPend()
164 return OS_OK; in PRT_SemPend()
188 return OS_OK; in OsSemPostErrorCheck()
208 if (ret != OS_OK) { in PRT_SemPost()
225 return OS_OK; in PRT_SemPost()
Dprt_sem_init.c28 return OS_OK; in OsSemRegister()
38 U32 ret = OS_OK; in OsSemInit()
101 return OS_OK; in OsSemCreate()
146 return OS_OK; in PRT_SemDelete()
Dprt_sem_minor.c46 return OS_OK; in PRT_SemGetInfo()
62 if (ret == OS_OK) { in PRT_SemGetCount()
115 return OS_OK; in PRT_SemGetPendList()
/kernel/uniproton/src/core/ipc/event/
Dprt_event.c33 return OS_OK; in OsEventReadParaCheck()
92 return OS_OK; in OsEventReadNeedSche()
107 if (ret != OS_OK) { in PRT_EventRead()
126 if (ret != OS_OK) { in PRT_EventRead()
140 return OS_OK; in PRT_EventRead()
212 return OS_OK; in PRT_EventWrite()
216 return OS_OK; in PRT_EventWrite()
/kernel/uniproton/src/core/kernel/timer/swtmr/
Dprt_swtmr_init.c58 if (ret != OS_OK) { in OsSwTimerGroupCreate()
73 return OS_OK; in OsSwTimerGroupCreate()
96 return OS_OK; in OsSwTmrCreateTimerParaChk()
136 if (ret != OS_OK) { in OsSwTmrCreateTimer()
162 return OS_OK; in OsSwTmrCreateTimer()
188 return OS_OK; in OsSwTmrDeleteTimer()
200 return OS_OK; in OsSwTmrDeleteTimer()
265 if (ret != OS_OK) { in OsSwTmrResInit()
282 return OS_OK; in OsSwTmrResInit()
Dprt_swtmr_minor.c138 return OS_OK; in OsSwTmrStartTimer()
141 return OS_OK; in OsSwTmrStartTimer()
155 return OS_OK; in OsSwTmrStartTimer()
180 return OS_OK; in OsSwTmrStopTimer()
193 return OS_OK; in OsSwTmrStopTimer()
216 return OS_OK; in OsSwTmrRestartTimer()
228 return OS_OK; in OsSwTmrRestartTimer()
264 return OS_OK; in OsSwTmrQuery()
/kernel/uniproton/src/net/lwip-2.1/src/
Dsys_arch.c60 if (ret != OS_OK) { in sys_thread_new()
66 if (ret != OS_OK) { in sys_thread_new()
140 case OS_OK: in sys_mbox_new()
163 if (ret != OS_OK) { in sys_mbox_post()
179 case OS_OK: in sys_mbox_trypost()
207 case OS_OK: in sys_arch_mbox_fetch()
230 case OS_OK: in sys_arch_mbox_tryfetch()
284 if (ret != OS_OK) { in sys_sem_new()
309 case OS_OK: in sys_arch_sem_wait()
358 if (ret != OS_OK) { in sys_mutex_new()
/kernel/uniproton/doc/
Dgetting_started.md35 return OS_OK;
59 if (ret != OS_OK) {
63 return OS_OK;

12