Home
last modified time | relevance | path

Searched refs:LosQueueCB (Results 1 – 20 of 20) sorted by relevance

/kernel/liteos_m/kernel/src/
Dlos_queue.c47 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/
Dlos_queue.c50 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 …]
Dlos_queue_debug.c82 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/
Dlos_queue_pri.h79 } 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);
Dlos_ipc_container_pri.h41 typedef struct TagQueueCB LosQueueCB; typedef
48 LosQueueCB *allQueue;
/kernel/liteos_m/utils/internal/
Dlos_hook_types.h69 …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/
DosTest.c107 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/
Dlos_hook_types.h67 …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/
Dlos_queue.h825 } 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/
Dmqueue_impl.h107 #define GET_QUEUE_LIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosQueueCB, readWriteList[OS_QUEUE_WRITE])
129 LosQueueCB *mqcb;
Dmqueue.c97 STATIC INLINE UINT32 GetMqueueCBByID(UINT32 queueID, LosQueueCB **queueCB) in GetMqueueCBByID()
99 LosQueueCB *tmpQueueCB = NULL; in GetMqueueCBByID()
/kernel/liteos_m/components/trace/cnv/
Dtrace_cnv.c92 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/
Dcmsis_liteos2.c1292 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/
Dmqueue.h103 LosQueueCB *mqcb;
/kernel/liteos_a/kernel/extended/trace/cnv/
Dtrace_cnv.c93 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/
Dsysinfo_shellcmd.c91 LosQueueCB *queueCB = NULL; in OsShellCmdQueueCntGet()
/kernel/liteos_a/testsuites/kernel/src/
DosTest.c208 LosQueueCB *queueCB = (LosQueueCB *)NULL; in QueueCountGetTest()
DiCunit.c232 LosQueueCB *queueCB = NULL; in ICunitRunF()
/kernel/liteos_m/testsuites/include/
DosTest.h390 extern LosQueueCB *g_pstAllQueue;
/kernel/liteos_a/compat/posix/src/
Dmqueue.c80 STATIC INLINE UINT32 GetMqueueCBByID(UINT32 queueID, LosQueueCB **queueCB) in GetMqueueCBByID()
82 LosQueueCB *tmpQueueCB = NULL; in GetMqueueCBByID()