Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dsys.h23 #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 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, 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 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, 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 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 */
/kernel/linux/linux-5.10/fs/
H A Dstat.c542 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 Dinternal.h201 unsigned int mask, struct statx __user *buffer);
/kernel/linux/linux-6.6/fs/
H A Dstat.c32 * @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 Dinternal.h233 unsigned int mask, struct statx __user *buffer);
/kernel/linux/linux-6.6/io_uring/
H A Dstatx.c12 #include "statx.h"
20 struct statx __user *buffer;
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dstat.h46 struct statx { struct
/kernel/linux/linux-5.10/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
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 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
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 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().
158 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio
[all...]
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dstat.h59 struct statx { struct
/kernel/linux/linux-6.6/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().
158 #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansio
[all...]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dstat.h59 struct statx { struct
/kernel/liteos_a/syscall/
H A Dlos_syscall.h278 extern int SysStatx(int fd, const char *restrict path, int flag, unsigned mask, struct statx *restrict stx);
H A Dfs_syscall.c1444 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 Dsyscalls.h49 struct statx;
1020 unsigned mask, struct statx __user *buffer);
/kernel/linux/linux-6.6/include/linux/
H A Dsyscalls.h49 struct statx;
912 unsigned mask, struct statx __user *buffer);
/kernel/linux/linux-5.10/io_uring/
H A Dio_uring.c649 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()

Completed in 29 milliseconds