Lines Matching defs:root
114 static int generate_machine_id(char id[34], const char *root) {
123 if (isempty(root))
126 dbus_machine_id = strjoina(root, "/var/lib/dbus/machine-id");
140 if (isempty(root)) {
199 int machine_id_setup(const char *root, sd_id128_t machine_id) {
206 if (isempty(root)) {
212 x = strjoina(root, "/etc/machine-id");
215 x = strjoina(root, "/run/machine-id");
222 * will be owned by root it doesn't matter much, but maybe
261 r = generate_machine_id(id, root);
298 int machine_id_commit(const char *root) {
304 if (isempty(root))
309 x = strjoina(root, "/etc/machine-id");