Lines Matching refs:file_op
676 ioshark_read_file_op(FILE *fp, struct ioshark_file_operation *file_op) in ioshark_read_file_op() argument
678 if (fread(file_op, sizeof(struct ioshark_file_operation), 1, fp) != 1) in ioshark_read_file_op()
680 file_op->delta_us = be64toh(file_op->delta_us); in ioshark_read_file_op()
681 file_op->op_union.enum_size = be32toh(file_op->op_union.enum_size); in ioshark_read_file_op()
682 file_op->fileno = be64toh(file_op->fileno); in ioshark_read_file_op()
683 switch (file_op->ioshark_io_op) { in ioshark_read_file_op()
686 file_op->lseek_offset = be64toh(file_op->lseek_offset); in ioshark_read_file_op()
687 file_op->lseek_action = be32toh(file_op->lseek_action); in ioshark_read_file_op()
691 file_op->prw_offset = be64toh(file_op->prw_offset); in ioshark_read_file_op()
692 file_op->prw_len = be64toh(file_op->prw_len); in ioshark_read_file_op()
696 file_op->rw_len = be64toh(file_op->rw_len); in ioshark_read_file_op()
700 file_op->mmap_offset = be64toh(file_op->mmap_offset); in ioshark_read_file_op()
701 file_op->mmap_len = be64toh(file_op->mmap_len); in ioshark_read_file_op()
702 file_op->mmap_prot = be32toh(file_op->mmap_prot); in ioshark_read_file_op()
705 file_op->open_flags = be32toh(file_op->open_flags); in ioshark_read_file_op()
706 file_op->open_mode = be32toh(file_op->open_mode); in ioshark_read_file_op()
715 progname, file_op->ioshark_io_op); in ioshark_read_file_op()