Searched refs:arg_unit (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/analyze/ |
D | analyze.c | 103 char *arg_unit = NULL; variable 113 STATIC_DESTRUCTOR_REGISTER(arg_unit, freep); 481 free_and_replace(arg_unit, mangled); in parse_argv() 525 if (arg_unit && !streq_ptr(argv[optind], "condition")) in parse_argv() 528 if (streq_ptr(argv[optind], "condition") && !arg_unit && optind >= argc - 1) in parse_argv() 531 if (streq_ptr(argv[optind], "condition") && arg_unit && optind < argc - 1) in parse_argv()
|
D | analyze.h | 35 extern char *arg_unit;
|
D | analyze-condition.c | 140 return verify_conditions(strv_skip(argv, 1), arg_scope, arg_unit, arg_root); in verb_condition()
|
/systemd-251/src/run/ |
D | run.c | 43 static const char *arg_unit = NULL; variable 271 arg_unit = optarg; in parse_argv() 581 } else if (!arg_unit || !with_trigger) in parse_argv() 1179 if (arg_unit) { in start_transient_service() 1180 r = unit_name_mangle_with_suffix(arg_unit, "as unit", in start_transient_service() 1418 if (arg_unit) { in start_transient_scope() 1419 r = unit_name_mangle_with_suffix(arg_unit, "as unit", in start_transient_scope() 1566 if (arg_unit) { in start_transient_trigger() 1567 switch (unit_name_to_type(arg_unit)) { in start_transient_trigger() 1570 service = strdup(arg_unit); in start_transient_trigger() [all …]
|