Home
last modified time | relevance | path

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

/external/fio/engines/
Dbinject.c26 int *fd_flags; member
113 bd->fd_flags[i] = fio_set_fd_nonblocking(bf->fd, "binject"); in fio_binject_getevents()
115 bd->fd_flags[i] = -1; in fio_binject_getevents()
159 if (bd->fd_flags[i] == -1) in fio_binject_getevents()
162 if (fcntl(bf->fd, F_SETFL, bd->fd_flags[i]) < 0) in fio_binject_getevents()
384 free(bd->fd_flags); in fio_binject_cleanup()
406 bd->fd_flags = malloc(sizeof(int) * td->o.nr_files); in fio_binject_init()
407 memset(bd->fd_flags, 0, sizeof(int) * td->o.nr_files); in fio_binject_init()
Dsg.c27 int *fd_flags; member
82 sd->fd_flags[i] = fio_set_fd_nonblocking(f->fd, "sg"); in fio_sgio_getevents()
84 sd->fd_flags[i] = -1; in fio_sgio_getevents()
149 if (sd->fd_flags[i] == -1) in fio_sgio_getevents()
152 if (fcntl(f->fd, F_SETFL, sd->fd_flags[i]) < 0) in fio_sgio_getevents()
316 free(sd->fd_flags); in fio_sgio_cleanup()
335 sd->fd_flags = malloc(sizeof(int) * td->o.nr_files); in fio_sgio_init()
336 memset(sd->fd_flags, 0, sizeof(int) * td->o.nr_files); in fio_sgio_init()
/external/vboot_reference/cgpt/
Dcgpt_nor.c212 int fd_flags = fcntl(1, F_GETFD); in ReadNorFlash() local
223 fcntl(1, F_SETFD, fd_flags); in ReadNorFlash()
237 int fd_flags = fcntl(1, F_GETFD); in WriteNorFlash() local
250 fcntl(1, F_SETFD, fd_flags); in WriteNorFlash()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-death-test.cc1029 int fd_flags; in ExecDeathTestSpawnChild() local
1031 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1033 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/gtest/src/
Dgtest-death-test.cc1024 int fd_flags; in ExecDeathTestSpawnChild() local
1026 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1028 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc7518 int fd_flags; in ExecDeathTestSpawnChild() local
7520 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
7522 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()