Home
last modified time | relevance | path

Searched refs:fstatat (Results 1 - 25 of 49) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/fstatat/
H A Dfstatat01.c63 int fstatat(int dirfd, const char *filename, struct stat64 *statbuf, int flags) in fstatat() function
68 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat() function
73 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat() function
97 TEST(fstatat(fds[i], filenames[i], &statbuf, flags[i])); in main()
101 "fstatat failed as expected"); in main()
103 tst_resm(TFAIL | TTERRNO, "fstatat failed"); in main()
/third_party/musl/Benchmark/musl/
H A Dlibc_stat.cpp31 fd = fstatat(AT_FDCWD, "/dev/zero", &st, 0); in Bm_function_Fstatat_relativepath()
33 perror("fstatat relativepath"); in Bm_function_Fstatat_relativepath()
46 fd = fstatat(AT_FDCWD, DATA_ROOT"/data/local/tmp/passwd_link", &st, AT_SYMLINK_NOFOLLOW); in Bm_function_Fstatat_symbollink()
48 perror("fstatat symbollink"); in Bm_function_Fstatat_symbollink()
61 ret = fstatat(0, "/dev/zero", &st, 0); in Bm_function_Fstatat_absolutepath()
63 perror("fstatat absolutepath"); in Bm_function_Fstatat_absolutepath()
/third_party/musl/compat/time32/
H A Dfstatat_time32.c12 int r = fstatat(fd, path, &st, flag); in __fstatat_time32()
17 weak_alias(fstatat, fstatat64);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h76 int fstatat(int, const char *__restrict, struct stat *__restrict, int);
105 #define fstatat64 fstatat
117 __REDIR(fstatat, __fstatat_time64);
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h76 int fstatat(int, const char *__restrict, struct stat *__restrict, int);
105 #define fstatat64 fstatat
117 __REDIR(fstatat, __fstatat_time64);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h76 int fstatat(int, const char *__restrict, struct stat *__restrict, int);
105 #define fstatat64 fstatat
117 __REDIR(fstatat, __fstatat_time64);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h76 int fstatat(int, const char *__restrict, struct stat *__restrict, int);
105 #define fstatat64 fstatat
116 __REDIR(fstatat, __fstatat_time64);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h76 int fstatat(int, const char *__restrict, struct stat *__restrict, int);
105 #define fstatat64 fstatat
117 __REDIR(fstatat, __fstatat_time64);
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dfstatat.c39 int ret = fstatat(AT_FDCWD, ptr, &st, 0); in fstatat_0100()
66 int ret = fstatat(AT_FDCWD, softptr, &st, AT_SYMLINK_NOFOLLOW); in fstatat_0200()
95 int ret = fstatat(0, ptr, &st, 0); in fstatat_0300()
H A Dfutimesat.c62 if (fstatat(dir_fd, "test.txt", &st2, 0) != 0) { in futimesat_0100()
63 t_error("%s fstatat failed\n", __func__); in futimesat_0100()
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/
H A Dstat_fstatat_test.cpp14 * @tc.desc: Verify that the fstatat function successfully retrieves file status information, including file mode
27 EXPECT_EQ(0, fstatat(AT_FDCWD, linkname, &st, AT_NO_AUTOMOUNT)); in HWTEST_F()
36 * @tc.desc: Test whether the return value of the fstatat() function is 0, and check if the obtained file or
49 EXPECT_EQ(0, fstatat(AT_FDCWD, linkname, &st, AT_SYMLINK_NOFOLLOW)); in HWTEST_F()
/third_party/musl/include/sys/
H A Dstat.h83 int fstatat(int, const char *__restrict, struct stat *__restrict, int);
162 #define fstatat64 fstatat
174 __REDIR(fstatat, __fstatat_time64);
/third_party/rust/crates/rustix/benches/
H A Dmod.rs61 libc::fstatat(
80 libc::fstatat(
/third_party/musl/src/stat/
H A Dlstat.c6 return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW); in lstat()
H A Dstat.c6 return fstatat(AT_FDCWD, path, buf, 0); in stat()
H A Dfstatat.c154 weak_alias(__fstatat, fstatat);
157 weak_alias(fstatat, fstatat64);
H A D__xstat.c12 return fstatat(fd, path, buf, flag); in __fxstatat()
H A Dfchmodat.c22 if (fstatat(fd, path, &st, flag)) in fchmodat()
/third_party/musl/porting/linux/user/src/stat/
H A Dfstat.c27 return fstatat(fd, "", st, AT_EMPTY_PATH); in __fstat()
/third_party/musl/src/linux/
H A Dstatx.c20 ret = fstatat(dirfd, path, &st, flags); in statx()
/third_party/eudev/src/shared/
H A Dpath-util.c478 if (fstatat(fd, "", &a, AT_EMPTY_PATH) < 0) in fd_is_mount_point()
481 if (fstatat(fd, "..", &b, 0) < 0) in fd_is_mount_point()
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs120 stat::fstatat(dirfd.unwrap(), &filename, fcntl::AtFlags::empty()); in test_fstatat()
398 use stat::{fstatat, mknodat, SFlag}; in test_mknodat()
412 let mode = fstatat( in test_mknodat()
/third_party/musl/libc-test/src/api/
H A Dsys_stat.c90 {int(*p)(int,const char*restrict,struct stat*restrict,int) = fstatat;} in f()
/third_party/musl/libc-test/src/common/
H A Dtest.h58 #define __fstatat_time64 fstatat
/third_party/toybox/lib/
H A Ddirtree.c38 if (fstatat(fd, name, &st,AT_SYMLINK_NOFOLLOW*!(flags&DIRTREE_SYMFOLLOW))) { in dirtree_add_node()

Completed in 11 milliseconds

12