Searched refs:UNIT_NAME_INSTANCE (Results 1 - 10 of 10) sorted by relevance
/systemd/src/test/ |
H A D | test-unit-name.c | 45 assert_se(!unit_name_is_valid("foo.service", UNIT_NAME_INSTANCE)); 47 assert_se(!unit_name_is_valid("foo.service", UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE)); 51 assert_se(unit_name_is_valid("foo@bar.service", UNIT_NAME_INSTANCE)); 53 assert_se(unit_name_is_valid("foo@bar.service", UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE)); 57 assert_se(!unit_name_is_valid("foo@.service", UNIT_NAME_INSTANCE)); 59 assert_se(unit_name_is_valid("foo@.service", UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE));
|
/systemd/src/basic/ |
H A D | unit-name.h | 263 UNIT_NAME_INSTANCE = 2, /* Allow foo@bar.service */ enumerator in enum:UnitNameFlags 265 UNIT_NAME_ANY = UNIT_NAME_PLAIN|UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE,
|
H A D | unit-name.c | 56 assert((flags & ~(UNIT_NAME_PLAIN|UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE)) == 0); 90 if (flags & UNIT_NAME_INSTANCE) 466 if (!unit_name_is_valid(f, UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE)) 495 if (!unit_name_is_valid(f, UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE))
|
H A D | cgroup-util.c | 1265 if (!unit_name_is_valid(c, UNIT_NAME_PLAIN|UNIT_NAME_INSTANCE))
|
/systemd/src/shared/ |
H A D | dropin.c | 202 if (unit_name_is_valid(name, UNIT_NAME_INSTANCE)) {
|
H A D | install.c | 1012 } else if (unit_name_is_valid(info->name, UNIT_NAME_INSTANCE)) { 1014 if (!unit_name_is_valid(bn, UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE)) 1081 if (unit_name_is_valid(info->name, UNIT_NAME_INSTANCE)) { 1188 if (unit_name_is_valid(i->name, UNIT_NAME_INSTANCE) &&
|
/systemd/src/dbus1-generator/ |
H A D | dbus1-generator.c | 192 if (!unit_name_is_valid(service, UNIT_NAME_PLAIN|UNIT_NAME_INSTANCE)) {
|
/systemd/src/core/ |
H A D | dbus-unit.c | 1148 if (!unit_name_is_valid(other, UNIT_NAME_PLAIN|UNIT_NAME_INSTANCE))
|
H A D | manager.c | 1336 if (t == _UNIT_TYPE_INVALID || !unit_name_is_valid(name, UNIT_NAME_PLAIN|UNIT_NAME_INSTANCE))
|
H A D | unit.c | 180 if (!unit_name_is_valid(s, UNIT_NAME_PLAIN|UNIT_NAME_INSTANCE))
|
Completed in 72 milliseconds