Searched refs:IpcMsg (Results 1 – 8 of 8) sorted by relevance
/kernel/liteos_a/testsuites/unittest/extended/liteipc/ |
D | smgr_demo.cpp | 59 void SendReply(int fd, IpcMsg *dataIn, uint32_t result, uint32_t serviceHandle) in SendReply() 62 IpcMsg dataOut; in SendReply() 69 (void)memset_s(data1.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg)); in SendReply() 87 void FreeBuffer(int fd, IpcMsg *dataIn) in FreeBuffer() 112 IpcMsg dataIn; in RegService() 113 IpcMsg dataOut; in RegService() 126 (void)memset_s(data1.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg)); in RegService() 147 IpcMsg dataIn; in GetService() 148 IpcMsg dataOut; in GetService() 161 (void)memset_s(data1.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg)); in GetService() [all …]
|
D | liteipc.h | 97 } IpcMsg; typedef 105 IpcMsg *outMsg; /**< data to send to target */ 106 IpcMsg *inMsg; /**< data reply by target */
|
D | smgr_demo.h | 51 void SendReply(int fd, IpcMsg *dataIn, uint32_t result, uint32_t serviceHandle); 52 void FreeBuffer(int fd, IpcMsg *dataIn);
|
/kernel/liteos_a/testsuites/unittest/extended/liteipc/smoke/ |
D | liteipc_test_002.cpp | 54 IpcMsg dataIn; in CallTestServiceLoop() 55 IpcMsg dataOut; in CallTestServiceLoop() 81 (void)memset_s(data1.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg)); in CallTestServiceLoop() 101 (void)memset_s(data1.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg)); in CallTestServiceLoop() 122 static void HandleRequest(IpcMsg *data) in HandleRequest() 131 IpcMsg dataIn; in TestServiceLoop() 132 IpcMsg dataOut; in TestServiceLoop()
|
/kernel/liteos_a/kernel/extended/liteipc/ |
D | hm_liteipc.h | 164 } IpcMsg; typedef 167 IpcMsg msg; 177 IpcMsg *outMsg; /**< data to send to target */ 178 IpcMsg *inMsg; /**< data reply by target */
|
D | hm_liteipc.c | 557 IpcMsg msg; in SendDeathMsg() 572 (void)memset_s(content.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg)); in SendDeathMsg() 646 if (maxMsgSize < sizeof(IpcMsg)) { in SetCms() 833 IpcMsg *msg = &(node->msg); in HandleSpecialObjects() 869 LITE_OS_SEC_TEXT STATIC UINT32 CheckMsgSize(IpcMsg *msg) in CheckMsgSize() 879 totalSize = (UINT64)sizeof(IpcMsg) + msg->dataSz + msg->spObjNum * sizeof(UINT32); in CheckMsgSize() 904 LITE_OS_SEC_TEXT STATIC UINT32 CopyDataFromUser(IpcListNode *node, UINT32 bufSz, const IpcMsg *msg) in CopyDataFromUser() 907 …T32)memcpy_s((VOID *)(&node->msg), bufSz - sizeof(LOS_DL_LIST), (const VOID *)msg, sizeof(IpcMsg)); in CopyDataFromUser() 952 IpcMsg *requestMsg = &node->msg; in IsValidReply() 953 IpcMsg *replyMsg = content->outMsg; in IsValidReply() [all …]
|
/kernel/liteos_a/kernel/extended/hook/include/ |
D | los_hook_types.h | 104 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_IPC_WRITE_DROP, (const IpcMsg *msg, UINT32 dstTid, UINT32 dstPid, … 106 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_IPC_WRITE, (const IpcMsg *msg, UINT32 dstTid, UINT32 dstPid, … 108 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_IPC_READ_DROP, (const IpcMsg *msg, UINT32 ipcStatus)) … 109 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_IPC_READ, (const IpcMsg *msg, UINT32 ipcStatus)) …
|
/kernel/liteos_a/kernel/extended/trace/cnv/ |
D | trace_cnv.c | 250 STATIC VOID LOS_TraceIpcWriteDrop(const IpcMsg *msg, UINT32 dstTid, UINT32 dstPid, UINT32 ipcStatus) in LOS_TraceIpcWriteDrop() 255 STATIC VOID LOS_TraceIpcWrite(const IpcMsg *msg, UINT32 dstTid, UINT32 dstPid, UINT32 ipcStatus) in LOS_TraceIpcWrite() 260 STATIC VOID LOS_TraceIpcReadDrop(const IpcMsg *msg, UINT32 ipcStatus) in LOS_TraceIpcReadDrop() 265 STATIC VOID LOS_TraceIpcRead(const IpcMsg *msg, UINT32 ipcStatus) in LOS_TraceIpcRead()
|