| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_event.c | 696 efd = malloc(sizeof(*efd), M_EPOLL, M_WAITOK | M_ZERO); in eventfd_create() 701 knlist_init_mtx(&efd->efd_sel.si_note, &efd->efd_lock); in eventfd_create() 738 efd = fp->f_data; in eventfd_close() 747 free(efd, M_EPOLL); in eventfd_close() 760 efd = fp->f_data; in eventfd_read() 782 --efd->efd_count; in eventfd_read() 806 efd = fp->f_data; in eventfd_write() 828 error = mtx_sleep(&efd->efd_count, &efd->efd_lock, in eventfd_write() 851 efd = fp->f_data; in eventfd_poll() 873 efd = fp->f_data; in eventfd_kqfilter() [all …]
|
| /freebsd-12.1/usr.bin/gcore/ |
| H A D | gcore.c | 84 int ch, efd, fd, name[4]; in main() local 127 efd = open(binfile, O_RDONLY, 0); in main() 128 if (efd < 0) in main() 132 lseek(efd, 0, SEEK_SET); in main() 133 if (((*d)->ident)(efd, pid, binfile)) { in main() 135 lseek(efd, 0, SEEK_SET); in main() 149 dumper->dump(efd, fd, pid); in main() 151 (void)close(efd); in main()
|
| H A D | extern.h | 38 int (*ident)(int efd, pid_t pid, char *binfile); 39 void (*dump)(int efd, int fd, pid_t pid);
|
| H A D | elfcore.c | 145 elf_ident(int efd, pid_t pid __unused, char *binfile __unused) in elf_ident() argument 151 cnt = read(efd, &hdr, sizeof(hdr)); in elf_ident() 194 elf_coredump(int efd, int fd, pid_t pid) in elf_coredump() argument 246 elf_puthdr(efd, pid, map, hdr, hdrsize, notesz, segoff, seginfo.count); in elf_coredump() 441 elf_puthdr(int efd, pid_t pid, vm_map_entry_t map, void *hdr, size_t hdrsize, in elf_puthdr() argument 450 cnt = read(efd, &binhdr, sizeof(binhdr)); in elf_puthdr()
|
| /freebsd-12.1/crypto/openssl/engines/ |
| H A D | e_afalg.c | 153 &aio->efd, &custom); in afalg_setup_async_event_notification() 159 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 160 if (aio->efd == -1) { in afalg_setup_async_event_notification() 172 close(aio->efd); in afalg_setup_async_event_notification() 176 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { in afalg_setup_async_event_notification() 184 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 185 if (aio->efd == -1) { in afalg_setup_async_event_notification() 210 aio->efd = -1; in afalg_init_aio() 250 cb->aio_resfd = aio->efd; in afalg_fin_cipher_aio() 267 r = read(aio->efd, &eval, sizeof(eval)); in afalg_fin_cipher_aio() [all …]
|
| H A D | e_afalg.h | 70 int efd; member
|
| /freebsd-12.1/usr.bin/elf2aout/ |
| H A D | elf2aout.c | 85 int efd; in main() local 106 if ((efd = open(*av, O_RDONLY)) < 0 || fstat(efd, &sb) < 0) in main() 108 v = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, efd, 0); in main()
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_redboot.c | 177 struct fis_image_desc *fd, *efd; in parse_fis_directory() local 183 efd = fd + (bufsize / sizeof(struct fis_image_desc)); in parse_fis_directory() 188 while (fd < efd && fd->name[0] != 0xff) in parse_fis_directory() 190 if (fd == efd) in parse_fis_directory() 201 for (i = 0; fd < efd; i++, fd++) { in parse_fis_directory()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | channels.c | 323 if (efd != -1 && efd != rfd && efd != wfd) in channel_register_fds() 329 c->efd = efd; in channel_register_fds() 345 if (efd != -1) in channel_register_fds() 346 set_nonblock(efd); in channel_register_fds() 444 int sock = c->sock, rfd = c->rfd, wfd = c->wfd, efd = c->efd; in channel_close_fds() local 451 if (efd != sock && efd != rfd && efd != wfd) in channel_close_fds() 1060 FD_SET(c->efd, writeset); in channel_pre_open() 1065 FD_SET(c->efd, readset); in channel_pre_open() 2087 c->self, c->efd); 2105 if (c->efd == -1) [all …]
|
| H A D | channels.h | 119 int efd; /* extended fd */ member 224 (c->efd != -1 || \ 228 c->efd != -1 && (!(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD)) || \
|
| H A D | nchan.c | 338 c->efd != -1 && in chan_is_dead() 341 c->self, c->efd, sshbuf_len(c->extended)); in chan_is_dead()
|
| /freebsd-12.1/contrib/elftoolchain/elfcopy/ |
| H A D | main.c | 615 int efd, ifd, ofd, ofd0, tfd; in create_file() local 662 create_tempfile(&elftemp, &efd); in create_file() 663 if ((ecp->eout = elf_begin(efd, ELF_C_WRITE, NULL)) == NULL) in create_file() 681 close(efd); in create_file()
|
| /freebsd-12.1/tests/sys/netmap/ |
| H A D | ctrl-api-test.c | 1385 int efd = eventfd(0, 0); in sync_kloop_eventfds() local 1387 evopt->eventfds[i].ioeventfd = efd; in sync_kloop_eventfds() 1388 efd = eventfd(0, 0); in sync_kloop_eventfds() 1389 evopt->eventfds[i].irqfd = efd; in sync_kloop_eventfds()
|
| /freebsd-12.1/contrib/ncurses/ |
| H A D | NEWS | 10217 <perf@efd.lth.se>).
|
| /freebsd-12.1/share/misc/ |
| H A D | pci_vendors | 23654 0efd Xeon E7 v2/Xeon E5 v2/Core i7 DDRIO
|