Searched defs:root_dir (Results 1 - 8 of 8) sorted by relevance

/systemd/src/test/
H A Dtest-conf-files.c51 const char *root_dir, *search_1, *search_2, *expect_a, *expect_b; local
60 root_dir = tmp_dir;
64 root_dir = NULL;
72 assert_se(conf_files_list(&found_files, ".conf", root_dir, search_1, search_2, NULL) == 0);
/systemd/test/
H A Drule-syntax-check.py29 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) variable
30 rules_dir = os.path.join(os.environ.get('top_srcdir', root_dir), 'rules')
/systemd/src/boot/efi/
H A Dstub.c31 EFI_FILE *root_dir; local
61 root_dir = LibOpenRoot(loaded_image->DeviceHandle);
62 if (!root_dir) {
76 err = pefile_locate_sections(root_dir, loaded_image_path, sections, addrs, offs, szs);
H A Dboot.c1136 static VOID config_load_defaults(Config *config, EFI_FILE *root_dir) { argument
1142 len = file_read(root_dir, L"\\loader\\loader.conf", 0, 0, &content);
1155 static VOID config_load_entries(Config *config, EFI_HANDLE *device, EFI_FILE *root_dir, CHAR16 *loaded_image_path) { argument
1159 err = uefi_call_wrapper(root_dir->Open, 5, root_dir, &entries_dir, L"\\loader\\entries", EFI_FILE_MODE_READ, 0ULL);
1442 static BOOLEAN config_entry_add_loader_auto(Config *config, EFI_HANDLE *device, EFI_FILE *root_dir, CHAR16 *loaded_image_path, argument
1453 err = uefi_call_wrapper(root_dir->Open, 5, root_dir, &handle, loader, EFI_FILE_MODE_READ, 0ULL);
1495 static VOID config_entry_add_linux( Config *config, EFI_LOADED_IMAGE *loaded_image, EFI_FILE *root_dir) { argument
1500 err = uefi_call_wrapper(root_dir
1697 EFI_FILE *root_dir; local
[all...]
/systemd/src/shared/
H A Dpath-lookup.c242 const char *root_dir,
328 if (!path_strv_resolve_uniq(p->unit_path, root_dir))
381 if (!path_strv_resolve_uniq(p->sysvinit_path, root_dir))
384 if (!path_strv_resolve_uniq(p->sysvrcnd_path, root_dir))
429 const char *root_dir) {
439 root_dir,
238 lookup_paths_init( LookupPaths *p, ManagerRunningAs running_as, bool personal, const char *root_dir, const char *generator, const char *generator_early, const char *generator_late) argument
427 lookup_paths_init_from_scope(LookupPaths *paths, UnitFileScope scope, const char *root_dir) argument
H A Dinstall.c85 static int get_config_path(UnitFileScope scope, bool runtime, const char *root_dir, char **ret) { argument
101 p = path_join(root_dir, "/run/systemd/system", NULL);
103 p = path_join(root_dir, SYSTEM_CONFIG_UNIT_PATH, NULL);
108 if (root_dir)
119 if (root_dir)
189 static int verify_root_dir(UnitFileScope scope, const char **root_dir) { argument
192 assert(root_dir);
198 if (isempty(*root_dir) || path_equal(*root_dir, "/")) {
199 *root_dir
500 find_symlinks_fd( const char *root_dir, const char *name, int fd, const char *path, const char *config_path, bool *same_name_link) argument
623 find_symlinks( const char *root_dir, const char *name, const char *config_path, bool *same_name_link) argument
646 find_symlinks_in_scope( UnitFileScope scope, const char *root_dir, const char *name, UnitFileState *state) argument
899 unit_file_load( InstallContext *c, UnitFileInstallInfo *info, const char *path, const char *root_dir, SearchFlags flags) argument
979 unit_file_load_or_readlink( InstallContext *c, UnitFileInstallInfo *info, const char *path, const char *root_dir, SearchFlags flags) argument
1040 unit_file_search( InstallContext *c, UnitFileInstallInfo *info, const LookupPaths *paths, const char *root_dir, SearchFlags flags) argument
1115 install_info_follow( InstallContext *c, UnitFileInstallInfo *i, const char *root_dir, SearchFlags flags) argument
1143 install_info_traverse( UnitFileScope scope, InstallContext *c, const char *root_dir, const LookupPaths *paths, UnitFileInstallInfo *start, SearchFlags flags, UnitFileInstallInfo **ret) argument
1222 install_info_discover( UnitFileScope scope, InstallContext *c, const char *root_dir, const LookupPaths *paths, const char *name, SearchFlags flags, UnitFileInstallInfo **ret) argument
1334 install_info_symlink_link( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1362 install_info_apply( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1397 install_context_apply( UnitFileScope scope, InstallContext *c, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, SearchFlags flags, UnitFileChange **changes, unsigned *n_changes) argument
1449 install_context_mark_for_removal( UnitFileScope scope, InstallContext *c, const LookupPaths *paths, Set **remove_symlinks_to, const char *config_path, const char *root_dir) argument
1494 unit_file_mask( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1540 unit_file_unmask( UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFileChange **changes, unsigned *n_changes) argument
1619 unit_file_link( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1705 unit_file_add_dependency( UnitFileScope scope, bool runtime, const char *root_dir, char **files, const char *target, UnitDependency dep, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1782 unit_file_enable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1831 unit_file_disable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFileChange **changes, unsigned *n_changes) argument
1877 unit_file_reenable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1905 unit_file_set_default( UnitFileScope scope, const char *root_dir, const char *name, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1952 unit_file_get_default( UnitFileScope scope, const char *root_dir, char **name) argument
1989 unit_file_lookup_state( UnitFileScope scope, const char *root_dir, const LookupPaths *paths, const char *name, UnitFileState *ret) argument
2048 unit_file_get_state( UnitFileScope scope, const char *root_dir, const char *name, UnitFileState *ret) argument
2072 unit_file_query_preset(UnitFileScope scope, const char *root_dir, const char *name) argument
2161 execute_preset( UnitFileScope scope, InstallContext *plus, InstallContext *minus, const LookupPaths *paths, const char *config_path, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument
2208 preset_prepare_one( UnitFileScope scope, InstallContext *plus, InstallContext *minus, LookupPaths *paths, const char *root_dir, UnitFilePresetMode mode, const char *name) argument
2241 unit_file_preset( UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument
2285 unit_file_preset_all( UnitFileScope scope, bool runtime, const char *root_dir, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument
2371 unit_file_get_list( UnitFileScope scope, const char *root_dir, Hashmap *h) argument
[all...]
/systemd/src/core/
H A Dnamespace.c489 const char *home_dir, *run_user_dir, *root_dir; local
495 root_dir = prefix_roota(root_directory, "/root");
496 root_dir = strjoina("-", root_dir);
498 r = append_mounts(&m, STRV_MAKE(home_dir, run_user_dir, root_dir),
H A Ddbus-manager.c1620 int (*call)(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes),
1670 static int unit_file_preset_without_mode(UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) { argument
1671 return unit_file_preset(scope, runtime, root_dir, files, UNIT_FILE_PRESET_FULL, force, changes, n_changes);
1731 int (*call)(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], UnitFileChange **changes, unsigned *n_changes),
1616 method_enable_unit_files_generic( sd_bus_message *message, Manager *m, const char *verb, int (*call)(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes), bool carries_install_info, sd_bus_error *error) argument
1727 method_disable_unit_files_generic( sd_bus_message *message, Manager *m, const char *verb, int (*call)(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], UnitFileChange **changes, unsigned *n_changes), sd_bus_error *error) argument

Completed in 1879 milliseconds