Home
last modified time | relevance | path

Searched refs:head (Results 1 - 25 of 46) sorted by relevance

12

/drivers/hdf_core/interfaces/inner_api/utils/
H A Dhdf_dlist.h25 * This file provides interfaces such as inserting a node from the head or tail of a doubly linked list,
52 * @param head Indicates the pointer to the linked list {@link DListHead}. The parameter cannot be empty.
56 static inline void DListHeadInit(struct DListHead *head) in DListHeadInit() argument
58 head->next = head; in DListHeadInit()
59 head->prev = head; in DListHeadInit()
65 * @param head Indicates the pointer to the linked list {@link DListHead}. The parameter cannot be empty.
69 static inline bool DListIsEmpty(const struct DListHead *head) in DListIsEmpty() argument
71 return (head in DListIsEmpty()
99 DListInsertHead(struct DListHead *entry, struct DListHead *head) DListInsertHead() argument
117 DListInsertTail(struct DListHead *entry, struct DListHead *head) DListInsertTail() argument
135 DListMerge(struct DListHead *list, struct DListHead *head) DListMerge() argument
153 DListGetCount(const struct DListHead *head) DListGetCount() argument
[all...]
/drivers/peripheral/user_auth/hdi_service/utils/src/
H A Dlinked_list.c45 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/
H A Dpin_core.c34 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 in PinCntlrGetPinDescByName()
132 struct DListHead *head = NULL; PinCntlrGetByNumber() local
152 struct DListHead *head = NULL; PinCntlrGetByPin() local
[all...]
H A Dpin_if_u.c35 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/
H A Dhiview_hievent.c84 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/
H A Dhdf_task_queue.c41 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/src/
H A Dcodec_component_manager_service.c69 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &g_service->head, struct ComponentTypeNode, node) in GetNextComponentId()
111 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &g_service->head, struct ComponentTypeNode, node) in OmxManagerDestroyComponent()
172 DListInsertTail(&node->node, &g_service->head); in OmxManagerCreateComponent()
209 DListHeadInit(&g_service->head); in CodecComponentManagerSerivceGet()
H A Dcodec_dfx_service.c50 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &managerService->head, struct ComponentTypeNode, node) in DevCodecHostDump()
/drivers/hdf_core/framework/support/platform/src/i3c/
H A Di3c_core.c84 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()
[all...]
/drivers/hdf_core/adapter/khdf/linux/network/src/
H A Dnetbuf_adapter.c227 * @param head Indicates the size of the header buffer segment reserved.
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/hdf_core/framework/utils/include/
H A Dhdf_task_queue.h28 struct DListHead head; member
/drivers/liteos/hievent/include/
H A Dhiview_hievent.h44 struct HiviewHieventPayload *head; member
/drivers/peripheral/codec/hal/include/
H A Dcodec_component_manager_service.h39 struct DListHead head; member
/drivers/peripheral/user_auth/hdi_service/database/src/
H A Didm_database.c157 LinkedListNode *temp = user->enrolledInfoList->head; in GetEnrolledInfoAuthType()
230 LinkedListNode *temp = g_userInfoList->head; in QueryUserInfo()
258 LinkedListNode *temp = enrolledInfoList->head; in GetAllEnrolledInfoFromUser()
292 LinkedListNode *temp = userInfoList->head; in IsSecureUidDuplicate()
353 LinkedListNode *temp = enrolledList->head; in IsEnrolledIdDuplicate()
392 LinkedListNode *temp = enrolledList->head; in UpdateEnrolledId()
603 LinkedListNode *temp = user->credentialInfoList->head; in RemoveCachePin()
658 LinkedListNode *temp = user->credentialInfoList->head; in DeletePinCredentialInfo()
749 LinkedListNode *temp = credentialList->head; in QueryCredentialById()
767 LinkedListNode *temp = credentialList->head; in QueryCredentialByAuthType()
[all...]
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
H A Dcontext_manager.c261 LinkedListNode *tempNode = g_contextList->head; in GetContext()
369 LinkedListNode *temp = credList->head; in QueryAuthTempletaInfo()
454 LinkedListNode *tempNode = g_contextList->head; in IsContextDuplicate()
492 LinkedListNode *temp = scheduleList->head; in CopySchedules()
569 LinkedListNode *tempNode = schedules->head; in DestroyContextNode()
602 LinkedListNode *tempNode = context->scheduleList->head; in GetCoAuthScheduleFromContext()
684 if (credList->head == NULL || credList->head->data == NULL) { in FillInContext()
688 CredentialInfoHal *credentialNode = (CredentialInfoHal *)credList->head->data; in FillInContext()
H A Dauth_level.c99 LinkedListNode *temp = executorList->head; in GetExecutorAslAndAcl()
136 LinkedListNode *temp = creds->head; in GetCredMaxAcl()
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
H A Dhostapd_common_cmd.c655 struct DListHead *head = NULL; in HdfHostapdCallbackFun() local
659 head = &HdfHostapdStubDriver()->remoteListHead; in HdfHostapdCallbackFun()
666 DLIST_FOR_EACH_ENTRY(pos, head, struct HdfHostapdRemoteNode, node) { in HdfHostapdCallbackFun()
742 struct DListHead *head = &HdfHostapdStubDriver()->remoteListHead; in HdfHostapdAddRemoteObj() local
748 if (!DListIsEmpty(head)) { in HdfHostapdAddRemoteObj()
749 DLIST_FOR_EACH_ENTRY(pos, head, struct HdfHostapdRemoteNode, node) { in HdfHostapdAddRemoteObj()
764 DListInsertTail(&newRemoteNode->node, head); in HdfHostapdAddRemoteObj()
773 struct DListHead *head = &HdfHostapdStubDriver()->remoteListHead; in HdfHostapdDelRemoteObj() local
775 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, struct HdfHostapdRemoteNode, node) { in HdfHostapdDelRemoteObj()
/drivers/peripheral/usb/gadget/function/ecm/
H A Dcdcecm.c165 static void UsbEcmFreeRequests(const struct DListHead *head, int32_t *allocated) in UsbEcmFreeRequests() argument
168 while (!DListIsEmpty(head)) { in UsbEcmFreeRequests()
169 req = DLIST_FIRST_ENTRY(head, struct UsbFnRequest, list); in UsbEcmFreeRequests()
211 struct DListHead *head = &port->readPool; in UsbEcmAllocReadRequests() local
218 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbEcmAllocReadRequests()
223 DListInsertTail(&req->list, head); in UsbEcmAllocReadRequests()
232 struct DListHead *head = &port->writePool; in UsbEcmAllocWriteRequests() local
239 return DListIsEmpty(head) ? HDF_FAILURE : HDF_SUCCESS; in UsbEcmAllocWriteRequests()
244 DListInsertTail(&req->list, head); in UsbEcmAllocWriteRequests()
252 struct DListHead *head in UsbEcmStartIo() local
[all...]
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnetbuf_adapter.c97 * Net buffer is a continuous memory which consists of three parts: head buffer, data buffer and tail buffer.
103 * |<--head buff-->|<----data buff---->|<--tail buff-->|
129 * Enqueue the new net buffer to the head of buffer queue.
346 * Pop head room and add to data buffer
409 * reduce data buffer and push to head room.
539 * head The reserved size at head room
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, siz in NetBufResizeRoom()
[all...]
/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnetbuf_adapter.c95 * Net buffer is a continuous memory which consists of three parts: head buffer, data buffer and tail buffer.
101 * |<--head buff-->|<----data buff---->|<--tail buff-->|
127 * Enqueue the new net buffer to the head of buffer queue.
344 * Pop head room and add to data buffer
407 * reduce data buffer and push to head room.
537 * head The reserved size at head room
541 int32_t NetBufResizeRoom(NetBuf *nb, uint32_t head, uint32_t tail) in NetBufResizeRoom() argument
551 size = head + nb->len + tail; in NetBufResizeRoom()
563 if (memcpy_s(data + head, siz in NetBufResizeRoom()
[all...]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A DGenerator.js161 let head = '';
165 head +=
170 return head + body;
/drivers/peripheral/user_auth/hdi_service/coauth/src/
H A Dpool.c101 LinkedListNode *temp = g_poolList->head; in IsExecutorIdDuplicate()
165 if (executors->head == NULL || executors->head->data == NULL) { in RegisterExecutorToPool()
169 executorInfo->executorIndex = ((ExecutorInfoHal *)(executors->head->data))->executorIndex; in RegisterExecutorToPool()
/drivers/hdf_core/framework/model/audio/usb/src/
H A Daudio_usb_mixer.c129 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 << USB_SHIFT_SIZE_8); in AudioUsbGetCtlValueV2()
622 if (mixElemInfo->head in AudioUsbGetCtlValue()
[all...]
/drivers/peripheral/user_auth/hdi_service/utils/inc/
H A Dlinked_list.h43 LinkedListNode *head; member
/drivers/hdf_core/framework/include/net/
H A Dhdf_netbuf.h309 * @param head Indicates the size of the header buffer segment reserved.
317 int32_t NetBufResizeRoom(NetBuf *nb, uint32_t head, uint32_t tail);

Completed in 22 milliseconds

12