Home
last modified time | relevance | path

Searched refs:arg_scope (Results 1 – 24 of 24) sorted by relevance

/systemd-251/src/systemctl/
Dsystemctl-enable.c109 … r = unit_file_enable(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable()
112 … r = unit_file_disable(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable()
114 … r = unit_file_reenable(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable()
117 r = unit_file_link(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable()
119 … r = unit_file_preset(arg_scope, flags, arg_root, names, arg_preset_mode, &changes, &n_changes); in verb_enable()
121 r = unit_file_mask(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable()
123 … r = unit_file_unmask(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable()
125 r = unit_file_revert(arg_scope, arg_root, names, &changes, &n_changes); in verb_enable()
144 r = lookup_paths_init_or_warn(&lp, arg_scope, 0, arg_root); in verb_enable()
Dsystemctl-edit.c40 r = lookup_paths_init_or_warn(&lp, arg_scope, 0, arg_root); in verb_cat()
102 arg_scope == LOOKUP_SCOPE_SYSTEM ? "" : " --user", in verb_cat()
385 r = lookup_paths_init(&lp, arg_scope, 0, arg_root); in find_paths_to_edit()
409 arg_scope == LOOKUP_SCOPE_GLOBAL ? " --global" : in find_paths_to_edit()
410 arg_scope == LOOKUP_SCOPE_USER ? " --user" : "", in find_paths_to_edit()
510 r = lookup_paths_init_or_warn(&lp, arg_scope, 0, arg_root); in verb_edit()
Dsystemctl-sysv-compat.c119 if (arg_scope != LOOKUP_SCOPE_SYSTEM) in enable_sysv_units()
131 r = lookup_paths_init_or_warn(&paths, arg_scope, LOOKUP_PATHS_EXCLUDE_GENERATED, arg_root); in enable_sysv_units()
161 j = unit_file_exists(arg_scope, &paths, name); in enable_sysv_units()
Dsystemctl.c69 LookupScope arg_scope = LOOKUP_SCOPE_SYSTEM; variable
619 arg_scope = LOOKUP_SCOPE_USER; in systemctl_parse_argv()
623 arg_scope = LOOKUP_SCOPE_SYSTEM; in systemctl_parse_argv()
627 arg_scope = LOOKUP_SCOPE_GLOBAL; in systemctl_parse_argv()
927 if (arg_scope != LOOKUP_SCOPE_SYSTEM) in systemctl_parse_argv()
930 if (arg_transport == BUS_TRANSPORT_REMOTE && arg_scope != LOOKUP_SCOPE_SYSTEM) in systemctl_parse_argv()
Dsystemctl-set-default.c52 r = unit_file_get_default(arg_scope, arg_root, ret_name); in determine_default()
110 … r = unit_file_set_default(arg_scope, UNIT_FILE_FORCE, arg_root, unit, &changes, &n_changes); in verb_set_default()
Dsystemctl-start-unit.c171 arg_scope == LOOKUP_SCOPE_SYSTEM ? "system" : "user", in start_unit_one()
172 arg_scope == LOOKUP_SCOPE_SYSTEM ? "" : " --user", in start_unit_one()
245 if (arg_scope != LOOKUP_SCOPE_SYSTEM) in make_extra_args()
Dsystemctl-util.c49 user = arg_scope != LOOKUP_SCOPE_SYSTEM; in acquire_bus()
76 if (arg_scope != LOOKUP_SCOPE_SYSTEM) in ask_password_agent_open_maybe()
85 if (arg_scope != LOOKUP_SCOPE_SYSTEM) in polkit_agent_open_maybe()
383 arg_scope == LOOKUP_SCOPE_SYSTEM ? "" : " --user"); in warn_unit_file_changed()
817 if (arg_scope == LOOKUP_SCOPE_GLOBAL) in install_client_side()
Dsystemctl-start-special.c249 if (arg_scope != LOOKUP_SCOPE_SYSTEM) in verb_start_system_special()
252 arg_scope == LOOKUP_SCOPE_GLOBAL ? "--global" : "--user"); in verb_start_system_special()
Dsystemctl-list-unit-files.c103 r = unit_file_query_preset(arg_scope, arg_root, id, &presets); in output_unit_file_list()
154 r = unit_file_get_list(arg_scope, arg_root, h, arg_states, strv_skip(argv, 1)); in verb_list_unit_files()
Dsystemctl-preset-all.c16 …r = unit_file_preset_all(arg_scope, unit_file_flags_from_args(), arg_root, arg_preset_mode, &chang… in verb_preset_all()
Dsystemctl.h54 extern LookupScope arg_scope;
Dsystemctl-add-dependency.c40 …r = unit_file_add_dependency(arg_scope, unit_file_flags_from_args(), arg_root, names, target, dep,… in verb_add_dependency()
Dsystemctl-is-enabled.c78 r = unit_file_get_state(arg_scope, arg_root, *name, &state); in verb_is_enabled()
Dsystemctl-show.c782 arg_scope == LOOKUP_SCOPE_SYSTEM, in print_status_info()
/systemd-251/src/analyze/
Danalyze.c92 LookupScope arg_scope = LOOKUP_SCOPE_SYSTEM; variable
117 bool user = arg_scope != LOOKUP_SCOPE_SYSTEM; in acquire_bus()
354 arg_scope = LOOKUP_SCOPE_SYSTEM; in parse_argv()
358 arg_scope = LOOKUP_SCOPE_USER; in parse_argv()
362 arg_scope = LOOKUP_SCOPE_GLOBAL; in parse_argv()
503 if (arg_scope == LOOKUP_SCOPE_GLOBAL && in parse_argv()
508 if (streq_ptr(argv[optind], "cat-config") && arg_scope == LOOKUP_SCOPE_USER) in parse_argv()
Danalyze-plot.c81 if (arg_scope != LOOKUP_SCOPE_SYSTEM) { in acquire_host_info()
186 bool use_full_bus = arg_scope == LOOKUP_SCOPE_SYSTEM; in verb_plot()
204 if (use_full_bus || arg_scope != LOOKUP_SCOPE_SYSTEM) { in verb_plot()
Danalyze-unit-paths.c12 r = lookup_paths_init_or_warn(&paths, arg_scope, 0, NULL); in verb_unit_paths()
Danalyze.h25 extern LookupScope arg_scope;
Danalyze-unit-files.c24 r = lookup_paths_init_or_warn(&lp, arg_scope, 0, NULL); in verb_unit_files()
Danalyze-time-data.c70 arg_scope == LOOKUP_SCOPE_SYSTEM ? "" : " --user"); in acquire_boot_times()
72 if (arg_scope == LOOKUP_SCOPE_SYSTEM && times.security_start_time > 0) { in acquire_boot_times()
Danalyze-verify.c69 …return verify_units(filenames, arg_scope, arg_man, arg_generators, arg_recursive_errors, arg_root); in verb_verify()
Danalyze-condition.c140 return verify_conditions(strv_skip(argv, 1), arg_scope, arg_unit, arg_root); in verb_condition()
Danalyze-security.c2945 arg_scope, in verb_security()
/systemd-251/src/run/
Drun.c39 static bool arg_scope = false; variable
267 arg_scope = true; in parse_argv()
525 if (!arg_scope) { in parse_argv()
588 if (arg_scope && arg_transport == BUS_TRANSPORT_REMOTE) in parse_argv()
592 if (arg_scope && (arg_remain_after_exit || arg_service_type)) in parse_argv()
596 if (arg_stdio != ARG_STDIO_NONE && (with_trigger || arg_scope)) in parse_argv()
608 if (arg_scope && with_trigger) in parse_argv()
625 if (arg_scope) in parse_argv()
1766 if (arg_scope) in run()