Home
last modified time | relevance | path

Searched refs:fd_flags (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/apr/file_io/unix/
H A Dpipe.c39 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-13.1/contrib/apr/network_io/unix/
H A Dsockopt.c25 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-13.1/contrib/apr/poll/unix/
H A Depoll.c107 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()
359 int fd_flags; in impl_pollcb_create() local
362 if ((fd_flags = fcntl(fd, F_GETFD)) == -1) { in impl_pollcb_create()
369 fd_flags |= FD_CLOEXEC; in impl_pollcb_create()
370 if (fcntl(fd, F_SETFD, fd_flags) == -1) { in impl_pollcb_create()
/freebsd-13.1/contrib/ofed/librdmacm/
H A Drsocket.c355 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-13.1/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc1258 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()