/systemd-251/src/systemctl/ |
D | systemctl-enable.c | 109 … 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()
|
D | systemctl-edit.c | 40 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()
|
D | systemctl-sysv-compat.c | 119 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()
|
D | systemctl.c | 69 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()
|
D | systemctl-set-default.c | 52 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()
|
D | systemctl-start-unit.c | 171 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()
|
D | systemctl-util.c | 49 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()
|
D | systemctl-start-special.c | 249 if (arg_scope != LOOKUP_SCOPE_SYSTEM) in verb_start_system_special() 252 arg_scope == LOOKUP_SCOPE_GLOBAL ? "--global" : "--user"); in verb_start_system_special()
|
D | systemctl-list-unit-files.c | 103 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()
|
D | systemctl-preset-all.c | 16 …r = unit_file_preset_all(arg_scope, unit_file_flags_from_args(), arg_root, arg_preset_mode, &chang… in verb_preset_all()
|
D | systemctl.h | 54 extern LookupScope arg_scope;
|
D | systemctl-add-dependency.c | 40 …r = unit_file_add_dependency(arg_scope, unit_file_flags_from_args(), arg_root, names, target, dep,… in verb_add_dependency()
|
D | systemctl-is-enabled.c | 78 r = unit_file_get_state(arg_scope, arg_root, *name, &state); in verb_is_enabled()
|
D | systemctl-show.c | 782 arg_scope == LOOKUP_SCOPE_SYSTEM, in print_status_info()
|
/systemd-251/src/analyze/ |
D | analyze.c | 92 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()
|
D | analyze-plot.c | 81 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()
|
D | analyze-unit-paths.c | 12 r = lookup_paths_init_or_warn(&paths, arg_scope, 0, NULL); in verb_unit_paths()
|
D | analyze.h | 25 extern LookupScope arg_scope;
|
D | analyze-unit-files.c | 24 r = lookup_paths_init_or_warn(&lp, arg_scope, 0, NULL); in verb_unit_files()
|
D | analyze-time-data.c | 70 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()
|
D | analyze-verify.c | 69 …return verify_units(filenames, arg_scope, arg_man, arg_generators, arg_recursive_errors, arg_root); in verb_verify()
|
D | analyze-condition.c | 140 return verify_conditions(strv_skip(argv, 1), arg_scope, arg_unit, arg_root); in verb_condition()
|
D | analyze-security.c | 2945 arg_scope, in verb_security()
|
/systemd-251/src/run/ |
D | run.c | 39 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()
|