Home
last modified time | relevance | path

Searched refs:DListIsEmpty (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/drivers/hdf_core/framework/test/unittest/osal/
H A Dosal_list_test.c179 UT_TEST_CHECK_RET(DListIsEmpty(&g_handleMng.list) != true, OSAL_LIST_INIT); in OsalTestListInit()
185 UT_TEST_CHECK_RET(DListIsEmpty(&g_handleMng.list) == true, OSAL_LIST_TAIL); in OsalTestListInit()
195 UT_TEST_CHECK_RET(DListIsEmpty(&g_handleMng.list) != true, OSAL_LIST_REMOVE); in OsalTestListInit()
215 UT_TEST_CHECK_RET(DListIsEmpty(&g_handleMng.list) == true, OSAL_LIST_EMPTY); in OsalTestListInit()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnetbuf_adapter.c91 return DListIsEmpty(&q->dlist); in NetBufQueueIsEmpty()
162 if (!DListIsEmpty(&q->dlist)) { in NetBufQueueDequeue()
188 if (!DListIsEmpty(&q->dlist)) { in NetBufQueueDequeueTail()
214 return (DListIsEmpty(&q->dlist)) ? NULL : DLIST_FIRST_ENTRY(&q->dlist, NetBuf, dlist); in NetBufQueueAtHead()
233 return (DListIsEmpty(&q->dlist)) ? NULL : DLIST_LAST_ENTRY(&q->dlist, NetBuf, dlist); in NetBufQueueAtTail()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnetbuf_adapter.c93 return DListIsEmpty(&q->dlist); in NetBufQueueIsEmpty()
164 if (!DListIsEmpty(&q->dlist)) { in NetBufQueueDequeue()
190 if (!DListIsEmpty(&q->dlist)) { in NetBufQueueDequeueTail()
216 return (DListIsEmpty(&q->dlist)) ? NULL : DLIST_FIRST_ENTRY(&q->dlist, NetBuf, dlist); in NetBufQueueAtHead()
235 return (DListIsEmpty(&q->dlist)) ? NULL : DLIST_LAST_ENTRY(&q->dlist, NetBuf, dlist); in NetBufQueueAtTail()
/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dddk_pnp_listener_mgr.c49 if (DListIsEmpty(&g_ddkListenerList.listenerList)) { in DdkListenerMgrIsExists()
117 if (DListIsEmpty(&g_ddkListenerList.listenerList)) { in DdkListenerMgrNotifyAll()
H A Dddk_device_manager.c57 if (DListIsEmpty(&g_ddkDevList.devList)) { in DdkDevMgrIsDevExists()
230 if (DListIsEmpty(&g_ddkDevList.devList)) { in DdkDevMgrForEachDeviceSafe()
H A Dusb_io_manage.c190 if (!DListIsEmpty(&interfacePool->submitRequestQueue.entry)) { in UsbIoDestroyQueue()
233 if (DListIsEmpty(&msgQueue->entry)) { in UsbIoGetRequest()
H A Dusb_interface_pool.c62 if (DListIsEmpty((struct DListHead *)&interfaceObj->pipeList)) { in IfDestroyPipeObj()
201 if (DListIsEmpty(&session->ifacePoolList)) { in IfDestroyInterfacePool()
253 if (interfaceObj == NULL || DListIsEmpty(&interfaceObj->pipeList) || in IfFindPipeObj()
297 if (interfacePool == NULL || DListIsEmpty(&interfacePool->interfaceList)) { in IfFindInterfaceObj()
394 if (ifacePoolList == NULL || DListIsEmpty(ifacePoolList) == true) { in IfFindInterfacePool()
895 if (DListIsEmpty(&interfacePool->interfaceList)) { in UsbIfDestroyInterfaceObj()
/ohos5.0/drivers/peripheral/audio/effect/model/src/
H A Deffect_core.c43 if (DListIsEmpty(&g_libList)) { in IsEffectLibExist()
/ohos5.0/drivers/peripheral/usb/gadget/function/mtp/src/
H A Dusbfn_mtp_impl.cpp298 while (!DListIsEmpty(pool)) { in UsbMtpPortStartTxAsync()
337 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbMtpDeviceAllocCtrlRequests()
344 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbMtpDeviceAllocCtrlRequests()
357 while (!DListIsEmpty(head)) { in UsbMtpDeviceFreeCtrlRequests()
368 while (!DListIsEmpty(head)) { in UsbMtpPortFreeRequests()
383 if (DListIsEmpty(&mtpPort_->readPool)) { in UsbMtpPortAllocReadWriteRequests()
429 while (!DListIsEmpty(queueHead)) { in UsbMtpPortCancelAndFreeReq()
434 while (!DListIsEmpty(poolHead)) { in UsbMtpPortCancelAndFreeReq()
465 if (DListIsEmpty(pool)) { in UsbMtpDeviceGetCtrlReq()
1200 while (!DListIsEmpty(&mtpPort->readQueue)) { in UsbMtpPortProcessAsyncRxDone()
[all …]
/ohos5.0/drivers/peripheral/usb/gadget/function/ecm/
H A Dcdcecm.c59 while (!port->writeBusy && !DListIsEmpty(pool)) { in UsbEcmStartTx()
96 while (!DListIsEmpty(pool)) { in UsbEcmStartRx()
127 while (!DListIsEmpty(queue)) { in UsbEcmRxPush()
168 while (!DListIsEmpty(head)) { in UsbEcmFreeRequests()
218 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbEcmAllocReadRequests()
239 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbEcmAllocWriteRequests()
/ohos5.0/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c59 while (!port->writeBusy && !DListIsEmpty(pool)) { in UsbSerialStartTx()
96 while (!DListIsEmpty(pool)) { in UsbSerialStartRx()
126 while (!DListIsEmpty(queue)) { in UsbSerialRxPush()
168 while (!DListIsEmpty(head)) { in UsbSerialFreeRequests()
331 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbSerialAllocReadRequests()
352 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbSerialAllocWriteRequests()
997 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in AcmAllocCtrlRequests()
1005 while (!DListIsEmpty(head)) { in AcmFreeCtrlRequests()
1094 if (!DListIsEmpty(pool)) { in AcmGetCtrlReq()
/ohos5.0/drivers/hdf_core/framework/core/host/src/
H A Ddevhost_service.c114 if (DListIsEmpty(&device->devNodes)) { in DevHostServiceAddDevice()
150 if (DListIsEmpty(&device->devNodes)) { in DevHostServiceDelDevice()
/ohos5.0/drivers/hdf_core/framework/model/audio/core/src/
H A Daudio_host.c23 if (DListIsEmpty(&g_cardManager)) { in GetAllCardInstance()
41 if (DListIsEmpty(&g_cardManager)) { in GetCardInstance()
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/src/
H A Dcamera_buffer_manager.c246 if (!DListIsEmpty(&queue->doneList)) { in WaitForDoneBuffer()
256 int32_t ret = wait_event_interruptible(queue->doneWait, !DListIsEmpty(&queue->doneList) || in WaitForDoneBuffer()
/ohos5.0/drivers/hdf_core/framework/core/adapter/syscall/src/
H A Dhdf_syscall_adapter.c541 struct HdfSyscallAdapter *headAdapter = DListIsEmpty(thread->adapterListPtr) ? in HdfListenThreadPollAdd()
914 if (DListIsEmpty(&adapter->listenerList)) { in HdfDeviceUnregisterEventListener()
1004 if (!DListIsEmpty(&adapterGroup->adapterList) && listenerThread->status < LISTENER_STARTED) { in HdfIoServiceGroupRegisterListenerWithSchedPolicy()
1116 if ((!DListIsEmpty(&adapterGroup->listenerList) || !DListIsEmpty(&adapter->listenerList)) && in HdfIoServiceGroupAddService()
/ohos5.0/drivers/hdf_core/interfaces/inner_api/utils/
H A Dhdf_dlist.h69 static inline bool DListIsEmpty(const struct DListHead *head) in DListIsEmpty() function
/ohos5.0/drivers/peripheral/sensor/hal/src/
H A Dsensor_manager.c85 if (DListIsEmpty(&manager->managerHead)) { in GetSensorServiceList()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/
H A Dusb_pnp_notify.c75 if (DListIsEmpty(&g_usbPnpDeviceListHead) == true) { in UsbPnpNotifyFindDeviceList()
124 if (DListIsEmpty(&g_usbPnpInfoListHead) == true) { in UsbPnpNotifyFindInfo()
179 if (DListIsEmpty(&g_usbPnpInfoListHead) == true) { in UsbPnpNotifyDestroyInfo()
544 if (DListIsEmpty(&g_usbPnpDeviceListHead) == true) { in UsbPnpNotifyFirstReportDevice()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/osal/src/
H A Dosal_sysevent.c196 if (DListIsEmpty(&notifier->notifyNodeList)) { in HdfSysEventNotifyUnregister()
/ohos5.0/drivers/hdf_core/framework/utils/src/
H A Dhdf_task_queue.c156 if (!DListIsEmpty(&queue->head)) { in HdfTaskDequeue()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/fwk/
H A Dplatform_queue.c34 if (DListIsEmpty(&queue->msgs)) { in PlatformQueueNextMsg()
H A Dplatform_event.c181 if (waiter.node.next != NULL && !DListIsEmpty(&waiter.node)) { in PlatformEventReadSlowlly()
/ohos5.0/drivers/hdf_core/framework/core/adapter/vnode/src/
H A Dhdf_vnode_adapter.c321 if (DListIsEmpty(&client->eventQueue)) { in ReadDeviceEventInEventQueue()
359 if (!DListIsEmpty(&client->eventQueue)) { in HdfVNodeAdapterReadDevEvent()
687 } else if (!DListIsEmpty(&client->eventQueue)) { in HdfVNodeAdapterPoll()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/can/
H A Dcan_manager.c37 if (g_manager != NULL && DListIsEmpty(&g_manager->devices)) { in CanManagerDestroyIfNeed()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/
H A Dusb_pnp_notify.c85 if (DListIsEmpty(&g_usbPnpInfoListHead) == true) { in UsbPnpNotifyFindInfo()
139 if (DListIsEmpty(&g_usbPnpInfoListHead) == true) { in UsbPnpNotifyDestroyInfo()
769 if (DListIsEmpty(&g_usbPnpInfoListHead) == true) { in UsbPnpGetDevices()

12