Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/include/nolibc/
Dsys.h987 int sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in sys_statx()
997 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx() function
1006 struct statx statx; in stat() local
1009 ret = __sysret(sys_statx(AT_FDCWD, path, AT_NO_AUTOMOUNT, STATX_BASIC_STATS, &statx)); in stat()
1013 buf->st_dev = ((statx.stx_dev_minor & 0xff) in stat()
1014 | (statx.stx_dev_major << 8) in stat()
1015 | ((statx.stx_dev_minor & ~0xff) << 12)); in stat()
1016 buf->st_ino = statx.stx_ino; in stat()
1017 buf->st_mode = statx.stx_mode; in stat()
1018 buf->st_nlink = statx.stx_nlink; in stat()
[all …]
/linux-6.6.21/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.6.21/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.6.21/io_uring/
DMakefile8 statx.o net.o msg_ring.o timeout.o \
Dstatx.c20 struct statx __user *buffer;
/linux-6.6.21/tools/perf/trace/strace/groups/
Dstring57 statx
/linux-6.6.21/tools/perf/trace/beauty/
DBuild18 perf-y += statx.o
/linux-6.6.21/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.6.21/fs/
Dstat.c622 cp_statx(const struct kstat *stat, struct statx __user *buffer) in cp_statx()
624 struct statx tmp; in cp_statx()
661 unsigned int mask, struct statx __user *buffer) in do_statx()
694 SYSCALL_DEFINE5(statx, in SYSCALL_DEFINE5() argument
697 struct statx __user *, buffer) in SYSCALL_DEFINE5()
Dinternal.h233 unsigned int mask, struct statx __user *buffer);
/linux-6.6.21/tools/include/uapi/linux/
Dstat.h99 struct statx { struct
/linux-6.6.21/include/uapi/linux/
Dstat.h99 struct statx { struct
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl337 326 n64 statx sys_statx
/linux-6.6.21/arch/ia64/kernel/syscalls/
Dsyscall.tbl338 326 common statx sys_statx
/linux-6.6.21/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl337 326 n64 statx sys_statx
Dsyscall_n32.tbl341 330 n32 statx sys_statx
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl343 332 common statx sys_statx
/linux-6.6.21/arch/xtensa/kernel/syscalls/
Dsyscall.tbl374 351 common statx sys_statx
/linux-6.6.21/samples/
DKconfig244 as mount API and statx(). Note that this is restricted to the x86
/linux-6.6.21/arch/x86/entry/syscalls/
Dsyscall_64.tbl343 332 common statx sys_statx
/linux-6.6.21/arch/m68k/kernel/syscalls/
Dsyscall.tbl389 379 common statx sys_statx
/linux-6.6.21/arch/parisc/kernel/syscalls/
Dsyscall.tbl395 349 common statx sys_statx
/linux-6.6.21/arch/microblaze/kernel/syscalls/
Dsyscall.tbl408 398 common statx sys_statx

12