Home
last modified time | relevance | path

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

12

/linux/tools/include/nolibc/
A Dsys.h1045 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
1062 | (statx.stx_dev_major << 8) 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()
1067 buf->st_uid = statx.stx_uid; in stat()
1068 buf->st_gid = statx.stx_gid; in stat()
1070 | (statx.stx_rdev_major << 8) in stat()
1072 buf->st_size = statx.stx_size; in stat()
[all …]
/linux/samples/vfs/
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()
A DMakefile2 userprogs-always-y += test-fsmount test-statx
A D.gitignore3 /test-statx
/linux/tools/testing/selftests/filesystems/overlayfs/
A 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/scripts/
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 */
A Dsyscall.tbl341 291 common statx sys_statx
/linux/tools/testing/selftests/filesystems/statmount/
A 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()
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/tools/perf/trace/strace/groups/
A Dstring57 statx
/linux/fs/
A 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()
A Dinternal.h251 unsigned int mask, struct statx __user *buffer);
253 struct statx __user *buffer);
/linux/io_uring/
A DMakefile14 epoll.o statx.o timeout.o fdinfo.o \
A Dstatx.c20 struct statx __user *buffer;
/linux/Documentation/filesystems/
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/tools/perf/trace/beauty/
A DBuild19 perf-y += statx.o
/linux/tools/include/uapi/linux/
A Dstat.h99 struct statx { struct
/linux/tools/perf/trace/beauty/include/uapi/linux/
A Dstat.h99 struct statx { struct
/linux/include/uapi/linux/
A Dstat.h99 struct statx { struct
/linux/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl337 326 n64 statx sys_statx
/linux/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl337 326 n64 statx sys_statx
/linux/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl344 332 common statx sys_statx
/linux/arch/x86/entry/syscalls/
A Dsyscall_64.tbl344 332 common statx sys_statx
/linux/arch/xtensa/kernel/syscalls/
A Dsyscall.tbl374 351 common statx sys_statx
/linux/arch/arm64/tools/
A Dsyscall_64.tbl341 291 common statx sys_statx

Completed in 45 milliseconds

12