Home
last modified time | relevance | path

Searched refs:efd (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/kern/
H A Dsys_eventfd.c113 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 …]
/freebsd/usr.bin/gcore/
H A Dgcore.c129 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 Dextern.h35 int (*ident)(int efd, pid_t pid, char *binfile);
36 void (*dump)(int efd, int fd, pid_t pid);
H A Delfcore.c128 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()
/freebsd/crypto/openssh/
H A Dnchan.c343 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 Dchannels.c435 channel_register_fds(struct ssh *ssh, Channel *c, int rfd, int wfd, int efd, in channel_register_fds() argument
444 if (efd != -1 && efd != rfd && efd != wfd) in channel_register_fds()
445 (void)fcntl(efd, F_SETFD, FD_CLOEXEC); in channel_register_fds()
450 c->efd = efd; in channel_register_fds()
481 if (efd != -1 && !isatty(efd) && in channel_register_fds()
482 (val = fcntl(efd, F_GETFL)) != -1 && !(val & O_NONBLOCK)) { in channel_register_fds()
485 set_nonblock(efd); in channel_register_fds()
492 if (efd != -1) in channel_register_fds()
493 set_nonblock(efd); in channel_register_fds()
504 channel_new(struct ssh *ssh, char *ctype, int type, int rfd, int wfd, int efd, in channel_new() argument
[all …]
H A Dchannels.h140 int efd; /* extended fd */ member
280 (c->efd != -1 || \
284 c->efd != -1 && (!(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD)) || \
/freebsd/crypto/openssl/engines/
H A De_afalg.c201 &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 De_afalg.h69 int efd; member
/freebsd/sys/sys/
H A Deventfd.h46 void eventfd_put(struct eventfd *efd);
47 void eventfd_signal(struct eventfd *efd);
/freebsd/crypto/openssl/ssl/rio/
H A Dpoll_builder.c24 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 Dpoll_builder.h29 fd_set rfd, wfd, efd;
/freebsd/contrib/elftoolchain/elfcopy/
H A Dmain.c653 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/tests/sys/netmap/
H A Dctrl-api-test.c1437 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()
/freebsd/share/vt/fonts/
H A Dgallant.hex1495 1efd:000000000000000007000c00180030003000618063c060e06060606070403f801f0000000000000000000000
/freebsd/share/misc/
H A Dusb_vendors15660 0efd Oasis Semiconductor
H A Dpci_vendors31500 0efd Xeon E7 v2/Xeon E5 v2/Core i7 DDRIO
/freebsd/contrib/ncurses/
H A DNEWS15167 <perf@efd.lth.se>).