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

/freebsd-9.3-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-9.3-release/contrib/ipfilter/lib/
H A Dipft_ef.c46 static int efd = -1; variable
52 if (efd != -1)
53 return efd;
56 efd = 0;
59 efd = open(fname, O_RDONLY);
60 efp = fdopen(efd, "r");
62 return efd;
68 return close(efd);
/freebsd-9.3-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-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c157 int efd, nprobes; local
190 if ((efd = open(lmp->l_name, O_RDONLY, 0)) < 0) {
194 if ((e = elf_begin(efd, ELF_C_READ, NULL)) == NULL) {
196 close(efd);
219 close(efd);
335 (void) close(efd);
H A Ddt_link.c1608 int efd; local
1845 if ((efd = open(file, O_RDWR, 0)) < 0) {
1851 if ((e = elf_begin(efd, ELF_C_RDWR, NULL)) == NULL) {
1852 close(efd);
1917 close(efd);
1921 e = elf_begin(efd, ELF_C_RDWR, NULL);
1934 close(efd);
1960 close(efd);
1965 close(efd);
/freebsd-9.3-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.c235 channel_register_fds(Channel *c, int rfd, int wfd, int efd, argument
241 channel_max_fd = MAX(channel_max_fd, efd);
247 if (efd != -1 && efd != rfd && efd != wfd)
248 fcntl(efd, F_SETFD, FD_CLOEXEC);
253 c->efd = efd;
269 if (efd != -1)
270 set_nonblock(efd);
279 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
778 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-9.3-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++) {
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_bmap.c4212 xfs_efd_log_item_t *efd; /* extent free data */ local
4248 efd = xfs_trans_get_efd(ntp, efi, flist->xbf_count);
4269 xfs_trans_log_efd_extent(ntp, efd, free->xbfi_startblock,

Completed in 130 milliseconds