Home
last modified time | relevance | path

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

12

/linux/tools/include/nolibc/sys/
H A Dstat.h19 * int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf);
27 int _sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in sys_statx()
37 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx()
46 struct statx statx; in fstatat()
49 ret = __sysret(_sys_statx(fd, path, flag | AT_NO_AUTOMOUNT, STATX_BASIC_STATS, &statx)); in fstatat()
53 buf->st_dev = makedev(statx.stx_dev_major, statx in fstatat()
36 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) statx() function
45 struct statx statx; fstatat() local
[all...]
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1531 struct statx stx; in TEST_F()
1546 ASSERT_EQ(statx(fd_tree_base, "A", 0, 0, &stx), 0); in TEST_F()
1548 ASSERT_EQ(statx(fd_tree_base, "A/AA", 0, 0, &stx), 0); in TEST_F()
1550 ASSERT_EQ(statx(fd_tree_base, "A/AA/B", 0, 0, &stx), 0); in TEST_F()
1552 ASSERT_EQ(statx(fd_tree_base, "A/AA/B/BB", 0, 0, &stx), 0); in TEST_F()
1565 ASSERT_EQ(statx(fd_tree_subdir, "B", 0, 0, &stx), 0); in TEST_F()
1567 ASSERT_EQ(statx(fd_tree_subdir, "B/BB", 0, 0, &stx), 0); in TEST_F()
1576 ASSERT_EQ(statx(-EBADF, "/tmp/target1", 0, 0, &stx), 0); in TEST_F()
1578 ASSERT_EQ(statx(-EBADF, "/tmp/target1/B", 0, 0, &stx), 0); in TEST_F()
1580 ASSERT_EQ(statx(-EBADF, "/tmp/target1/B/BB", 0, 0, &stx), 0); in TEST_F()
[all …]
/linux/samples/vfs/
H A Dtest-statx.c30 #define statx foo macro
32 struct statx;
35 #undef statx
48 ssize_t statx(int dfd, const char *filename, unsigned flags, in statx() function
49 unsigned int mask, struct statx *buffer) in statx()
83 static void dump_statx(struct statx *stx) in dump_statx()
224 struct statx stx; in main()
258 ret = statx(AT_FDCWD, *argv, atflag, mask, &stx); in main()
H A D.gitignore4 /test-statx
H A DMakefile2 userprogs-always-y += test-fsmount test-statx mountinfo test-list-all-mounts
/linux/tools/testing/selftests/filesystems/overlayfs/
H A Ddev_in_maps.c22 static long get_file_dev_and_inode(void *addr, struct statx *stx) in get_file_dev_and_inode()
100 struct statx stx, mstx; in test()
118 if (statx(fd, "", AT_EMPTY_PATH | AT_STATX_SYNC_AS_STAT, STATX_INO, &stx)) in test()
/linux/scripts/
H A Dchecksyscalls.sh258 /* 64-bit ports never needed these, and new 32-bit ports can use statx */
262 /* Newer ports are not required to provide fstat in favor of statx */
H A Dsyscall.tbl341 291 common statx sys_statx
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c58 struct statx sx; in statmount_alloc()
61 ret = statx(AT_FDCWD, path, 0, mask, &sx); in statmount_alloc()
293 struct statx sx; in test_statmount_mnt_basic()
312 ret = statx(AT_FDCWD, "/", 0, 0, &sx); in test_statmount_mnt_basic()
/linux/tools/perf/trace/strace/groups/
H A Dstring57 statx
/linux/tools/perf/trace/beauty/
H A DBuild19 perf-y += statx.o
/linux/include/uapi/linux/
H A Dstat.h47 * Timestamp structure for the timestamps in struct statx.
64 * (statx()).
67 * parameter to statx(). What statx() actually got will be indicated in
99 struct statx { struct
198 * Query request/result mask for statx() and struct statx::stx_mask.
200 * These bits should be set in the mask argument of statx() to request
201 * particular items when calling statx().
223 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio
102 stx_maskstatx global() argument
105 stx_blksizestatx global() argument
108 stx_attributesstatx global() argument
112 stx_nlinkstatx global() argument
115 stx_uidstatx global() argument
139 stx_atimestatx global() argument
142 stx_btimestatx global() argument
145 stx_ctimestatx global() argument
148 stx_mtimestatx global() argument
152 stx_rdev_majorstatx global() argument
153 stx_rdev_minorstatx global() argument
156 stx_dev_majorstatx global() argument
157 stx_dev_minorstatx global() argument
160 stx_mnt_idstatx global() argument
163 stx_dio_mem_alignstatx global() argument
166 stx_dio_offset_alignstatx global() argument
170 stx_subvolstatx global() argument
194 __spare3statx global() argument
[all...]
/linux/tools/include/uapi/linux/
H A Dstat.h99 struct statx { struct
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h99 struct statx { struct
/linux/tools/testing/selftests/filesystems/
H A Dutils.c599 struct statx sx;
602 ret = statx(AT_FDCWD, path, 0, STATX_MNT_ID_UNIQUE, &sx);
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl337 326 n64 statx sys_statx
/linux/tools/scripts/
H A Dsyscall.tbl341 291 common statx sys_statx
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl333 379 common statx sys_statx
/linux/samples/
H A DKconfig257 as mount API and statx(). Note that this is restricted to the x86
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl393 383 common statx sys_statx
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl374 351 common statx sys_statx
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl344 332 common statx sys_statx
H A Dsyscall_32.tbl398 383 i386 statx sys_statx
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl433 360 common statx sys_statx
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl415 397 common statx sys_statx

12