Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/include/nolibc/
Dsys.h1035 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/
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()
DMakefile2 userprogs-always-y += test-fsmount test-statx
D.gitignore3 /test-statx
/linux-6.12.1/tools/testing/selftests/filesystems/overlayfs/
Ddev_in_maps.c47 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/
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.12.1/tools/testing/selftests/filesystems/statmount/
Dstatmount_test.c89 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()
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.12.1/tools/perf/trace/strace/groups/
Dstring57 statx
/linux-6.12.1/fs/
Dstat.c669 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()
Dinternal.h251 unsigned int mask, struct statx __user *buffer);
253 struct statx __user *buffer);
/linux-6.12.1/io_uring/
DMakefile14 epoll.o statx.o timeout.o fdinfo.o \
Dstatx.c20 struct statx __user *buffer;
/linux-6.12.1/Documentation/filesystems/
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.12.1/tools/perf/trace/beauty/
DBuild19 perf-y += statx.o
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/
Dstat.h99 struct statx { struct
/linux-6.12.1/include/uapi/linux/
Dstat.h99 struct statx { struct
/linux-6.12.1/tools/include/uapi/linux/
Dstat.h99 struct statx { struct
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl337 326 n64 statx sys_statx
/linux-6.12.1/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl337 326 n64 statx sys_statx
Dsyscall_n32.tbl341 330 n32 statx sys_statx
/linux-6.12.1/arch/x86/entry/syscalls/
Dsyscall_64.tbl344 332 common statx sys_statx
/linux-6.12.1/arch/arm64/tools/
Dsyscall_64.tbl341 291 common statx sys_statx
/linux-6.12.1/samples/
DKconfig244 as mount API and statx(). Note that this is restricted to the x86
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl344 332 common statx sys_statx

12