Searched refs:RESTARTABLE (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | EPollPort.c | 56 RESTARTABLE(write(fd, buf, 1), res); in Java_sun_nio_ch_EPollPort_interrupt() 66 RESTARTABLE(read(fd, buf, 1), res); in Java_sun_nio_ch_EPollPort_drain1() 75 RESTARTABLE(close(fd), res); in Java_sun_nio_ch_EPollPort_close0()
|
D | EPoll.c | 82 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res); in Java_sun_nio_ch_EPoll_epollCtl() 94 RESTARTABLE(epoll_wait(epfd, events, numfds, -1), res); in Java_sun_nio_ch_EPoll_epollWait() 104 RESTARTABLE(close(epfd), res); in Java_sun_nio_ch_EPoll_close0()
|
D | UnixNativeDispatcher.c | 78 #define RESTARTABLE(_cmd, _result) do { \ macro 340 RESTARTABLE(dup((int)fd), res); in Java_sun_nio_fs_UnixNativeDispatcher_dup() 388 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd); in Java_sun_nio_fs_UnixNativeDispatcher_open0() 407 RESTARTABLE((*my_openat64_func)(dfd, path, (int)oflags, (mode_t)mode), fd); in Java_sun_nio_fs_UnixNativeDispatcher_openat0() 424 RESTARTABLE(close((int)fd), res); in Java_sun_nio_fs_UnixNativeDispatcher_close() 440 RESTARTABLE(read((int)fd, bufp, (size_t)nbytes), n); in Java_sun_nio_fs_UnixNativeDispatcher_read() 453 RESTARTABLE(write((int)fd, bufp, (size_t)nbytes), n); in Java_sun_nio_fs_UnixNativeDispatcher_write() 495 RESTARTABLE(stat64(path, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_stat0() 511 RESTARTABLE(lstat64(path, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_lstat0() 526 RESTARTABLE(fstat64((int)fd, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_fstat() [all …]
|
D | PollArrayWrapper.c | 35 #define RESTARTABLE(_cmd, _result) do { \ macro 82 RESTARTABLE (poll(a, numfds, timeout), err); in Java_sun_nio_ch_PollArrayWrapper_poll0()
|
D | io_util_md.c | 76 RESTARTABLE(open64(path, oflag, mode), fd); in handleOpen() 80 RESTARTABLE(fstat64(fd, &buf64), result); in handleOpen()
|
D | nio_util.h | 33 #define RESTARTABLE(_cmd, _result) do { \ macro
|
D | FileKey.c | 62 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
|
D | io_util_md.h | 80 #define RESTARTABLE(_cmd, _result) do { \ macro
|
D | UNIXProcess_md.c | 161 #define RESTARTABLE(_cmd, _result) do { \ macro 373 RESTARTABLE(write(fd, buf, count), result); in restartableWrite() 381 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
|