/base/startup/init/services/include/ |
D | list.h | 71 typedef struct ListNode { struct 72 struct ListNode *next; argument 73 struct ListNode *prev; argument 74 } ListNode, ListHead; typedef 88 void OH_ListInit(struct ListNode *list); 97 void OH_ListAddTail(struct ListNode *list, struct ListNode *item); 106 void OH_ListRemove(struct ListNode *item); 118 typedef int (*ListCompareProc)(ListNode *node, ListNode *newNode); 131 void OH_ListAddWithOrder(struct ListNode *head, struct ListNode *item, ListCompareProc compareProc); 141 typedef int (*ListTraversalProc)(ListNode *node, void *data); [all …]
|
/base/startup/init/services/utils/ |
D | list.c | 29 void OH_ListInit(struct ListNode *node) in OH_ListInit() 45 void OH_ListAddTail(struct ListNode *head, struct ListNode *item) in OH_ListAddTail() 63 void OH_ListRemove(struct ListNode *item) in OH_ListRemove() 83 void OH_ListAddWithOrder(struct ListNode *head, struct ListNode *item, ListCompareProc compareProc) in OH_ListAddWithOrder() 85 ListNode *match; in OH_ListAddWithOrder() 117 ListNode *OH_ListFind(const ListNode *head, void *data, ListTraversalProc compareProc) in OH_ListFind() 119 ListNode *match; in OH_ListFind() 152 int OH_ListTraversal(ListNode *head, void *data, ListTraversalProc traversalProc, unsigned int flag… in OH_ListTraversal() 154 ListNode *match; in OH_ListTraversal() 155 ListNode *next; in OH_ListTraversal() [all …]
|
/base/startup/init/services/sandbox/include/ |
D | sandbox.h | 38 struct ListNode node; 44 struct ListNode node; 48 ListNode pathMountsHead; 49 ListNode fileMountsHead; 50 ListNode linksHead;
|
/base/security/device_security_level/baselib/utils/include/ |
D | utils_list.h | 24 typedef ListHead ListNode; typedef 26 static inline void AddListNode(ListNode *item, ListNode *where) in AddListNode() 34 static inline void AddListNodeBefore(ListNode *item, ListNode *where) in AddListNodeBefore() 39 static inline void RemoveListNode(ListNode *item) in RemoveListNode()
|
/base/startup/init/ueventd/include/ |
D | ueventd_read_cfg.h | 34 struct ListNode list; 35 struct ListNode paramNode; 44 struct ListNode list; 49 struct ListNode list;
|
/base/startup/init/interfaces/innerkits/hookmgr/ |
D | hookmgr.c | 32 ListNode node; 41 ListNode node; 43 ListNode hooks; 51 ListNode stages; 72 static int hookStageCompare(ListNode *node, void *data) in hookStageCompare() 81 static void hookStageDestroy(ListNode *node) in hookStageDestroy() 107 OH_ListAddTail(&(hookMgr->stages), (ListNode *)stageItem); in getHookStage() 111 static int hookItemCompare(ListNode *node, ListNode *newNode) in hookItemCompare() 127 static int hookItemCompareValue(ListNode *node, void *data) in hookItemCompareValue() 163 OH_ListAddWithOrder(&(hookStage->hooks), (ListNode *)hookItem, hookItemCompare); in addHookToStage() [all …]
|
/base/startup/init/test/unittest/modules/ |
D | sysevent_unittest.cpp | 30 extern void ReportBootEventComplete(ListNode *events); 33 static void AddBootEvent(ListNode *events, const char *name, int32_t type) in AddBootEvent() 48 OH_ListAddTail(events, (ListNode *)&item->node); in AddBootEvent() 51 static void BootEventDestroyProc(ListNode *node) in BootEventDestroyProc() 79 ListNode events = { &events, &events }; 86 ListNode events = { &events, &events };
|
/base/startup/init/interfaces/innerkits/modulemgr/ |
D | modulemgr.c | 39 ListNode modules; 79 ListNode node; 85 static void ModuleDestroy(ListNode *node) in ModuleDestroy() 129 static int ModuleCompare(ListNode *node, void *data) in ModuleCompare() 172 ModuleDestroy((ListNode *)module); in ModuleMgrInstall() 177 OH_ListAddTail(&(moduleMgr->modules), (ListNode *)module); in ModuleMgrInstall() 283 OH_ListRemove((ListNode *)module); in ModuleMgrUninstall() 285 ModuleDestroy((ListNode *)module); in ModuleMgrUninstall() 299 static int ModuleTraversalProc(ListNode *node, void *cookie) in ModuleTraversalProc() 334 OH_ListTraversal((ListNode *)(&(moduleMgr->modules)), (void *)(&args), ModuleTraversalProc, 0); in ModuleMgrTraversal()
|
/base/startup/init/services/modules/bootevent/ |
D | bootevent.h | 49 ListNode node; 57 ListNode *GetBootEventList(void);
|
D | bootevent.c | 33 static ListNode bootEventList = {&bootEventList, &bootEventList}; 35 static int BootEventParaListCompareProc(ListNode *node, void *data) in BootEventParaListCompareProc() 47 static int ParseBooteventCompareProc(ListNode *node, void *data) in ParseBooteventCompareProc() 59 ListNode *found = NULL; in AddServiceBootEvent() 89 OH_ListAddTail(&bootEventList, (ListNode *)&item->node); in AddServiceBootEvent() 95 ListNode *found = NULL; in AddInitBootEvent() 114 OH_ListAddTail(&bootEventList, (ListNode *)&item->node); in AddInitBootEvent() 120 static void BootEventDestroy(ListNode *node) in BootEventDestroy() 141 static int BootEventTraversal(ListNode *node, void *root) in BootEventTraversal() 223 ListNode *found = NULL; in BootEventParaFireByName() [all …]
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
D | init_cmdexecutor.h | 29 ListNode cmdExecutor; 37 ListNode node;
|
/base/startup/init/services/init/include/ |
D | init_cmdexecutor.h | 29 ListNode cmdExecutor; 37 ListNode node;
|
/base/startup/init/ueventd/ |
D | ueventd_read_cfg.c | 49 struct ListNode g_devices = { 54 struct ListNode g_sysDevices = { 59 struct ListNode g_firmwares = { 331 struct ListNode *node = NULL; in GetDeviceUdevConfByDevNode() 350 struct ListNode *node = NULL; in GetDeviceNodePermissions() 371 struct ListNode *node = NULL; in ChangeSysAttributePermissions() 401 static void FreeDeviceConfig(ListNode *node) in FreeDeviceConfig() 410 static void FreeSysUdevConf(ListNode *node) in FreeSysUdevConf() 418 static void FreeFirmwareUdevConf(ListNode *node) in FreeFirmwareUdevConf()
|
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd.h | 46 struct ListNode head; 58 struct ListNode item;
|
D | control_fd_service.c | 166 static int ClientTraversalProc(ListNode *node, void *data) in ClientTraversalProc() 175 ListNode *node = OH_ListFind(&g_cmdService.head, (void *)&pid, ClientTraversalProc); in CmdServiceProcessDelClient() 184 static void CmdServiceDestroyProc(ListNode *node) in CmdServiceDestroyProc()
|
/base/security/device_security_level/services/dslm/ |
D | dslm_device_list.c | 50 ListNode *node = NULL; in GetDeviceListSize() 67 ListNode *node = NULL; in GetDslmDeviceInfo() 141 ListNode *node = NULL; in ForEachDeviceDump()
|
D | dslm_core_defines.h | 39 ListNode linkNode;
|
D | dslm_fsm_process.c | 145 ListNode *node = NULL; in ProcessSendDeviceInfoCallback() 146 ListNode *temp = NULL; in ProcessSendDeviceInfoCallback() 352 ListNode *node = NULL; in RefreshNotifyList() 370 ListNode *node = NULL; in RefreshHistoryList() 371 ListNode *temp = NULL; in RefreshHistoryList()
|
/base/startup/init/services/sandbox/ |
D | sandbox.c | 126 static void FreeSandboxMountInfo(ListNode *list) in FreeSandboxMountInfo() 148 static void FreeSandboxLinkInfo(ListNode *list) in FreeSandboxLinkInfo() 170 static int CompareSandboxListForMountTarget(ListNode *list, void *data) in CompareSandboxListForMountTarget() 183 static void RemoveOldSandboxMountListNode(ListNode *head, const char *targetMount) in RemoveOldSandboxMountListNode() 188 ListNode *node = OH_ListFind(head, (void *)targetMount, CompareSandboxListForMountTarget); in RemoveOldSandboxMountListNode() 196 static int CompareSandboxListForLinkName(ListNode *list, void *data) in CompareSandboxListForLinkName() 209 static void RemoveOldSandboxLinkListNode(ListNode *head, const char *linkName) in RemoveOldSandboxLinkListNode() 214 ListNode *node = OH_ListFind(head, (void *)linkName, CompareSandboxListForLinkName); in RemoveOldSandboxLinkListNode() 472 static int MountSandboxNode(ListNode *list, void *data) in MountSandboxNode() 492 static int MountSandboxInfo(struct ListNode *head, const char *rootPath, SandboxTag tag) in MountSandboxInfo() [all …]
|
/base/security/device_security_level/baselib/msglib/src/common/ |
D | messenger_device_session_manager.c | 57 ListNode link; 65 ListNode link; 207 ListNode *node = NULL; in MessengerOnSessionOpened() 208 ListNode *temp = NULL; in MessengerOnSessionOpened() 239 ListNode *node = NULL; in MessengerOnSessionClosed() 240 ListNode *temp = NULL; in MessengerOnSessionClosed() 339 ListNode *node = NULL; in DeInitDeviceSessionManager() 340 ListNode *temp = NULL; in DeInitDeviceSessionManager() 370 ListNode *node = NULL; in GetOpenedSessionId()
|
/base/startup/init/services/param/include/ |
D | trigger_manager.h | 87 ListNode triggerList; 117 ListNode node; \ 136 ListNode item; 142 ListNode item;
|
/base/security/device_security_level/services/include/ |
D | dslm_notify_node.h | 30 ListNode linkNode;
|
/base/security/device_security_level/services/sa/lite/ |
D | dslm_ipc_process.h | 28 ListNode node;
|
/base/startup/init/services/modules/init_hook/ |
D | init_hook.h | 42 struct ListNode node;
|
/base/startup/init/services/modules/sysevent/ |
D | startup_time_event.c | 48 static int TraversalEvent(ListNode *node, void *root) in TraversalEvent() 71 PLUGIN_STATIC void ReportBootEventComplete(ListNode *events) in ReportBootEventComplete()
|