Searched defs:name (Results 1 - 25 of 206) sorted by relevance

123456789

/systemd/src/core/
H A Dbus-endpoint.h29 char *name; member in struct:BusEndpointPolicy
40 int bus_endpoint_add_policy(BusEndpoint *ep, const char *name, BusPolicyAccess access);
H A Ddbus-slice.c32 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 Dbus-policy.h47 char *name; member in struct:BusNamePolicy
60 const char *name,
H A Ddbus-kill.c39 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 Dtest-audit-type.c26 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 Daf-list.c28 #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 Darphrd-list.c28 #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 Derrno-list.c28 #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 Dcap-list.c31 #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 Dverbs.c33 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 Dxml.c59 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 Dtest-bus-xml-policy.c33 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 Dlogind-button.h32 char *name; member in struct:Button
40 Button* button_new(Manager *m, const char *name);
/systemd/src/test/
H A Dtest-async.c37 char name[] = "/tmp/test-asynchronous_close.XXXXXX"; local
39 fd = mkostemp_safe(name, O_RDWR|O_CLOEXEC);
52 unlink(name);
H A Dtest-terminal-util.c50 char name[] = "/tmp/test-read_one_char.XXXXXX"; local
53 fd = mkostemp_safe(name, O_RDWR|O_CLOEXEC);
75 unlink(name);
H A Dtest-user-util.c26 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 Dtest-fstab-util.c39 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 Dtest-xml.c34 _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 Dhibernate-resume-generator.c30 #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 Dtest-bus-proxy.c40 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 Dresolved-dns-search-domain.h42 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 Ddns-domain.h46 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 Dtest-tables.h26 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 Dtimesyncd-server.h37 ServerName *name; member in struct:ServerAddress
/systemd/src/udev/
H A Dudev-builtin-net_setup_link.c29 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",

Completed in 1205 milliseconds

123456789