Searched refs:diskfile_fd (Results 1 – 2 of 2) sorted by relevance
186 int diskfile_fd; /* file to send, file descriptor */ member
3421 if (sp->diskfile_fd >= 0) { in iperf_print_results()3422 if (fstat(sp->diskfile_fd, &sb) == 0) { in iperf_print_results()3811 if (sp->diskfile_fd >= 0) in iperf_free_stream()3812 close(sp->diskfile_fd); in iperf_free_stream()3904 …sp->diskfile_fd = open(test->diskfile_name, sender ? O_RDONLY : (O_WRONLY|O_CREAT|O_TRUNC), S_IRUS… in iperf_new_stream()3905 if (sp->diskfile_fd == -1) { in iperf_new_stream()3917 sp->diskfile_fd = -1; in iperf_new_stream()4016 r = read(sp->diskfile_fd, sp->buffer, sp->test->settings->blksize - in diskfile_send()4060 (void) write(sp->diskfile_fd, sp->buffer, r); in diskfile_recv()4061 (void) fsync(sp->diskfile_fd); in diskfile_recv()