Home
last modified time | relevance | path

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

/base/startup/init_lite/services/param/manager/
Dparam_manager.c28 static int GetParamSecurityOps(ParamWorkSpace *workSpace, int isInit) in GetParamSecurityOps()
43 int InitParamWorkSpace(ParamWorkSpace *workSpace, int onlyRead) in InitParamWorkSpace()
81 void CloseParamWorkSpace(ParamWorkSpace *workSpace) in CloseParamWorkSpace()
101 int ReadParamCommitId(const ParamWorkSpace *workSpace, ParamHandle handle, uint32_t *commitId) in ReadParamCommitId()
112 int ReadParamWithCheck(const ParamWorkSpace *workSpace, const char *name, uint32_t op, ParamHandle … in ReadParamWithCheck()
131 int ReadParamValue(const ParamWorkSpace *workSpace, ParamHandle handle, char *value, uint32_t *leng… in ReadParamValue()
154 int ReadParamName(const ParamWorkSpace *workSpace, ParamHandle handle, char *name, uint32_t length) in ReadParamName()
204 static int ProcessParamTraversal(const WorkSpace *workSpace, const ParamTrieNode *node, void *cooki… in ProcessParamTraversal()
227 int TraversalParam(const ParamWorkSpace *workSpace, in TraversalParam()
278 int CheckParamPermission(const ParamWorkSpace *workSpace, in CheckParamPermission()
[all …]
Dparam_trie.c30 static int InitWorkSpace_(WorkSpace *workSpace, int mode, int prot, uint32_t spaceSize, int readOnl… in InitWorkSpace_()
70 static uint32_t AllocateParamTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen) in AllocateParamTrieNode()
102 int InitWorkSpace(const char *fileName, WorkSpace *workSpace, int onlyRead) in InitWorkSpace()
126 void CloseWorkSpace(WorkSpace *workSpace) in CloseWorkSpace()
133 static ParamTrieNode *GetTrieRoot(const WorkSpace *workSpace) in GetTrieRoot()
149 static ParamTrieNode *AddToSubTrie(WorkSpace *workSpace, ParamTrieNode *current, const char *key, u… in AddToSubTrie()
179 ParamTrieNode *AddTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen) in AddTrieNode()
215 static ParamTrieNode *FindSubTrie(const WorkSpace *workSpace, in FindSubTrie()
244 ParamTrieNode *FindTrieNode(const WorkSpace *workSpace, const char *key, uint32_t keyLen, uint32_t … in FindTrieNode()
286 static int TraversalSubTrieNode(const WorkSpace *workSpace, in TraversalSubTrieNode()
[all …]
/base/startup/init_lite/services/param/service/
Dparam_persist.c33 WorkSpace *workSpace = (WorkSpace *)context; in AddPersistParam() local
40 static int SavePersistParam(const WorkSpace *workSpace, const ParamTrieNode *node, void *cookie) in SavePersistParam()
62 static int BatchSavePersistParam(const WorkSpace *workSpace) in BatchSavePersistParam()
84 int InitPersistParamWorkSpace(const ParamWorkSpace *workSpace) in InitPersistParamWorkSpace()
106 int LoadPersistParam(ParamWorkSpace *workSpace) in LoadPersistParam()
139 int WritePersistParam(ParamWorkSpace *workSpace, const char *name, const char *value) in WritePersistParam()
Dparam_service.c64 static int AddParam(WorkSpace *workSpace, const char *name, const char *value, uint32_t *dataIndex) in AddParam()
80 static int UpdateParam(const WorkSpace *workSpace, uint32_t *dataIndex, const char *name, const cha… in UpdateParam()
101 static int CheckParamValue(const WorkSpace *workSpace, const ParamTrieNode *node, const char *name,… in CheckParamValue()
118 int WriteParam(const WorkSpace *workSpace, const char *name, const char *value, uint32_t *dataIndex… in WriteParam()
141 ParamWorkSpace *workSpace = (ParamWorkSpace *)context; in AddSecurityLabel() local
168 static char *BuildKey(ParamWorkSpace *workSpace, const char *format, ...) in BuildKey()
187 static char *GetServiceCtrlName(ParamWorkSpace *workSpace, const char *name, const char *value) in GetServiceCtrlName()
225 static void CheckAndSendTrigger(ParamWorkSpace *workSpace, uint32_t dataIndex, const char *name, co… in CheckAndSendTrigger()
414 TriggerWorkSpace *workSpace = GetTriggerWorkSpace(); in AddWatcherTrigger() local
489 static int HandleParamWatcherAdd(ParamWorkSpace *workSpace, const ParamTaskPtr worker, const ParamM… in HandleParamWatcherAdd()
[all …]
/base/startup/init_lite/services/param/trigger/
Dtrigger_manager.c113 static TriggerNode *AddJobTrigger_(const TriggerWorkSpace *workSpace, in AddJobTrigger_()
135 static void DelJobTrigger_(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in DelJobTrigger_()
173 static TriggerNode *AddWatchTrigger_(const TriggerWorkSpace *workSpace, in AddWatchTrigger_()
200 static void DelWatchTrigger_(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in DelWatchTrigger_()
262 JobNode *UpdateJobTrigger(const TriggerWorkSpace *workSpace, in UpdateJobTrigger()
284 JobNode *GetTriggerByName(const TriggerWorkSpace *workSpace, const char *triggerName) in GetTriggerByName()
295 void FreeTrigger(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in FreeTrigger()
304 void ClearTrigger(const TriggerWorkSpace *workSpace, int8_t type) in ClearTrigger()
318 int ExecuteQueuePush(TriggerWorkSpace *workSpace, const TriggerNode *trigger) in ExecuteQueuePush()
326 TriggerNode *ExecuteQueuePop(TriggerWorkSpace *workSpace) in ExecuteQueuePop()
[all …]
Dtrigger_processor.c256 static int ParseTrigger_(const TriggerWorkSpace *workSpace, in ParseTrigger_()