/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/interfaces/innerkits/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/interfaces/innerkits/modulemgr/ |
D | modulemgr.c | 39 ListNode modules; 79 ListNode node; 85 static void ModuleDestroy(ListNode *node) in ModuleDestroy() 130 static int ModuleCompare(ListNode *node, void *data) in ModuleCompare() 166 ModuleDestroy((ListNode *)module); in ModuleMgrInstall() 174 ModuleDestroy((ListNode *)module); in ModuleMgrInstall() 179 OH_ListAddTail(&(moduleMgr->modules), (ListNode *)module); in ModuleMgrInstall() 285 OH_ListRemove((ListNode *)module); in ModuleMgrUninstall() 287 ModuleDestroy((ListNode *)module); in ModuleMgrUninstall() 301 static int ModuleTraversalProc(ListNode *node, void *cookie) in ModuleTraversalProc() [all …]
|
/base/startup/init/services/modules/bootevent/ |
D | bootevent.c | 51 ListNode node; 57 static ListNode bootEventList = {&bootEventList, &bootEventList}; 59 static int BootEventParaListCompareProc(ListNode *node, void *data) in BootEventParaListCompareProc() 68 static int ParseBooteventCompareProc(ListNode *node, void *data) in ParseBooteventCompareProc() 80 ListNode *found = NULL; in AddServiceBootEvent() 109 OH_ListAddTail(&bootEventList, (ListNode *)&item->node); in AddServiceBootEvent() 115 ListNode *found = NULL; in AddInitBootEvent() 137 OH_ListAddTail(&bootEventList, (ListNode *)&item->node); in AddInitBootEvent() 143 static void BootEventDestroy(ListNode *node) in BootEventDestroy() 164 static int BootEventTraversal(ListNode *node, void *root) in BootEventTraversal() [all …]
|
/base/startup/init/services/init/include/ |
D | init_cmdexecutor.h | 29 ListNode cmdExecutor; 36 ListNode node;
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
D | init_cmdexecutor.h | 29 ListNode cmdExecutor; 36 ListNode node;
|
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd.h | 46 struct ListNode head; 58 struct ListNode item;
|
D | control_fd_service.c | 165 static int ClientTraversalProc(ListNode *node, void *data) in ClientTraversalProc() 174 ListNode *node = OH_ListFind(&g_cmdService.head, (void *)&pid, ClientTraversalProc); in CmdServiceProcessDelClient()
|
/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/interfaces/innerkits/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/standard/ |
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 | 86 ListNode triggerList; 115 ListNode node; \ 134 ListNode item; 140 ListNode item;
|
/base/startup/init/ueventd/ |
D | ueventd_read_cfg.c | 61 struct ListNode g_devices = { 66 struct ListNode g_sysDevices = { 71 struct ListNode g_firmwares = { 347 struct ListNode *node = NULL; in GetDeviceUdevConfByDevNode() 365 struct ListNode *node = NULL; in GetDeviceNodePermissions() 386 struct ListNode *node = NULL; in ChangeSysAttributePermissions()
|
/base/security/device_security_level/services/include/ |
D | dslm_notify_node.h | 30 ListNode linkNode;
|
/base/startup/init/services/modules/init_hook/ |
D | init_hook.h | 42 struct ListNode node;
|
D | init_hook.c | 28 static int ServiceExtDataCompareProc(ListNode *node, void *data) in ServiceExtDataCompareProc() 39 ListNode *node = OH_ListFind(&service->extDataNode, (void *)&id, ServiceExtDataCompareProc); in GetServiceExtData_()
|
/base/startup/init/services/init/standard/ |
D | init_cmdexecutor.c | 68 ListNode *node = cmd->cmdExecutor.next; in RemoveCmdExecutor() 98 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd_() 128 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd()
|
/base/startup/init/services/loopevent/task/ |
D | le_task.h | 44 ListNode node;
|
D | le_task.c | 98 ListNode *node = task->buffHead.next; in GetFirstBuffer() 118 ListNode *node = NULL; in GetNextBuffer()
|