Searched refs:efd (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.1-release/usr.bin/gcore/
H A Dextern.h37 int (*ident)(int efd, pid_t pid, char *binfile);
38 void (*dump)(int efd, int fd, pid_t pid);
H A Dgcore.c82 int ch, efd, fd, name[4]; local
128 efd = open(binfile, O_RDONLY, 0);
129 if (efd < 0)
133 lseek(efd, 0, SEEK_SET);
134 if (((*d)->ident)(efd, pid, binfile)) {
136 lseek(efd, 0, SEEK_SET);
165 dumper->dump(efd, fd, pid);
167 (void)close(efd);
H A Delfcore.c107 elf_ident(int efd, pid_t pid __unused, char *binfile __unused) argument
112 cnt = read(efd, &hdr, sizeof(hdr));
132 elf_coredump(int efd __unused, int fd, pid_t pid)
/freebsd-10.1-release/usr.bin/elf2aout/
H A Delf2aout.c83 int efd; local
104 if ((efd = open(*av, O_RDONLY)) < 0 || fstat(efd, &sb) < 0)
106 v = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, efd, 0);
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c160 int efd, nprobes; local
193 if ((efd = open(lmp->l_name, O_RDONLY, 0)) < 0) {
197 if ((e = elf_begin(efd, ELF_C_READ, NULL)) == NULL) {
199 close(efd);
223 close(efd);
363 (void) close(efd);
H A Ddt_link.c1689 int efd; local
1923 if ((efd = open(file, O_RDWR, 0)) < 0) {
1929 if ((e = elf_begin(efd, ELF_C_RDWR, NULL)) == NULL) {
1930 close(efd);
1961 close(efd);
1987 close(efd);
1992 close(efd);
/freebsd-10.1-release/crypto/openssh/
H A Dchannels.h103 int efd; /* extended fd */ member in struct:Channel
201 /* check whether 'efd' is still in use */
204 (c->efd != -1 || \
208 c->efd != -1 && (!(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD)) || \
H A Dchannels.c234 channel_register_fds(Channel *c, int rfd, int wfd, int efd, argument
240 channel_max_fd = MAX(channel_max_fd, efd);
246 if (efd != -1 && efd != rfd && efd != wfd)
247 fcntl(efd, F_SETFD, FD_CLOEXEC);
252 c->efd = efd;
268 if (efd != -1)
269 set_nonblock(efd);
278 channel_new(char *ctype, int type, int rfd, int wfd, int efd, u_int window, u_int maxpack, int extusage, char *remote_name, int nonblock) argument
777 channel_set_fds(int id, int rfd, int wfd, int efd, int extusage, int nonblock, int is_tty, u_int window_max) argument
[all...]
H A Dnchan.c456 c->efd != -1 &&
458 debug2("channel %d: active efd: %d len %d",
459 c->self, c->efd, buffer_len(&c->extended));
/freebsd-10.1-release/sys/geom/
H A Dgeom_redboot.c174 struct fis_image_desc *fd, *efd; local
180 efd = fd + (bufsize / sizeof(struct fis_image_desc));
185 while (fd < efd && fd->name[0] != 0xff)
187 if (fd == efd)
198 for (i = 0; fd < efd; i++, fd++) {

Completed in 190 milliseconds