Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-engine.c109 r = manager_add_job(m, JOB_START, c, JOB_REPLACE, NULL, &err, &j); in main()
122 assert_se(manager_add_job(m, JOB_START, d, JOB_REPLACE, NULL, NULL, &j) == -EDEADLK); in main()
126 assert_se(manager_add_job(m, JOB_START, e, JOB_REPLACE, NULL, NULL, &j) == 0); in main()
130 assert_se(manager_add_job(m, JOB_START, e, JOB_FAIL, NULL, NULL, &j) == 0); in main()
138 assert_se(manager_add_job(m, JOB_START, g, JOB_FAIL, NULL, NULL, &j) == -EDEADLK); in main()
141 assert_se(manager_add_job(m, JOB_START, g, JOB_REPLACE, NULL, NULL, &j) == 0); in main()
145 assert_se(manager_add_job(m, JOB_STOP, g, JOB_FAIL, NULL, NULL, &j) == -EDEADLK); in main()
148 assert_se(manager_add_job(m, JOB_RESTART, g, JOB_FAIL, NULL, NULL, &j) == 0); in main()
152 assert_se(manager_add_job(m, JOB_STOP, g, JOB_REPLACE, NULL, NULL, &j) == 0); in main()
160 assert_se(manager_add_job(m, JOB_START, h, JOB_FAIL, NULL, NULL, &j) == 0); in main()
[all …]
/systemd-251/src/analyze/
Danalyze-verify-util.c220 r = manager_add_job(u->manager, JOB_START, u, JOB_REPLACE, NULL, &err, NULL); in verify_unit()
/systemd-251/src/core/
Dautomount.c814 r = manager_add_job(UNIT(a)->manager, JOB_START, trigger, JOB_REPLACE, NULL, &error, NULL); in automount_enter_running()
1041 … r = manager_add_job(UNIT(a)->manager, JOB_STOP, trigger, JOB_REPLACE, NULL, &error, NULL); in automount_dispatch_io()
Dmanager.h496 int manager_add_job(Manager *m, JobType type, Unit *unit, JobMode mode, Set *affected_jobs, sd_bus_…
Dmanager.c1365 r = manager_add_job(u->manager, JOB_STOP, u, JOB_FAIL, NULL, &error, NULL); in manager_dispatch_stop_when_unneeded_queue()
1403 r = manager_add_job(u->manager, JOB_START, u, JOB_FAIL, NULL, &error, NULL); in manager_dispatch_start_when_upheld_queue()
1441 r = manager_add_job(u->manager, JOB_STOP, u, JOB_REPLACE, NULL, &error, NULL); in manager_dispatch_stop_when_bound_queue()
1873 int manager_add_job( in manager_add_job() function
1959 return manager_add_job(m, type, unit, mode, affected_jobs, e, ret); in manager_add_job_by_name()
Dpath.c521 r = manager_add_job(UNIT(p)->manager, JOB_START, trigger, JOB_REPLACE, NULL, &error, NULL); in path_enter_running()
Dunit.c2196manager_add_job(u->manager, JOB_START, other, JOB_REPLACE, NULL, NULL, NULL); in retroactively_start_dependencies()
2201 manager_add_job(u->manager, JOB_START, other, JOB_FAIL, NULL, NULL, NULL); in retroactively_start_dependencies()
2205 manager_add_job(u->manager, JOB_STOP, other, JOB_REPLACE, NULL, NULL, NULL); in retroactively_start_dependencies()
2217 manager_add_job(u->manager, JOB_STOP, other, JOB_REPLACE, NULL, NULL, NULL); in retroactively_stop_dependencies()
2244 r = manager_add_job(u->manager, JOB_START, other, job_mode, NULL, &error, NULL); in unit_start_on_failure()
Dtimer.c597 r = manager_add_job(UNIT(t)->manager, JOB_START, trigger, JOB_REPLACE, NULL, &error, NULL); in timer_enter_running()
Dmain.c2232 r = manager_add_job(m, JOB_START, target, JOB_ISOLATE, NULL, &error, &job); in do_queue_default_job()
2238 r = manager_add_job(m, JOB_START, target, JOB_REPLACE, NULL, &error, &job); in do_queue_default_job()
Ddbus.c180 r = manager_add_job(m, JOB_START, u, JOB_REPLACE, NULL, &error, NULL); in signal_activation_request()
Dsocket.c2341 …r = manager_add_job(UNIT(s)->manager, JOB_START, UNIT_DEREF(s->service), JOB_REPLACE, NULL, &error… in socket_enter_running()
2397 … r = manager_add_job(UNIT(s)->manager, JOB_START, service, JOB_REPLACE, NULL, &error, NULL); in socket_enter_running()
Ddbus-unit.c1770 r = manager_add_job(u->manager, type, u, mode, affected, error, &j); in bus_unit_queue_job_one()
Dservice.c2355 … r = manager_add_job(UNIT(s)->manager, JOB_RESTART, UNIT(s), JOB_REPLACE, NULL, &error, NULL); in service_enter_restart()