| /linux/tools/include/nolibc/sys/ |
| H A D | stat.h | 19 * int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf); 27 int _sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in sys_statx() 37 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx() 46 struct statx statx; in fstatat() 49 ret = __sysret(_sys_statx(fd, path, flag | AT_NO_AUTOMOUNT, STATX_BASIC_STATS, &statx)); in fstatat() 53 buf->st_dev = makedev(statx.stx_dev_major, statx in fstatat() 36 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) statx() function 45 struct statx statx; fstatat() local [all...] |
| /linux/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 1531 struct statx stx; in TEST_F() 1546 ASSERT_EQ(statx(fd_tree_base, "A", 0, 0, &stx), 0); in TEST_F() 1548 ASSERT_EQ(statx(fd_tree_base, "A/AA", 0, 0, &stx), 0); in TEST_F() 1550 ASSERT_EQ(statx(fd_tree_base, "A/AA/B", 0, 0, &stx), 0); in TEST_F() 1552 ASSERT_EQ(statx(fd_tree_base, "A/AA/B/BB", 0, 0, &stx), 0); in TEST_F() 1565 ASSERT_EQ(statx(fd_tree_subdir, "B", 0, 0, &stx), 0); in TEST_F() 1567 ASSERT_EQ(statx(fd_tree_subdir, "B/BB", 0, 0, &stx), 0); in TEST_F() 1576 ASSERT_EQ(statx(-EBADF, "/tmp/target1", 0, 0, &stx), 0); in TEST_F() 1578 ASSERT_EQ(statx(-EBADF, "/tmp/target1/B", 0, 0, &stx), 0); in TEST_F() 1580 ASSERT_EQ(statx(-EBADF, "/tmp/target1/B/BB", 0, 0, &stx), 0); in TEST_F() [all …]
|
| /linux/samples/vfs/ |
| H A D | test-statx.c | 30 #define statx foo macro 32 struct statx; 35 #undef statx 48 ssize_t statx(int dfd, const char *filename, unsigned flags, in statx() function 49 unsigned int mask, struct statx *buffer) in statx() 83 static void dump_statx(struct statx *stx) in dump_statx() 224 struct statx stx; in main() 258 ret = statx(AT_FDCWD, *argv, atflag, mask, &stx); in main()
|
| H A D | .gitignore | 4 /test-statx
|
| H A D | Makefile | 2 userprogs-always-y += test-fsmount test-statx mountinfo test-list-all-mounts
|
| /linux/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/scripts/ |
| H A D | checksyscalls.sh | 258 /* 64-bit ports never needed these, and new 32-bit ports can use statx */ 262 /* Newer ports are not required to provide fstat in favor of statx */
|
| H A D | syscall.tbl | 341 291 common statx sys_statx
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 58 struct statx sx; in statmount_alloc() 61 ret = statx(AT_FDCWD, path, 0, mask, &sx); in statmount_alloc() 293 struct statx sx; in test_statmount_mnt_basic() 312 ret = statx(AT_FDCWD, "/", 0, 0, &sx); in test_statmount_mnt_basic()
|
| /linux/tools/perf/trace/strace/groups/ |
| H A D | string | 57 statx
|
| /linux/tools/perf/trace/beauty/ |
| H A D | Build | 19 perf-y += statx.o
|
| /linux/include/uapi/linux/ |
| H A D | stat.h | 47 * Timestamp structure for the timestamps in struct statx. 64 * (statx()). 67 * parameter to statx(). What statx() actually got will be indicated in 99 struct statx { struct 198 * Query request/result mask for statx() and struct statx::stx_mask. 200 * These bits should be set in the mask argument of statx() to request 201 * particular items when calling statx(). 223 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio 102 stx_maskstatx global() argument 105 stx_blksizestatx global() argument 108 stx_attributesstatx global() argument 112 stx_nlinkstatx global() argument 115 stx_uidstatx global() argument 139 stx_atimestatx global() argument 142 stx_btimestatx global() argument 145 stx_ctimestatx global() argument 148 stx_mtimestatx global() argument 152 stx_rdev_majorstatx global() argument 153 stx_rdev_minorstatx global() argument 156 stx_dev_majorstatx global() argument 157 stx_dev_minorstatx global() argument 160 stx_mnt_idstatx global() argument 163 stx_dio_mem_alignstatx global() argument 166 stx_dio_offset_alignstatx global() argument 170 stx_subvolstatx global() argument 194 __spare3statx global() argument [all...] |
| /linux/tools/include/uapi/linux/ |
| H A D | stat.h | 99 struct statx { struct
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | stat.h | 99 struct statx { struct
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | utils.c | 599 struct statx sx; 602 ret = statx(AT_FDCWD, path, 0, STATX_MNT_ID_UNIQUE, &sx);
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 337 326 n64 statx sys_statx
|
| /linux/tools/scripts/ |
| H A D | syscall.tbl | 341 291 common statx sys_statx
|
| /linux/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 333 379 common statx sys_statx
|
| /linux/samples/ |
| H A D | Kconfig | 257 as mount API and statx(). Note that this is restricted to the x86
|
| /linux/tools/perf/arch/sh/entry/syscalls/ |
| H A D | syscall.tbl | 393 383 common statx sys_statx
|
| /linux/tools/perf/arch/xtensa/entry/syscalls/ |
| H A D | syscall.tbl | 374 351 common statx sys_statx
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 344 332 common statx sys_statx
|
| H A D | syscall_32.tbl | 398 383 i386 statx sys_statx
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 433 360 common statx sys_statx
|
| /linux/tools/perf/arch/arm/entry/syscalls/ |
| H A D | syscall.tbl | 415 397 common statx sys_statx
|