Lines Matching refs:req
32 #define sync_stat(req, path) \
34 uv_fs_stat(NULL, (req), (path), NULL); \
35 uv_fs_req_cleanup((req)); \
66 uv_fs_t req;
73 sync_stat(&req, path);
86 struct async_req* req = container_of(fs_req, struct async_req, fs_req);
87 uv_fs_req_cleanup(&req->fs_req);
88 if (*req->count == 0) return;
89 uv_fs_stat(uv_default_loop(), &req->fs_req, req->path, stat_cb);
90 (*req->count)--;
96 struct async_req* req;
106 for (req = reqs; req < reqs + i; req++) {
107 req->path = path;
108 req->count = &count;
109 uv_fs_stat(uv_default_loop(), &req->fs_req, req->path, stat_cb);