Searched refs:statx (Results 1 - 13 of 13) sorted by relevance

/linux-master/samples/vfs/
H A DMakefile2 userprogs-always-y += test-fsmount test-statx
H A Dtest-statx.c2 /* Test the statx() system call.
24 #define statx foo macro
26 struct statx;
29 #undef statx macro
42 ssize_t statx(int dfd, const char *filename, unsigned flags, function
43 unsigned int mask, struct statx *buffer)
77 static void dump_statx(struct statx *stx)
218 struct statx stx;
252 ret = statx(AT_FDCWD, *argv, atflag, mask, &stx);
253 printf("statx(
[all...]
/linux-master/scripts/
H 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 */
/linux-master/tools/include/nolibc/
H A Dsys.h22 #include <linux/stat.h> /* for statx() */
1029 * int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf);
1034 int sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf)
1044 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) function
1053 struct statx statx; local
1056 ret = __sysret(sys_statx(AT_FDCWD, path, AT_NO_AUTOMOUNT, STATX_BASIC_STATS, &statx));
1060 buf->st_dev = ((statx
[all...]
/linux-master/io_uring/
H A DMakefile8 statx.o net.o msg_ring.o timeout.o \
H A Dstatx.c12 #include "statx.h"
20 struct statx __user *buffer;
/linux-master/tools/testing/selftests/filesystems/overlayfs/
H A Ddev_in_maps.c46 static long get_file_dev_and_inode(void *addr, struct statx *stx)
124 struct statx stx, mstx;
142 if (statx(fd, "", AT_EMPTY_PATH | AT_STATX_SYNC_AS_STAT, STATX_INO, &stx))
143 return pr_perror("statx");
/linux-master/include/uapi/linux/
H A Dstat.h47 * 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
137 * Query request/result mask for statx() and struct statx::stx_mask.
139 * These bits should be set in the mask argument of statx() to request
140 * particular items when calling statx().
159 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio
[all...]
/linux-master/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c102 struct statx sx;
105 ret = statx(AT_FDCWD, path, 0, mask, &sx);
336 struct statx sx;
355 ret = statx(AT_FDCWD, "/", 0, 0, &sx);
/linux-master/tools/include/uapi/linux/
H A Dstat.h47 * 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
137 * Query request/result mask for statx() and struct statx::stx_mask.
139 * These bits should be set in the mask argument of statx() to request
140 * particular items when calling statx().
159 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio
[all...]
/linux-master/fs/
H A Dstat.c32 * @request_mask: statx request_mask
75 * generic_fill_statx_attr - Fill in the statx attributes from the inode flags
627 cp_statx(const struct kstat *stat, struct statx __user *buffer)
629 struct statx tmp;
666 unsigned int mask, struct statx __user *buffer)
693 * @mask: Parts of statx struct actually required.
699 SYSCALL_DEFINE5(statx,
702 struct statx __user *, buffer)
H A Dinternal.h246 unsigned int mask, struct statx __user *buffer);
/linux-master/include/linux/
H A Dsyscalls.h49 struct statx;
930 unsigned mask, struct statx __user *buffer);

Completed in 237 milliseconds