/drivers/hdf_core/interfaces/inner_api/utils/ |
D | hdf_dlist.h | 56 static inline void DListHeadInit(struct DListHead *head) in DListHeadInit() argument 58 head->next = head; in DListHeadInit() 59 head->prev = head; in DListHeadInit() 69 static inline bool DListIsEmpty(const struct DListHead *head) in DListIsEmpty() argument 71 return (head->next == head) ? true : false; in DListIsEmpty() 99 static inline void DListInsertHead(struct DListHead *entry, struct DListHead *head) in DListInsertHead() argument 101 entry->next = head->next; in DListInsertHead() 102 entry->prev = head; in DListInsertHead() 104 head->next->prev = entry; in DListInsertHead() 105 head->next = entry; in DListInsertHead() [all …]
|
/drivers/peripheral/user_auth/hdi_service/common/src/ |
D | linked_list.c | 45 node->next = list->head; in InsertNode() 46 list->head = node; in InsertNode() 62 LinkedListNode *node = list->head; in RemoveNode() 74 list->head = node->next; in RemoveNode() 129 iterator->current = list->head; in CreateIterator() 156 list->head = NULL; in CreateLinkedList() 184 while (list->head != NULL) { in DestroyLinkedList() 185 LinkedListNode *node = list->head; in DestroyLinkedList() 186 list->head = node->next; in DestroyLinkedList()
|
/drivers/hdf_core/framework/support/platform/src/pin/ |
D | pin_core.c | 34 static struct DListHead *head = NULL; in PinCntlrListGet() local 36 if (head == NULL) { in PinCntlrListGet() 37 head = &g_pinmanager->cntlrListHead; in PinCntlrListGet() 38 DListHeadInit(head); in PinCntlrListGet() 45 return head; in PinCntlrListGet() 60 struct DListHead *head = NULL; in PinCntlrAdd() local 80 head = PinCntlrListGet(); in PinCntlrAdd() 81 DListInsertTail(&cntlr->node, head); in PinCntlrAdd() 101 struct DListHead *head = NULL; in PinCntlrGetPinDescByName() local 111 head = PinCntlrListGet(); in PinCntlrGetPinDescByName() [all …]
|
D | pin_if_u.c | 35 static struct DListHead *head = NULL; in AddNode() local 37 if (head == NULL) { in AddNode() 38 head = &g_listHead; in AddNode() 39 DListHeadInit(head); in AddNode() 54 DListInsertTail(&pin->node, head); in AddNode() 61 struct DListHead *head = &g_listHead; in RemoveNode() local 66 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, struct PinInfo, node) { in RemoveNode() 419 struct DListHead *head = &g_listHead; in CopyFuncName() local 424 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, struct PinInfo, node) { in CopyFuncName()
|
/drivers/liteos/hievent/src/ |
D | hiview_hievent.c | 84 static struct HiviewHieventPayload *HiviewHieventGetPayload(struct HiviewHieventPayload *head, 121 static struct HiviewHieventPayload *HiviewHieventGetPayload(struct HiviewHieventPayload *head, in HiviewHieventGetPayload() argument 124 struct HiviewHieventPayload *p = head; in HiviewHieventGetPayload() 141 if (!obj->head) { in HiviewHieventAddPayload() 142 obj->head = payload; in HiviewHieventAddPayload() 144 struct HiviewHieventPayload *p = obj->head; in HiviewHieventAddPayload() 181 payload = HiviewHieventGetPayload(event->head, key); in HiviewHieventPutIntegral() 220 payload = HiviewHieventGetPayload(event->head, key); in HiviewHieventPutString() 387 struct HiviewHieventPayload *p = event->head; in HiviewHieventFillPayload() 531 p = event->head; in HiviewHieventDestroy() [all …]
|
/drivers/hdf_core/framework/utils/src/ |
D | hdf_task_queue.c | 41 DListHeadInit(&queue->head); in HdfTaskQueueCreate() 138 DListInsertTail(&task->node, &queue->head); in HdfTaskEnqueue() 156 if (!DListIsEmpty(&queue->head)) { in HdfTaskDequeue() 157 task = DLIST_FIRST_ENTRY(&queue->head, struct HdfTaskType, node); in HdfTaskDequeue()
|
/drivers/peripheral/codec/hal/passthrough/src/ |
D | codec_component_manager.c | 44 DLIST_FOR_EACH_ENTRY(pos, &g_list->head, struct ComponentIdElement, node) { in GetNextComponentId() 115 DListInsertTail(&node->node, &g_list->head); in ComponentManagerCreateComponent() 133 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &g_list->head, struct ComponentIdElement, node) { in ComponentManagerDestoryComponent() 206 DListHeadInit(&g_list->head); in GetCodecComponentManager()
|
/drivers/peripheral/codec/hal/src/ |
D | codec_component_manager_service.c | 65 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &g_service->head, struct ComponentTypeNode, node) in GetNextComponentId() 107 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &g_service->head, struct ComponentTypeNode, node) in OmxManagerDestroyComponent() 178 DListInsertTail(&node->node, &g_service->head); in OmxManagerCreateComponent() 206 DListHeadInit(&g_service->head); in CodecComponentManagerSerivceGet()
|
D | codec_dfx_service.c | 46 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &managerService->head, struct ComponentTypeNode, node) in DevCodecHostDump()
|
/drivers/hdf_core/framework/support/platform/src/i3c/ |
D | i3c_core.c | 84 static struct DListHead *head = NULL; in I3cDeviceListGet() local 86 head = &g_i3cDeviceList; in I3cDeviceListGet() 89 return head; in I3cDeviceListGet() 211 struct DListHead *head = NULL; in I3cGetDeviceByAddr() local 231 head = I3cDeviceListGet(); in I3cGetDeviceByAddr() 232 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, struct I3cDevice, list) { in I3cGetDeviceByAddr() 273 struct DListHead *head = NULL; in I3cDeviceAdd() local 295 head = I3cDeviceListGet(); in I3cDeviceAdd() 296 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, struct I3cDevice, list) { in I3cDeviceAdd() 308 DListInsertTail(&device->list, head); in I3cDeviceAdd()
|
/drivers/hdf_core/adapter/khdf/linux/network/src/ |
D | netbuf_adapter.c | 234 int32_t NetBufResizeRoom(NetBuf *nb, uint32_t head, uint32_t tail) in NetBufResizeRoom() argument 236 return pskb_expand_head(nb, head, tail, GFP_ATOMIC); in NetBufResizeRoom() 361 addr = nb->head; in NetBufGetAddress()
|
/drivers/peripheral/user_auth/hdi_service/database/src/ |
D | idm_database.c | 135 LinkedListNode *temp = user->enrolledInfoList->head; in GetEnrolledInfoAuthType() 208 LinkedListNode *temp = g_userInfoList->head; in QueryUserInfo() 236 LinkedListNode *temp = enrolledInfoList->head; in GetAllEnrolledInfoFromUser() 270 LinkedListNode *temp = userInfoList->head; in IsSecureUidDuplicate() 330 LinkedListNode *temp = enrolledList->head; in IsEnrolledIdDuplicate() 368 LinkedListNode *temp = enrolledList->head; in UpdateEnrolledId() 614 LinkedListNode *temp = credentialList->head; in QueryCredentialById() 632 LinkedListNode *temp = credentialList->head; in QueryCredentialByAuthType() 685 LinkedListNode *temp = credentialList->head; in TraverseCredentialList() 728 LinkedListNode *temp = g_userInfoList->head; in QueryCredentialLimit() [all …]
|
/drivers/peripheral/codec/hal/include/ |
D | codec_component_manager_service.h | 39 struct DListHead head; member
|
/drivers/peripheral/usb/test/moduletest/common/scripts/ |
D | usb_watch_process.sh | 24 cpu=$(top -n 1 -p ${pid} | head -6 | tail -1 | cut -F 10)
|
/drivers/liteos/hievent/include/ |
D | hiview_hievent.h | 44 struct HiviewHieventPayload *head; member
|
/drivers/hdf_core/framework/utils/include/ |
D | hdf_task_queue.h | 28 struct DListHead head; member
|
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
D | context_manager.c | 203 LinkedListNode *tempNode = g_contextList->head; in GetContext() 308 LinkedListNode *temp = credList->head; in QueryAuthTempletaInfo() 382 LinkedListNode *tempNode = g_contextList->head; in IsContextDuplicate() 420 LinkedListNode *temp = scheduleList->head; in CopySchedules() 497 LinkedListNode *tempNode = schedules->head; in DestroyContextNode() 551 if (credList->head == NULL || credList->head->data == NULL) { in FillInContext() 555 CredentialInfoHal *credentialNode = (CredentialInfoHal *)credList->head->data; in FillInContext()
|
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/ |
D | netbuf_adapter.c | 543 int32_t NetBufResizeRoom(NetBuf *nb, uint32_t head, uint32_t tail) in NetBufResizeRoom() argument 553 size = head + nb->len + tail; in NetBufResizeRoom() 565 if (memcpy_s(data + head, size - head, nb->mem, nb->bufs[E_TAIL_BUF].offset) != EOK) { in NetBufResizeRoom() 576 nb->bufs[E_HEAD_BUF].len = offset + head; in NetBufResizeRoom() 577 nb->bufs[E_DATA_BUF].offset = offset + head; in NetBufResizeRoom() 579 nb->bufs[E_TAIL_BUF].offset += head; in NetBufResizeRoom()
|
/drivers/hdf_core/adapter/khdf/liteos/network/src/ |
D | netbuf_adapter.c | 543 int32_t NetBufResizeRoom(NetBuf *nb, uint32_t head, uint32_t tail) in NetBufResizeRoom() argument 553 size = head + nb->len + tail; in NetBufResizeRoom() 565 if (memcpy_s(data + head, size - head, nb->mem, nb->bufs[E_TAIL_BUF].offset) != EOK) { in NetBufResizeRoom() 576 nb->bufs[E_HEAD_BUF].len = offset + head; in NetBufResizeRoom() 577 nb->bufs[E_DATA_BUF].offset = offset + head; in NetBufResizeRoom() 579 nb->bufs[E_TAIL_BUF].offset += head; in NetBufResizeRoom()
|
/drivers/peripheral/usb/gadget/function/ecm/ |
D | cdcecm.c | 162 static void UsbEcmFreeRequests(const struct DListHead *head, int32_t *allocated) in UsbEcmFreeRequests() argument 165 while (!DListIsEmpty(head)) { in UsbEcmFreeRequests() 166 req = DLIST_FIRST_ENTRY(head, struct UsbFnRequest, list); in UsbEcmFreeRequests() 208 struct DListHead *head = &port->readPool; in UsbEcmAllocReadRequests() local 215 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbEcmAllocReadRequests() 220 DListInsertTail(&req->list, head); in UsbEcmAllocReadRequests() 229 struct DListHead *head = &port->writePool; in UsbEcmAllocWriteRequests() local 236 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbEcmAllocWriteRequests() 241 DListInsertTail(&req->list, head); in UsbEcmAllocWriteRequests() 249 struct DListHead *head = &port->readPool; in UsbEcmStartIo() local [all …]
|
/drivers/peripheral/usb/gadget/function/acm/ |
D | cdcacm.c | 163 static void UsbSerialFreeRequests(struct DListHead * const head, int32_t *allocated) in UsbSerialFreeRequests() argument 166 while (!DListIsEmpty(head)) { in UsbSerialFreeRequests() 167 req = DLIST_FIRST_ENTRY(head, struct UsbFnRequest, list); in UsbSerialFreeRequests() 322 struct DListHead *head = &port->readPool; in UsbSerialAllocReadRequests() local 329 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbSerialAllocReadRequests() 334 DListInsertTail(&req->list, head); in UsbSerialAllocReadRequests() 343 struct DListHead *head = &port->writePool; in UsbSerialAllocWriteRequests() local 350 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbSerialAllocWriteRequests() 355 DListInsertTail(&req->list, head); in UsbSerialAllocWriteRequests() 370 struct DListHead *head = &port->readPool; in UsbSerialStartIo() local [all …]
|
/drivers/peripheral/user_auth/hdi_service/common/inc/ |
D | linked_list.h | 43 LinkedListNode *head; member
|
/drivers/peripheral/user_auth/hdi_service/coauth/src/ |
D | pool.c | 100 LinkedListNode *temp = g_poolList->head; in IsExecutorIdDuplicate() 162 if (executors->head == NULL || executors->head->data == NULL) { in RegisterExecutorToPool() 166 executorInfo->executorIndex = ((ExecutorInfoHal *)(executors->head->data))->executorIndex; in RegisterExecutorToPool()
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | Generator.js | 161 let head = ''; 165 head += 170 return head + body;
|
/drivers/hdf_core/framework/model/audio/usb/src/ |
D | audio_usb_mixer.c | 129 struct UsbMixerElemList head; member 324 if (mixElemInfo == NULL || mixElemInfo->head.mixer == NULL) { in AudioUsbFilterError() 329 return (mixElemInfo->head.mixer->ignoreCtlError != 0) ? 0 : err; in AudioUsbFilterError() 519 struct AudioUsbDriver *audioUsbDriver = mixElemInfo->head.mixer->audioUsbDriver; in AudioUsbGetCtlValueV1() 533 … idx = AudioUsbMixerCtrlIntf(mixElemInfo->head.mixer) | (mixElemInfo->head.id << USB_SHIFT_SIZE_8); in AudioUsbGetCtlValueV1() 561 struct AudioUsbDriver *audioUsbDriver = mixElemInfo->head.mixer->audioUsbDriver; in AudioUsbGetCtlValueV2() 578 …usbCtlMsgParam.index = AudioUsbMixerCtrlIntf(mixElemInfo->head.mixer) | (mixElemInfo->head.id << U… in AudioUsbGetCtlValueV2() 622 if (mixElemInfo->head.mixer->protocol == UAC_VERSION_1) { in AudioUsbGetCtlValue() 664 struct AudioUsbDriver *audioUsbDriver = mixElemInfo->head.mixer->audioUsbDriver; in AudioUsbMixerSetCtlValue() 672 if (mixElemInfo->head.mixer->protocol == UAC_VERSION_1) { in AudioUsbMixerSetCtlValue() [all …]
|