Home
last modified time | relevance | path

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

/systemd-251/src/login/
Dlogind-action.c172 … if (manager_is_inhibited(m, inhibit_key, INHIBIT_BLOCK, NULL, true, false, 0, NULL)) { in manager_handle_action()
226 … manager_is_inhibited(m, inhibit_operation, INHIBIT_BLOCK, NULL, false, false, 0, &offending)) { in manager_handle_action()
Dlogind-inhibit.c166 property = i->mode == INHIBIT_BLOCK ? "BlockInhibited" : "DelayInhibited"; in bus_manager_send_inhibited_change()
235 mm = mode ? inhibit_mode_from_string(mode) : INHIBIT_BLOCK; in inhibitor_load()
523 [INHIBIT_BLOCK] = "block",
Dlogind-inhibit.h20 INHIBIT_BLOCK, enumerator
Dlogind-dbus.c317 … w = manager_inhibit_what(m, streq(property, "BlockInhibited") ? INHIBIT_BLOCK : INHIBIT_DELAY); in property_get_inhibited()
1791 … blocked = manager_is_inhibited(m, a->inhibit_what, INHIBIT_BLOCK, NULL, false, true, uid, NULL); in verify_shutdown_creds()
2404 … blocked = manager_is_inhibited(m, a->inhibit_what, INHIBIT_BLOCK, NULL, false, true, uid, NULL); in method_can_shutdown_or_sleep()
3276 …w == INHIBIT_SHUTDOWN ? (mm == INHIBIT_BLOCK ? "org.freedesktop.login1.inhibit-block-s… in method_inhibit()
3277 …w == INHIBIT_SLEEP ? (mm == INHIBIT_BLOCK ? "org.freedesktop.login1.inhibit-block-s… in method_inhibit()
Dlogind-core.c406 idle_hint = !manager_is_inhibited(m, INHIBIT_IDLE, INHIBIT_BLOCK, t, false, false, 0, NULL); in manager_get_idle_hint()