Lines Matching refs:root

60 int open_extension_release(const char *root, const char *extension, char **ret_path, int *ret_fd) {  in open_extension_release()  argument
72 r = chase_symlinks(extension_full_path, root, CHASE_PREFIX_ROOT, in open_extension_release()
86 … r = chase_symlinks_and_opendir("/usr/lib/extension-release.d/", root, CHASE_PREFIX_ROOT, in open_extension_release()
89 … return log_debug_errno(r, "Cannot open %s/usr/lib/extension-release.d/, ignoring: %m", root); in open_extension_release()
175 r = chase_symlinks(var, root, 0, in open_extension_release()
180 r = chase_symlinks(path, root, CHASE_PREFIX_ROOT, in open_extension_release()
208 int fopen_extension_release(const char *root, const char *extension, char **ret_path, FILE **ret_fi… in fopen_extension_release() argument
215 return open_extension_release(root, extension, ret_path, NULL); in fopen_extension_release()
217 r = open_extension_release(root, extension, ret_path ? &p : NULL, &fd); in fopen_extension_release()
232 static int parse_release_internal(const char *root, const char *extension, va_list ap) { in parse_release_internal() argument
237 r = fopen_extension_release(root, extension, &p, &f); in parse_release_internal()
244 int _parse_extension_release(const char *root, const char *extension, ...) { in _parse_extension_release() argument
249 r = parse_release_internal(root, extension, ap); in _parse_extension_release()
255 int _parse_os_release(const char *root, ...) { in _parse_os_release() argument
259 va_start(ap, root); in _parse_os_release()
260 r = parse_release_internal(root, NULL, ap); in _parse_os_release()
266 int load_os_release_pairs(const char *root, char ***ret) { in load_os_release_pairs() argument
271 r = fopen_os_release(root, &p, &f); in load_os_release_pairs()
278 int load_os_release_pairs_with_prefix(const char *root, const char *prefix, char ***ret) { in load_os_release_pairs_with_prefix() argument
282 r = load_os_release_pairs(root, &os_release_pairs); in load_os_release_pairs_with_prefix()
307 int load_extension_release_pairs(const char *root, const char *extension, char ***ret) { in load_extension_release_pairs() argument
312 r = fopen_extension_release(root, extension, &p, &f); in load_extension_release_pairs()