/third_party/ltp/testcases/kernel/syscalls/statx/ |
D | statx02.c | 41 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()
|
D | statx05.c | 39 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()
|
D | statx01.c | 52 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()
|
D | statx08.c | 39 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()
|
D | statx04.c | 103 struct statx buf; in run() 105 TST_EXP_PASS_SILENT(statx(AT_FDCWD, TESTDIR, 0, 0, &buf)); in run()
|
D | statx03.c | 69 struct statx buf; in run_test() 72 TEST(statx(tc->dfd, *(tc->filename), tc->flag, in run_test()
|
D | statx06.c | 102 struct statx buff; in test_statx() 115 TEST(statx(AT_FDCWD, TEST_FILE, 0, STATX_ALL, &buff)); in test_statx()
|
D | statx07.c | 68 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/ |
D | c-test-tutorial-simple.txt | 62 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/ |
D | stat.h | 73 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/ |
D | statx.rs | 23 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()
|
D | mod.rs | 59 mod statx; module 213 pub use statx::{statx, Statx, StatxFlags, StatxTimestamp};
|
/third_party/rust/crates/rustix/tests/fs/ |
D | statx.rs | 14 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()
|
D | main.rs | 49 mod statx; module
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
D | syscalls.rs | 38 __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/ |
D | fstatat.c | 11 struct statx { struct 38 struct statx stx; in fstatat_statx() argument
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
D | stat.h | 33 struct statx { struct
|
/third_party/ltp/ |
D | configure.ac | 138 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/ |
D | aarch64.in | 277 statx 291
|
D | arc.in | 277 statx 291
|
D | mips_n32.in | 330 statx 6330
|
D | mips_n64.in | 326 statx 5326
|
D | s390x.in | 324 statx 379
|
D | ia64.in | 321 statx 1350
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
D | syscalls.rs | 410 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()
|