Searched refs:fd_flags (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/apr/file_io/unix/ |
| H A D | pipe.c | 39 int fd_flags; in pipeblock() local 41 fd_flags = fcntl(thepipe->filedes, F_GETFL, 0); in pipeblock() 43 fd_flags &= ~O_NONBLOCK; in pipeblock() 45 fd_flags &= ~O_NDELAY; in pipeblock() 47 fd_flags &= ~O_FNDELAY; in pipeblock() 52 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) { in pipeblock() 75 int fd_flags = fcntl(thepipe->filedes, F_GETFL, 0); in pipenonblock() local 78 fd_flags |= O_NONBLOCK; in pipenonblock() 80 fd_flags |= O_NDELAY; in pipenonblock() 82 fd_flags |= O_FNDELAY; in pipenonblock() [all …]
|
| /freebsd-12.1/contrib/apr/network_io/unix/ |
| H A D | sockopt.c | 25 int fd_flags; in soblock() local 27 fd_flags = fcntl(sd, F_GETFL, 0); in soblock() 29 fd_flags &= ~O_NONBLOCK; in soblock() 31 fd_flags &= ~O_NDELAY; in soblock() 33 fd_flags &= ~FNDELAY; in soblock() 37 if (fcntl(sd, F_SETFL, fd_flags) == -1) { in soblock() 51 int fd_flags; in sononblock() local 53 fd_flags = fcntl(sd, F_GETFL, 0); in sononblock() 55 fd_flags |= O_NONBLOCK; in sononblock() 57 fd_flags |= O_NDELAY; in sononblock() [all …]
|
| /freebsd-12.1/contrib/apr/poll/unix/ |
| H A D | epoll.c | 107 int fd_flags; in impl_pollset_create() local 109 if ((fd_flags = fcntl(fd, F_GETFD)) == -1) { in impl_pollset_create() 116 fd_flags |= FD_CLOEXEC; in impl_pollset_create() 117 if (fcntl(fd, F_SETFD, fd_flags) == -1) { in impl_pollset_create() 358 int fd_flags; in impl_pollcb_create() local 361 if ((fd_flags = fcntl(fd, F_GETFD)) == -1) { in impl_pollcb_create() 368 fd_flags |= FD_CLOEXEC; in impl_pollcb_create() 369 if (fcntl(fd, F_SETFD, fd_flags) == -1) { in impl_pollcb_create()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | protoize.c | 2070 int fd_flags; in process_aux_info_file() local 2074 fd_flags = O_RDONLY; in process_aux_info_file() 2077 fd_flags |= O_BINARY; in process_aux_info_file() 2079 if ((aux_info_file = open (aux_info_filename, fd_flags, 0444 )) == -1) in process_aux_info_file() 3992 int fd_flags; in edit_file() local 3996 fd_flags = O_RDONLY; in edit_file() 3999 fd_flags |= O_BINARY; in edit_file() 4001 if ((input_file = open (convert_filename, fd_flags, 0444)) == -1) in edit_file()
|
| /freebsd-12.1/contrib/ofed/librdmacm/ |
| H A D | rsocket.c | 355 int fd_flags; member 792 if (rs->fd_flags & O_NONBLOCK) { in rs_create_cq() 1255 if (rs->fd_flags & O_NONBLOCK) in raccept() 1379 if (!(rs->fd_flags & O_NONBLOCK)) in rs_do_connect() 3235 if (rs->fd_flags & O_NONBLOCK) in rshutdown() 3269 rs_set_nonblocking(rs, rs->fd_flags); in rshutdown() 3285 if (rs->fd_flags & O_NONBLOCK) in ds_shutdown() 3291 if (rs->fd_flags & O_NONBLOCK) in ds_shutdown() 3292 rs_set_nonblocking(rs, rs->fd_flags); in ds_shutdown() 3725 ret = rs->fd_flags; in rfcntl() [all …]
|
| /freebsd-12.1/contrib/googletest/googletest/src/ |
| H A D | gtest-death-test.cc | 1258 int fd_flags; in ExecDeathTestSpawnChild() local 1260 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1262 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|