Lines Matching refs:handle

245 static uint8_t prvTraceGet8BitHandle(traceHandle handle);
394 traceHandle handle; in prvTraceStart() local
397 handle = 0; in prvTraceStart()
413 handle = TRACE_GET_TASK_NUMBER(TRACE_GET_CURRENT_TASK()); in prvTraceStart()
414 if (handle == 0) in prvTraceStart()
419 handle = prvTraceGetObjectHandle(TRACE_CLASS_TASK); in prvTraceStart()
420 prvTraceSetObjectName(TRACE_CLASS_TASK, handle, "(startup)"); in prvTraceStart()
422 prvTraceSetPriorityProperty(TRACE_CLASS_TASK, handle, 0); in prvTraceStart()
425 prvTraceStoreTaskswitch(handle); /* Register the currently running task */ in prvTraceStart()
665 traceResult xTraceISRBegin(TraceISRHandle_t handle) in xTraceISRBegin() argument
691 TRACE_ASSERT(handle != 0, "vTraceStoreISRBegin: Invalid ISR handle (NULL)", TRC_FAIL); in xTraceISRBegin()
692 …TRACE_ASSERT(handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[TRACE_CLASS_IS… in xTraceISRBegin()
701 uint8_t hnd8 = prvTraceGet8BitHandle(handle); in xTraceISRBegin()
702 isrstack[nISRactive] = handle; in xTraceISRBegin()
1787 void prvTraceStoreTaskReady(traceHandle handle) in prvTraceStoreTaskReady() argument
1795 if (handle == 0) in prvTraceStoreTaskReady()
1810 …TRACE_ASSERT(handle <= (TRC_CFG_NTASK), "prvTraceStoreTaskReady: Invalid value for handle", TRC_UN… in prvTraceStoreTaskReady()
1832 hnd8 = prvTraceGet8BitHandle(handle); in prvTraceStoreTaskReady()
2254 void prvTraceStoreObjectNameOnCloseEvent(uint8_t evtcode, traceHandle handle, in prvTraceStoreObjectNameOnCloseEvent() argument
2263 TRACE_ASSERT(handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceStoreObjectNameOnCloseEvent()
2268 uint8_t hnd8 = prvTraceGet8BitHandle(handle); in prvTraceStoreObjectNameOnCloseEvent()
2269 name = TRACE_PROPERTY_NAME_GET(objectclass, handle); in prvTraceStoreObjectNameOnCloseEvent()
2284 void prvTraceStoreObjectPropertiesOnCloseEvent(uint8_t evtcode, traceHandle handle, in prvTraceStoreObjectPropertiesOnCloseEvent() argument
2291 TRACE_ASSERT(handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceStoreObjectPropertiesOnCloseEvent()
2302 pe->arg1 = TRACE_PROPERTY_ACTOR_PRIORITY(objectclass, handle); in prvTraceStoreObjectPropertiesOnCloseEvent()
2306 pe->arg1 = TRACE_PROPERTY_OBJECT_STATE(objectclass, handle); in prvTraceStoreObjectPropertiesOnCloseEvent()
2354 void prvTraceSetTaskInstanceFinished(traceHandle handle) in prvTraceSetTaskInstanceFinished() argument
2357 (void)handle; in prvTraceSetTaskInstanceFinished()
2359 …TRACE_ASSERT(handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[TRACE_CLASS_TA… in prvTraceSetTaskInstanceFinished()
2363 TRACE_PROPERTY_OBJECT_STATE(TRACE_CLASS_TASK, handle) = 0; in prvTraceSetTaskInstanceFinished()
2406 traceHandle handle; in prvTraceGetObjectHandle() local
2428 handle = objectHandleStacks.objectHandles[indexOfHandle]; in prvTraceGetObjectHandle()
2434 handle = 0; in prvTraceGetObjectHandle()
2453 return handle; in prvTraceGetObjectHandle()
2456 void prvTraceFreeObjectHandle(traceObjectClass objectclass, traceHandle handle) in prvTraceFreeObjectHandle() argument
2463 …TRACE_ASSERT(handle > 0 && handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[… in prvTraceFreeObjectHandle()
2477 objectHandleStacks.objectHandles[indexOfHandle] = handle; in prvTraceFreeObjectHandle()
2488 void prvMarkObjectAsUsed(traceObjectClass objectclass, traceHandle handle) in prvMarkObjectAsUsed() argument
2490 uint16_t idx = uiIndexOfObject(handle, objectclass); in prvMarkObjectAsUsed()
2517 traceHandle handle, in prvTraceSetObjectName() argument
2533 if (handle == 0) in prvTraceSetObjectName()
2539 if (handle > RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass]) in prvTraceSetObjectName()
2546 idx = uiIndexOfObject(handle, objectclass); in prvTraceSetObjectName()
2990 static void prvTraceStoreXID(traceHandle handle);
3002 static void prvTraceStoreXID(traceHandle handle) in prvTraceStoreXID() argument
3006 TRACE_ASSERT(handle >= 256, "prvTraceStoreXID: Handle < 256", TRC_UNUSED); in prvTraceStoreXID()
3015 xid->xps_16 = handle; in prvTraceStoreXID()
3021 static uint8_t prvTraceGet8BitHandle(traceHandle handle) in prvTraceGet8BitHandle() argument
3023 if (handle > 255) in prvTraceGet8BitHandle()
3025 prvTraceStoreXID(handle); in prvTraceGet8BitHandle()
3030 return (uint8_t)(handle & 0xFF); in prvTraceGet8BitHandle()