/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | sys.h | 23 #include <linux/stat.h> /* for statx() */ 982 * int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf); 987 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 in stat() [all...] |
/kernel/linux/linux-5.10/samples/vfs/ |
H A D | test-statx.c | 2 /* 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, 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() 253 printf("statx( in main() [all...] |
/kernel/linux/linux-6.6/samples/vfs/ |
H A D | test-statx.c | 2 /* 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, 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() 253 printf("statx( in main() [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | checksyscalls.sh | 254 /* 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 */
|
/kernel/linux/linux-5.10/fs/ |
H A D | stat.c | 542 cp_statx(const struct kstat *stat, struct statx __user *buffer) in cp_statx() 544 struct statx tmp; in cp_statx() 577 unsigned int mask, struct statx __user *buffer) in do_statx() 599 * @mask: Parts of statx struct actually required. 605 SYSCALL_DEFINE5(statx, in SYSCALL_DEFINE5() 608 struct statx __user *, buffer) in SYSCALL_DEFINE5()
|
H A D | internal.h | 201 unsigned int mask, struct statx __user *buffer);
|
/kernel/linux/linux-6.6/fs/ |
H A D | stat.c | 32 * @request_mask: statx request_mask 75 * generic_fill_statx_attr - Fill in the statx attributes from the inode flags 622 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() 688 * @mask: Parts of statx struct actually required. 694 SYSCALL_DEFINE5(statx, in SYSCALL_DEFINE5() 697 struct statx __user *, buffer) in SYSCALL_DEFINE5()
|
H A D | internal.h | 233 unsigned int mask, struct statx __user *buffer);
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | statx.c | 12 #include "statx.h" 20 struct statx __user *buffer;
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | stat.h | 46 struct statx { struct
|
/kernel/linux/linux-5.10/tools/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 136 * Query request/result mask for statx() and struct statx::stx_mask. 138 * These bits should be set in the mask argument of statx() to request 139 * particular items when calling statx(). 156 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio [all...] |
/kernel/linux/linux-5.10/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 136 * Query request/result mask for statx() and struct statx::stx_mask. 138 * These bits should be set in the mask argument of statx() to request 139 * particular items when calling statx(). 156 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio [all...] |
/kernel/linux/linux-6.6/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 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(). 158 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio [all...] |
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | stat.h | 59 struct statx { struct
|
/kernel/linux/linux-6.6/tools/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 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(). 158 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio [all...] |
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | stat.h | 59 struct statx { struct
|
/kernel/liteos_a/syscall/ |
H A D | los_syscall.h | 278 extern int SysStatx(int fd, const char *restrict path, int flag, unsigned mask, struct statx *restrict stx);
|
H A D | fs_syscall.c | 1444 int SysStatx(int fd, const char *restrict path, int flag, unsigned mask, struct statx *restrict stx) in SysStatx()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | syscalls.h | 49 struct statx; 1020 unsigned mask, struct statx __user *buffer);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | syscalls.h | 49 struct statx; 912 unsigned mask, struct statx __user *buffer);
|
/kernel/linux/linux-5.10/io_uring/ |
H A D | io_uring.c | 649 struct statx __user *buffer; 852 struct io_statx statx; member 4589 req->statx.dfd = READ_ONCE(sqe->fd); in io_statx_prep() 4590 req->statx.mask = READ_ONCE(sqe->len); in io_statx_prep() 4591 req->statx.filename = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_statx_prep() 4592 req->statx.buffer = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_statx_prep() 4593 req->statx.flags = READ_ONCE(sqe->statx_flags); in io_statx_prep() 4600 struct io_statx *ctx = &req->statx; in io_statx()
|