Lines Matching refs:statx
1035 int sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in sys_statx()
1045 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx() function
1054 struct statx statx; in stat() local
1057 ret = __sysret(sys_statx(AT_FDCWD, path, AT_NO_AUTOMOUNT, STATX_BASIC_STATS, &statx)); in stat()
1061 buf->st_dev = ((statx.stx_dev_minor & 0xff) in stat()
1062 | (statx.stx_dev_major << 8) in stat()
1063 | ((statx.stx_dev_minor & ~0xff) << 12)); in stat()
1064 buf->st_ino = statx.stx_ino; in stat()
1065 buf->st_mode = statx.stx_mode; in stat()
1066 buf->st_nlink = statx.stx_nlink; in stat()
1067 buf->st_uid = statx.stx_uid; in stat()
1068 buf->st_gid = statx.stx_gid; in stat()
1069 buf->st_rdev = ((statx.stx_rdev_minor & 0xff) in stat()
1070 | (statx.stx_rdev_major << 8) in stat()
1071 | ((statx.stx_rdev_minor & ~0xff) << 12)); in stat()
1072 buf->st_size = statx.stx_size; in stat()
1073 buf->st_blksize = statx.stx_blksize; in stat()
1074 buf->st_blocks = statx.stx_blocks; in stat()
1075 buf->st_atim.tv_sec = statx.stx_atime.tv_sec; in stat()
1076 buf->st_atim.tv_nsec = statx.stx_atime.tv_nsec; in stat()
1077 buf->st_mtim.tv_sec = statx.stx_mtime.tv_sec; in stat()
1078 buf->st_mtim.tv_nsec = statx.stx_mtime.tv_nsec; in stat()
1079 buf->st_ctim.tv_sec = statx.stx_ctime.tv_sec; in stat()
1080 buf->st_ctim.tv_nsec = statx.stx_ctime.tv_nsec; in stat()