Lines Matching refs:file
182 r = fcntl(req->file, F_FULLFSYNC); in uv__fs_fsync()
184 r = fcntl(req->file, 85 /* F_BARRIERFSYNC */); /* fsync + barrier */ in uv__fs_fsync()
186 r = fsync(req->file); in uv__fs_fsync()
189 return fsync(req->file); in uv__fs_fsync()
196 return fdatasync(req->file); in uv__fs_fdatasync()
201 return fsync(req->file); in uv__fs_fdatasync()
244 return futimens(req->file, ts); in uv__fs_futime()
255 return futimesat(req->file, NULL, tv); in uv__fs_futime()
257 return futimes(req->file, tv); in uv__fs_futime()
266 return __fchattr(req->file, &atr, sizeof(atr)); in uv__fs_futime()
524 fd = req->file; in uv__fs_read()
853 out_fd = req->file; in uv__fs_sendfile_emul()
1040 out_fd = req->file; in uv__fs_sendfile()
1219 fd = req->file; in uv__fs_write()
1716 X(CLOSE, uv__fs_close(req->file)); in uv__fs_work()
1718 X(FCHMOD, fchmod(req->file, req->mode)); in uv__fs_work()
1719 X(FCHOWN, fchown(req->file, req->uid, req->gid)); in uv__fs_work()
1722 X(FSTAT, uv__fs_fstat(req->file, &req->statbuf)); in uv__fs_work()
1724 X(FTRUNCATE, ftruncate(req->file, req->off)); in uv__fs_work()
1830 int uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) { in uv_fs_close() argument
1832 req->file = file; in uv_fs_close()
1842 uv_file file, in uv_fs_fchmod() argument
1846 req->file = file; in uv_fs_fchmod()
1854 uv_file file, in uv_fs_fchown() argument
1859 req->file = file; in uv_fs_fchown()
1880 int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) { in uv_fs_fdatasync() argument
1882 req->file = file; in uv_fs_fdatasync()
1890 int uv_fs_fstat(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) { in uv_fs_fstat() argument
1892 req->file = file; in uv_fs_fstat()
1900 int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) { in uv_fs_fsync() argument
1902 req->file = file; in uv_fs_fsync()
1912 uv_file file, in uv_fs_ftruncate() argument
1916 req->file = file; in uv_fs_ftruncate()
1927 uv_file file, in uv_fs_futime() argument
1932 req->file = file; in uv_fs_futime()
2033 uv_file file, in uv_fs_read() argument
2044 req->file = file; in uv_fs_read()
2164 req->file = out_fd; in uv_fs_sendfile()
2223 uv_file file, in uv_fs_write() argument
2233 req->file = file; in uv_fs_write()