Home
last modified time | relevance | path

Searched refs:dstfd (Results 1 - 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/io/ltp-aiodio/
H A Daiocp.c48 static int dstfd; variable
115 SAFE_FSYNC(dstfd); in async_write_done()
134 io_prep_pwrite(iocb, dstfd, buf, iosize, offset); in async_copy()
262 if (dstfd > 0) in cleanup()
263 SAFE_CLOSE(dstfd); in cleanup()
277 dstfd = SAFE_OPEN(dstname, dstflags | O_WRONLY | O_CREAT, 0666); in run()
289 SAFE_CLOSE(dstfd); in run()
301 dstfd = SAFE_OPEN(dstname, O_RDONLY, 0666); in run()
307 SAFE_READ(0, dstfd, dstbuff, buffsize); in run()
317 SAFE_CLOSE(dstfd); in run()
[all...]
/third_party/libuv/src/unix/
H A Dfs.c1146 uv_file dstfd; in uv__fs_copyfile() local
1157 dstfd = -1; in uv__fs_copyfile()
1179 dstfd = uv_fs_open(NULL, in uv__fs_copyfile()
1187 if (dstfd < 0) { in uv__fs_copyfile()
1188 err = dstfd; in uv__fs_copyfile()
1196 if (uv__fstat(dstfd, &dst_statsbuf)) { in uv__fs_copyfile()
1201 /* Check if srcfd and dstfd refer to the same file */ in uv__fs_copyfile()
1208 if (ftruncate(dstfd, 0) != 0) { in uv__fs_copyfile()
1226 if (fchmod(dstfd, src_statsbuf.st_mode) == -1) { in uv__fs_copyfile()
1236 if (!uv__is_cifs_or_smb(dstfd)) in uv__fs_copyfile()
[all...]
/third_party/node/deps/uv/src/unix/
H A Dfs.c1269 uv_file dstfd; in uv__fs_copyfile() local
1280 dstfd = -1; in uv__fs_copyfile()
1302 dstfd = uv_fs_open(NULL, in uv__fs_copyfile()
1310 if (dstfd < 0) { in uv__fs_copyfile()
1311 err = dstfd; in uv__fs_copyfile()
1319 if (fstat(dstfd, &dst_statsbuf)) { in uv__fs_copyfile()
1324 /* Check if srcfd and dstfd refer to the same file */ in uv__fs_copyfile()
1331 if (ftruncate(dstfd, 0) != 0) { in uv__fs_copyfile()
1337 if (fchmod(dstfd, src_statsbuf.st_mode) == -1) { in uv__fs_copyfile()
1347 if (!uv__is_cifs_or_smb(dstfd)) in uv__fs_copyfile()
[all...]

Completed in 5 milliseconds