/linux-6.12.1/tools/include/nolibc/ |
D | sys.h | 1035 int sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in sys_statx() 1045 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx() function 1054 struct statx statx; in stat() local 1057 ret = __sysret(sys_statx(AT_FDCWD, path, AT_NO_AUTOMOUNT, STATX_BASIC_STATS, &statx)); in stat() 1061 buf->st_dev = ((statx.stx_dev_minor & 0xff) in stat() 1062 | (statx.stx_dev_major << 8) in stat() 1063 | ((statx.stx_dev_minor & ~0xff) << 12)); in stat() 1064 buf->st_ino = statx.stx_ino; in stat() 1065 buf->st_mode = statx.stx_mode; in stat() 1066 buf->st_nlink = statx.stx_nlink; in stat() [all …]
|
/linux-6.12.1/samples/vfs/ |
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()
|
D | Makefile | 2 userprogs-always-y += test-fsmount test-statx
|
D | .gitignore | 3 /test-statx
|
/linux-6.12.1/tools/testing/selftests/filesystems/overlayfs/ |
D | dev_in_maps.c | 47 static long get_file_dev_and_inode(void *addr, struct statx *stx) in get_file_dev_and_inode() 125 struct statx stx, mstx; in test() 143 if (statx(fd, "", AT_EMPTY_PATH | AT_STATX_SYNC_AS_STAT, STATX_INO, &stx)) in test()
|
/linux-6.12.1/scripts/ |
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.12.1/tools/testing/selftests/filesystems/statmount/ |
D | statmount_test.c | 89 struct statx sx; in get_mnt_id() 92 ret = statx(AT_FDCWD, path, 0, mask, &sx); in get_mnt_id() 324 struct statx sx; in test_statmount_sb_basic() 343 ret = statx(AT_FDCWD, "/", 0, 0, &sx); in test_statmount_sb_basic()
|
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.12.1/tools/perf/trace/strace/groups/ |
D | string | 57 statx
|
/linux-6.12.1/fs/ |
D | stat.c | 669 cp_statx(const struct kstat *stat, struct statx __user *buffer) in cp_statx() 671 struct statx tmp; in cp_statx() 712 unsigned int mask, struct statx __user *buffer) in do_statx() 736 struct statx __user *buffer) in do_statx_fd() 771 SYSCALL_DEFINE5(statx, in SYSCALL_DEFINE5() argument 774 struct statx __user *, buffer) in SYSCALL_DEFINE5()
|
D | internal.h | 251 unsigned int mask, struct statx __user *buffer); 253 struct statx __user *buffer);
|
/linux-6.12.1/io_uring/ |
D | Makefile | 14 epoll.o statx.o timeout.o fdinfo.o \
|
D | statx.c | 20 struct statx __user *buffer;
|
/linux-6.12.1/Documentation/filesystems/ |
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.12.1/tools/perf/trace/beauty/ |
D | Build | 19 perf-y += statx.o
|
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/ |
D | stat.h | 99 struct statx { struct
|
/linux-6.12.1/include/uapi/linux/ |
D | stat.h | 99 struct statx { struct
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | stat.h | 99 struct statx { struct
|
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 337 326 n64 statx sys_statx
|
/linux-6.12.1/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 337 326 n64 statx sys_statx
|
D | syscall_n32.tbl | 341 330 n32 statx sys_statx
|
/linux-6.12.1/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 344 332 common statx sys_statx
|
/linux-6.12.1/arch/arm64/tools/ |
D | syscall_64.tbl | 341 291 common statx sys_statx
|
/linux-6.12.1/samples/ |
D | Kconfig | 244 as mount API and statx(). Note that this is restricted to the x86
|
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 344 332 common statx sys_statx
|