Home
last modified time | relevance | path

Searched refs:msgQueue (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dusb_io_manage.c203 if ((msgQueue == NULL) || (request == NULL)) { in UsbIoSendRequest()
208 OsalMutexLock((struct OsalMutex *)&msgQueue->mutex); in UsbIoSendRequest()
210 OsalMutexUnlock((struct OsalMutex *)&msgQueue->mutex); in UsbIoSendRequest()
212 OsalSemPost((struct OsalSem *)&msgQueue->sem); in UsbIoSendRequest()
222 if ((msgQueue == NULL) || (request == NULL)) { in UsbIoGetRequest()
233 if (DListIsEmpty(&msgQueue->entry)) { in UsbIoGetRequest()
238 OsalMutexLock((struct OsalMutex *)&msgQueue->mutex); in UsbIoGetRequest()
239 if (msgQueue->entry.next == NULL || msgQueue->entry.next->prev == NULL || in UsbIoGetRequest()
240 msgQueue->entry.prev == NULL || msgQueue->entry.prev->next == NULL) { in UsbIoGetRequest()
242 OsalMutexUnlock((struct OsalMutex *)&msgQueue->mutex); in UsbIoGetRequest()
[all …]
/ohos5.0/drivers/peripheral/usb/ddk/host/include/
H A Dusb_io_manage.h32 int32_t UsbIoSendRequest(const struct UsbMessageQueue *msgQueue, const struct UsbHostRequest *reque…
33 HDF_STATUS UsbIoGetRequest(const struct UsbMessageQueue *msgQueue, struct UsbHostRequest **request);
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtaskpool.cpp110 auto* msgQueue = TaskManager::GetInstance().GetMessageQueue(req); in ExecuteCallback() local
111 if (msgQueue == nullptr) { in ExecuteCallback()
115 ExecuteCallbackInner(*msgQueue); in ExecuteCallback()
120 auto* msgQueue = TaskManager::GetInstance().GetMessageQueueFromCallbackInfo(callbackInfo); in ExecuteCallbackTask() local
121 if (msgQueue == nullptr) { in ExecuteCallbackTask()
125 ExecuteCallbackInner(*msgQueue); in ExecuteCallbackTask()
128 void TaskPool::ExecuteCallbackInner(MsgQueue& msgQueue) in ExecuteCallbackInner() argument
130 while (!msgQueue.IsEmpty()) { in ExecuteCallbackInner()
131 auto resultInfo = msgQueue.DeQueue(); in ExecuteCallbackInner()
H A Dtaskpool.h66 static void ExecuteCallbackInner(MsgQueue& msgQueue);
/ohos5.0/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dmmc_core.c224 cntlr->msgQueue = PlatformQueueCreate(MmcMsgHandleDefault, threadName, cntlr); in MmcCntlrQueueCreate()
225 if (cntlr->msgQueue == NULL) { in MmcCntlrQueueCreate()
229 ret = PlatformQueueStart(cntlr->msgQueue); in MmcCntlrQueueCreate()
232 PlatformQueueDestroy(cntlr->msgQueue); in MmcCntlrQueueCreate()
279 PlatformQueueDestroy(cntlr->msgQueue); in MmcCntlrUninit()
351 (void)PlatformQueueAddMsg(cntlr->msgQueue, &mmcMsg->msg); in MmcCntlrPostMsg()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/hdmi/
H A Dhdmi_core.c287 …cntlr->msgQueue = PlatformQueueCreate(HdmiEventMsgHandleDefault, "PlatformHdmiWorkerThread", cntlr… in HdmiCntlrInit()
288 if (cntlr->msgQueue == NULL) { in HdmiCntlrInit()
292 ret = PlatformQueueStart(cntlr->msgQueue); in HdmiCntlrInit()
295 PlatformQueueDestroy(cntlr->msgQueue); in HdmiCntlrInit()
H A Dhdmi_event.c29 (void)PlatformQueueAddMsg(cntlr->msgQueue, &event->msg); in HdmiEventPostMsg()
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_http_probe.cpp640 int32_t msgQueue = 0; in RecvHttpProbeResponse() local
641 while ((curlMsg = curl_multi_info_read(curlMulti_, &msgQueue)) != nullptr) { in RecvHttpProbeResponse()
/ohos5.0/drivers/hdf_core/framework/model/storage/include/mmc/
H A Dmmc_corex.h62 struct PlatformQueue *msgQueue; member
/ohos5.0/drivers/hdf_core/framework/support/platform/include/hdmi/
H A Dhdmi_core.h203 struct PlatformQueue *msgQueue; member
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-mmc-develop.md291 struct PlatformQueue *msgQueue;
H A Ddriver-platform-hdmi-develop.md270 struct PlatformQueue *msgQueue;
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-mmc-develop.md271 struct PlatformQueue *msgQueue;
H A Ddriver-platform-hdmi-develop.md255 struct PlatformQueue *msgQueue;