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()
1084 struct uv__statx* statxbuf; in uv__iou_fs_statx() local
1087 statxbuf = uv__malloc(sizeof(*statxbuf)); in uv__iou_fs_statx()
1088 if (statxbuf == NULL) in uv__iou_fs_statx()
1095 uv__free(statxbuf); in uv__iou_fs_statx()
1099 req->ptr = statxbuf; in uv__iou_fs_statx()
1102 sqe->addr2 = (uintptr_t) statxbuf; in uv__iou_fs_statx()
1122 void uv__statx_to_stat(const struct uv__statx* statxbuf, uv_stat_t* buf) { in uv__statx_to_stat() argument
1123 buf->st_dev = makedev(statxbuf->stx_dev_major, statxbuf->stx_dev_minor); in uv__statx_to_stat()
1124 buf->st_mode = statxbuf->stx_mode; in uv__statx_to_stat()
1125 buf->st_nlink = statxbuf->stx_nlink; in uv__statx_to_stat()
1126 buf->st_uid = statxbuf->stx_uid; in uv__statx_to_stat()
1127 buf->st_gid = statxbuf->stx_gid; in uv__statx_to_stat()
1128 buf->st_rdev = makedev(statxbuf->stx_rdev_major, statxbuf->stx_rdev_minor); in uv__statx_to_stat()
1129 buf->st_ino = statxbuf->stx_ino; in uv__statx_to_stat()
1130 buf->st_size = statxbuf->stx_size; in uv__statx_to_stat()
1131 buf->st_blksize = statxbuf->stx_blksize; in uv__statx_to_stat()
1132 buf->st_blocks = statxbuf->stx_blocks; in uv__statx_to_stat()
1133 buf->st_atim.tv_sec = statxbuf->stx_atime.tv_sec; in uv__statx_to_stat()
1134 buf->st_atim.tv_nsec = statxbuf->stx_atime.tv_nsec; in uv__statx_to_stat()
1135 buf->st_mtim.tv_sec = statxbuf->stx_mtime.tv_sec; in uv__statx_to_stat()
1136 buf->st_mtim.tv_nsec = statxbuf->stx_mtime.tv_nsec; in uv__statx_to_stat()
1137 buf->st_ctim.tv_sec = statxbuf->stx_ctime.tv_sec; in uv__statx_to_stat()
1138 buf->st_ctim.tv_nsec = statxbuf->stx_ctime.tv_nsec; in uv__statx_to_stat()
1139 buf->st_birthtim.tv_sec = statxbuf->stx_btime.tv_sec; in uv__statx_to_stat()
1140 buf->st_birthtim.tv_nsec = statxbuf->stx_btime.tv_nsec; in uv__statx_to_stat()
1147 struct uv__statx* statxbuf; in uv__iou_fs_statx_post() local
1151 statxbuf = req->ptr; in uv__iou_fs_statx_post()
1155 uv__msan_unpoison(statxbuf, sizeof(*statxbuf)); in uv__iou_fs_statx_post()
1156 uv__statx_to_stat(statxbuf, buf); in uv__iou_fs_statx_post()
1160 uv__free(statxbuf); in uv__iou_fs_statx_post()