Home
last modified time | relevance | path

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

/ohos5.0/base/startup/init/services/init/lite/
H A Dinit_jobs.c28 static Job *g_jobs = NULL; variable
35 INIT_LOGV("\tjob name: %s", g_jobs[i].name); in DumpAllJobs()
36 if (g_jobs[i].cmdLines == NULL) { in DumpAllJobs()
122 g_jobs = retJobs; in ParseAllJobs()
135 if (strncmp(jobName, g_jobs[i].name, strlen(g_jobs[i].name)) == 0) { in DoJob()
136 CmdLines *cmdLines = g_jobs[i].cmdLines; in DoJob()
149 if (g_jobs == NULL) { in ReleaseAllJobs()
154 if (g_jobs[i].cmdLines != NULL) { in ReleaseAllJobs()
155 free(g_jobs[i].cmdLines); in ReleaseAllJobs()
159 free(g_jobs); in ReleaseAllJobs()
[all …]