| /freebsd-14.2/sys/kern/ |
| H A D | sys_eventfd.c | 111 struct eventfd *efd; in eventfd_create_file() local 117 efd = malloc(sizeof(*efd), M_EVENTFD, M_WAITOK | M_ZERO); in eventfd_create_file() 121 knlist_init_mtx(&efd->efd_sel.si_note, &efd->efd_lock); in eventfd_create_file() 136 efd = fp->f_data; in eventfd_close() 156 efd = fp->f_data; in eventfd_read() 163 error = mtx_sleep(&efd->efd_count, &efd->efd_lock, PCATCH, in eventfd_read() 170 --efd->efd_count; in eventfd_read() 203 efd = fp->f_data; in eventfd_write() 213 error = mtx_sleep(&efd->efd_count, &efd->efd_lock, in eventfd_write() 237 efd = fp->f_data; in eventfd_poll() [all …]
|
| /freebsd-14.2/usr.bin/gcore/ |
| H A D | gcore.c | 141 int ch, efd, fd, name[4]; in main() local 196 efd = open(binfile, O_RDONLY, 0); in main() 197 if (efd < 0) in main() 201 lseek(efd, 0, SEEK_SET); in main() 202 if (((*d)->ident)(efd, pid, binfile)) { in main() 204 lseek(efd, 0, SEEK_SET); in main() 212 dumper->dump(efd, fd, pid); in main() 214 (void)close(efd); in main()
|
| H A D | extern.h | 37 int (*ident)(int efd, pid_t pid, char *binfile); 38 void (*dump)(int efd, int fd, pid_t pid);
|
| H A D | elfcore.c | 127 elf_ident(int efd, pid_t pid __unused, char *binfile __unused) in elf_ident() argument 133 cnt = read(efd, &hdr, sizeof(hdr)); in elf_ident() 176 elf_coredump(int efd, int fd, pid_t pid) in elf_coredump() argument 228 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()
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | nchan.c | 343 c->efd != -1 && in chan_is_dead() 346 c->self, c->efd, sshbuf_len(c->extended)); in chan_is_dead() 382 c->self, c->istate, c->ostate, c->sock, c->wfd, c->efd, in chan_shutdown_write() 405 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_read() 430 if (c->type == SSH_CHANNEL_LARVAL || c->efd == -1) in chan_shutdown_extended_read() 436 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_extended_read() 438 if (channel_close_fd(ssh, c, &c->efd) < 0) { in chan_shutdown_extended_read() 440 "extended fd %d [i%d o%d]: %.100s", c->self, c->efd, in chan_shutdown_extended_read()
|
| H A D | channels.c | 433 if (efd != -1 && efd != rfd && efd != wfd) in channel_register_fds() 439 c->efd = efd; in channel_register_fds() 470 if (efd != -1 && !isatty(efd) && in channel_register_fds() 481 if (efd != -1) in channel_register_fds() 584 c->efd = -1; in channel_close_fd() 603 int sock = c->sock, rfd = c->rfd, wfd = c->wfd, efd = c->efd; in channel_close_fds() local 610 if (efd != sock && efd != rfd && efd != wfd) in channel_close_fds() 1006 if (c->efd == -1) in channel_format_extended_usage() 1395 if (c->efd != -1) in channel_force_close() 2763 if (c->efd != -1 && c->rfd != c->efd) { in channel_prepare_pollfd() [all …]
|
| H A D | channels.h | 137 int efd; /* extended fd */ member 272 (c->efd != -1 || \ 276 c->efd != -1 && (!(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD)) || \
|
| /freebsd-14.2/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() 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() 315 r = read(aio->efd, &eval, sizeof(eval)); in afalg_fin_cipher_aio() [all …]
|
| H A D | e_afalg.h | 70 int efd; member
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/tests/sys/netmap/ |
| H A D | ctrl-api-test.c | 1439 int efd = eventfd(0, 0); in sync_kloop_eventfds() local 1441 evopt->eventfds[i].ioeventfd = efd; in sync_kloop_eventfds() 1442 efd = eventfd(0, 0); in sync_kloop_eventfds() 1443 evopt->eventfds[i].irqfd = efd; in sync_kloop_eventfds()
|
| /freebsd-14.2/share/misc/ |
| H A D | usb_vendors | 15602 0efd Oasis Semiconductor
|
| H A D | pci_vendors | 29349 0efd Xeon E7 v2/Xeon E5 v2/Core i7 DDRIO
|
| /freebsd-14.2/contrib/ncurses/ |
| H A D | NEWS | 14598 <perf@efd.lth.se>).
|