Home | History | Annotate | Download | only in ftpd

Lines Matching defs:filefd

2159 send_data_with_read(int filefd, int netfd, const struct stat *st, int isdata)
2183 c = read(filefd, buf, readsize);
2201 send_data_with_mmap(int filefd, int netfd, const struct stat *st, int isdata)
2234 off = lseek(filefd, (off_t)0, SEEK_CUR);
2249 MAP_FILE|MAP_SHARED, filefd, off);
2269 return (send_data_with_read(filefd, netfd, st, isdata));
2281 int c, filefd, netfd, rval;
2328 filefd = fileno(instr);
2330 switch (send_data_with_mmap(filefd, netfd, st, isdata)) {
2385 int c, netfd, filefd, rval;
2420 filefd = fileno(outstr);
2424 else if (fstat(filefd, &st) != -1)
2447 if ((d = write(filefd, buf, c)) != c)
2467 if (write(filefd, buf, c) != c)