Home
last modified time | relevance | path

Searched refs:machine (Results 1 – 25 of 171) sorted by relevance

1234567

/systemd-251/src/machine/ !
Dmachined-dbus.c93 Machine *machine; in method_get_machine() local
104 machine = hashmap_get(m->machines, name); in method_get_machine()
105 if (!machine) in method_get_machine()
108 p = machine_bus_path(machine); in method_get_machine()
144 Machine *machine = NULL; in method_get_machine_by_pid() local
172 r = manager_get_machine_by_pid(m, pid, &machine); in method_get_machine_by_pid()
175 if (!machine) in method_get_machine_by_pid()
178 p = machine_bus_path(machine); in method_get_machine_by_pid()
188 Machine *machine; in method_list_machines() local
202 HASHMAP_FOREACH(machine, m->machines) { in method_list_machines()
[all …]
Dmachined.c157 struct Machine *machine; in manager_enumerate_machines() local
170 k = manager_add_machine(m, de->d_name, &machine); in manager_enumerate_machines()
176 machine_add_to_gc_queue(machine); in manager_enumerate_machines()
178 k = machine_load(machine); in manager_enumerate_machines()
243 Machine *machine; in manager_gc() local
247 while ((machine = m->machine_gc_queue)) { in manager_gc()
248 LIST_REMOVE(gc_queue, m->machine_gc_queue, machine); in manager_gc()
249 machine->in_gc_queue = false; in manager_gc()
252 if (machine_may_gc(machine, drop_not_started) && in manager_gc()
253 machine_get_state(machine) != MACHINE_CLOSING) in manager_gc()
[all …]
Dmachined-varlink.c52 Machine *machine; in user_lookup_uid() local
63 r = manager_find_machine_for_uid(m, uid, &machine, &converted_uid); in user_lookup_uid()
69 if (asprintf(&n, "vu-%s-" UID_FMT, machine->name, converted_uid) < 0) in user_lookup_uid()
76 if (asprintf(&rn, "UID " UID_FMT " of Container %s", converted_uid, machine->name) < 0) in user_lookup_uid()
91 Machine *machine; in user_lookup_name() local
117 machine = hashmap_get(m->machines, mn); in user_lookup_name()
118 if (!machine) in user_lookup_name()
121 if (machine->class != MACHINE_CONTAINER) in user_lookup_name()
124 r = machine_translate_uid(machine, uid, &converted_uid); in user_lookup_name()
128 if (asprintf(&rn, "UID " UID_FMT " of Container %s", uid, machine->name) < 0) in user_lookup_name()
[all …]
Dmachine.c329 Machine *machine, in machine_start_scope() argument
338 assert(machine); in machine_start_scope()
339 assert(machine->leader > 0); in machine_start_scope()
340 assert(!machine->unit); in machine_start_scope()
342 escaped = unit_name_escape(machine->name); in machine_start_scope()
351 machine->manager->bus, in machine_start_scope()
372 …description = strjoina(machine->class == MACHINE_VM ? "Virtual Machine " : "Container ", machine->… in machine_start_scope()
378 "PIDs", "au", 1, machine->leader, in machine_start_scope()
404 machine->unit = TAKE_PTR(unit); in machine_start_scope()
405 machine->referenced = true; in machine_start_scope()
[all …]
Dmachined-core.c42 Machine *machine; in manager_find_machine_for_uid() local
51 HASHMAP_FOREACH(machine, m->machines) { in manager_find_machine_for_uid()
54 r = machine_owns_uid(machine, uid, &converted); in manager_find_machine_for_uid()
59 *ret_machine = machine; in manager_find_machine_for_uid()
77 Machine *machine; in manager_find_machine_for_gid() local
83 HASHMAP_FOREACH(machine, m->machines) { in manager_find_machine_for_gid()
86 r = machine_owns_gid(machine, gid, &converted); in manager_find_machine_for_gid()
91 *ret_machine = machine; in manager_find_machine_for_gid()
Dmeson.build11 'machine-dbus.c',
12 'machine-dbus.h',
13 'machine.c',
14 'machine.h',
24 'machine-core',
40 [files('test-machine-tables.c'),
Doperation.c72 int operation_new(Manager *manager, Machine *machine, pid_t child, sd_bus_message *message, int err… in operation_new() argument
101 if (machine) { in operation_new()
102 LIST_PREPEND(operations_by_machine, machine->operations, o); in operation_new()
103 o->machine = machine; in operation_new()
135 if (o->machine) in operation_free()
136 LIST_REMOVE(operations_by_machine, o->machine->operations, o); in operation_free()
/systemd-251/test/units/ !
Dtestsuite-58.sh14 machine="$(uname -m)"
15 if [ "${machine}" = "x86_64" ]; then
21 elif [ "${machine}" = "i386" ] || [ "${machine}" = "i686" ] || [ "${machine}" = "x86" ]; then
27 elif [ "${machine}" = "aarch64" ] || [ "${machine}" = "aarch64_be" ] || [ "${machine}" = "armv8b" ]…
33 elif [ "${machine}" = "arm" ]; then
39 elif [ "${machine}" = "loongarch64" ]; then
45 elif [ "${machine}" = "ia64" ]; then
51 elif [ "${machine}" = "s390x" ]; then
57 elif [ "${machine}" = "ppc64le" ]; then
64 echo "Unexpected uname -m: ${machine} in testsuite-58.sh, please fix me"
Dtestsuite-50.sh74 machine="$(uname -m)"
75 if [ "${machine}" = "x86_64" ]; then
80 elif [ "${machine}" = "i386" ] || [ "${machine}" = "i686" ] || [ "${machine}" = "x86" ]; then
85 elif [ "${machine}" = "aarch64" ] || [ "${machine}" = "aarch64_be" ] || [ "${machine}" = "armv8b" ]…
90 elif [ "${machine}" = "arm" ]; then
95 elif [ "${machine}" = "loongarch64" ]; then
100 elif [ "${machine}" = "ia64" ]; then
105 elif [ "${machine}" = "s390x" ]; then
110 elif [ "${machine}" = "ppc64le" ]; then
116 echo "Unexpected uname -m: ${machine} in testsuite-50.sh, please fix me"
Dtestsuite-55.sh84 systemctl start --machine "testuser@.host" --user testsuite-55-testchill.service
85 systemctl start --machine "testuser@.host" --user testsuite-55-testbloat.service
103 systemctl --machine "testuser@.host" --user status testsuite-55-testchill.service
109 if ! systemctl --machine "testuser@.host" --user status testsuite-55-testbloat.service; then
116 if systemctl --machine "testuser@.host" --user status testsuite-55-testbloat.service; then exit 42;…
117 if ! systemctl --machine "testuser@.host" --user status testsuite-55-testchill.service; then exit 2…
/systemd-251/src/systemctl/ !
Dsystemctl-list-units.c137 if (u->machine) { in output_units_list()
138 j = strjoin(u->machine, ":", u->id); in output_units_list()
320 const char *machine; member
340 r = strcasecmp_ptr(a->machine, b->machine); in socket_info_compare()
378 if (s->machine) { in output_sockets_list()
379 j = strjoin(s->machine, ":", s->path); in output_sockets_list()
476 .machine = u->machine, in verb_list_sockets()
576 const char* machine; member
589 r = strcasecmp_ptr(a->machine, b->machine); in timer_info_compare()
621 if (t->machine) { in output_timers_list()
[all …]
/systemd-251/src/basic/ !
Dutil.c117 int container_get_leader(const char *machine, pid_t *pid) { in container_get_leader() argument
123 assert(machine); in container_get_leader()
126 if (streq(machine, ".host")) { in container_get_leader()
131 if (!hostname_is_valid(machine, 0)) in container_get_leader()
134 p = strjoina("/run/systemd/machines/", machine); in container_get_leader()
/systemd-251/units/ !
Dsystemd-machine-id-commit.service11 Description=Commit a transient machine-id on disk
12 Documentation=man:systemd-machine-id-commit.service(8)
18 ConditionPathIsMountPoint=/etc/machine-id
23 ExecStart=systemd-machine-id-setup --commit
/systemd-251/src/systemd/ !
Dsd-login.h77 int sd_pid_get_machine_name(pid_t pid, char **machine);
109 int sd_peer_get_machine_name(int fd, char **machine);
199 int sd_machine_get_class(const char *machine, char **clazz);
202 int sd_machine_get_ifindices(const char *machine, int **ret_ifindices);
/systemd-251/docs/ !
DBUILDING_IMAGES.md28 [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html)
34 as many network-visible identifiers are commonly derived from the machine
53 [`/etc/machine-info`](https://www.freedesktop.org/software/systemd/man/machine-info.html)
71 default uses the machine ID as stored in `/etc/machine-id` for naming boot menu
74 without conflicts. However, this is problematic if the machine ID shall be
83 resources of the OS. If not configured explicitly it defaults to the machine
110 2. PID 1 will initialize `/etc/machine-id` automatically if not initialized yet
183 the machine the system is first booted on, ensuring these keys remain local
245 initialization status of `/etc/machine-id`: if the file already carries a valid
248 [`machine-id(5)`](https://www.freedesktop.org/software/systemd/man/machine-id.html).
[all …]
/systemd-251/src/kernel-install/ !
Dkernel-install.in133 if [ -z "$MACHINE_ID" ] && [ -r /etc/machine-info ] && . /etc/machine-info && MACHINE_ID="$KERNEL_I…
137 if [ -z "$MACHINE_ID" ] && [ -r /etc/machine-id ] && read -r MACHINE_ID </etc/machine-id; then
/systemd-251/rules.d/ !
D60-evdev.rules10 # AT keyboard matching by the machine's DMI data
15 # device matching the input device name + properties + the machine's DMI data
20 # device matching the input device name and the machine's DMI data
/systemd-251/test/fuzz/fuzz-udev-rules/ !
D60-evdev.rules10 # AT keyboard matching by the machine's DMI data
15 # device matching the input device name + properties + the machine's DMI data
19 # device matching the input device name and the machine's DMI data
/systemd-251/po/ !
Dbe.po145 msgid "Set machine information"
149 msgid "Authentication is required to set local machine information."
599 #: src/machine/org.freedesktop.machine1.policy:22
603 #: src/machine/org.freedesktop.machine1.policy:23
607 #: src/machine/org.freedesktop.machine1.policy:32
611 #: src/machine/org.freedesktop.machine1.policy:33
615 #: src/machine/org.freedesktop.machine1.policy:42
619 #: src/machine/org.freedesktop.machine1.policy:43
624 #: src/machine/org.freedesktop.machine1.policy:53
628 #: src/machine/org.freedesktop.machine1.policy:54
[all …]
Dka.po135 msgid "Set machine information"
139 msgid "Authentication is required to set local machine information."
579 #: src/machine/org.freedesktop.machine1.policy:22
583 #: src/machine/org.freedesktop.machine1.policy:23
587 #: src/machine/org.freedesktop.machine1.policy:32
591 #: src/machine/org.freedesktop.machine1.policy:33
595 #: src/machine/org.freedesktop.machine1.policy:42
599 #: src/machine/org.freedesktop.machine1.policy:43
603 #: src/machine/org.freedesktop.machine1.policy:53
607 #: src/machine/org.freedesktop.machine1.policy:54
[all …]
Dkab.po132 msgid "Set machine information"
136 msgid "Authentication is required to set local machine information."
522 #: src/machine/org.freedesktop.machine1.policy:22
526 #: src/machine/org.freedesktop.machine1.policy:23
530 #: src/machine/org.freedesktop.machine1.policy:32
534 #: src/machine/org.freedesktop.machine1.policy:33
538 #: src/machine/org.freedesktop.machine1.policy:42
542 #: src/machine/org.freedesktop.machine1.policy:43
546 #: src/machine/org.freedesktop.machine1.policy:53
550 #: src/machine/org.freedesktop.machine1.policy:54
[all …]
Dru.po159 msgid "Set machine information"
163 msgid "Authentication is required to set local machine information."
651 #: src/machine/org.freedesktop.machine1.policy:22
655 #: src/machine/org.freedesktop.machine1.policy:23
659 #: src/machine/org.freedesktop.machine1.policy:32
663 #: src/machine/org.freedesktop.machine1.policy:33
667 #: src/machine/org.freedesktop.machine1.policy:42
671 #: src/machine/org.freedesktop.machine1.policy:43
677 #: src/machine/org.freedesktop.machine1.policy:53
681 #: src/machine/org.freedesktop.machine1.policy:54
[all …]
Dsystemd.pot128 msgid "Set machine information"
132 msgid "Authentication is required to set local machine information."
518 #: src/machine/org.freedesktop.machine1.policy:22
522 #: src/machine/org.freedesktop.machine1.policy:23
526 #: src/machine/org.freedesktop.machine1.policy:32
530 #: src/machine/org.freedesktop.machine1.policy:33
534 #: src/machine/org.freedesktop.machine1.policy:42
538 #: src/machine/org.freedesktop.machine1.policy:43
542 #: src/machine/org.freedesktop.machine1.policy:53
546 #: src/machine/org.freedesktop.machine1.policy:54
[all …]
Dja.po135 msgid "Set machine information"
139 msgid "Authentication is required to set local machine information."
568 #: src/machine/org.freedesktop.machine1.policy:22
572 #: src/machine/org.freedesktop.machine1.policy:23
576 #: src/machine/org.freedesktop.machine1.policy:32
580 #: src/machine/org.freedesktop.machine1.policy:33
584 #: src/machine/org.freedesktop.machine1.policy:42
588 #: src/machine/org.freedesktop.machine1.policy:43
592 #: src/machine/org.freedesktop.machine1.policy:53
596 #: src/machine/org.freedesktop.machine1.policy:54
[all …]
Dko.po139 msgid "Set machine information"
143 msgid "Authentication is required to set local machine information."
553 #: src/machine/org.freedesktop.machine1.policy:22
557 #: src/machine/org.freedesktop.machine1.policy:23
561 #: src/machine/org.freedesktop.machine1.policy:32
565 #: src/machine/org.freedesktop.machine1.policy:33
569 #: src/machine/org.freedesktop.machine1.policy:42
573 #: src/machine/org.freedesktop.machine1.policy:43
577 #: src/machine/org.freedesktop.machine1.policy:53
581 #: src/machine/org.freedesktop.machine1.policy:54
[all …]

1234567