Searched refs:load_state (Results 1 - 25 of 32) sorted by relevance

12

/systemd/src/test/
H A Dtest-sched-prio.c46 assert_se(idle_ok->load_state == UNIT_LOADED);
55 assert_se(idle_bad->load_state == UNIT_LOADED);
65 assert_se(rr_ok->load_state == UNIT_LOADED);
75 assert_se(rr_bad->load_state == UNIT_LOADED);
85 assert_se(rr_sched->load_state == UNIT_LOADED);
H A Dtest-cgroup-mask.c61 assert_se(parent->load_state == UNIT_LOADED);
62 assert_se(son->load_state == UNIT_LOADED);
63 assert_se(daughter->load_state == UNIT_LOADED);
64 assert_se(grandchild->load_state == UNIT_LOADED);
65 assert_se(parent_deep->load_state == UNIT_LOADED);
H A Dtest-job-type.c34 .meta.load_state = UNIT_LOADED,
/systemd/src/core/
H A Dpath.c256 assert(u->load_state == UNIT_STUB);
300 if (UNIT(p)->load_state != UNIT_LOADED)
337 assert(u->load_state == UNIT_STUB);
343 if (u->load_state == UNIT_LOADED) {
570 if (!trigger || trigger->load_state != UNIT_LOADED) {
706 if (other->load_state != UNIT_LOADED)
H A Dscope.c50 assert(u->load_state == UNIT_STUB);
138 if (UNIT(s)->load_state != UNIT_LOADED)
156 assert(u->load_state == UNIT_STUB);
161 u->load_state = UNIT_LOADED;
H A Dslice.c106 if (UNIT(s)->load_state != UNIT_LOADED)
137 if (u->load_state == UNIT_LOADED) {
H A Dunit.c338 if (u->load_state != UNIT_STUB || u->in_load_queue)
374 if (u->load_state == UNIT_STUB || u->in_dbus_queue)
569 if (u->load_state == UNIT_MERGED)
709 if (other->load_state != UNIT_STUB &&
710 other->load_state != UNIT_NOT_FOUND)
749 other->load_state = UNIT_MERGED;
754 if (other->load_state != UNIT_STUB)
793 while (u->load_state == UNIT_MERGED)
907 prefix, unit_load_state_to_string(u->load_state),
993 if (u->load_state
[all...]
H A Ddbus-scope.c181 if (u->load_state == UNIT_STUB) {
H A Dtarget.c93 if (u->load_state == UNIT_LOADED && u->default_dependencies) {
H A Dmain.c1768 else if (target->load_state == UNIT_ERROR || target->load_state == UNIT_NOT_FOUND)
1770 else if (target->load_state == UNIT_MASKED)
1773 if (!target || target->load_state != UNIT_LOADED) {
1781 } else if (target->load_state == UNIT_ERROR || target->load_state == UNIT_NOT_FOUND) {
1785 } else if (target->load_state == UNIT_MASKED) {
1792 assert(target->load_state == UNIT_LOADED);
H A Dbusname.c58 assert(u->load_state == UNIT_STUB);
209 if (UNIT(n)->load_state != UNIT_LOADED)
231 assert(u->load_state == UNIT_STUB);
237 if (u->load_state == UNIT_LOADED) {
627 if (UNIT(service)->load_state != UNIT_LOADED) {
958 if (other->load_state != UNIT_LOADED || other->type != UNIT_SERVICE)
H A Dtimer.c52 assert(u->load_state == UNIT_STUB);
88 if (UNIT(t)->load_state != UNIT_LOADED)
174 assert(u->load_state == UNIT_STUB);
180 if (u->load_state == UNIT_LOADED) {
607 if (!trigger || trigger->load_state != UNIT_LOADED) {
740 if (other->load_state != UNIT_LOADED)
H A Ddbus-unit.c667 SD_BUS_PROPERTY("LoadState", "s", property_get_load_state, offsetof(Unit, load_state), SD_BUS_VTABLE_PROPERTY_CONST),
1007 (u->load_state == UNIT_NOT_FOUND || u->load_state == UNIT_ERROR) &&
1233 if (r == 0 && u->transient && u->load_state == UNIT_STUB)
1263 if (u->load_state == UNIT_LOADED)
1269 if (u->load_state == UNIT_MASKED)
1272 if (u->load_state == UNIT_NOT_FOUND)
H A Dautomount.c83 assert(u->load_state == UNIT_STUB);
168 if (UNIT(a)->load_state != UNIT_LOADED)
193 assert(u->load_state == UNIT_STUB);
200 if (u->load_state == UNIT_LOADED) {
764 if (!trigger || trigger->load_state != UNIT_LOADED) {
H A Ddbus-mount.c185 if (u->transient && u->load_state == UNIT_STUB) {
H A Dmount.c126 assert(u->load_state == UNIT_STUB);
281 if (other->load_state != UNIT_LOADED)
457 if (UNIT(m)->load_state != UNIT_LOADED)
549 assert(u->load_state == UNIT_STUB);
560 if (u->load_state == UNIT_LOADED) {
1425 if (u->load_state == UNIT_NOT_FOUND) {
1426 u->load_state = UNIT_LOADED;
H A Ddbus-service.c296 if (u->transient && u->load_state == UNIT_STUB) {
H A Ddbus-timer.c345 if (u->transient && u->load_state == UNIT_STUB) {
H A Dswap.c116 assert(UNIT(s)->load_state == UNIT_STUB);
236 if (UNIT(s)->load_state != UNIT_LOADED)
282 assert(u->load_state == UNIT_STUB);
289 if (u->load_state == UNIT_LOADED) {
H A Dload-fragment.c3698 u->load_state = UNIT_MERGED;
3706 u->load_state = UNIT_MASKED;
3708 u->load_state = UNIT_LOADED;
3741 assert(u->load_state == UNIT_STUB);
3745 u->load_state = UNIT_LOADED;
3757 if (u->load_state == UNIT_STUB) {
3767 if (u->load_state != UNIT_STUB)
3773 if (u->load_state == UNIT_STUB && u->fragment_path) {
3779 if (u->load_state == UNIT_STUB)
3787 if (u->load_state
[all...]
H A Dsocket.c84 assert(u->load_state == UNIT_STUB);
412 if (UNIT(s)->load_state != UNIT_LOADED)
453 assert(u->load_state == UNIT_STUB);
459 if (u->load_state == UNIT_LOADED) {
2072 if (UNIT(service)->load_state != UNIT_LOADED) {
2733 if (other->load_state != UNIT_LOADED || other->type != UNIT_SERVICE)
/systemd/src/rfkill/
H A Drfkill.c198 static int load_state( function
404 (void) load_state(rfkill_fd, udev, &event);
/systemd/src/shared/
H A Dbus-util.h133 const char *load_state; member in struct:UnitInfo
/systemd/src/analyze/
H A Danalyze-verify.c128 if (UNIT(service)->load_state != UNIT_LOADED) {
/systemd/src/systemctl/
H A Dsystemctl.c375 load_len = MAX(load_len, strlen(u->load_state));
386 STR_IN_SET(u->load_state, "error", "not-found", "masked")))
450 if (STR_IN_SET(u->load_state, "error", "not-found", "masked") && !arg_plain) {
483 on_loaded, load_len, u->load_state, off_loaded,
3325 const char *load_state; member in struct:UnitStatusInfo
3444 if (streq_ptr(i->load_state, "error")) {
3454 on, strna(i->load_state), off, i->load_error);
3457 on, strna(i->load_state), off, path, i->unit_file_state, i->unit_file_preset);
3460 on, strna(i->load_state), off, path, i->unit_file_state);
3463 on, strna(i->load_state), of
[all...]

Completed in 7393 milliseconds

12