Searched refs:serviceParseCtx (Results 1 – 3 of 3) sorted by relevance
/base/startup/init/services/modules/selinux/ |
D | selinux_static.c | 28 static void ServiceParseSelinuxHook(SERVICE_PARSE_CTX *serviceParseCtx) in ServiceParseSelinuxHook() argument 30 …char *fieldStr = cJSON_GetStringValue(cJSON_GetObjectItem(serviceParseCtx->serviceNode, SECON_STR_… in ServiceParseSelinuxHook() 31 PLUGIN_CHECK(fieldStr != NULL, return, "No secon item in %s", serviceParseCtx->serviceName); in ServiceParseSelinuxHook() 32 PLUGIN_LOGV("Cfg %s for %s", fieldStr, serviceParseCtx->serviceName); in ServiceParseSelinuxHook() 33 DelServiceExtData(serviceParseCtx->serviceName, HOOK_ID_SELINUX); in ServiceParseSelinuxHook() 34 … AddServiceExtData(serviceParseCtx->serviceName, HOOK_ID_SELINUX, fieldStr, strlen(fieldStr) + 1); in ServiceParseSelinuxHook()
|
/base/startup/init/services/modules/bootevent/ |
D | bootevent.c | 261 static void ServiceParseBootEventHook(SERVICE_PARSE_CTX *serviceParseCtx) in ServiceParseBootEventHook() argument 267 cJSON *bootEvents = cJSON_GetObjectItem(serviceParseCtx->serviceNode, BOOT_EVENT_FIELD_NAME); in ServiceParseBootEventHook() 274 ctx.serviceName = serviceParseCtx->serviceName; in ServiceParseBootEventHook() 278 if (AddServiceBootEvent(serviceParseCtx->serviceName, in ServiceParseBootEventHook() 280 INIT_LOGI("Add service bootEvent failed %s", serviceParseCtx->serviceName); in ServiceParseBootEventHook() 291 if (AddServiceBootEvent(serviceParseCtx->serviceName, in ServiceParseBootEventHook() 293 INIT_LOGI("Add service bootEvent failed %s", serviceParseCtx->serviceName); in ServiceParseBootEventHook()
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
D | bootstage.h | 117 typedef void (*ServiceParseHook)(SERVICE_PARSE_CTX *serviceParseCtx);
|