HomeSort by: relevance | last modified time | path
    Searched refs:efd (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/kern/
sys_eventfd.c 92 struct eventfd * const efd = kmem_zalloc(sizeof(*efd), KM_SLEEP); local
94 mutex_init(&efd->efd_lock, MUTEX_DEFAULT, IPL_NONE);
95 cv_init(&efd->efd_read_wait, "efdread");
96 cv_init(&efd->efd_write_wait, "efdwrite");
97 selinit(&efd->efd_read_sel);
98 selinit(&efd->efd_write_sel);
99 efd->efd_val = val;
100 efd->efd_is_semaphore = !!(flags & EFD_SEMAPHORE);
101 getnanotime(&efd->efd_btime)
211 struct eventfd * const efd = fp->f_eventfd; local
251 struct eventfd * const efd = fp->f_eventfd; local
301 struct eventfd * const efd = fp->f_eventfd; local
334 struct eventfd * const efd = fp->f_eventfd; local
374 struct eventfd * const efd = fp->f_eventfd; local
396 struct eventfd * const efd = fp->f_eventfd; local
407 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
418 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
446 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
457 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
485 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
515 struct eventfd * const efd = fp->f_eventfd; local
    [all...]
sys_eventfd.c 92 struct eventfd * const efd = kmem_zalloc(sizeof(*efd), KM_SLEEP); local
94 mutex_init(&efd->efd_lock, MUTEX_DEFAULT, IPL_NONE);
95 cv_init(&efd->efd_read_wait, "efdread");
96 cv_init(&efd->efd_write_wait, "efdwrite");
97 selinit(&efd->efd_read_sel);
98 selinit(&efd->efd_write_sel);
99 efd->efd_val = val;
100 efd->efd_is_semaphore = !!(flags & EFD_SEMAPHORE);
101 getnanotime(&efd->efd_btime)
211 struct eventfd * const efd = fp->f_eventfd; local
251 struct eventfd * const efd = fp->f_eventfd; local
301 struct eventfd * const efd = fp->f_eventfd; local
334 struct eventfd * const efd = fp->f_eventfd; local
374 struct eventfd * const efd = fp->f_eventfd; local
396 struct eventfd * const efd = fp->f_eventfd; local
407 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
418 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
446 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
457 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
485 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd; local
515 struct eventfd * const efd = fp->f_eventfd; local
    [all...]
  /src/tests/lib/libc/sys/
t_eventfd.c 52 int efd; member in struct:helper_context
144 ATF_REQUIRE(eventfd_read(ctx->efd, &efd_value) == 0);
155 ATF_REQUIRE(eventfd_read(ctx->efd, &efd_value) == 0);
179 ATF_REQUIRE((ctx.efd = eventfd(0, 0)) >= 0);
195 ATF_REQUIRE(eventfd_write(ctx.efd, 0xcafebabe) == 0);
202 /* Test additive property of the efd value. */
203 ATF_REQUIRE(eventfd_write(ctx.efd, 0x0000cafe) == 0);
204 ATF_REQUIRE(eventfd_write(ctx.efd, 0xbeef0000) == 0);
215 (void) close(ctx.efd);
229 int efd; local
275 int efd; local
751 int efd; local
788 int efd; local
    [all...]
t_eventfd.c 52 int efd; member in struct:helper_context
144 ATF_REQUIRE(eventfd_read(ctx->efd, &efd_value) == 0);
155 ATF_REQUIRE(eventfd_read(ctx->efd, &efd_value) == 0);
179 ATF_REQUIRE((ctx.efd = eventfd(0, 0)) >= 0);
195 ATF_REQUIRE(eventfd_write(ctx.efd, 0xcafebabe) == 0);
202 /* Test additive property of the efd value. */
203 ATF_REQUIRE(eventfd_write(ctx.efd, 0x0000cafe) == 0);
204 ATF_REQUIRE(eventfd_write(ctx.efd, 0xbeef0000) == 0);
215 (void) close(ctx.efd);
229 int efd; local
275 int efd; local
751 int efd; local
788 int efd; local
    [all...]
  /src/lib/libc/sys/
eventfd_read.c 43 eventfd_read(int efd, eventfd_t *valp)
47 switch (read(efd, &val, sizeof(val))) {
eventfd_write.c 43 eventfd_write(int efd, eventfd_t val)
46 switch (write(efd, &val, sizeof(val))) {
eventfd_read.c 43 eventfd_read(int efd, eventfd_t *valp)
47 switch (read(efd, &val, sizeof(val))) {
eventfd_write.c 43 eventfd_write(int efd, eventfd_t val)
46 switch (write(efd, &val, sizeof(val))) {
  /src/crypto/external/apache2/openssl/dist/ssl/rio/
poll_builder.h 29 fd_set rfd, wfd, efd;
poll_builder.h 29 fd_set rfd, wfd, efd;
poll_builder.c 24 FD_ZERO(&rpb->efd);
101 openssl_fdset(fd, &rpb->efd);
161 rc = select(rpb->hwm_fd + 1, &rpb->rfd, &rpb->wfd, &rpb->efd, p_timeout);
poll_builder.c 24 FD_ZERO(&rpb->efd);
101 openssl_fdset(fd, &rpb->efd);
161 rc = select(rpb->hwm_fd + 1, &rpb->rfd, &rpb->wfd, &rpb->efd, p_timeout);
  /src/crypto/external/apache2/openssl/dist/engines/
e_afalg.c 201 &aio->efd, &custom);
205 * and set it. efd will be signaled when AIO operation completes
207 aio->efd = eventfd(0);
208 if (aio->efd == -1) {
216 aio->efd, custom,
220 close(aio->efd);
224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) {
232 aio->efd = eventfd(0);
233 if (aio->efd == -1) {
258 aio->efd = -1
    [all...]
e_afalg.c 201 &aio->efd, &custom);
205 * and set it. efd will be signaled when AIO operation completes
207 aio->efd = eventfd(0);
208 if (aio->efd == -1) {
216 aio->efd, custom,
220 close(aio->efd);
224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) {
232 aio->efd = eventfd(0);
233 if (aio->efd == -1) {
258 aio->efd = -1
    [all...]
e_afalg.h 69 int efd; member in struct:afalg_aio_st
e_afalg.h 69 int efd; member in struct:afalg_aio_st
  /src/crypto/external/bsd/openssl/dist/engines/
e_afalg.c 201 &aio->efd, &custom);
205 * and set it. efd will be signaled when AIO operation completes
207 aio->efd = eventfd(0);
208 if (aio->efd == -1) {
216 aio->efd, custom,
220 close(aio->efd);
224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) {
232 aio->efd = eventfd(0);
233 if (aio->efd == -1) {
258 aio->efd = -1
    [all...]
e_afalg.c 201 &aio->efd, &custom);
205 * and set it. efd will be signaled when AIO operation completes
207 aio->efd = eventfd(0);
208 if (aio->efd == -1) {
216 aio->efd, custom,
220 close(aio->efd);
224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) {
232 aio->efd = eventfd(0);
233 if (aio->efd == -1) {
258 aio->efd = -1
    [all...]
e_afalg.h 70 int efd; member in struct:afalg_aio_st
e_afalg.h 70 int efd; member in struct:afalg_aio_st
  /src/crypto/external/bsd/openssl.old/dist/engines/
e_afalg.c 153 &aio->efd, &custom);
157 * and set it. efd will be signaled when AIO operation completes
159 aio->efd = eventfd(0);
160 if (aio->efd == -1) {
168 aio->efd, custom,
172 close(aio->efd);
176 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) {
184 aio->efd = eventfd(0);
185 if (aio->efd == -1) {
210 aio->efd = -1
    [all...]
e_afalg.c 153 &aio->efd, &custom);
157 * and set it. efd will be signaled when AIO operation completes
159 aio->efd = eventfd(0);
160 if (aio->efd == -1) {
168 aio->efd, custom,
172 close(aio->efd);
176 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) {
184 aio->efd = eventfd(0);
185 if (aio->efd == -1) {
210 aio->efd = -1
    [all...]
e_afalg.h 70 int efd; member in struct:afalg_aio_st
  /src/crypto/external/bsd/openssh/dist/
nchan.c 347 c->efd != -1 &&
349 debug2("channel %d: active efd: %d len %zu",
350 c->self, c->efd, sshbuf_len(c->extended));
385 debug2_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",
386 c->self, c->istate, c->ostate, c->sock, c->wfd, c->efd,
408 debug2_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",
409 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd,
429 if (c->type == SSH_CHANNEL_LARVAL || c->efd == -1)
434 debug_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",
435 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd,
    [all...]
nchan.c 347 c->efd != -1 &&
349 debug2("channel %d: active efd: %d len %zu",
350 c->self, c->efd, sshbuf_len(c->extended));
385 debug2_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",
386 c->self, c->istate, c->ostate, c->sock, c->wfd, c->efd,
408 debug2_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",
409 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd,
429 if (c->type == SSH_CHANNEL_LARVAL || c->efd == -1)
434 debug_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",
435 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd,
    [all...]

Completed in 48 milliseconds

1 2