Lines Matching refs:method
2529 const char *method;
2550 return unit_actions[i].method;
2555 static const char *method_to_verb(const char *method) {
2559 if (streq_ptr(unit_actions[i].method, method))
2567 const char *method,
2577 assert(method);
2582 log_debug("Calling manager for %s on %s, %s", method, name, mode);
2589 method,
2601 verb = method_to_verb(method);
2721 const char *method, *mode, *one_name, *suffix = NULL;
2737 method = verb_to_method(argv[0]);
2751 method = "StartUnit";
2775 q = start_unit_one(bus, method, *name, mode, &error, w);
2789 if (!arg_quiet && streq(method, "StopUnit"))
2836 const char *method, *description;
2850 method = "Reboot";
2855 method = "PowerOff";
2860 method = "Suspend";
2865 method = "Hibernate";
2870 method = "HybridSleep";
2883 method,
4892 const char *method;
4903 method = "Reload";
4905 method = "Reexecute";
4909 method =
4927 method,
4935 else if ((r == -ETIMEDOUT || r == -ECONNRESET) && streq(method, "Reexecute"))
5097 const char *method;
5110 method = streq(argv[0], "set-environment")
5120 method);
5436 const char *method;
5446 method = "EnableUnitFiles";
5449 method = "DisableUnitFiles";
5452 method = "ReenableUnitFiles";
5455 method = "LinkUnitFiles";
5459 method = "PresetUnitFilesWithMode";
5462 method = "PresetUnitFiles";
5466 method = "MaskUnitFiles";
5468 method = "UnmaskUnitFiles";
5479 method);