| /linux-6.15/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 1537 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 D | sys.h | 1087 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 D | test-statx.c | 24 #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 D | Makefile | 2 userprogs-always-y += test-fsmount test-statx mountinfo test-list-all-mounts
|
| H A D | .gitignore | 4 /test-statx
|
| /linux-6.15/tools/testing/selftests/filesystems/overlayfs/ |
| H A D | dev_in_maps.c | 22 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 D | checksyscalls.sh | 254 /* 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 D | hostfs_user.c | 21 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 D | statmount_test.c | 88 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 D | statmount_test_ns.c | 83 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 D | string | 57 statx
|
| /linux-6.15/io_uring/ |
| H A D | Makefile | 14 statx.o timeout.o fdinfo.o cancel.o \
|
| H A D | statx.c | 20 struct statx __user *buffer;
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | dax.rst | 44 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 D | stat.c | 700 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 D | internal.h | 252 unsigned int mask, struct statx __user *buffer); 254 struct statx __user *buffer);
|
| /linux-6.15/tools/perf/trace/beauty/ |
| H A D | Build | 19 perf-y += statx.o
|
| /linux-6.15/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | stat.h | 99 struct statx { struct
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | stat.h | 99 struct statx { struct
|
| /linux-6.15/include/uapi/linux/ |
| H A D | stat.h | 99 struct statx { struct
|
| /linux-6.15/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 42 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 D | syscall_n64.tbl | 337 326 n64 statx sys_statx
|
| H A D | syscall_n32.tbl | 341 330 n32 statx sys_statx
|
| /linux-6.15/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 337 326 n64 statx sys_statx
|
| /linux-6.15/tools/scripts/ |
| H A D | syscall.tbl | 341 291 common statx sys_statx
|