Home
last modified time | relevance | path

Searched refs:GetParamWorkSpace (Results 1 – 10 of 10) sorted by relevance

/base/startup/init/services/param/adapter/
Dparam_selinux.c40 …const char *libname = (GetParamWorkSpace()->ops.updaterMode == 1) ? CHECKER_UPDATER_LIB_NAME : CHE… in InitSelinuxOpsForInit()
85 PARAM_CHECK(GetParamWorkSpace() != NULL, return -1, "Invalid workspace"); in InitLocalSecurityLabel()
95 int ret = InitSelinuxOpsForInit(&GetParamWorkSpace()->selinuxSpace); in InitLocalSecurityLabel()
98 SelinuxSpace *selinuxSpace = &GetParamWorkSpace()->selinuxSpace; in InitLocalSecurityLabel()
118 PARAM_CHECK(GetParamWorkSpace() != NULL && GetParamWorkSpace()->ops.setfilecon != NULL, in SetSelinuxFileCon()
125 if (GetParamWorkSpace()->ops.setfilecon(buffer, context) < 0) { in SetSelinuxFileCon()
172 SelinuxSpace *selinuxSpace = &GetParamWorkSpace()->selinuxSpace; in SelinuxGetAllLabel()
225 SelinuxSpace *selinuxSpace = &GetParamWorkSpace()->selinuxSpace; in GetSelinuxContent()
263 SelinuxSpace *selinuxSpace = &GetParamWorkSpace()->selinuxSpace; in SelinuxCheckParamPermission()
312 PARAM_CHECK(GetParamWorkSpace() != NULL, return -1, "Invalid workspace"); in RegisterSecuritySelinuxOps()
[all …]
/base/startup/init/services/param/base/
Dparam_comm.c43 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetWorkSpace()
80 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetTrieNodeByHandle()
103 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetFirstWorkSpace()
118 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetNextWorkSpace()
133 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in ReadParamWithCheck()
315 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in WriteParam()
352 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in AddSecurityLabel()
391 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetParamSecurityOps()
398 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetParamSecurityLabel()
489 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in ReadParamName()
[all …]
Dparam_base.c218 INIT_INNER_API ParamWorkSpace *GetParamWorkSpace(void) in GetParamWorkSpace() function
251 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in AddWorkSpace()
352 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in ReadParamValue()
372 PARAM_CHECK(GetParamWorkSpace() != NULL, return NULL, "Invalid workspace"); in CachedParameterCreate()
373 PARAM_WORKSPACE_CHECK(GetParamWorkSpace(), return NULL, "Invalid param workspace"); in CachedParameterCreate()
/base/startup/init/test/unittest/param/
Dselinux_unittest.cpp140 uint8_t updataMode = GetParamWorkSpace()->ops.updaterMode; in TestClientSelinuxCheckParaPermissionRead()
141 GetParamWorkSpace()->ops.updaterMode = 1; // 1 test updater mode in TestClientSelinuxCheckParaPermissionRead()
146 GetParamWorkSpace()->ops.updaterMode = updataMode; in TestClientSelinuxCheckParaPermissionRead()
Dparam_stub.cpp132 SelinuxSpace *selinuxSpace = &GetParamWorkSpace()->selinuxSpace; in TestSetSelinuxOps()
/base/startup/init/services/param/manager/
Dparam_manager.c30 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in SystemCheckMatchParamWait()
85 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in SystemTraversalParameter()
179 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in SystemDumpParameters()
213 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in SysCheckParamExist()
236 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetParamSecurityAuditData()
346 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in CheckParameterSet()
Dparam_persist.c38 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in GetPersistCommitId()
53 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in UpdatePersistCommitId()
Dparam_server.c23 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in LoadSecurityLabel()
/base/startup/init/services/param/include/
Dparam_manager.h129 INIT_INNER_API ParamWorkSpace *GetParamWorkSpace(void);
/base/startup/init/services/param/linux/
Dparam_service.c360 ParamWorkSpace *paramSpace = GetParamWorkSpace(); in LoadSelinuxLabel()