Home
last modified time | relevance | path

Searched refs:listHead (Results 1 – 11 of 11) sorted by relevance

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_double_list.c32 void CmAddNodeAfterListHead(struct DoubleList *listHead, struct DoubleList *listNode) in CmAddNodeAfterListHead() argument
34 if ((listHead == NULL) || (listNode == NULL)) { in CmAddNodeAfterListHead()
38 if (listHead->next == NULL) { in CmAddNodeAfterListHead()
39 listHead->next = listHead; in CmAddNodeAfterListHead()
42 listHead->next->prev = listNode; in CmAddNodeAfterListHead()
43 listNode->next = listHead->next; in CmAddNodeAfterListHead()
44 listNode->prev = listHead; in CmAddNodeAfterListHead()
45 listHead->next = listNode; in CmAddNodeAfterListHead()
48 void CmAddNodeAtListTail(struct DoubleList *listHead, struct DoubleList *listNode) in CmAddNodeAtListTail() argument
50 if ((listHead == NULL) || (listNode == NULL)) { in CmAddNodeAtListTail()
[all …]
Dcert_manager_session_mgr.c64 CmRemoveNodeFromList(&(*sessionNode)->listHead); in RemoveAndFreeSessionNode()
99 CmAddNodeAtListTail(&g_sessionList, &sessionNode->listHead); in AddSessionNode()
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_parameter.c64 ParamContextsList *listHead = *list; in DestroyParamList() local
65 while (listHead != NULL) { in DestroyParamList()
66 tmpNode = listHead->next; in DestroyParamList()
67 free(listHead); in DestroyParamList()
68 listHead = tmpNode; in DestroyParamList()
Dcontexts_trie.c246 static int FindContextFromList(const char *context, ParamContextsList *listHead) in FindContextFromList() argument
248 if ((context == NULL) || (listHead == NULL)) { in FindContextFromList()
251 ParamContextsList *tmpHead = listHead; in FindContextFromList()
293 bool ReadParamFromSharedMem(ParamContextsTrie **trieRoot, ParamContextsList **listHead) in ReadParamFromSharedMem() argument
324 *listHead = listPtr; in ReadParamFromSharedMem()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Dcert_manager_double_list.h32 void CmAddNodeAfterListHead(struct DoubleList *listHead, struct DoubleList *listNode);
34 void CmAddNodeAtListTail(struct DoubleList *listHead, struct DoubleList *listNode);
Dcert_manager_session_mgr.h32 struct DoubleList listHead; member
/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dcontexts_trie.h32 bool ReadParamFromSharedMem(ParamContextsTrie **trieRoot, ParamContextsList **listHead);
/base/security/huks/services/huks_standard/huks_engine/main/core/include/
Dhks_keynode.h30 struct DoubleList listHead; member
/base/security/huks/services/huks_standard/huks_service/main/core/include/
Dhks_session_manager.h26 struct DoubleList listHead; member
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_session_manager.c64 RemoveDoubleListNode(&(*operation)->listHead); in FreeOperation()
103 AddNodeAtDoubleListTail(&g_operationList, &operation->listHead); in AddOperation()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keynode.c132 AddNodeAfterDoubleListHead(&g_keyNodeList, &keyNode->listHead); in AddKeyNode()
368 RemoveDoubleListNode(&keyNode->listHead); in HksDeleteKeyNode()