Home
last modified time | relevance | path

Searched refs:statx (Results 1 – 25 of 55) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx02.c41 struct statx buf; in test_empty_path()
43 TEST(statx(file_fd, "", AT_EMPTY_PATH, 0, &buf)); in test_empty_path()
63 struct statx fbuf; in test_sym_link()
64 struct statx lbuf; in test_sym_link()
66 TEST(statx(AT_FDCWD, TESTFILE, 0, 0, &fbuf)); in test_sym_link()
75 TEST(statx(AT_FDCWD, LINK_FILE, AT_SYMLINK_NOFOLLOW, 0, &lbuf)); in test_sym_link()
Dstatx05.c39 struct statx buf; in test_flagged()
41 TEST(statx(AT_FDCWD, TESTDIR_FLAGGED, 0, 0, &buf)); in test_flagged()
57 struct statx buf; in test_unflagged()
59 TEST(statx(AT_FDCWD, TESTDIR_UNFLAGGED, 0, 0, &buf)); in test_unflagged()
Dstatx01.c52 static void test_mnt_id(struct statx *buf) in test_mnt_id()
94 struct statx buff; in test_normal_file()
96 TEST(statx(AT_FDCWD, TESTFILE, 0, 0, &buff)); in test_normal_file()
152 struct statx buff; in test_device_file()
154 TEST(statx(AT_FDCWD, DEVICEFILE, 0, 0, &buff)); in test_device_file()
Dstatx08.c39 struct statx buf; in run()
41 TEST(statx(AT_FDCWD, flag ? TESTDIR_FLAGGED : TESTDIR_UNFLAGGED, 0, 0, &buf)); in run()
123 struct statx buf; in setup()
128 TEST(statx(AT_FDCWD, TESTDIR_FLAGGED, 0, 0, &buf)); in setup()
Dstatx04.c103 struct statx buf; in run()
105 TST_EXP_PASS_SILENT(statx(AT_FDCWD, TESTDIR, 0, 0, &buf)); in run()
Dstatx03.c69 struct statx buf; in run_test()
72 TEST(statx(tc->dfd, *(tc->filename), tc->flag, in run_test()
Dstatx06.c102 struct statx buff; in test_statx()
115 TEST(statx(AT_FDCWD, TEST_FILE, 0, STATX_ALL, &buff)); in test_statx()
Dstatx07.c68 struct statx buf; in get_mode()
70 TEST(statx(AT_FDCWD, file_name, flag_type, STATX_ALL, &buf)); in get_mode()
/third_party/ltp/doc/
Dc-test-tutorial-simple.txt62 We will use the +statx()+ system call, to provide a concrete example of a
103 appropriate or replace +statx+ with the system call chosen in exercise 2.1.
107 $ mkdir testcases/kernel/syscalls/statx
108 $ cd testcases/kernel/syscalls/statx
109 $ echo statx >> .gitignore
124 * Test statx
157 We have also set +test.min_kver+ to the kernel version where +statx+ was
163 Occasionally features are back ported to older kernel versions, so +statx+ may
212 Assuming you are in the test's subdirectory +testcases/kernel/syscalls/statx+,
224 this we need to add it to the +runtest+ file. So open +runtest/statx+ and add
[all …]
/third_party/ltp/include/lapi/
Dstat.h73 struct statx { struct
112 static inline int statx(int dirfd, const char *pathname, unsigned int flags, in statx() function
113 unsigned int mask, struct statx *statxbuf) in statx()
/third_party/rust/crates/rustix/src/fs/
Dstatx.rs23 pub fn statx<P: path::Arg, Fd: AsFd>( in statx() function
50 _ => backend::fs::syscalls::statx(dirfd, path, flags, mask), in _statx()
61 match backend::fs::syscalls::statx(dirfd, path, flags, mask) { in statx_init()
Dmod.rs59 mod statx; module
213 pub use statx::{statx, Statx, StatxFlags, StatxTimestamp};
/third_party/rust/crates/rustix/tests/fs/
Dstatx.rs14 let result = rustix::fs::statx(&f, "Cargo.toml", AtFlags::empty(), too_many_flags).unwrap(); in test_statx_unknown_flags()
33 match rustix::fs::statx(&f, "Cargo.toml", AtFlags::empty(), reserved) { in test_statx_reserved()
Dmain.rs49 mod statx; module
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dsyscalls.rs38 __kernel_fsid_t, __kernel_timespec, open_how, statx, AT_EACCESS, AT_FDCWD, AT_REMOVEDIR,
414 match statx(fd, cstr!(""), AtFlags::EMPTY_PATH, StatxFlags::BASIC_STATS) { in fstat()
450 match statx( in stat()
509 match statx(dirfd, filename, flags, StatxFlags::BASIC_STATS) { in statat()
563 match statx( in lstat()
718 pub(crate) fn statx( in statx() function
723 ) -> io::Result<statx> { in statx() argument
743 let mut statx_buf = MaybeUninit::<statx>::uninit(); in statx()
/third_party/musl/src/stat/
Dfstatat.c11 struct statx { struct
38 struct statx stx; in fstatat_statx() argument
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dstat.h33 struct statx { struct
/third_party/ltp/
Dconfigure.ac138 statx \
155 AC_CHECK_MEMBERS([struct statx.stx_mnt_id],,,[
199 AC_CHECK_TYPES([struct statx, struct statx_timestamp],,,[
/third_party/ltp/include/lapi/syscalls/
Daarch64.in277 statx 291
Darc.in277 statx 291
Dmips_n32.in330 statx 6330
Dmips_n64.in326 statx 5326
Ds390x.in324 statx 379
Dia64.in321 statx 1350
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dsyscalls.rs410 match statx(dirfd, path, flags, StatxFlags::BASIC_STATS) { in statat()
966 match statx(fd, cstr!(""), AtFlags::EMPTY_PATH, StatxFlags::BASIC_STATS) { in fstat()
1498 pub(super) fn statx(
1510 pub(crate) fn statx( in statx() function
1540 ret(sys::statx( in statx()
1558 ret(sys::statx(cwd(), null(), 0, 0, null_mut())), in is_statx_available()

123