Searched refs:diskfile_fd (Results 1 – 2 of 2) sorted by relevance
181 int diskfile_fd; /* file to send, file descriptor */ member
3115 if (sp->diskfile_fd >= 0) { in iperf_print_results()3116 if (fstat(sp->diskfile_fd, &sb) == 0) { in iperf_print_results()3503 if (sp->diskfile_fd >= 0) in iperf_free_stream()3504 close(sp->diskfile_fd); in iperf_free_stream()3596 …sp->diskfile_fd = open(test->diskfile_name, sender ? O_RDONLY : (O_WRONLY|O_CREAT|O_TRUNC), S_IRUS… in iperf_new_stream()3597 if (sp->diskfile_fd == -1) { in iperf_new_stream()3609 sp->diskfile_fd = -1; in iperf_new_stream()3708 r = read(sp->diskfile_fd, sp->buffer, sp->test->settings->blksize - in diskfile_send()3752 (void) write(sp->diskfile_fd, sp->buffer, r); in diskfile_recv()3753 (void) fsync(sp->diskfile_fd); in diskfile_recv()