Lines Matching refs:lookup_flags
123 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_sys_truncate() local
131 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in do_sys_truncate()
136 if (retry_estale(error, lookup_flags)) { in do_sys_truncate()
137 lookup_flags |= LOOKUP_REVAL; in do_sys_truncate()
355 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_faccessat() local
398 res = user_path_at(dfd, filename, lookup_flags, &path); in do_faccessat()
433 if (retry_estale(res, lookup_flags)) { in do_faccessat()
434 lookup_flags |= LOOKUP_REVAL; in do_faccessat()
457 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in ksys_chdir() local
459 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in ksys_chdir()
471 if (retry_estale(error, lookup_flags)) { in ksys_chdir()
472 lookup_flags |= LOOKUP_REVAL; in ksys_chdir()
510 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in ksys_chroot() local
512 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in ksys_chroot()
531 if (retry_estale(error, lookup_flags)) { in ksys_chroot()
532 lookup_flags |= LOOKUP_REVAL; in ksys_chroot()
595 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_fchmodat() local
597 error = user_path_at(dfd, filename, lookup_flags, &path); in do_fchmodat()
601 if (retry_estale(error, lookup_flags)) { in do_fchmodat()
602 lookup_flags |= LOOKUP_REVAL; in do_fchmodat()
667 int lookup_flags; in do_fchownat() local
672 lookup_flags = (flag & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in do_fchownat()
674 lookup_flags |= LOOKUP_EMPTY; in do_fchownat()
676 error = user_path_at(dfd, filename, lookup_flags, &path); in do_fchownat()
686 if (retry_estale(error, lookup_flags)) { in do_fchownat()
687 lookup_flags |= LOOKUP_REVAL; in do_fchownat()
960 int lookup_flags = 0; in build_open_flags() local
1022 lookup_flags |= LOOKUP_DIRECTORY; in build_open_flags()
1024 lookup_flags |= LOOKUP_FOLLOW; in build_open_flags()
1025 op->lookup_flags = lookup_flags; in build_open_flags()