Lines Matching refs:manager_add_job
54 r = manager_add_job(m, JOB_START, c, JOB_REPLACE, &err, &j);
67 assert_se(manager_add_job(m, JOB_START, d, JOB_REPLACE, NULL, &j) == -EDEADLK);
71 assert_se(manager_add_job(m, JOB_START, e, JOB_REPLACE, NULL, &j) == 0);
75 assert_se(manager_add_job(m, JOB_START, e, JOB_FAIL, NULL, &j) == 0);
83 assert_se(manager_add_job(m, JOB_START, g, JOB_FAIL, NULL, &j) == -EDEADLK);
86 assert_se(manager_add_job(m, JOB_START, g, JOB_REPLACE, NULL, &j) == 0);
90 assert_se(manager_add_job(m, JOB_STOP, g, JOB_FAIL, NULL, &j) == -EDEADLK);
93 assert_se(manager_add_job(m, JOB_RESTART, g, JOB_FAIL, NULL, &j) == 0);
97 assert_se(manager_add_job(m, JOB_STOP, g, JOB_REPLACE, NULL, &j) == 0);
105 assert_se(manager_add_job(m, JOB_START, h, JOB_FAIL, NULL, &j) == 0);