fd1 40 maint/gnulib/lib/at-func2.c at_func2 (int fd1, char const *file1, fd1 77 maint/gnulib/lib/at-func2.c if ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1)) fd1 84 maint/gnulib/lib/at-func2.c char *proc_file1 = ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1)) fd1 86 maint/gnulib/lib/at-func2.c : openat_proc_name (proc_buf1, fd1, file1)); fd1 120 maint/gnulib/lib/at-func2.c fd1 = AT_FDCWD; /* Case 11 reduced to 3. */ fd1 126 maint/gnulib/lib/at-func2.c if (fd1 == AT_FDCWD) /* Cases 3, 7. */ fd1 140 maint/gnulib/lib/at-func2.c if (stat (".", &st2) == -1 || fstat (fd1, &st1) == -1) fd1 150 maint/gnulib/lib/at-func2.c else if (fd1 != fd2) /* Case 15b. */ fd1 152 maint/gnulib/lib/at-func2.c if (fstat (fd1, &st1) == -1 || fstat (fd2, &st2) == -1) fd1 161 maint/gnulib/lib/at-func2.c fd2 = fd1; fd1 168 maint/gnulib/lib/at-func2.c if (fstat (fd1, &st1) == -1) fd1 192 maint/gnulib/lib/at-func2.c if (fd1 != AT_FDCWD && fd2 != AT_FDCWD && fd1 != fd2) /* Case 15b. */ fd1 194 maint/gnulib/lib/at-func2.c if (fchdir (fd1) != 0) fd1 201 maint/gnulib/lib/at-func2.c fd1 = AT_FDCWD; /* Reduced to case 7. */ fd1 210 maint/gnulib/lib/at-func2.c if (fd1 == AT_FDCWD && !IS_ABSOLUTE_FILE_NAME (file1)) /* Case 7. */ fd1 257 maint/gnulib/lib/at-func2.c if (fchdir (fd1 == AT_FDCWD ? fd2 : fd1) != 0) fd1 159 maint/gnulib/lib/fdopendir.c int fd1 = dup (dupfd); fd1 160 maint/gnulib/lib/fdopendir.c if (fd1 != fd) fd1 161 maint/gnulib/lib/fdopendir.c openat_save_fail (fd1 < 0 ? errno : EBADF); fd1 1681 maint/gnulib/lib/fts.c same_fd (int fd1, int fd2) fd1 1684 maint/gnulib/lib/fts.c return (fstat (fd1, &sb1) == 0 fd1 190 maint/gnulib/lib/linkat.c linkat (int fd1, char const *file1, int fd2, char const *file2, int flag) fd1 197 maint/gnulib/lib/linkat.c return at_func2 (fd1, file1, fd2, file2, fd1 209 maint/gnulib/lib/linkat.c linkat_follow (int fd1, char const *file1, int fd2, char const *file2) fd1 217 maint/gnulib/lib/linkat.c while (i-- && (target = areadlinkat (fd1, name))) fd1 257 maint/gnulib/lib/linkat.c result = linkat (fd1, name, fd2, file2, 0); fd1 268 maint/gnulib/lib/linkat.c rpl_linkat (int fd1, char const *file1, int fd2, char const *file2, int flag) fd1 288 maint/gnulib/lib/linkat.c if (fstatat (fd1, file1, &st, flag ? 0 : AT_SYMLINK_NOFOLLOW)) fd1 301 maint/gnulib/lib/linkat.c int result = linkat (fd1, file1, fd2, file2, flag); fd1 307 maint/gnulib/lib/linkat.c return at_func2 (fd1, file1, fd2, file2, link_immediate); fd1 317 maint/gnulib/lib/linkat.c int result = linkat (fd1, file1, fd2, file2, flag); fd1 326 maint/gnulib/lib/linkat.c return linkat_follow (fd1, file1, fd2, file2); fd1 60 maint/gnulib/lib/openat-priv.h int at_func2 (int fd1, char const *file1, fd1 22 maint/gnulib/lib/renameat.c renameat (int fd1, char const *src, int fd2, char const *dst) fd1 24 maint/gnulib/lib/renameat.c return renameatu (fd1, src, fd2, dst, 0); fd1 71 maint/gnulib/lib/renameatu.c renameat2ish (int fd1, char const *src, int fd2, char const *dst, fd1 77 maint/gnulib/lib/renameatu.c int r = renameatx_np (fd1, src, fd2, dst, RENAME_EXCL); fd1 83 maint/gnulib/lib/renameatu.c return renameat (fd1, src, fd2, dst); fd1 100 maint/gnulib/lib/renameatu.c renameatu (int fd1, char const *src, int fd2, char const *dst, fd1 107 maint/gnulib/lib/renameatu.c ret_val = renameat2 (fd1, src, fd2, dst, flags); fd1 110 maint/gnulib/lib/renameatu.c ret_val = syscall (SYS_renameat2, fd1, src, fd2, dst, flags); fd1 156 maint/gnulib/lib/renameatu.c return renameat2ish (fd1, src, fd2, dst, flags); fd1 161 maint/gnulib/lib/renameatu.c return renameat2ish (fd1, src, fd2, dst, flags); fd1 167 maint/gnulib/lib/renameatu.c if (lstatat (fd1, src, &src_st)) fd1 199 maint/gnulib/lib/renameatu.c if (lstatat (fd1, src_temp, &src_st)) fd1 234 maint/gnulib/lib/renameatu.c ret_val = renameat2ish (fd1, src_temp, fd2, dst_temp, flags); fd1 250 maint/gnulib/lib/renameatu.c return at_func2 (fd1, src, fd2, dst, flags ? rename_noreplace : rename); fd1 1250 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2) fd1 1253 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2)); fd1 1257 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2) fd1 1261 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2)); fd1 1630 maint/gnulib/lib/unistd.in.h (int fd1, const char *path1, int fd2, const char *path2, fd1 1634 maint/gnulib/lib/unistd.in.h (int fd1, const char *path1, int fd2, const char *path2, fd1 1639 maint/gnulib/lib/unistd.in.h (int fd1, const char *path1, int fd2, const char *path2, fd1 1644 maint/gnulib/lib/unistd.in.h (int fd1, const char *path1, int fd2, const char *path2, fd1 37 maint/gnulib/tests/test-copy-acl.c int fd1; fd1 47 maint/gnulib/tests/test-copy-acl.c fd1 = open (file1, O_RDONLY); fd1 48 maint/gnulib/tests/test-copy-acl.c if (fd1 < 0 || fstat (fd1, &statbuf) < 0) fd1 63 maint/gnulib/tests/test-copy-acl.c if (copy_acl (file1, fd1, file2, fd2, mode)) fd1 70 maint/gnulib/tests/test-copy-acl.c close (fd1); fd1 167 maint/gnulib/tests/test-linkat.c int fd1 = (i & 8) ? dfd : AT_FDCWD; fd1 177 maint/gnulib/tests/test-linkat.c ASSERT (linkat (fd1, file1, fd2, file2, flag) == 0); fd1 178 maint/gnulib/tests/test-linkat.c ASSERT (unlinkat (fd1, file1, 0) == 0); fd1 126 maint/gnulib/tests/test-renameat.c int fd1 = (i & 8) ? dfd : AT_FDCWD; fd1 133 maint/gnulib/tests/test-renameat.c ASSERT (renameat (fd1, file1, fd2, file2) == 0); fd1 129 maint/gnulib/tests/test-renameatu.c int fd1 = (i & 8) ? dfd : AT_FDCWD; fd1 136 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (fd1, file1, fd2, file2, 0) == 0);