Lines Matching refs:statxbuf
400 struct uv__statx* statxbuf) { in uv__statx() argument
406 rc = syscall(__NR_statx, dirfd, path, flags, mask, statxbuf); in uv__statx()
408 uv__msan_unpoison(statxbuf, sizeof(*statxbuf)); in uv__statx()
1085 struct uv__statx* statxbuf; in uv__iou_fs_statx() local
1088 statxbuf = uv__malloc(sizeof(*statxbuf)); in uv__iou_fs_statx()
1089 if (statxbuf == NULL) in uv__iou_fs_statx()
1096 uv__free(statxbuf); in uv__iou_fs_statx()
1100 req->ptr = statxbuf; in uv__iou_fs_statx()
1103 sqe->addr2 = (uintptr_t) statxbuf; in uv__iou_fs_statx()
1123 void uv__statx_to_stat(const struct uv__statx* statxbuf, uv_stat_t* buf) { in uv__statx_to_stat() argument
1124 buf->st_dev = makedev(statxbuf->stx_dev_major, statxbuf->stx_dev_minor); in uv__statx_to_stat()
1125 buf->st_mode = statxbuf->stx_mode; in uv__statx_to_stat()
1126 buf->st_nlink = statxbuf->stx_nlink; in uv__statx_to_stat()
1127 buf->st_uid = statxbuf->stx_uid; in uv__statx_to_stat()
1128 buf->st_gid = statxbuf->stx_gid; in uv__statx_to_stat()
1129 buf->st_rdev = makedev(statxbuf->stx_rdev_major, statxbuf->stx_rdev_minor); in uv__statx_to_stat()
1130 buf->st_ino = statxbuf->stx_ino; in uv__statx_to_stat()
1131 buf->st_size = statxbuf->stx_size; in uv__statx_to_stat()
1132 buf->st_blksize = statxbuf->stx_blksize; in uv__statx_to_stat()
1133 buf->st_blocks = statxbuf->stx_blocks; in uv__statx_to_stat()
1134 buf->st_atim.tv_sec = statxbuf->stx_atime.tv_sec; in uv__statx_to_stat()
1135 buf->st_atim.tv_nsec = statxbuf->stx_atime.tv_nsec; in uv__statx_to_stat()
1136 buf->st_mtim.tv_sec = statxbuf->stx_mtime.tv_sec; in uv__statx_to_stat()
1137 buf->st_mtim.tv_nsec = statxbuf->stx_mtime.tv_nsec; in uv__statx_to_stat()
1138 buf->st_ctim.tv_sec = statxbuf->stx_ctime.tv_sec; in uv__statx_to_stat()
1139 buf->st_ctim.tv_nsec = statxbuf->stx_ctime.tv_nsec; in uv__statx_to_stat()
1140 buf->st_birthtim.tv_sec = statxbuf->stx_btime.tv_sec; in uv__statx_to_stat()
1141 buf->st_birthtim.tv_nsec = statxbuf->stx_btime.tv_nsec; in uv__statx_to_stat()
1148 struct uv__statx* statxbuf; in uv__iou_fs_statx_post() local
1152 statxbuf = req->ptr; in uv__iou_fs_statx_post()
1156 uv__msan_unpoison(statxbuf, sizeof(*statxbuf)); in uv__iou_fs_statx_post()
1157 uv__statx_to_stat(statxbuf, buf); in uv__iou_fs_statx_post()
1161 uv__free(statxbuf); in uv__iou_fs_statx_post()