Lines Matching refs:ret_path
64 char **ret_path, in chase_symlinks() argument
143 …if (!original_root && !ret_path && !(flags & (CHASE_NONEXISTENT|CHASE_NO_AUTOFS|CHASE_SAFE|CHASE_S… in chase_symlinks()
369 if (ret_path) in chase_symlinks()
370 *ret_path = TAKE_PTR(done); in chase_symlinks()
386 if (ret_path) { in chase_symlinks()
394 *ret_path = TAKE_PTR(done); in chase_symlinks()
402 *ret_path = c; in chase_symlinks()
414 char **ret_path) { in chase_symlinks_and_open() argument
423 if (empty_or_root(root) && !ret_path && (chase_flags & (CHASE_NO_AUTOFS|CHASE_SAFE)) == 0) { in chase_symlinks_and_open()
432 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_open()
441 if (ret_path) in chase_symlinks_and_open()
442 *ret_path = TAKE_PTR(p); in chase_symlinks_and_open()
451 char **ret_path, in chase_symlinks_and_opendir() argument
464 if (empty_or_root(root) && !ret_path && (chase_flags & (CHASE_NO_AUTOFS|CHASE_SAFE)) == 0) { in chase_symlinks_and_opendir()
474 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_opendir()
483 if (ret_path) in chase_symlinks_and_opendir()
484 *ret_path = TAKE_PTR(p); in chase_symlinks_and_opendir()
494 char **ret_path, in chase_symlinks_and_stat() argument
508 if (empty_or_root(root) && !ret_path && (chase_flags & (CHASE_NO_AUTOFS|CHASE_SAFE)) == 0) { in chase_symlinks_and_stat()
516 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_stat()
524 if (ret_path) in chase_symlinks_and_stat()
525 *ret_path = TAKE_PTR(p); in chase_symlinks_and_stat()
537 char **ret_path, in chase_symlinks_and_fopen_unlocked() argument
552 … fd = chase_symlinks_and_open(path, root, chase_flags, mode_flags, ret_path ? &final_path : NULL); in chase_symlinks_and_fopen_unlocked()
560 if (ret_path) in chase_symlinks_and_fopen_unlocked()
561 *ret_path = TAKE_PTR(final_path); in chase_symlinks_and_fopen_unlocked()