Searched defs:enabled (Results 1 - 8 of 8) sorted by relevance

/systemd/src/journal-remote/
H A Dmicrohttpd-util.c110 bool enabled; member in struct:__anon111
128 if (gnutls_log_map[level].enabled)
140 if (gnutls_log_map[i].enabled) {
152 gnutls_log_map[i].enabled = true;
158 gnutls_log_map[i].enabled = true;
/systemd/src/login/
H A Dlogind-core.c477 const char *status, *enabled, *dash, *nn, *i; local
521 /* Ignore ports that are not enabled */
522 enabled = udev_device_get_sysattr_value(d, "enabled");
523 if (!enabled)
525 if (!streq_ptr(enabled, "enabled"))
/systemd/src/timedate/
H A Dtimedated.c200 c->use_ntp = STR_IN_SET(s, "enabled", "enabled-runtime");
205 static int context_start_ntp(sd_bus *bus, sd_bus_error *error, bool enabled) { argument
216 enabled ? "StartUnit" : "StopUnit",
234 static int context_enable_ntp(sd_bus *bus, sd_bus_error *error, bool enabled) { argument
240 if (enabled)
515 return sd_bus_error_setf(error, BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED, "Automatic time synchronization is enabled");
589 int enabled, interactive; local
596 r = sd_bus_message_read(m, "bb", &enabled, &interactive);
600 if ((bool)enabled
[all...]
/systemd/src/libsystemd-network/
H A Dsd-dhcp6-client.c221 int sd_dhcp6_client_set_information_request(sd_dhcp6_client *client, int enabled) { argument
225 client->information_request = enabled;
230 int sd_dhcp6_client_get_information_request(sd_dhcp6_client *client, int *enabled) { argument
232 assert_return(enabled, -EINVAL);
234 *enabled = client->information_request;
/systemd/src/journal/
H A Djournal-file.c152 int enabled; local
154 if (sd_event_source_get_enabled(f->post_change_timer, &enabled) >= 0)
155 if (enabled == SD_EVENT_ONESHOT)
1441 int enabled, r; local
1449 r = sd_event_source_get_enabled(timer, &enabled);
1455 if (enabled == SD_EVENT_ONESHOT)
2698 log_notice("Creating journal file %s on a btrfs file system, and copy-on-write is enabled. "
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c104 int enabled:3; member in struct:sd_event_source
252 if (x->enabled != SD_EVENT_OFF && y->enabled == SD_EVENT_OFF)
254 if (x->enabled == SD_EVENT_OFF && y->enabled != SD_EVENT_OFF)
279 if (x->enabled != SD_EVENT_OFF && y->enabled == SD_EVENT_OFF)
281 if (x->enabled == SD_EVENT_OFF && y->enabled != SD_EVENT_OFF)
308 if (x->enabled !
520 source_io_register( sd_event_source *s, int enabled, uint32_t events) argument
[all...]
/systemd/src/basic/
H A Dcgroup-util.c2084 int enabled = 0; local
2087 if (fscanf(f, "%ms %*i %*i %i", &controller, &enabled) != 2) {
2098 if (!enabled) {
/systemd/src/systemctl/
H A Dsystemctl.c2037 /* Try to reload if enabled */
5216 "is-enabled"))
5259 * enable/disable them both (below); for is-enabled, prefer the
5261 if (found_native && streq(verb, "is-enabled"))
5312 if (streq(verb, "is-enabled")) {
5315 puts("enabled");
5517 /* Try to reload if enabled */
5525 log_warning("The unit files have no [Install] section. They are not meant to be enabled\n"
5528 "1) A unit may be statically enabled by being symlinked from another unit's\n"
5707 bool enabled; local
[all...]

Completed in 143 milliseconds