/base/startup/init/services/param/base/ |
D | param_trie.c | 28 static int GetRealFileName(WorkSpace *workSpace, char *buffer, uint32_t size) in GetRealFileName() 36 static int InitWorkSpace_(WorkSpace *workSpace, uint32_t spaceSize, int readOnly) in InitWorkSpace_() 66 static uint32_t AllocateParamTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen) in AllocateParamTrieNode() 89 INIT_LOCAL_API int InitWorkSpace(WorkSpace *workSpace, int onlyRead, uint32_t spaceSize) in InitWorkSpace() 102 INIT_LOCAL_API void CloseWorkSpace(WorkSpace *workSpace) in CloseWorkSpace() 117 static int CheckWorkSpace(const WorkSpace *workSpace) in CheckWorkSpace() 136 static ParamTrieNode *AddToSubTrie(WorkSpace *workSpace, ParamTrieNode *current, const char *key, u… in AddToSubTrie() 168 ParamTrieNode *AddTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen) in AddTrieNode() 203 static int TraversalSubTrieNode(const WorkSpace *workSpace, in TraversalSubTrieNode() 216 INIT_LOCAL_API int TraversalTrieNode(const WorkSpace *workSpace, in TraversalTrieNode() [all …]
|
D | param_include.h | 38 STATIC_INLINE ParamTrieNode *FindSubTrie(const WorkSpace *workSpace, in FindSubTrie() 71 const WorkSpace *workSpace, const char *key, uint32_t keyLen, uint32_t *matchLabel) in FindTrieNode_()
|
D | param_comm.c | 50 WorkSpace *workSpace = NULL; in GetWorkSpace() local
|
D | param_base.c | 41 static int InitParamSecurity(ParamWorkSpace *workSpace, in InitParamSecurity() 244 WorkSpace *workSpace = (WorkSpace *)malloc(sizeof(WorkSpace) + size); in AddWorkSpace() local 296 WorkSpace *workSpace = NULL; in OpenWorkSpace() local 547 STATIC_INLINE ParamTrieNode *BaseFindTrieNode(WorkSpace *workSpace, in BaseFindTrieNode()
|
/base/startup/init/services/param/include/ |
D | param_trie.h | 36 #define GetTrieNode(workSpace, offset) (ParamTrieNode *)(((offset) == 0 || (offset) > (workSpace)->… argument 39 #define GetTrieRoot(workSpace) \ argument
|
D | param_manager.h | 75 WorkSpace **workSpace; member 106 #define PARAM_HANDLE(workSpace, index) (ParamHandle)((workSpace)->spaceIndex << 24 | (index)) argument
|
/base/startup/init/services/param/trigger/ |
D | trigger_manager.c | 114 static TriggerNode *AddJobTrigger_(const TriggerWorkSpace *workSpace, in AddJobTrigger_() 138 static void DelJobTrigger_(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in DelJobTrigger_() 176 static TriggerNode *AddWatchTrigger_(const TriggerWorkSpace *workSpace, in AddWatchTrigger_() 203 static void DelWatchTrigger_(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in DelWatchTrigger_() 269 JobNode *UpdateJobTrigger(const TriggerWorkSpace *workSpace, in UpdateJobTrigger() 291 JobNode *GetTriggerByName(const TriggerWorkSpace *workSpace, const char *triggerName) in GetTriggerByName() 302 void FreeTrigger(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in FreeTrigger() 311 void ClearTrigger(const TriggerWorkSpace *workSpace, int8_t type) in ClearTrigger() 325 int ExecuteQueuePush(TriggerWorkSpace *workSpace, const TriggerNode *trigger) in ExecuteQueuePush() 333 TriggerNode *ExecuteQueuePop(TriggerWorkSpace *workSpace) in ExecuteQueuePop() [all …]
|
D | trigger_processor.c | 227 static int ParseTrigger_(const TriggerWorkSpace *workSpace, in ParseTrigger_()
|
/base/startup/init/services/param/manager/ |
D | param_manager.c | 64 static int ProcessParamTraversal(const WorkSpace *workSpace, const ParamTrieNode *node, const void … in ProcessParamTraversal() 106 WorkSpace *workSpace = GetNextWorkSpace(NULL); in SystemTraversalParameter() local 125 static int DumpTrieDataNodeTraversal(const WorkSpace *workSpace, const ParamTrieNode *node, const v… in DumpTrieDataNodeTraversal() 154 static void HashNodeTraverseForDump(WorkSpace *workSpace, int verbose) in HashNodeTraverseForDump() 203 WorkSpace *workSpace = GetWorkSpace(index); in SystemDumpParameters() local 209 WorkSpace *workSpace = GetNextWorkSpace(NULL); in SystemDumpParameters() local 225 WorkSpace *workSpace = GetNextWorkSpace(NULL); in SysCheckParamExist() local 395 static int AddParam(WorkSpace *workSpace, uint8_t type, const char *name, const char *value, uint32… in AddParam() 421 static int UpdateParam(const WorkSpace *workSpace, uint32_t *dataIndex, const char *name, const cha… in UpdateParam() 456 WorkSpace *workSpace = GetWorkSpaceByName(name); in WriteParam() local [all …]
|
D | param_persist.c | 65 static int SavePersistParam(const WorkSpace *workSpace, const ParamTrieNode *node, const void *cook… in SavePersistParam() 107 WorkSpace *workSpace = GetNextWorkSpace(NULL); in BatchSavePersistParam() local
|
/base/startup/init/services/param/linux/ |
D | param_service.c | 203 TriggerWorkSpace *workSpace = GetTriggerWorkSpace(); in AddWatcherTrigger() local
|
/base/startup/init/test/unittest/param/ |
D | param_unittest.cpp | 457 WorkSpace *workSpace = (WorkSpace *)malloc(sizeof(WorkSpace) + size); variable
|