/kernel/liteos_m/kernel/src/ |
D | los_queue.c | 47 LITE_OS_SEC_BSS LosQueueCB *g_allQueue = NULL ; 51 LITE_OS_SEC_BSS LosQueueCB *g_staticQueue = NULL ; 64 LosQueueCB *queueNode = NULL; in OsQueueInit() 68 LosQueueCB *queueNodeStatic = NULL; in OsQueueInit() 75 …g_allQueue = (LosQueueCB *)LOS_MemAlloc(m_aucSysMem0, LOSCFG_BASE_IPC_QUEUE_LIMIT * sizeof(LosQueu… in OsQueueInit() 80 (VOID)memset_s(g_allQueue, LOSCFG_BASE_IPC_QUEUE_LIMIT * sizeof(LosQueueCB), in OsQueueInit() 81 0, LOSCFG_BASE_IPC_QUEUE_LIMIT * sizeof(LosQueueCB)); in OsQueueInit() 85 queueNode = ((LosQueueCB *)g_allQueue) + index; in OsQueueInit() 91 …g_staticQueue = (LosQueueCB *)LOS_MemAlloc(m_aucSysMem0, LOSCFG_BASE_IPC_STATIC_QUEUE_LIMIT * size… in OsQueueInit() 96 (VOID)memset_s(g_staticQueue, LOSCFG_BASE_IPC_STATIC_QUEUE_LIMIT * sizeof(LosQueueCB), in OsQueueInit() [all …]
|
/kernel/liteos_a/kernel/base/ipc/ |
D | los_queue.c | 50 LITE_OS_SEC_BSS LosQueueCB *g_allQueue = NULL; 55 LITE_OS_SEC_TEXT_INIT LosQueueCB *OsAllQueueCBInit(LOS_DL_LIST *freeQueueList) in OsAllQueueCBInit() 63 UINT32 size = LOSCFG_BASE_IPC_QUEUE_LIMIT * sizeof(LosQueueCB); in OsAllQueueCBInit() 65 LosQueueCB *allQueue = (LosQueueCB *)LOS_MemAlloc(m_aucSysMem0, size); in OsAllQueueCBInit() 72 LosQueueCB *queueNode = ((LosQueueCB *)allQueue) + index; in OsAllQueueCBInit() 104 LosQueueCB *queueCB = NULL; in LOS_QueueCreate() 215 STATIC VOID OsQueueBufferOperate(LosQueueCB *queueCB, UINT32 operateType, VOID *bufferAddr, UINT32 … in OsQueueBufferOperate() 268 STATIC UINT32 OsQueueOperateParamCheck(const LosQueueCB *queueCB, UINT32 queueID, in OsQueueOperateParamCheck() 286 …OsHookCall(LOS_HOOK_TYPE_QUEUE_READ, (LosQueueCB *)GET_QUEUE_HANDLE(queueID), operateType, *buffer… in OsQueueOperate() 289 LosQueueCB *queueCB = (LosQueueCB *)GET_QUEUE_HANDLE(queueID); in OsQueueOperate() [all …]
|
D | los_queue_debug.c | 82 STATIC INLINE VOID OsQueueInfoOutPut(const LosQueueCB *node) in OsQueueInfoOutPut() 100 LosQueueCB queueNode = {0}; in SortQueueIndexArray() 115 (VOID)memcpy_s(&queueNode, sizeof(LosQueueCB), in SortQueueIndexArray() 116 GET_QUEUE_HANDLE(indexArray[index]), sizeof(LosQueueCB)); in SortQueueIndexArray() 132 LosQueueCB queueNode = {0}; in OsQueueCheck() 146 (VOID)memcpy_s(&queueNode, sizeof(LosQueueCB), in OsQueueCheck() 147 GET_QUEUE_HANDLE(index), sizeof(LosQueueCB)); in OsQueueCheck()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_queue_pri.h | 79 } LosQueueCB; typedef 110 extern LosQueueCB *g_allQueue; 143 #define GET_QUEUE_HANDLE(queueID) (((LosQueueCB *)IPC_ALL_QUEUE) + GET_QUEUE_INDEX(queueID)) 149 #define GET_QUEUE_LIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosQueueCB, readWriteList[OS_QUEUE_WRITE]) 202 extern LosQueueCB *OsAllQueueCBInit(LOS_DL_LIST *freeQueueList);
|
D | los_ipc_container_pri.h | 41 typedef struct TagQueueCB LosQueueCB; typedef 48 LosQueueCB *allQueue;
|
/kernel/liteos_m/utils/internal/ |
D | los_hook_types.h | 69 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_CREATE, (const LosQueueCB *queueCB)) … 70 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_READ, (const LosQueueCB *queueCB, UINT32 operateType, … 72 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_READ_COPY, (const LosQueueCB *queueCB, UINT32 operateType, … 74 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_WRITE, (const LosQueueCB *queueCB, UINT32 operateType, … 76 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_WRITE_COPY, (const LosQueueCB *queueCB, UINT32 operateType, … 78 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_DELETE, (const LosQueueCB *queueCB)) …
|
/kernel/liteos_m/testsuites/src/ |
D | osTest.c | 107 extern LosQueueCB *g_allQueue; 110 extern LosQueueCB *g_staticQueue; 121 LosQueueCB *queueNode = ((LosQueueCB *)g_allQueue) + index; in QueueUsedCountGet() 129 LosQueueCB *queueNode = ((LosQueueCB *)g_staticQueue) + index; in QueueUsedCountGet()
|
/kernel/liteos_a/kernel/extended/hook/include/ |
D | los_hook_types.h | 67 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_CREATE, (const LosQueueCB *queueCB)) … 68 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_READ, (const LosQueueCB *queueCB, UINT32 operateType, … 70 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_WRITE, (const LosQueueCB *queueCB, UINT32 operateType, … 72 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_QUEUE_DELETE, (const LosQueueCB *queueCB)) …
|
/kernel/liteos_m/kernel/include/ |
D | los_queue.h | 825 } LosQueueCB; typedef 828 extern LosQueueCB *OsGetQueueHandle(UINT32 queueID); 859 extern LosQueueCB *g_allQueue; 871 #define GET_QUEUE_LIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosQueueCB, readWriteList[OS_QUEUE_WRITE])
|
/kernel/liteos_m/kal/posix/src/ |
D | mqueue_impl.h | 107 #define GET_QUEUE_LIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosQueueCB, readWriteList[OS_QUEUE_WRITE]) 129 LosQueueCB *mqcb;
|
D | mqueue.c | 97 STATIC INLINE UINT32 GetMqueueCBByID(UINT32 queueID, LosQueueCB **queueCB) in GetMqueueCBByID() 99 LosQueueCB *tmpQueueCB = NULL; in GetMqueueCBByID()
|
/kernel/liteos_m/components/trace/cnv/ |
D | trace_cnv.c | 92 STATIC VOID LOS_TraceQueueCreate(const LosQueueCB *queueCB) in LOS_TraceQueueCreate() 98 STATIC VOID LOS_TraceQueueRW(const LosQueueCB *queueCB, UINT32 operateType, in LOS_TraceQueueRW() 105 STATIC VOID LOS_TraceQueueDelete(const LosQueueCB *queueCB) in LOS_TraceQueueDelete()
|
/kernel/liteos_m/kal/cmsis/ |
D | cmsis_liteos2.c | 1292 LosQueueCB *queueCB = (LosQueueCB *)mq_id; in osMessageQueueOp() 1332 LosQueueCB *queueCB = (LosQueueCB *)mq_id; in osMessageQueueGetAttr() 1385 LosQueueCB *pstQueue = (LosQueueCB *)mq_id; in osMessageQueueDelete() 1412 LosQueueCB *pstQueue = (LosQueueCB *)mq_id; in osMessageQueueGetName()
|
/kernel/liteos_a/compat/posix/include/ |
D | mqueue.h | 103 LosQueueCB *mqcb;
|
/kernel/liteos_a/kernel/extended/trace/cnv/ |
D | trace_cnv.c | 93 STATIC VOID LOS_TraceQueueCreate(const LosQueueCB *queueCB) in LOS_TraceQueueCreate() 99 STATIC VOID LOS_TraceQueueRW(const LosQueueCB *queueCB, UINT32 operateType, in LOS_TraceQueueRW() 106 STATIC VOID LOS_TraceQueueDelete(const LosQueueCB *queueCB) in LOS_TraceQueueDelete()
|
/kernel/liteos_a/kernel/base/misc/ |
D | sysinfo_shellcmd.c | 91 LosQueueCB *queueCB = NULL; in OsShellCmdQueueCntGet()
|
/kernel/liteos_a/testsuites/kernel/src/ |
D | osTest.c | 208 LosQueueCB *queueCB = (LosQueueCB *)NULL; in QueueCountGetTest()
|
D | iCunit.c | 232 LosQueueCB *queueCB = NULL; in ICunitRunF()
|
/kernel/liteos_m/testsuites/include/ |
D | osTest.h | 390 extern LosQueueCB *g_pstAllQueue;
|
/kernel/liteos_a/compat/posix/src/ |
D | mqueue.c | 80 STATIC INLINE UINT32 GetMqueueCBByID(UINT32 queueID, LosQueueCB **queueCB) in GetMqueueCBByID() 82 LosQueueCB *tmpQueueCB = NULL; in GetMqueueCBByID()
|