Searched defs:mid (Results 1 - 12 of 12) sorted by relevance

/systemd/src/machine/
H A Dmachined.c97 sd_id128_t mid; local
104 r = sd_id128_get_machine(&mid);
121 t->id = mid;
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-chat.c365 const char *mid; local
431 r = sd_bus_message_read(reply, "s", &mid);
437 log_info("Machine ID is %s.", mid);
H A Dbus-control.c1545 const char *mid; local
1581 r = sd_bus_message_read(reply, "s", &mid);
1585 return sd_id128_from_string(mid, machine);
H A Dbusctl.c139 sd_id128_t mid; local
232 r = sd_bus_get_name_machine_id(bus, *i, &mid);
235 printf(" %s\n", sd_id128_to_string(mid, m));
/systemd/src/test/
H A Dtest-unit-file.c585 _cleanup_free_ char *mid = NULL, *bid = NULL, *host = NULL, *uid = NULL, *user = NULL; local
587 assert_se(specifier_machine_id('m', NULL, NULL, &mid) >= 0 && mid);
618 expect(i, "%m", mid);
631 expect(i3, "%m", mid);
H A Dtest-unit-name.c202 _cleanup_free_ char *mid = NULL, *bid = NULL, *host = NULL, *uid = NULL, *user = NULL, *shell = NULL, *home = NULL; local
204 assert_se(specifier_machine_id('m', NULL, NULL, &mid) >= 0 && mid);
252 expect(u, "%m", mid);
272 expect(u2, "%m", mid);
/systemd/src/hostname/
H A Dhostnamectl.c73 sd_id128_t mid = {}, bid = {}; local
102 r = sd_id128_get_machine(&mid);
104 printf(" Machine ID: " SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(mid));
/systemd/src/core/
H A Djob.c735 sd_id128_t mid; local
769 mid = result == JOB_DONE ? SD_MESSAGE_UNIT_STARTED : SD_MESSAGE_UNIT_FAILED;
773 mid = SD_MESSAGE_UNIT_RELOADED;
778 mid = SD_MESSAGE_UNIT_STOPPED;
791 LOG_MESSAGE_ID(mid),
H A Dunit.c1393 sd_id128_t mid; local
1411 mid = t == JOB_START ? SD_MESSAGE_UNIT_STARTING :
1422 LOG_MESSAGE_ID(mid),
/systemd/src/journal-remote/
H A Djournal-gatewayd.c755 sd_id128_t mid, bid; local
765 r = sd_id128_get_machine(&mid);
799 SD_ID128_FORMAT_VAL(mid),
/systemd/src/libudev/
H A Dlibudev-monitor.c133 int mid; local
135 if (sscanf(line, "%i", &mid) != 1)
138 if (mid != mount_id)
/systemd/src/journal/
H A Djournald-server.c857 char mid[11 + 32 + 1]; local
876 snprintf(mid, sizeof(mid), LOG_MESSAGE_ID(message_id));
877 IOVEC_SET_STRING(iovec[n++], mid);

Completed in 82 milliseconds