Lines Matching refs:arg_scope
99 static UnitFileScope arg_scope = UNIT_FILE_SYSTEM;
180 user = arg_scope != UNIT_FILE_SYSTEM;
218 if (arg_scope != UNIT_FILE_SYSTEM)
234 if (arg_scope != UNIT_FILE_SYSTEM)
294 if (arg_scope == UNIT_FILE_GLOBAL)
1380 r = unit_file_get_list(arg_scope, arg_root, h);
1937 r = unit_file_get_default(arg_scope, arg_root, &_path);
2001 r = unit_file_set_default(arg_scope, arg_root, unit, true, &changes, &n_changes);
2274 arg_scope == UNIT_FILE_SYSTEM ? "" : " --user");
2783 q = bus_wait_for_jobs(w, arg_quiet, arg_scope != UNIT_FILE_SYSTEM ? "--user" : NULL);
3732 arg_scope == UNIT_FILE_SYSTEM,
4738 if (arg_scope == UNIT_FILE_USER) {
4752 r = lookup_paths_init_from_scope(lp, arg_scope, arg_root);
5207 if (arg_scope != UNIT_FILE_SYSTEM)
5403 r = unit_file_enable(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5406 r = unit_file_disable(arg_scope, arg_runtime, arg_root, names, &changes, &n_changes);
5408 r = unit_file_reenable(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5411 r = unit_file_link(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5413 r = unit_file_preset(arg_scope, arg_runtime, arg_root, names, arg_preset_mode, arg_force, &changes, &n_changes);
5416 r = unit_file_mask(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5418 r = unit_file_unmask(arg_scope, arg_runtime, arg_root, names, &changes, &n_changes);
5587 r = unit_file_add_dependency(arg_scope, arg_runtime, arg_root, names, target, dep, arg_force, &changes, &n_changes);
5651 r = unit_file_preset_all(arg_scope, arg_runtime, arg_root, arg_preset_mode, arg_force, &changes, &n_changes);
5726 r = unit_file_get_state(arg_scope, arg_root, *name, &state);
5853 switch (arg_scope) {
6652 arg_scope = UNIT_FILE_USER;
6656 arg_scope = UNIT_FILE_SYSTEM;
6660 arg_scope = UNIT_FILE_GLOBAL;
6833 if (arg_transport != BUS_TRANSPORT_LOCAL && arg_scope != UNIT_FILE_SYSTEM) {