Lines Matching refs:class

36 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()
284 m->class = c; in machine_load()
372 …description = strjoina(machine->class == MACHINE_VM ? "Virtual Machine " : "Container ", machine->… in machine_start_scope()
419 assert(m->class != MACHINE_HOST); in machine_ensure_scope()
438 if (!IN_SET(m->class, MACHINE_CONTAINER, MACHINE_VM)) in machine_start()
478 if (!IN_SET(m->class, MACHINE_CONTAINER, MACHINE_VM)) in machine_stop()
527 if (m->class == MACHINE_HOST) in machine_may_gc()
555 if (s->class == MACHINE_HOST) in machine_get_state()
570 if (!IN_SET(m->class, MACHINE_VM, MACHINE_CONTAINER)) in machine_kill()
586 switch (m->class) { in machine_openpt()
606 switch (m->class) { in machine_open_terminal()
660 if (m->class == MACHINE_HOST) { in machine_get_uid_shift()
665 if (m->class != MACHINE_CONTAINER) in machine_get_uid_shift()
757 if (machine->class != MACHINE_CONTAINER) in machine_owns_uid_internal()
829 if (machine->class != MACHINE_CONTAINER) in machine_translate_uid_internal()