Lines Matching refs:arg_root

119 static char *arg_root = NULL;
291 if (!isempty(arg_root))
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);
2287 path = path_join(arg_root, *p, unit_name);
4752 r = lookup_paths_init_from_scope(lp, arg_scope, arg_root);
5222 r = lookup_paths_init(&paths, MANAGER_SYSTEM, false, arg_root, NULL, NULL, NULL);
5249 path = path_join(arg_root, *k, name);
5264 p = path_join(arg_root, SYSTEM_SYSVINIT_PATH, name);
5278 if (!isempty(arg_root))
5279 argv[c++] = q = strappend("--root=", arg_root);
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);
5855 path = path_join(arg_root, SYSTEM_CONFIG_UNIT_PATH, name);
5857 run = path_join(arg_root, "/run/systemd/system/", name);
5860 path = path_join(arg_root, USER_CONFIG_UNIT_PATH, name);
5862 run = path_join(arg_root, "/run/systemd/user/", name);
5868 path = path_join(arg_root, user_home, name);
5870 path2 = path_join(arg_root, USER_CONFIG_UNIT_PATH, name);
5873 run = path_join(arg_root, user_runtime, name);
6680 r = parse_path_argument_and_warn(optarg, true, &arg_root);
7696 free(arg_root);