Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 98) sorted by relevance

1234

/systemd-251/src/journal/
Dtest-journal-config.c13 assert_se((enab) == varname.enabled); \
14 if (varname.enabled) \
18 #define COMPRESS_PARSE_CHECK(str, enabled, threshold) \ argument
19 _COMPRESS_PARSE_CHECK(str, enabled, threshold, conf##__COUNTER__)
Djournald-server.c276 file_flags = (s->compress.enabled ? JOURNAL_COMPRESS : 0) | (seal ? JOURNAL_SEAL : 0); in open_journal()
489 (s->compress.enabled ? JOURNAL_COMPRESS : 0)| in do_rotate()
607 (s->compress.enabled ? JOURNAL_COMPRESS : 0) | in vacuum_offline_user_journals()
2292 .compress.enabled = true, in server_init()
2705 compress->enabled = true; in config_parse_compress()
2710 compress->enabled = true; in config_parse_compress()
2714 compress->enabled = false; in config_parse_compress()
2723 compress->enabled = true; in config_parse_compress()
2725 compress->enabled = r; in config_parse_compress()
/systemd-251/src/systemctl/
Dsystemctl-is-enabled.c61 bool enabled; in verb_is_enabled() local
72 enabled = r > 0; in verb_is_enabled()
89 enabled = true; in verb_is_enabled()
123 enabled = true; in verb_is_enabled()
136 return enabled ? EXIT_SUCCESS : EXIT_FAILURE; in verb_is_enabled()
Dmeson.build26 'systemctl-is-enabled.c',
27 'systemctl-is-enabled.h',
Dsystemd-sysv-install.SKELETON44 is-enabled)
/systemd-251/src/libsystemd/sd-event/
Dsd-event.c42 return s->enabled != SD_EVENT_OFF && !s->ratelimited; in event_source_is_online()
47 return s->enabled == SD_EVENT_OFF || s->ratelimited; in event_source_is_offline()
176 r = CMP(x->enabled == SD_EVENT_OFF, y->enabled == SD_EVENT_OFF); in pending_prioq_compare()
202 r = CMP(x->enabled == SD_EVENT_OFF, y->enabled == SD_EVENT_OFF); in prepare_prioq_compare()
274 r = CMP(x->enabled == SD_EVENT_OFF, y->enabled == SD_EVENT_OFF); in time_prioq_compare()
303 r = CMP(x->enabled == SD_EVENT_OFF, y->enabled == SD_EVENT_OFF); in exit_prioq_compare()
456 int enabled, in source_io_register() argument
461 assert(enabled != SD_EVENT_OFF); in source_io_register()
464 .events = events | (enabled == SD_EVENT_ONESHOT ? EPOLLONESHOT : 0), in source_io_register()
496 static int source_child_pidfd_register(sd_event_source *s, int enabled) { in source_child_pidfd_register() argument
[all …]
Devent-util.c24 int enabled, r; in event_reset_time() local
32 r = sd_event_source_get_enabled(*s, &enabled); in event_reset_time()
37 if (enabled != SD_EVENT_OFF) in event_reset_time()
/systemd-251/src/journal-remote/
Dmicrohttpd-util.c98 bool enabled; member
116 if (gnutls_log_map[level].enabled) in log_func_gnutls()
128 if (gnutls_log_map[i].enabled) { in log_reset_gnutls_level()
140 gnutls_log_map[i].enabled = true; in log_enable_gnutls_category()
146 gnutls_log_map[i].enabled = true; in log_enable_gnutls_category()
/systemd-251/docs/
DNETWORK_ONLINE.md94 * A certain "profile" is enabled and some condition of the above holds. If another "profile" is ena…
163 The right "wait" service must be enabled:
168 `systemd-networkd.service` is enabled, `systemd-networkd-wait-online.service`
169 will be enabled too, which means that `network-online.target` will include
171 `systemd-networkd.service` is enabled. `NetworkManager-wait-online.service` is
172 set up similarly. This means that the "wait" services do not need to be enabled
173 explicitly. They will be enabled automatically when the "main" service is
174 enabled, though they will not be *used* unless something else pulls in
177 To verify that the right service is enabled (usually only one should be):
179 $ systemctl is-enabled NetworkManager-wait-online.service systemd-networkd-wait-online.service
[all …]
DAUTOMATIC_BOOT_ASSESSMENT.md30 mentioned above is enabled, as "good" when a boot has been determined to be
36 `systemd-boot` with boot counting enabled is detected.
41 completed successfully. When enabled it becomes an indirect dependency of
64 counting is enabled for it. The first number is the "tries left" counter
/systemd-251/shell-completion/zsh/
D_resolvectl46 dnsovertls:"Configure per-interface dnsovertls enabled status"
47 dnssec:"Configure per-interface dnssec enabled status"
50 llmnr:"Configure per-interface llmnr enabled status"
51 mdns:"Configure per-interface mdns enabled status"
D_systemctl.in51 "is-enabled:Check whether unit files are enabled"
208 …__systemctl $mode list-unit-files --state enabled,enabled-runtime,linked,linked-runtime,static,ind…
217 __systemctl $mode list-unit-files --state enabled,disabled,static "$PREFIX*"
244 for fun in is-active is-failed is-enabled status show preset help list-dependencies edit revert add…
256 _wanted systemd-units expl 'enabled unit' \
257 compadd "$@" - ${(k)_sys_unit_state[(R)enabled]}
263 _wanted systemd-units expl 'enabled/disabled unit' \
264 … compadd "$@" - ${(k)_sys_unit_state[(R)(enabled|disabled)]} $(_systemctl_get_template_names)
/systemd-251/src/libsystemd-network/
Dsd-lldp-tx.c164 int sd_lldp_tx_set_capabilities(sd_lldp_tx *lldp_tx, uint16_t supported, uint16_t enabled) { in sd_lldp_tx_set_capabilities() argument
166 assert_return((enabled & ~supported) == 0, -EINVAL); in sd_lldp_tx_set_capabilities()
169 lldp_tx->enabled_capabilities = enabled; in sd_lldp_tx_set_capabilities()
570 int enabled; in sd_lldp_tx_is_running() local
578 if (sd_event_source_get_enabled(lldp_tx->timer_event_source, &enabled) < 0) in sd_lldp_tx_is_running()
581 return enabled == SD_EVENT_ONESHOT; in sd_lldp_tx_is_running()
/systemd-251/units/
Dsystemd-networkd.service.in64 # is enabled. systemd-networkd-wait-online.service has
66 # network-online.target itself is enabled or pulled in by some other unit.
/systemd-251/src/basic/
Dcgroup-util.c136 static thread_local int enabled = -1; in cg_ns_supported() local
138 if (enabled >= 0) in cg_ns_supported()
139 return enabled; in cg_ns_supported()
144 enabled = false; in cg_ns_supported()
146 enabled = true; in cg_ns_supported()
148 return enabled; in cg_ns_supported()
2048 int enabled = 0; in cg_kernel_controllers() local
2051 if (fscanf(f, "%ms %*i %*i %i", &controller, &enabled) != 2) { in cg_kernel_controllers()
2062 if (!enabled) in cg_kernel_controllers()
/systemd-251/src/systemd/
Dsd-dhcp6-client.h235 int enabled);
238 int *enabled);
Dsd-event.h132 int sd_event_source_get_enabled(sd_event_source *s, int *enabled);
133 int sd_event_source_set_enabled(sd_event_source *s, int enabled);
Dsd-lldp-tx.h64 int sd_lldp_tx_set_capabilities(sd_lldp_tx *lldp_tx, uint16_t supported, uint16_t enabled);
/systemd-251/src/resolve/
Dresolved-dnstls-gnutls.h5 #error This source file requires DNS-over-TLS to be enabled and GnuTLS to be available.
Dresolved-dnstls-openssl.h5 #error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
/systemd-251/shell-completion/bash/
Dsystemctl.in67 …__systemctl $1 list-unit-files --state enabled,enabled-runtime,linked,linked-runtime,static,indire…
109 … | { while read -r a b c ; do [[ $b == "enabled" ]] && echo " $a"; done; }; }
199 …[NONTEMPLATE_UNITS]='is-active is-failed is-enabled status show preset help list-dependencies edit…
/systemd-251/man/
Dmeson.build19 '--stringparam', 'man.authors.section.enabled', '0',
20 '--stringparam', 'man.copyright.section.enabled', '0',
/systemd-251/presets/user/
D90-systemd.preset11 # enabled by default, even if the distribution follows a general default-off
/systemd-251/src/login/
Dlogind-core.c597 const char *status, *enabled, *dash, *nn, *subsys; in manager_count_external_displays() local
628 … if (sd_device_get_sysattr_value(d, "enabled", &enabled) < 0 || !streq(enabled, "enabled")) in manager_count_external_displays()
/systemd-251/src/shared/
Dcgroup-setup.c46 … _cleanup_free_ char *name = NULL, *hierarchy_id = NULL, *num = NULL, *enabled = NULL; in cg_any_controller_used_for_v1() local
53 r = extract_many_words(&p, NULL, 0, &name, &hierarchy_id, &num, &enabled, NULL); in cg_any_controller_used_for_v1()
62 if (streq(enabled, "0")) in cg_any_controller_used_for_v1()

1234