Lines Matching refs:machine

52         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()
220 Machine *machine; in group_lookup_gid() local
231 r = manager_find_machine_for_gid(m, gid, &machine, &converted_gid); in group_lookup_gid()
237 if (asprintf(&n, "vg-%s-" GID_FMT, machine->name, converted_gid) < 0) in group_lookup_gid()
243 if (asprintf(&d, "GID " GID_FMT " of Container %s", converted_gid, machine->name) < 0) in group_lookup_gid()
257 Machine *machine; in group_lookup_name() local
283 machine = hashmap_get(m->machines, mn); in group_lookup_name()
284 if (!machine) in group_lookup_name()
287 if (machine->class != MACHINE_CONTAINER) in group_lookup_name()
290 r = machine_translate_gid(machine, gid, &converted_gid); in group_lookup_name()
294 if (asprintf(&desc, "GID " GID_FMT " of Container %s", gid, machine->name) < 0) in group_lookup_name()