Lines Matching refs:load_state
292 _cleanup_free_ char *n = NULL, *dbus_path = NULL, *load_state = NULL; in check_triggering_units() local
302 r = unit_load_state(bus, n, &load_state); in check_triggering_units()
306 if (streq(load_state, "masked")) in check_triggering_units()
455 _cleanup_free_ char *load_state = NULL, *dbus_path = NULL; in unit_find_paths() local
468 &load_state); in unit_find_paths()
472 if (streq(load_state, "masked")) in unit_find_paths()
474 if (streq(load_state, "not-found")) { in unit_find_paths()
478 if (!STR_IN_SET(load_state, "loaded", "bad-setting")) in unit_find_paths()
601 _cleanup_free_ char *load_state = NULL; in unit_is_masked() local
618 r = unit_load_state(bus, name, &load_state); in unit_is_masked()
622 return streq(load_state, "masked"); in unit_is_masked()
627 const char *load_state; in unit_exists() member
632 { "LoadState", "s", NULL, offsetof(UnitStateInfo, load_state) }, in unit_exists()
659 … return !streq_ptr(info.load_state, "not-found") || !streq_ptr(info.active_state, "inactive"); in unit_exists()