/systemd-251/src/test/ |
D | test-set.c | 93 TEST(set_put_strdup) { in TEST() argument 96 assert_se(set_put_strdup(&m, "aaa") == 1); in TEST() 97 assert_se(set_put_strdup(&m, "aaa") == 0); in TEST() 98 assert_se(set_put_strdup(&m, "bbb") == 1); in TEST() 99 assert_se(set_put_strdup(&m, "bbb") == 0); in TEST() 100 assert_se(set_put_strdup(&m, "aaa") == 0); in TEST() 208 assert_se(set_put_strdup(&m, "aaa") == 1); in TEST() 234 assert_se(set_put_strdup(&m, "bbb") == 1); in TEST() 235 assert_se(set_put_strdup(&m, "aaa") == 0); in TEST() 336 assert_se(set_put_strdup(&match, "aaa") >= 0); in TEST() [all …]
|
/systemd-251/src/busctl/ |
D | test-busctl-introspect.c | 311 assert_se(set_put_strdup(&paths, path) >= 0); in on_path() 324 assert_se(set_put_strdup(&paths, "/") > 0); in TEST()
|
D | busctl.c | 425 r = set_put_strdup(&paths, path); in on_path() 465 r = set_put_strdup(&paths, "/"); in tree_one()
|
/systemd-251/src/analyze/ |
D | analyze-syscall-filter.c | 52 r = set_put_strdup(&syscalls, e); in load_kernel_syscalls() 100 if (set_put_strdup(&known, sys) < 0) in verb_syscall_filters()
|
D | analyze-filesystems.c | 43 r = set_put_strdup(&filesystems, p); in load_available_kernel_filesystems() 126 if (set_put_strdup(&known, fs) < 0) in verb_filesystems()
|
D | analyze-verify-util.c | 32 r = set_put_strdup(s, unit); in log_syntax_callback()
|
D | analyze-security.c | 2097 r = set_put_strdup(&info->system_call_architectures, name); in property_read_syscall_archs() 2589 if (set_put_strdup(&info->system_call_architectures, name) < 0) in get_security_info()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-enumerator.c | 139 r = set_put_strdup(set, subsystem); in sd_device_enumerator_add_match_subsystem() 194 … r = set_put_strdup(match ? &enumerator->match_sysname : &enumerator->nomatch_sysname, sysname); in device_enumerator_add_match_sysname() 217 r = set_put_strdup(&enumerator->match_tag, tag); in sd_device_enumerator_add_match_tag() 237 r = set_put_strdup(&enumerator->match_parent, path); in device_enumerator_add_match_parent_incremental()
|
D | device-monitor.c | 770 r = set_put_strdup(&m->tag_filter, tag); in sd_device_monitor_filter_add_match_tag() 811 return set_put_strdup(set, syspath); in sd_device_monitor_filter_add_match_parent()
|
D | sd-device.c | 1291 added = set_put_strdup(&device->all_tags, tag); in device_add_tag() 1297 r = set_put_strdup(&device->current_tags, tag); in device_add_tag() 1318 r = set_put_strdup(&device->devlinks, devlink); in device_add_devlink() 1910 r = set_put_strdup(&device->sysattrs, p ?: de->d_name); in device_sysattrs_read_all_internal()
|
/systemd-251/src/shared/ |
D | devnode-acl.c | 188 r = set_put_strdup(&nodes, node); in devnode_acl_all()
|
D | bus-wait-for-jobs.c | 323 return set_put_strdup(&d->jobs, path); in bus_wait_for_jobs_add()
|
D | elf-util.c | 364 r = set_put_strdup(c->modules, name); in parse_package_metadata()
|
/systemd-251/src/basic/ |
D | set.h | 132 #define set_put_strdup(s, p) set_put_strdup_full(s, &string_hash_ops_free, p) macro
|
D | conf-files.c | 82 r = set_put_strdup(&masked, de->d_name); in files_add()
|
D | unit-file.c | 638 r = set_put_strdup(names, name); in add_name()
|
/systemd-251/src/core/ |
D | bpf-lsm.c | 364 r = set_put_strdup(filesystems, name); in lsm_bpf_parse_filesystem()
|
D | mount.c | 1996 … set_put_strdup(&gone, mount->parameters_proc_self_mountinfo.what) < 0) in mount_process_proc_self_mountinfo() 2060 set_put_strdup(&around, mount->parameters_proc_self_mountinfo.what) < 0) in mount_process_proc_self_mountinfo()
|
D | dbus-cgroup.c | 2046 r = set_put_strdup(&c->restrict_network_interfaces, *s); in bus_cgroup_set_property()
|
D | unit.c | 4385 r = set_put_strdup(&u->manager->unit_path_cache, p); in unit_write_setting()
|
/systemd-251/src/nspawn/ |
D | nspawn-cgroup.c | 235 r = set_put_strdup(&controllers, l); in get_process_controllers()
|
/systemd-251/src/resolve/ |
D | resolved-dns-trust-anchor.c | 193 r = set_put_strdup(&d->negative_by_name, name); in dns_trust_anchor_add_builtin_negative()
|
D | resolved-link-bus.c | 733 r = set_put_strdup(&ns, *i); in bus_link_method_set_dnssec_negative_trust_anchors()
|
/systemd-251/src/portable/ |
D | portable.c | 1593 r = set_put_strdup(&unit_files, de->d_name); in portable_detach() 1773 r = set_put_strdup(&unit_files, de->d_name); in portable_get_state_internal()
|
/systemd-251/src/network/ |
D | networkd-link-bus.c | 511 r = set_put_strdup(&ns, *i); in bus_link_method_set_dnssec_negative_trust_anchors()
|