Searched refs:filefd (Results 1 - 5 of 5) sorted by relevance

/freebsd-9.3-release/sbin/geom/class/eli/
H A Dgeom_eli.c1302 int filefd, provfd, ret; local
1305 provfd = filefd = -1;
1314 filefd = open(file, O_WRONLY | O_TRUNC | O_CREAT, 0600);
1315 if (filefd == -1) {
1345 if (write(filefd, sector, secsize) != secsize) {
1350 (void)fsync(filefd);
1356 if (filefd >= 0)
1357 (void)close(filefd);
1390 int nargs, filefd, provfd; local
1400 provfd = filefd
[all...]
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dftpd.c2098 send_data_with_read(int filefd, int netfd, const struct stat *st, int isdata) argument
2121 c = read(filefd, buf, readsize);
2139 send_data_with_mmap(int filefd, int netfd, const struct stat *st, int isdata) argument
2171 off = lseek(filefd, (off_t)0, SEEK_CUR);
2185 MAP_FILE|MAP_SHARED, filefd, off);
2205 return (send_data_with_read(filefd, netfd, st, isdata));
2217 int c, filefd, netfd, rval; local
2264 filefd = fileno(instr);
2266 switch (send_data_with_mmap(filefd, netfd, st, isdata)) {
2321 int c, bare_lfs, netfd, filefd, rva local
[all...]
/freebsd-9.3-release/contrib/opie/
H A Dopieftpd.c920 int netfd, filefd; local
956 filefd = fileno(instr);
957 while ((cnt = read(filefd, buf, (u_int) blksize)) > 0 &&
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c1377 int c, cnt, filefd, netfd; local
1439 filefd = fileno(instr);
1441 fstat(filefd, &st) >= 0 ? &st : NULL);
1448 while ((cnt = read(filefd, buf, bufsize)) > 0 &&
/freebsd-9.3-release/libexec/ftpd/
H A Dftpd.c2063 int c, cp, filefd, netfd; local
2119 filefd = fileno(instr);
2129 err = sendfile(filefd, netfd, offset, 0,
2173 cnt = read(filefd, buf, blksize);

Completed in 169 milliseconds