Lines Matching refs:filefd
2158 send_data_with_read(int filefd, int netfd, const struct stat *st, int isdata) in send_data_with_read() argument
2182 c = read(filefd, buf, readsize); in send_data_with_read()
2200 send_data_with_mmap(int filefd, int netfd, const struct stat *st, int isdata) in send_data_with_mmap() argument
2233 off = lseek(filefd, (off_t)0, SEEK_CUR); in send_data_with_mmap()
2248 MAP_FILE|MAP_SHARED, filefd, off); in send_data_with_mmap()
2268 return (send_data_with_read(filefd, netfd, st, isdata)); in send_data_with_mmap()
2280 int c, filefd, netfd, rval; in send_data() local
2327 filefd = fileno(instr); in send_data()
2329 switch (send_data_with_mmap(filefd, netfd, st, isdata)) { in send_data()
2384 int c, netfd, filefd, rval; in receive_data() local
2419 filefd = fileno(outstr); in receive_data()
2423 else if (fstat(filefd, &st) != -1) in receive_data()
2446 if ((d = write(filefd, buf, c)) != c) in receive_data()
2466 if (write(filefd, buf, c) != c) in receive_data()