Home
last modified time | relevance | path

Searched defs:workSpace (Results 1 – 12 of 12) sorted by relevance

/base/startup/init/services/param/base/
Dparam_trie.c28 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 …]
Dparam_include.h38 STATIC_INLINE ParamTrieNode *FindSubTrie(const WorkSpace *workSpace, in FindSubTrie()
71 const WorkSpace *workSpace, const char *key, uint32_t keyLen, uint32_t *matchLabel) in FindTrieNode_()
Dparam_comm.c50 WorkSpace *workSpace = NULL; in GetWorkSpace() local
Dparam_base.c41 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/
Dparam_trie.h36 #define GetTrieNode(workSpace, offset) (ParamTrieNode *)(((offset) == 0 || (offset) > (workSpace)->… argument
39 #define GetTrieRoot(workSpace) \ argument
Dparam_manager.h75 WorkSpace **workSpace; member
106 #define PARAM_HANDLE(workSpace, index) (ParamHandle)((workSpace)->spaceIndex << 24 | (index)) argument
/base/startup/init/services/param/trigger/
Dtrigger_manager.c114 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 …]
Dtrigger_processor.c227 static int ParseTrigger_(const TriggerWorkSpace *workSpace, in ParseTrigger_()
/base/startup/init/services/param/manager/
Dparam_manager.c64 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 …]
Dparam_persist.c65 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/
Dparam_service.c203 TriggerWorkSpace *workSpace = GetTriggerWorkSpace(); in AddWatcherTrigger() local
/base/startup/init/test/unittest/param/
Dparam_unittest.cpp457 WorkSpace *workSpace = (WorkSpace *)malloc(sizeof(WorkSpace) + size); variable