/systemd/src/core/ |
H A D | bus-endpoint.h | 29 char *name; member in struct:BusEndpointPolicy 40 int bus_endpoint_add_policy(BusEndpoint *ep, const char *name, BusPolicyAccess access);
|
H A D | dbus-slice.c | 32 const char *name, 39 assert(name); 42 return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); 30 bus_slice_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
|
H A D | bus-policy.h | 47 char *name; member in struct:BusNamePolicy 60 const char *name,
|
H A D | dbus-kill.c | 39 const char *name, 48 assert(name); 51 if (streq(name, "KillMode")) { 66 unit_write_drop_in_private_format(u, mode, name, "KillMode=%s\n", kill_mode_to_string(k)); 71 } else if (streq(name, "KillSignal")) { 84 unit_write_drop_in_private_format(u, mode, name, "KillSignal=%s\n", signal_to_string(sig)); 89 } else if (streq(name, "SendSIGHUP")) { 99 unit_write_drop_in_private_format(u, mode, name, "SendSIGHUP=%s\n", yes_no(b)); 104 } else if (streq(name, "SendSIGKILL")) { 114 unit_write_drop_in_private_format(u, mode, name, "SendSIGKIL 36 bus_kill_context_set_transient_property( Unit *u, KillContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument [all...] |
/systemd/src/journal/ |
H A D | test-audit-type.c | 26 const char *name; local 28 name = audit_type_name_alloca(i); 30 printf("%i → %s → %s\n", i, audit_type_to_string(i), name);
|
/systemd/src/basic/ |
H A D | af-list.c | 28 #include "af-from-name.h" 29 #include "af-to-name.h" 42 int af_from_name(const char *name) { argument 45 assert(name); 47 sc = lookup_af(name, strlen(name));
|
H A D | arphrd-list.c | 28 #include "arphrd-from-name.h" 29 #include "arphrd-to-name.h" 42 int arphrd_from_name(const char *name) { argument 45 assert(name); 47 sc = lookup_arphrd(name, strlen(name));
|
H A D | errno-list.c | 28 #include "errno-from-name.h" 29 #include "errno-to-name.h" 42 int errno_from_name(const char *name) { argument 45 assert(name); 47 sc = lookup_errno(name, strlen(name));
|
H A D | cap-list.c | 31 #include "cap-from-name.h" 32 #include "cap-to-name.h" 45 int capability_from_name(const char *name) { argument 49 assert(name); 52 r = safe_atoi(name, &i); 57 sc = lookup_capability(name, strlen(name));
|
H A D | verbs.c | 33 const char *name; local 44 name = argv[optind]; 51 if (name) 52 log_error("Unknown operation %s.", name); 58 if (name) 59 found = streq(name, verbs[i].verb); 71 if (!name) 91 if (name)
|
H A D | xml.c | 59 int xml_tokenize(const char **p, char **name, void **state, unsigned *line) { argument 66 assert(name); 96 *name = ret; 159 *name = ret; 182 *name = ret; 192 *name = NULL; /* For empty tags we return a NULL name, the caller must be prepared for that */ 224 *name = ret; 242 *name = ret;
|
/systemd/src/bus-proxyd/ |
H A D | test-bus-xml-policy.c | 33 static int test_policy_load(Policy *p, const char *name) { argument 37 path = strjoin(TEST_DIR, "/bus-policy/", name, NULL);
|
/systemd/src/login/ |
H A D | logind-button.h | 32 char *name; member in struct:Button 40 Button* button_new(Manager *m, const char *name);
|
/systemd/src/test/ |
H A D | test-async.c | 37 char name[] = "/tmp/test-asynchronous_close.XXXXXX"; local 39 fd = mkostemp_safe(name, O_RDWR|O_CLOEXEC); 52 unlink(name);
|
H A D | test-terminal-util.c | 50 char name[] = "/tmp/test-read_one_char.XXXXXX"; local 53 fd = mkostemp_safe(name, O_RDWR|O_CLOEXEC); 75 unlink(name);
|
H A D | test-user-util.c | 26 static void test_uid_to_name_one(uid_t uid, const char *name) { argument 30 assert_se(streq_ptr(t, name)); 33 static void test_gid_to_name_one(gid_t gid, const char *name) { argument 37 assert_se(streq_ptr(t, name));
|
H A D | test-fstab-util.c | 39 const char *name; local 42 r = fstab_filter_options(opts, remove, &name, &value, &filtered); 44 opts, r, name, value, filtered, 47 assert_se(streq_ptr(name, name_expected)); 52 r = fstab_filter_options(opts, remove, &name, NULL, NULL); 54 opts, r, name, 57 assert_se(streq_ptr(name, name_expected));
|
H A D | test-xml.c | 34 _cleanup_free_ char *name = NULL; local 38 t = xml_tokenize(&data, &name, &state, NULL); 49 assert_se(streq_ptr(nn, name));
|
/systemd/src/hibernate-resume/ |
H A D | hibernate-resume-generator.c | 30 #include "unit-name.h" 49 _cleanup_free_ char *name = NULL, *lnk = NULL; local 55 r = unit_name_from_path_instance("systemd-hibernate-resume", arg_resume_dev, ".service", &name); 57 return log_error_errno(r, "Failed to generate unit name: %m"); 59 lnk = strjoin(arg_dest, "/" SPECIAL_SYSINIT_TARGET ".wants/", name, NULL);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | test-bus-proxy.c | 40 const char *name; local 43 r = sd_bus_message_read(m, "s", &name); 46 if (!streq_ptr(match->sender, name))
|
/systemd/src/resolve/ |
H A D | resolved-dns-search-domain.h | 42 char *name; member in struct:DnsSearchDomain 56 const char *name); 68 int dns_search_domain_find(DnsSearchDomain *first, const char *name, DnsSearchDomain **ret); 71 return d ? d->name : NULL;
|
/systemd/src/shared/ |
H A D | dns-domain.h | 46 int dns_label_unescape(const char **name, char *dest, size_t sz); 47 int dns_label_unescape_suffix(const char *name, const char **label_end, char *dest, size_t sz); 51 static inline int dns_name_parent(const char **name) { argument 52 return dns_label_unescape(name, NULL, DNS_LABEL_MAX); 83 int dns_name_endswith(const char *name, const char *suffix); 84 int dns_name_startswith(const char *name, const char *prefix); 86 int dns_name_change_suffix(const char *name, const char *old_suffix, const char *new_suffix, char **ret); 91 bool dns_name_is_root(const char *name); 92 bool dns_name_is_single_label(const char *name); 96 bool dns_srv_type_is_valid(const char *name); [all...] |
H A D | test-tables.h | 26 static inline void _test_table(const char *name, argument 46 printf("%s: %d → %s → %d\n", name, i, val, rev); 48 printf("%*s ...\n", (int) strlen(name), "");
|
/systemd/src/timesync/ |
H A D | timesyncd-server.h | 37 ServerName *name; member in struct:ServerAddress
|
/systemd/src/udev/ |
H A D | udev-builtin-net_setup_link.c | 29 const char *name = NULL; local 53 r = link_config_apply(ctx, link, dev, &name); 61 if (name) 62 udev_builtin_add_property(dev, test, "ID_NET_NAME", name); 100 .name = "net_setup_link",
|