Home
last modified time | relevance | path

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

123

/linux-6.15/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1537 struct statx stx; in TEST_F()
1618 struct statx stx; in TEST_F()
1660 struct statx stx; in TEST_F()
1704 struct statx stx; in TEST_F()
1786 struct statx stx; in TEST_F()
1826 struct statx stx; in TEST_F()
1875 struct statx stx; in TEST_F()
1906 struct statx stx; in TEST_F()
1914 ASSERT_EQ(statx(fd_tree, "A", 0, 0, &stx), 0); in TEST_F()
2094 struct statx stx1, stx2, stx3, stx4; in TEST_F()
[all …]
/linux-6.15/tools/include/nolibc/
H A Dsys.h1087 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx() function
1096 struct statx statx; in stat() local
1104 | (statx.stx_dev_major << 8) in stat()
1106 buf->st_ino = statx.stx_ino; in stat()
1107 buf->st_mode = statx.stx_mode; in stat()
1108 buf->st_nlink = statx.stx_nlink; in stat()
1109 buf->st_uid = statx.stx_uid; in stat()
1110 buf->st_gid = statx.stx_gid; in stat()
1112 | (statx.stx_rdev_major << 8) in stat()
1114 buf->st_size = statx.stx_size; in stat()
[all …]
/linux-6.15/samples/vfs/
H A Dtest-statx.c24 #define statx foo macro
26 struct statx;
29 #undef statx
42 ssize_t statx(int dfd, const char *filename, unsigned flags, in statx() function
43 unsigned int mask, struct statx *buffer) in statx()
77 static void dump_statx(struct statx *stx) in dump_statx()
218 struct statx stx; in main()
252 ret = statx(AT_FDCWD, *argv, atflag, mask, &stx); in main()
H A DMakefile2 userprogs-always-y += test-fsmount test-statx mountinfo test-list-all-mounts
H A D.gitignore4 /test-statx
/linux-6.15/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-6.15/scripts/
H A Dchecksyscalls.sh254 /* 64-bit ports never needed these, and new 32-bit ports can use statx */
258 /* Newer ports are not required to provide fstat in favor of statx */
/linux-6.15/fs/hostfs/
H A Dhostfs_user.c21 static void statx_to_hostfs(const struct statx *buf, struct hostfs_stat *p) in statx_to_hostfs()
51 struct statx buf; in stat_file()
59 if ((statx(fd, path, flags, STATX_BASIC_STATS | STATX_BTIME, &buf)) < 0) in stat_file()
/linux-6.15/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c88 struct statx sx; in get_mnt_id()
91 ret = statx(AT_FDCWD, path, 0, mask, &sx); in get_mnt_id()
323 struct statx sx; in test_statmount_sb_basic()
342 ret = statx(AT_FDCWD, "/", 0, 0, &sx); in test_statmount_sb_basic()
H A Dstatmount_test_ns.c83 struct statx sx; in get_mnt_id()
86 ret = statx(AT_FDCWD, path, 0, STATX_MNT_ID_UNIQUE, &sx); in get_mnt_id()
/linux-6.15/tools/perf/trace/strace/groups/
H A Dstring57 statx
/linux-6.15/io_uring/
H A DMakefile14 statx.o timeout.o fdinfo.o cancel.o \
H A Dstatx.c20 struct statx __user *buffer;
/linux-6.15/Documentation/filesystems/
H A Ddax.rst44 the statx flag `STATX_ATTR_DAX`. See the manpage for statx(2) for details
159 statx can be used to query `S_DAX`.
163 That only regular files will ever have `S_DAX` set and therefore statx
183 corresponding file then. Users inside guest still need to call statx(2) and
184 check the statx flag `STATX_ATTR_DAX` to see if DAX is enabled for this file.
/linux-6.15/fs/
H A Dstat.c700 cp_statx(const struct kstat *stat, struct statx __user *buffer) in cp_statx()
702 struct statx tmp; in cp_statx()
744 unsigned int mask, struct statx __user *buffer) in do_statx()
768 struct statx __user *buffer) in do_statx_fd()
803 SYSCALL_DEFINE5(statx, in SYSCALL_DEFINE5() argument
806 struct statx __user *, buffer) in SYSCALL_DEFINE5()
H A Dinternal.h252 unsigned int mask, struct statx __user *buffer);
254 struct statx __user *buffer);
/linux-6.15/tools/perf/trace/beauty/
H A DBuild19 perf-y += statx.o
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h99 struct statx { struct
/linux-6.15/tools/include/uapi/linux/
H A Dstat.h99 struct statx { struct
/linux-6.15/include/uapi/linux/
H A Dstat.h99 struct statx { struct
/linux-6.15/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c42 struct statx sx; in get_mnt_id()
44 ASSERT_EQ(statx(AT_FDCWD, path, 0, STATX_MNT_ID_UNIQUE, &sx), 0); in get_mnt_id()
/linux-6.15/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl337 326 n64 statx sys_statx
H A Dsyscall_n32.tbl341 330 n32 statx sys_statx
/linux-6.15/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl337 326 n64 statx sys_statx
/linux-6.15/tools/scripts/
H A Dsyscall.tbl341 291 common statx sys_statx

123