Home
last modified time | relevance | path

Searched refs:listNode (Results 1 – 13 of 13) sorted by relevance

/drivers/hdf_core/framework/core/adapter/syscall/src/
Dhdf_syscall_adapter.c82 DLIST_FOR_EACH_ENTRY(adapter, thread->adapterListPtr, struct HdfSyscallAdapter, listNode) { in HdfFdToAdapterLocked()
110 … DLIST_FOR_EACH_ENTRY(listener, thread->listenerListPtr, struct HdfDevEventlistener, listNode) { in HdfDevEventDispatchLocked()
122 DLIST_FOR_EACH_ENTRY(listener, &adapter->listenerList, struct HdfDevEventlistener, listNode) { in HdfDevEventDispatchLocked()
426 DLIST_FOR_EACH_ENTRY(adapter, thread->adapterListPtr, struct HdfSyscallAdapter, listNode) { in HdfListenThreadInitPollFds()
536 DLIST_FIRST_ENTRY(thread->adapterListPtr, struct HdfSyscallAdapter, listNode); in HdfListenThreadPollAdd()
538 DListInsertTail(&adapter->listNode, thread->adapterListPtr); in HdfListenThreadPollAdd()
576 DListRemove(&adapter->listNode); in HdfListenThreadPollAdd()
584 DListRemove(&adapter->listNode); in HdfListenThreadPollDel()
601 DListRemove(&adapter->listNode); in HdfListenThreadPollDel()
827 DLIST_FOR_EACH_ENTRY(it, &adapter->listenerList, struct HdfDevEventlistener, listNode) { in AddListenerToAdapterLocked()
[all …]
/drivers/peripheral/usb/ddk/host/src/
Dddk_pnp_listener_mgr.c57 …_EACH_ENTRY_SAFE(pos, tmp, &g_ddkListenerList.listenerList, struct HdfDevEventlistener, listNode) { in DdkListenerMgrIsExists()
124 …_EACH_ENTRY_SAFE(pos, tmp, &g_ddkListenerList.listenerList, struct HdfDevEventlistener, listNode) { in DdkListenerMgrNotifyAll()
148 DListInsertTail(&listener->listNode, &g_ddkListenerList.listenerList); in DdkListenerMgrAdd()
172 DListRemove(&listener->listNode); in DdkListenerMgrRemove()
/drivers/hdf_core/adapter/uhdf2/osal/src/
Dosal_sysevent.c109 …IST_FOR_EACH_ENTRY(notifyNode, &notifier->notifyNodeList, struct HdfSysEventNotifyNode, listNode) { in OnKEventReceived()
171 DListInsertTail(&notifierNode->listNode, &notifier->notifyNodeList); in HdfSysEventNotifyRegister()
175 DListRemove(&notifierNode->listNode); in HdfSysEventNotifyRegister()
195 DListRemove(&notifierNode->listNode); in HdfSysEventNotifyUnregister()
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/
Dsample_hdi_service.cpp32 struct DListHead listNode; member
97 DListInsertTail(&sampleDev->listNode, &g_sampleDeviceList); in SampleServiceRegisterDevice()
109 …ST_FOR_EACH_ENTRY_SAFE(sampleDev, sampleDevTmp, &g_sampleDeviceList, struct SampleDevice, listNode) in SampleServiceUnregisterDevice()
112 DListRemove(&sampleDev->listNode); in SampleServiceUnregisterDevice()
119 DListRemove(&sampleDev->listNode); in SampleServiceUnregisterDevice()
/drivers/hdf_core/adapter/khdf/linux/manager/src/
Dhdf_kevent.c43 struct DListHead listNode; member
49 struct DListHead listNode; member
141 DListInsertTail(&wait->listNode, &keventModule->waitList); in SendKevent()
149 DLIST_FOR_EACH_ENTRY(client, &keventModule->clientList, struct HdfKeventClient, listNode) { in SendKevent()
165 DListRemove(&wait->listNode); in SendKevent()
294 DLIST_FOR_EACH_ENTRY(wait, &keventModule->waitList, struct HdfKeventWait, listNode) { in CompleteKevent()
341 DListInsertTail(&kClient->listNode, &keventModule->clientList); in HdfKeventDriverOpen()
365 DListRemove(&kClient->listNode); in HdfKeventDriverClose()
/drivers/hdf_core/framework/utils/src/
Dhdf_slist.c34 struct HdfSListNode *listNode = HdfSListIteratorNext(&it); in HdfSListSearch() local
35 if (comparer(listNode, keyValue)) { in HdfSListSearch()
36 return listNode; in HdfSListSearch()
141 void *listNode = (void *)HdfSListIteratorNext(&iterator); in HdfSListFlush() local
144 deleter(listNode); in HdfSListFlush()
/drivers/hdf_core/framework/test/unittest/manager/
Dsample_driver_test.c24 struct DListHead listNode; member
38 DListInsertTail(&sampleDev->listNode, &g_sampleDeviceList); in SaveRegistedDevice()
45 …_EACH_ENTRY_SAFE(sampleDev, sampleDevTmp, &g_sampleDeviceList, struct SampleTestDevice, listNode) { in GetRegistedDevice()
47 DListRemove(&sampleDev->listNode); in GetRegistedDevice()
143 DListRemove(&dev->listNode); in SampleDriverUnregisterDevice()
/drivers/hdf_core/framework/core/adapter/vnode/include/
Dhdf_vnode_adapter.h29 struct DListHead listNode; member
/drivers/hdf_core/framework/core/adapter/vnode/src/
Dhdf_vnode_adapter.c40 struct DListHead listNode; member
326 event = CONTAINER_OF(client->eventQueue.next, struct HdfDevEvent, listNode); in ReadDeviceEventInEventQueue()
332 DListRemove(&event->listNode); in ReadDeviceEventInEventQueue()
370 …truct HdfDevEvent *dropEvent = CONTAINER_OF(client->eventQueue.next, struct HdfDevEvent, listNode); in HdfVnodeAdapterDropOldEventLocked()
376 DListRemove(&dropEvent->listNode); in HdfVnodeAdapterDropOldEventLocked()
407 DListInsertTail(&event->listNode, &vnodeClient->eventQueue); in VNodeAdapterSendDevEventToClient()
492 DLIST_FOR_EACH_ENTRY(client, &adapter->clientList, struct HdfVNodeAdapterClient, listNode) { in HdfVNodeAdapterSendDevEvent()
529 DLIST_FOR_EACH_ENTRY_SAFE(event, eventTemp, &client->eventQueue, struct HdfDevEvent, listNode) { in HdfVnodeCleanEventQueue()
530 DListRemove(&event->listNode); in HdfVnodeCleanEventQueue()
621 DListInsertTail(&client->listNode, &adapter->clientList); in HdfNewVNodeAdapterClient()
[all …]
/drivers/hdf_core/adapter/uhdf2/osal/test/unittest/common/
Dosal_slist_test.cpp60 void TestListDeleter(struct HdfSListNode *listNode) in TestListDeleter() argument
62 struct TestList *data = reinterpret_cast<struct TestList *>(listNode); in TestListDeleter()
/drivers/hdf_core/framework/core/adapter/syscall/include/
Dhdf_syscall_adapter.h47 struct DListHead listNode; member
/drivers/hdf_core/interfaces/inner_api/utils/
Dosal_sysevent.h49 struct DListHead listNode; member
/drivers/hdf_core/interfaces/inner_api/core/
Dhdf_io_service_if.h86 struct DListHead listNode; member