Home
last modified time | relevance | path

Searched refs:class (Results 1 – 25 of 76) sorted by relevance

1234

/systemd-251/docs/
Dindex.md36 <pre class="intro-code-block">
37 Welcome to <span class="color-blue">Fedora 20 (Heisenbug)</span>!
39 [ <span class="color-green">OK</span> ] Reached target Remote File Systems.
40 [ <span class="color-green">OK</span> ] Listening on Delayed Shutdown Socket.
41 [ <span class="color-green">OK</span> ] Listening on /dev/initctl Compatibility Named Pipe.
42 [ <span class="color-green">OK</span> ] Reached target Paths.
43 [ <span class="color-green">OK</span> ] Reached target Encrypted Volumes.
44 [ <span class="color-green">OK</span> ] Listening on Journal Socket.
49 [ <span class="color-green">OK</span> ] Started Journal Service.
52 [ <span class="color-green">OK</span> ] Created slice Root Slice.
[all …]
/systemd-251/src/machine/
Dmachine.c36 Machine* machine_new(Manager *manager, MachineClass class, const char *name) { in machine_new() argument
40 assert(class < _MACHINE_CLASS_MAX); in machine_new()
55 if (class != MACHINE_HOST) { in machine_new()
61 m->class = class; in machine_new()
179 if (m->class != _MACHINE_CLASS_INVALID) in machine_save()
180 fprintf(f, "CLASS=%s\n", machine_class_to_string(m->class)); in machine_save()
249 …_cleanup_free_ char *realtime = NULL, *monotonic = NULL, *id = NULL, *leader = NULL, *class = NULL… in machine_load() local
264 "CLASS", &class, in machine_load()
279 if (class) { in machine_load()
282 c = machine_class_from_string(class); in machine_load()
[all …]
Dmachine-dbus.c205 switch (m->class) { in bus_machine_method_get_addresses()
377 switch (m->class) { in bus_machine_method_get_os_release()
468 …m->class == MACHINE_HOST ? "org.freedesktop.machine1.host-open-pty" : "org.freedesktop.machine1.op… in bus_machine_method_open_pty()
500 switch (m->class) { in container_bus_new()
561 …m->class == MACHINE_HOST ? "org.freedesktop.machine1.host-login" : "org.freedesktop.machine1.login… in bus_machine_method_open_login()
672 …m->class == MACHINE_HOST ? "org.freedesktop.machine1.host-shell" : "org.freedesktop.machine1.shell… in bus_machine_method_open_shell()
852 if (m->class != MACHINE_CONTAINER) in bus_machine_method_bind_mount()
924 if (m->class != MACHINE_CONTAINER) in bus_machine_method_copy()
1081 switch (m->class) { in bus_machine_method_open_root_directory()
1156 if (m->class == MACHINE_HOST) in bus_machine_method_get_uid_shift()
[all …]
Dmachined-dbus.c211 strempty(machine_class_to_string(machine->class)), in method_list_machines()
226 const char *name, *service, *class, *root_directory; in method_create_or_register_machine() local
256 r = sd_bus_message_read(message, "ssus", &service, &class, &leader, &root_directory); in method_create_or_register_machine()
273 if (isempty(class)) in method_create_or_register_machine()
276 c = machine_class_from_string(class); in method_create_or_register_machine()
309 m->class = c; in method_create_or_register_machine()
911 if (machine->class != MACHINE_CONTAINER) in method_map_from_machine_user()
970 if (machine->class != MACHINE_CONTAINER) in method_map_from_machine_group()
1043 …SD_BUS_ARGS("s", name, "ay", id, "s", service, "s", class, "u", leader, "s", root_directory, "a(sv…
1047 …SD_BUS_ARGS("s", name, "ay", id, "s", service, "s", class, "u", leader, "s", root_directory, "ai",…
[all …]
Dmachine.h41 MachineClass class; member
69 Machine* machine_new(Manager *manager, MachineClass class, const char *name);
/systemd-251/src/test/
Dtest-exit-status.c9 const char *s, *class; in TEST() local
12 class = exit_status_class(i); in TEST()
15 class ? " (" : "", strempty(class), class ? ")" : ""); in TEST()
/systemd-251/src/resolve/
Ddns-type.c62 bool dns_class_is_pseudo(uint16_t class) { in dns_class_is_pseudo() argument
63 return class == DNS_CLASS_ANY; in dns_class_is_pseudo()
103 bool dns_class_is_valid_rr(uint16_t class) { in dns_class_is_valid_rr() argument
104 return class != DNS_CLASS_ANY; in dns_class_is_valid_rr()
223 const char *dns_class_to_string(uint16_t class) { in dns_class_to_string() argument
225 switch (class) { in dns_class_to_string()
Dresolved-dns-rr.c19 DnsResourceKey* dns_resource_key_new(uint16_t class, uint16_t type, const char *name) { in dns_resource_key_new() argument
31 k->class = class; in dns_resource_key_new()
48 return dns_resource_key_new(key->class, key->type, cname->cname.name); in dns_resource_key_new_redirect()
59 k = dns_resource_key_new_consume(key->class, key->type, destination); in dns_resource_key_new_redirect()
86 new_key = dns_resource_key_new_consume(key->class, key->type, joined); in dns_resource_key_new_append_suffix()
96 DnsResourceKey* dns_resource_key_new_consume(uint16_t class, uint16_t type, char *name) { in dns_resource_key_new_consume() argument
107 .class = class, in dns_resource_key_new_consume()
168 return key->class == DNS_CLASS_IN && IN_SET(key->type, DNS_TYPE_A, DNS_TYPE_AAAA); in dns_resource_key_is_address()
194 if (a->class != b->class) in dns_resource_key_equal()
216 if (rr->key->class != key->class && key->class != DNS_CLASS_ANY) in dns_resource_key_match_rr()
[all …]
Ddns-type.h124 bool dns_class_is_pseudo(uint16_t class);
125 bool dns_class_is_valid_rr(uint16_t class);
131 const char *dns_class_to_string(uint16_t class);
Dresolved-dns-rr.h70 uint16_t class, type; member
81 .class = c, \
289 DnsResourceKey* dns_resource_key_new(uint16_t class, uint16_t type, const char *name);
292 DnsResourceKey* dns_resource_key_new_consume(uint16_t class, uint16_t type, char *name);
328 DnsResourceRecord* dns_resource_record_new_full(uint16_t class, uint16_t type, const char *name);
Dresolved-dns-transaction.c211 if (!IN_SET(key->class, DNS_CLASS_IN, DNS_CLASS_ANY)) in key_ok()
2368 … dnskey = dns_resource_key_new(rr->key->class, DNS_TYPE_DNSKEY, rr->rrsig.signer); in dns_transaction_request_dnssec_keys()
2397 … ds = dns_resource_key_new(rr->key->class, DNS_TYPE_DS, dns_resource_key_name(rr->key)); in dns_transaction_request_dnssec_keys()
2451 … ds = dns_resource_key_new(rr->key->class, DNS_TYPE_DS, dns_resource_key_name(rr->key)); in dns_transaction_request_dnssec_keys()
2505 soa = dns_resource_key_new(rr->key->class, DNS_TYPE_SOA, name); in dns_transaction_request_dnssec_keys()
2540 … soa = dns_resource_key_new(rr->key->class, DNS_TYPE_SOA, dns_resource_key_name(rr->key)); in dns_transaction_request_dnssec_keys()
2598 soa = dns_resource_key_new(dns_transaction_key(t)->class, type, name); in dns_transaction_request_dnssec_keys()
2685 if (dns_transaction_key(dt)->class != rr->key->class) in dns_transaction_requires_rrsig()
2726 if (dns_transaction_key(dt)->class != rr->key->class) in dns_transaction_requires_rrsig()
2765 if (dns_transaction_key(dt)->class != rr->key->class) in dns_transaction_requires_rrsig()
[all …]
/systemd-251/src/shared/
Ddiscover-image.h66 int image_find(ImageClass class, const char *root, const char *name, Image **ret);
68 int image_find_harder(ImageClass class, const char *root, const char *name_or_path, Image **ret);
69 int image_discover(ImageClass class, const char *root, Hashmap *map);
86 bool image_in_search_path(ImageClass class, const char *root, const char *image);
Ddiscover-image.c427 int image_find(ImageClass class, in image_find() argument
435 assert(class >= 0); in image_find()
436 assert(class < _IMAGE_CLASS_MAX); in image_find()
443 NULSTR_FOREACH(path, image_search_path[class]) { in image_find()
498 if (class == IMAGE_MACHINE && streq(name, ".host")) { in image_find()
524 int image_find_harder(ImageClass class, const char *name_or_path, const char *root, Image **ret) { in image_find_harder() argument
526 return image_find(class, name_or_path, root, ret); in image_find_harder()
532 ImageClass class, in image_discover() argument
539 assert(class >= 0); in image_discover()
540 assert(class < _IMAGE_CLASS_MAX); in image_discover()
[all …]
Dexit-status.c102 const char* exit_status_to_string(int code, ExitStatusClass class) { in exit_status_to_string() argument
105 return class & exit_status_mappings[code].class ? exit_status_mappings[code].name : NULL; in exit_status_to_string()
112 switch (exit_status_mappings[code].class) { in exit_status_class()
Dexit-status.h92 const char* exit_status_to_string(int code, ExitStatusClass class) _const_;
98 ExitStatusClass class; member
/systemd-251/shell-completion/zsh/
D_resolvectl36 _class=( $(_call_program class ${service} --legend=no --class help; echo help) )
37 _values 'class' "$_class[@]"
78 {-c+,--class=}'[Query RR with DNS class]:class:_resolvectl_classes' \
/systemd-251/src/nss-mymachines/
Dnss-mymachines.c101 _cleanup_free_ char *class = NULL; in _nss_mymachines_gethostbyname4_r() local
116 r = sd_machine_get_class(name, &class); in _nss_mymachines_gethostbyname4_r()
119 if (!streq(class, "container")) { in _nss_mymachines_gethostbyname4_r()
251 _cleanup_free_ char *class = NULL; in _nss_mymachines_gethostbyname3_r() local
274 r = sd_machine_get_class(name, &class); in _nss_mymachines_gethostbyname3_r()
277 if (!streq(class, "container")) { in _nss_mymachines_gethostbyname3_r()
/systemd-251/src/basic/
Dutil.c118 _cleanup_free_ char *s = NULL, *class = NULL; in container_get_leader() local
137 "CLASS", &class); in container_get_leader()
145 if (!streq_ptr(class, "container")) in container_get_leader()
Dmissing_ioprio.h57 static inline int ioprio_prio_value(int class, int data) { in ioprio_prio_value() argument
58 return (class << IOPRIO_CLASS_SHIFT) | data; in ioprio_prio_value()
/systemd-251/src/login/
Dpam_systemd.c52 const char **class, in parse_argv() argument
66 if (class) in parse_argv()
67 *class = p; in parse_argv()
684 *type = NULL, *class = NULL, in pam_sm_open_session() local
763 class = getenv_harder(handle, "XDG_SESSION_CLASS", class_pam); in pam_sm_open_session()
781 class = "background"; in pam_sm_open_session()
788 class = "user"; in pam_sm_open_session()
820 if (isempty(class)) in pam_sm_open_session()
821 class = streq(type, "unspecified") ? "background" : "user"; in pam_sm_open_session()
862 type, class, strempty(desktop), in pam_sm_open_session()
[all …]
Dlogind-session.c246 if (s->class >= 0) in session_save()
247 fprintf(f, "CLASS=%s\n", session_class_to_string(s->class)); in session_save()
409 *class = NULL, in session_load() local
441 "CLASS", &class, in session_load()
546 if (class) { in session_load()
549 c = session_class_from_string(class); in session_load()
551 s->class = c; in session_load()
712 log_struct(s->class == SESSION_BACKGROUND ? LOG_DEBUG : LOG_INFO, in session_start()
783 log_struct(s->class == SESSION_BACKGROUND ? LOG_DEBUG : LOG_INFO, in session_stop_scope()
840 log_struct(s->class == SESSION_BACKGROUND ? LOG_DEBUG : LOG_INFO, in session_finalize()
/systemd-251/shell-completion/bash/
Dsystemd-resolve28 for name in $(cd /sys/class/net && command ls); do
42 [ARG]='-i --interface -p --protocol -t --type -c --class --raw
51 --protocol|-p|--type|-t|--class|-c)
/systemd-251/test/fuzz/fuzz-udev-rules/
D60-persistent-input.rules13 # determine class name for persistent symlinks
30 # allow empty class for USB devices, by appending the interface number
38 # allow empty class for platform and usb devices; platform supports only a single interface that way
/systemd-251/rules.d/
D60-persistent-input.rules13 # determine class name for persistent symlinks
30 # allow empty class for USB devices, by appending the interface number
38 # allow empty class for platform, usb and i2c devices; platform supports only a single interface th…
/systemd-251/src/systemctl/
Dsystemctl-list-machines.c124 _cleanup_free_ char *class = NULL; in get_machine_list() local
129 sd_machine_get_class(*i, &class); in get_machine_list()
130 if (!streq_ptr(class, "container")) in get_machine_list()

1234