| /src/sys/kern/ |
| H A D | sys_eventfd.c | 113 struct eventfd *efd; in eventfd_create_file() local 119 efd = malloc(sizeof(*efd), M_EVENTFD, M_WAITOK | M_ZERO); in eventfd_create_file() 120 efd->efd_flags = flags; in eventfd_create_file() 121 efd->efd_count = initval; in eventfd_create_file() 122 mtx_init(&efd->efd_lock, "eventfd", NULL, MTX_DEF); in eventfd_create_file() 123 knlist_init_mtx(&efd->efd_sel.si_note, &efd->efd_lock); in eventfd_create_file() 124 refcount_init(&efd->efd_refcount, 1); in eventfd_create_file() 129 finit(fp, fflags, DTYPE_EVENTFD, efd, &eventfdops); in eventfd_create_file() 137 struct eventfd *efd; in eventfd_get() local 142 efd = fp->f_data; in eventfd_get() [all …]
|
| /src/usr.bin/gcore/ |
| H A D | gcore.c | 129 int ch, efd, fd, name[4]; in main() local 184 efd = open(binfile, O_RDONLY, 0); in main() 185 if (efd < 0) in main() 189 lseek(efd, 0, SEEK_SET); in main() 190 if (((*d)->ident)(efd, pid, binfile)) { in main() 192 lseek(efd, 0, SEEK_SET); in main() 200 dumper->dump(efd, fd, pid); in main() 202 (void)close(efd); in main()
|
| H A D | extern.h | 35 int (*ident)(int efd, pid_t pid, char *binfile); 36 void (*dump)(int efd, int fd, pid_t pid);
|
| H A D | elfcore.c | 128 elf_ident(int efd, pid_t pid __unused, char *binfile __unused) in elf_ident() argument 134 cnt = read(efd, &hdr, sizeof(hdr)); in elf_ident() 177 elf_coredump(int efd, int fd, pid_t pid) in elf_coredump() argument 229 elf_puthdr(efd, pid, map, hdr, hdrsize, notesz, segoff, seginfo.count); in elf_coredump() 466 elf_puthdr(int efd, pid_t pid, struct map_entry *map, void *hdr, size_t hdrsize, in elf_puthdr() argument 475 cnt = read(efd, &binhdr, sizeof(binhdr)); in elf_puthdr()
|
| /src/crypto/openssh/ |
| H A D | nchan.c | 345 c->efd != -1 && in chan_is_dead() 348 c->self, c->efd, sshbuf_len(c->extended)); in chan_is_dead() 384 c->self, c->istate, c->ostate, c->sock, c->wfd, c->efd, in chan_shutdown_write() 407 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_read() 432 if (c->type == SSH_CHANNEL_LARVAL || c->efd == -1) in chan_shutdown_extended_read() 438 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_extended_read() 440 if (channel_close_fd(ssh, c, &c->efd) < 0) { in chan_shutdown_extended_read() 442 "extended fd %d [i%d o%d]: %.100s", c->self, c->efd, in chan_shutdown_extended_read()
|
| H A D | channels.c | 419 channel_register_fds(struct ssh *ssh, Channel *c, int rfd, int wfd, int efd, in channel_register_fds() argument 428 if (efd != -1 && efd != rfd && efd != wfd) in channel_register_fds() 429 (void)fcntl(efd, F_SETFD, FD_CLOEXEC); in channel_register_fds() 434 c->efd = efd; in channel_register_fds() 465 if (efd != -1 && !isatty(efd) && in channel_register_fds() 466 (val = fcntl(efd, F_GETFL)) != -1 && !(val & O_NONBLOCK)) { in channel_register_fds() 469 set_nonblock(efd); in channel_register_fds() 476 if (efd != -1) in channel_register_fds() 477 set_nonblock(efd); in channel_register_fds() 487 channel_new(struct ssh *ssh, char *ctype, int type, int rfd, int wfd, int efd, in channel_new() argument [all …]
|
| H A D | channels.h | 136 int efd; /* extended fd */ member 273 (c->efd != -1 || \ 277 c->efd != -1 && (!(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD)) || \
|
| /src/crypto/openssl/engines/ |
| H A D | e_afalg.c | 201 &aio->efd, &custom); in afalg_setup_async_event_notification() 207 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 208 if (aio->efd == -1) { in afalg_setup_async_event_notification() 216 aio->efd, custom, in afalg_setup_async_event_notification() 220 close(aio->efd); in afalg_setup_async_event_notification() 224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { in afalg_setup_async_event_notification() 232 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 233 if (aio->efd == -1) { in afalg_setup_async_event_notification() 258 aio->efd = -1; in afalg_init_aio() 298 cb->aio_resfd = aio->efd; in afalg_fin_cipher_aio() [all …]
|
| H A D | e_afalg.h | 69 int efd; member
|
| /src/sys/sys/ |
| H A D | eventfd.h | 46 void eventfd_put(struct eventfd *efd); 47 void eventfd_signal(struct eventfd *efd);
|
| /src/crypto/openssl/ssl/rio/ |
| H A D | poll_builder.c | 24 FD_ZERO(&rpb->efd); in OSSL_SAFE_MATH_UNSIGNED() 101 openssl_fdset(fd, &rpb->efd); in ossl_rio_poll_builder_add_fd() 161 rc = select(rpb->hwm_fd + 1, &rpb->rfd, &rpb->wfd, &rpb->efd, p_timeout); in ossl_rio_poll_builder_poll()
|
| H A D | poll_builder.h | 29 fd_set rfd, wfd, efd;
|
| /src/contrib/elftoolchain/elfcopy/ |
| H A D | main.c | 653 int efd, ifd, ofd, ofd0, tfd; in create_file() local 702 create_tempfile(src, &elftemp, &efd); in create_file() 703 if ((ecp->eout = elf_begin(efd, ELF_C_WRITE, NULL)) == NULL) { in create_file() 730 close(efd); in create_file()
|
| /src/tests/sys/netmap/ |
| H A D | ctrl-api-test.c | 1437 int efd = eventfd(0, 0); in sync_kloop_eventfds() local 1439 evopt->eventfds[i].ioeventfd = efd; in sync_kloop_eventfds() 1440 efd = eventfd(0, 0); in sync_kloop_eventfds() 1441 evopt->eventfds[i].irqfd = efd; in sync_kloop_eventfds()
|
| /src/share/vt/fonts/ |
| H A D | gallant.hex | 1495 1efd:000000000000000007000c00180030003000618063c060e06060606070403f801f0000000000000000000000
|
| /src/share/misc/ |
| H A D | usb_vendors | 15660 0efd Oasis Semiconductor
|
| H A D | pci_vendors | 31500 0efd Xeon E7 v2/Xeon E5 v2/Core i7 DDRIO
|
| /src/contrib/ncurses/ |
| H A D | NEWS | 15167 <perf@efd.lth.se>).
|