Lines Matching refs:fp
54 FILE *fp; member
177 if (ioshark_read_file_state(state->fp, &file_state) != 1) { in create_files()
408 rewind(state->fp); in do_io()
409 if (ioshark_read_header(state->fp, &header) != 1) { in do_io()
420 fseek(state->fp, in do_io()
428 if (ioshark_read_file_op(state->fp, &file_op) != 1) { in do_io()
510 if (ioshark_read_header(state->fp, &header) != 1) { in do_create()
537 FILE *fp; in get_start_end() local
554 fp = fopen(infile, "r"); in get_start_end()
555 if (fp == NULL) { in get_start_end()
560 if (ioshark_read_header(fp, &header) != 1) { in get_start_end()
566 if (ioshark_read_file_state(fp, &file_state) != 1) { in get_start_end()
576 fclose(fp); in get_start_end()
582 fclose(fp); in get_start_end()
662 FILE *fp; in main() local
729 fp = fopen(infile, "r"); in main()
730 if (fp == NULL) { in main()
736 thread_state[num_input_files].fp = fp; in main()