/systemd-251/src/test/ |
D | test-hash-funcs.c | 12 _cleanup_set_free_ Set *set = NULL; in TEST() local 14 assert_se(set_isempty(set)); in TEST() 15 assert_se(set_ensure_put(&set, &path_hash_ops, "foo") == 1); in TEST() 16 assert_se(set_ensure_put(&set, &path_hash_ops, "foo") == 0); in TEST() 17 assert_se(set_ensure_put(&set, &path_hash_ops, "bar") == 1); in TEST() 18 assert_se(set_ensure_put(&set, &path_hash_ops, "bar") == 0); in TEST() 19 assert_se(set_ensure_put(&set, &path_hash_ops, "/foo") == 1); in TEST() 20 assert_se(set_ensure_put(&set, &path_hash_ops, "/bar") == 1); in TEST() 21 assert_se(set_ensure_put(&set, &path_hash_ops, "/foo/.") == 0); in TEST() 22 assert_se(set_ensure_put(&set, &path_hash_ops, "/./bar/./.") == 0); in TEST() [all …]
|
D | test-cpu-set-util.c | 16 assert_se(c.set); in TEST() 18 assert_se(CPU_ISSET_S(0, c.allocated, c.set)); in TEST() 19 assert_se(CPU_COUNT_S(c.allocated, c.set) == 1); in TEST() 32 assert_se(c.set); in TEST() 34 assert_se(CPU_ISSET_S(1, c.allocated, c.set)); in TEST() 35 assert_se(CPU_ISSET_S(2, c.allocated, c.set)); in TEST() 36 assert_se(CPU_ISSET_S(4, c.allocated, c.set)); in TEST() 37 assert_se(CPU_COUNT_S(c.allocated, c.set) == 3); in TEST() 51 assert_se(CPU_COUNT_S(c.allocated, c.set) == 8); in TEST() 53 assert_se(CPU_ISSET_S(cpu, c.allocated, c.set)); in TEST() [all …]
|
D | test-capability.c | 187 uint64_t set = 0; in test_update_inherited_set() local 193 set = (UINT64_C(1) << CAP_CHOWN); in test_update_inherited_set() 195 assert_se(!capability_update_inherited_set(caps, set)); in test_update_inherited_set() 204 uint64_t set = 0; in test_apply_ambient_caps() local 209 set = (UINT64_C(1) << CAP_CHOWN); in test_apply_ambient_caps() 211 assert_se(!capability_ambient_set_apply(set, true)); in test_apply_ambient_caps()
|
/systemd-251/src/shared/ |
D | cpu-set-util.c | 29 if (!CPU_ISSET_S(i, a->allocated, a->set)) in cpu_set_to_string() 43 char *cpu_set_to_range_string(const CPUSet *set) { in cpu_set_to_range_string() argument 50 for (unsigned i = 0; i < set->allocated * 8; i++) in cpu_set_to_range_string() 51 if (CPU_ISSET_S(i, set->allocated, set->set)) { in cpu_set_to_range_string() 95 t = realloc(cpu_set->set, need); in cpu_set_realloc() 101 cpu_set->set = t; in cpu_set_realloc() 119 CPU_SET_S(cpu, cpu_set->allocated, cpu_set->set); in cpu_set_add() 128 if (CPU_ISSET_S(cpu_p1 - 1, b->allocated, b->set)) { in cpu_set_add_all() 210 if (!cpuset.set) { in parse_cpu_set_extend() 216 if (!old->set) { in parse_cpu_set_extend() [all …]
|
D | ethtool-util.c | 495 if (!ring->rx.set && in ethtool_set_nic_buffer_size() 496 !ring->rx_mini.set && in ethtool_set_nic_buffer_size() 497 !ring->rx_jumbo.set && in ethtool_set_nic_buffer_size() 498 !ring->tx.set) in ethtool_set_nic_buffer_size() 510 if (ring->rx.set) in ethtool_set_nic_buffer_size() 513 if (ring->rx_mini.set) in ethtool_set_nic_buffer_size() 516 if (ring->rx_jumbo.set) in ethtool_set_nic_buffer_size() 519 if (ring->tx.set) in ethtool_set_nic_buffer_size() 1033 if (!channels->rx.set && in ethtool_set_channels() 1034 !channels->tx.set && in ethtool_set_channels() [all …]
|
D | cpu-set-util.h | 11 cpu_set_t *set; member 16 assert((a->allocated > 0) == !!a->set); in cpu_set_reset() 17 if (a->set) in cpu_set_reset() 18 CPU_FREE(a->set); in cpu_set_reset() 49 int cpu_set_to_dbus(const CPUSet *set, uint8_t **ret, size_t *allocated); 50 int cpu_set_from_dbus(const uint8_t *bits, size_t size, CPUSet *set);
|
D | numa-util.c | 23 if (!policy->nodes.set && in numa_policy_is_valid() 27 if (policy->nodes.set && in numa_policy_is_valid() 29 CPU_COUNT_S(policy->nodes.allocated, policy->nodes.set) != 1) in numa_policy_is_valid() 44 (numa_policy_get_type(policy) == MPOL_PREFERRED && !policy->nodes.set)) { in numa_policy_to_mempolicy() 60 if (CPU_ISSET_S(node, policy->nodes.allocated, policy->nodes.set)) in numa_policy_to_mempolicy() 105 if (!CPU_ISSET_S(i, policy->nodes.allocated, policy->nodes.set)) in numa_to_cpu_set()
|
/systemd-251/src/analyze/ |
D | analyze-syscall-filter.c | 61 static void syscall_set_remove(Set *s, const SyscallFilterSet *set) { in syscall_set_remove() argument 64 if (!set) in syscall_set_remove() 67 NULSTR_FOREACH(syscall, set->value) { in syscall_set_remove() 75 static void dump_syscall_filter(const SyscallFilterSet *set) { in dump_syscall_filter() argument 81 set->name, in dump_syscall_filter() 83 set->help); in dump_syscall_filter() 85 NULSTR_FOREACH(syscall, set->value) in dump_syscall_filter() 107 const SyscallFilterSet *set = syscall_filter_sets + i; in verb_syscall_filters() local 111 dump_syscall_filter(set); in verb_syscall_filters() 112 syscall_set_remove(kernel, set); in verb_syscall_filters() [all …]
|
D | analyze-filesystems.c | 52 static void filesystem_set_remove(Set *s, const FilesystemSet *set) { in filesystem_set_remove() argument 55 NULSTR_FOREACH(filesystem, set->value) { in filesystem_set_remove() 63 static void dump_filesystem_set(const FilesystemSet *set) { in dump_filesystem_set() argument 67 if (!set) in dump_filesystem_set() 73 set->name, in dump_filesystem_set() 75 set->help); in dump_filesystem_set() 77 NULSTR_FOREACH(filesystem, set->value) { in dump_filesystem_set() 132 const FilesystemSet *set = filesystem_sets + i; in verb_filesystems() local 136 dump_filesystem_set(set); in verb_filesystems() 137 filesystem_set_remove(kernel, set); in verb_filesystems() [all …]
|
/systemd-251/ |
D | .vimrc | 1 " 'set exrc' in ~/.vimrc will read .vimrc from the current directory 4 " You should consider setting 'set secure' as well, which is highly 7 " Note that we set a line width of 109 for .c and XML files, but for everything 14 set tabstop=8 15 set shiftwidth=8 16 set expandtab 17 set makeprg=GCC_COLORS=\ make 18 set tw=79 19 au BufRead,BufNewFile *.xml set tw=109 shiftwidth=2 smarttab 20 au FileType sh set tw=80 shiftwidth=4 smarttab [all …]
|
/systemd-251/shell-completion/bash/ |
D | systemd-resolve | 43 --set-dns --set-domain --set-llmnr --set-mdns --set-dnssec --set-nta' 57 --set-dns|--set-domain|--set-nta) 60 --set-llmnr|--set-mdns) 63 --set-dnssec) 66 --set-dnsovertls)
|
/systemd-251/docs/ |
D | ENVIRONMENT.md | 23 * `$SYSTEMD_OFFLINE=[0|1]` — if set to `1`, then `systemctl` will refrain from 28 set this to `1` if you maintain a package build system or similar and are 31 * `$SYSTEMD_IGNORE_CHROOT=1` — if set, don't check whether being invoked in a 33 will not alter its behaviour for `chroot()` environments if set. Normally it 38 * `$SD_EVENT_PROFILE_DELAYS=1` — if set, the sd-event event loop implementation 41 * `$SYSTEMD_PROC_CMDLINE` — if set, the contents are used as the kernel command 46 * `$SYSTEMD_OS_RELEASE` — if set, use this path instead of `/etc/os-release` or 51 * `$SYSTEMD_FSTAB` — if set, use this path instead of `/etc/fstab`. Only useful 54 * `$SYSTEMD_CRYPTTAB` — if set, use this path instead of `/etc/crypttab`. Only 58 * `$SYSTEMD_INTEGRITYTAB` — if set, use this path instead of [all …]
|
D | BOOT_LOADER_INTERFACE.md | 37 timeout for a single following boot. It is set by the OS in order to request 38 display of the boot menu on the following boot. When set overrides 41 formatted the same way as `LoaderConfigTimeout`. If set to `0` the boot menu 56 loader entry to use for a single following boot. It is set by the OS in order 57 to request booting into a specific menu entry on the following boot. When set 63 identifier that was booted. It is set by the boot loader and read by 67 number of flags bits that are set by the boot loader and passed to the OS and 71 * `1 << 0` → The boot loader honours `LoaderConfigTimeout` when set. 72 * `1 << 1` → The boot loader honours `LoaderConfigTimeoutOneShot` when set. 73 * `1 << 2` → The boot loader honours `LoaderEntryDefault` when set. [all …]
|
/systemd-251/shell-completion/zsh/ |
D | _hostnamectl | 55 "hostname:Get/set system hostname" 56 "icon-name:Get/set icon name for host" 57 "chassis:Get/set chassis type for host" 58 "deployment:Get/set deployment environment for host" 59 "location:Get/set location for host" 88 '--transient[Only set transient hostname]' \ 89 '--static[Only set static hostname]' \ 90 '--pretty[Only set pretty hostname]' \
|
D | _bootctl | 44 "systemd-efi-options:Query or set system options string in EFI variable" 45 "reboot-to-firmware:Query or set reboot-to-firmware EFI flag" 47 "set-default:Set the default boot loader entry" 48 "set-oneshot:Set the default boot loader entry only for the next boot" 49 "set-timeout:Set the menu timeout" 50 "set-timeout-oneshot:Set the menu timeout for the next boot only"
|
D | _timedatectl | 36 'set-time:Set system time' 37 'set-timezone:Set system timezone' 39 'set-local-rtc:Control whether RTC is in local time' 40 'set-ntp:Control whether NTP is enabled'
|
/systemd-251/src/basic/ |
D | cap-list.c | 60 int capability_set_to_string_alloc(uint64_t set, char **s) { in capability_set_to_string_alloc() argument 67 if (set & (UINT64_C(1) << i)) { in capability_set_to_string_alloc() 97 int capability_set_from_string(const char *s, uint64_t *set) { in capability_set_from_string() argument 100 assert(set); in capability_set_from_string() 119 *set = val; in capability_set_from_string()
|
D | locale-util.c | 277 const char *set; in is_locale_utf8() local 291 set = nl_langinfo(CODESET); in is_locale_utf8() 292 if (!set) { in is_locale_utf8() 297 if (streq(set, "UTF-8")) { in is_locale_utf8() 304 set = setlocale(LC_CTYPE, NULL); in is_locale_utf8() 305 if (!set) { in is_locale_utf8() 313 STR_IN_SET(set, "C", "POSIX") && in is_locale_utf8()
|
D | capability-util.c | 86 int capability_update_inherited_set(cap_t caps, uint64_t set) { in capability_update_inherited_set() argument 91 cap_flag_value_t flag = set & (UINT64_C(1) << i) ? CAP_SET : CAP_CLEAR; in capability_update_inherited_set() 103 int capability_ambient_set_apply(uint64_t set, bool also_inherit) { in capability_ambient_set_apply() argument 109 if (set == 0) in capability_ambient_set_apply() 112 if (FLAGS_SET(set, (UINT64_C(1) << i)) && prctl(PR_CAPBSET_READ, i) != 1) { in capability_ambient_set_apply() 115 set &= ~(UINT64_C(1) << i); in capability_ambient_set_apply() 123 return (set & all_capabilities()) == 0 ? in capability_ambient_set_apply() 132 r = capability_update_inherited_set(caps, set); in capability_ambient_set_apply() 142 if (set & (UINT64_C(1) << i)) { in capability_ambient_set_apply()
|
/systemd-251/src/systemctl/ |
D | meson.build | 54 'systemctl-set-default.c', 55 'systemctl-set-default.h', 56 'systemctl-set-environment.c', 57 'systemctl-set-environment.h', 58 'systemctl-set-property.c', 59 'systemctl-set-property.h',
|
/systemd-251/po/ |
D | bg.po | 56 "Authentication is required to set or unset system and service manager " 122 #| msgid "Authentication is required to set a wall message" 145 msgid "Authentication is required to set the local hostname." 154 "Authentication is required to set the statically configured local hostname, " 164 msgid "Authentication is required to set local machine information." 213 msgid "Authentication is required to set the system locale." 221 msgid "Authentication is required to set the system keyboard settings." 607 #| msgid "Authentication is required to set the system timezone." 608 msgid "Authentication is required to set the reboot \"reason\" in the kernel." 663 msgid "Authentication is required to set a wall message" [all …]
|
D | el.po | 61 "Authentication is required to set or unset system and service manager " 142 msgid "Authentication is required to set the local hostname." 151 "Authentication is required to set the statically configured local hostname, " 162 msgid "Authentication is required to set local machine information." 206 msgid "Authentication is required to set the system locale." 215 msgid "Authentication is required to set the system keyboard settings." 597 #| msgid "Authentication is required to set the system timezone." 598 msgid "Authentication is required to set the reboot \"reason\" in the kernel." 641 msgid "Authentication is required to set a wall message" 650 #| msgid "Authentication is required to set the local hostname." [all …]
|
/systemd-251/test/ |
D | sysv-generator-test.py | 171 self.assertEqual(set(s.options('Unit')), 172 set(['Documentation', 'SourcePath', 'Description'])) 198 self.assertEqual(set(results), {'foo-admin.service', 'foo\\x2b.service'}) 214 self.assertEqual(set(s.options('Unit')), 215 set(['Documentation', 'SourcePath', 'Description', 'After', 'Wants'])) 224 self.assertEqual(set(s.options('Unit')), 225 set(['Documentation', 'SourcePath', 'Description', 'After'])) 279 self.assertEqual(set(results['foo.service'].options('Unit')), 280 set(['Documentation', 'SourcePath', 'Description']))
|
/systemd-251/src/network/ |
D | systemd-networkd.pkla | 4 [Allow systemd-networkd to set timezone and transient hostname] 6 Action=org.freedesktop.hostname1.set-hostname;org.freedesktop.hostname1.get-product-uuid;org.freede…
|
D | systemd-networkd.rules | 4 // Allow systemd-networkd to set timezone, get product UUID, 7 if ((action.id == "org.freedesktop.hostname1.set-hostname" || 9 action.id == "org.freedesktop.timedate1.set-timezone") &&
|