Lines Matching refs:statx
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.stx_dev_minor & 0xff) in stat()
1014 | (statx.stx_dev_major << 8) in stat()
1015 | ((statx.stx_dev_minor & ~0xff) << 12)); in stat()
1016 buf->st_ino = statx.stx_ino; in stat()
1017 buf->st_mode = statx.stx_mode; in stat()
1018 buf->st_nlink = statx.stx_nlink; in stat()
1019 buf->st_uid = statx.stx_uid; in stat()
1020 buf->st_gid = statx.stx_gid; in stat()
1021 buf->st_rdev = ((statx.stx_rdev_minor & 0xff) in stat()
1022 | (statx.stx_rdev_major << 8) in stat()
1023 | ((statx.stx_rdev_minor & ~0xff) << 12)); in stat()
1024 buf->st_size = statx.stx_size; in stat()
1025 buf->st_blksize = statx.stx_blksize; in stat()
1026 buf->st_blocks = statx.stx_blocks; in stat()
1027 buf->st_atim.tv_sec = statx.stx_atime.tv_sec; in stat()
1028 buf->st_atim.tv_nsec = statx.stx_atime.tv_nsec; in stat()
1029 buf->st_mtim.tv_sec = statx.stx_mtime.tv_sec; in stat()
1030 buf->st_mtim.tv_nsec = statx.stx_mtime.tv_nsec; in stat()
1031 buf->st_ctim.tv_sec = statx.stx_ctime.tv_sec; in stat()
1032 buf->st_ctim.tv_nsec = statx.stx_ctime.tv_nsec; in stat()