Lines Matching refs:statx
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)
37 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf)
46 struct statx statx;
49 ret = __sysret(_sys_statx(fd, path, flag | AT_NO_AUTOMOUNT, STATX_BASIC_STATS, &statx));
53 buf->st_dev = makedev(statx.stx_dev_major, statx.stx_dev_minor);
54 buf->st_ino = statx.stx_ino;
55 buf->st_mode = statx.stx_mode;
56 buf->st_nlink = statx.stx_nlink;
57 buf->st_uid = statx.stx_uid;
58 buf->st_gid = statx.stx_gid;
59 buf->st_rdev = makedev(statx.stx_rdev_major, statx.stx_rdev_minor);
60 buf->st_size = statx.stx_size;
61 buf->st_blksize = statx.stx_blksize;
62 buf->st_blocks = statx.stx_blocks;
63 buf->st_atim.tv_sec = statx.stx_atime.tv_sec;
64 buf->st_atim.tv_nsec = statx.stx_atime.tv_nsec;
65 buf->st_mtim.tv_sec = statx.stx_mtime.tv_sec;
66 buf->st_mtim.tv_nsec = statx.stx_mtime.tv_nsec;
67 buf->st_ctim.tv_sec = statx.stx_ctime.tv_sec;
68 buf->st_ctim.tv_nsec = statx.stx_ctime.tv_nsec;