Lines Matching refs:ops
83 struct output_file_ops* ops; member
359 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
382 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
385 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
413 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
416 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
423 ret = out->ops->write(out, out->zero_buf, write_len); in write_sparse_data_chunk()
464 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fd_chunk()
468 ret = out->ops->write(out, data, size); in write_sparse_fd_chunk()
481 ret = out->ops->write(out, out->zero_buf, write_len); in write_sparse_fd_chunk()
515 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
519 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
542 ret = out->ops->write(out, data, len); in write_normal_data_chunk()
548 ret = out->ops->skip(out, rnd_up_len - len); in write_normal_data_chunk()
566 ret = out->ops->write(out, out->fill_buf, write_len); in write_normal_fill_chunk()
582 ret = out->ops->write(out, data, size); in write_normal_fd_chunk()
588 ret = out->ops->skip(out, rnd_up_len - len); in write_normal_fd_chunk()
595 return out->ops->skip(out, len); in write_normal_skip_chunk()
599 return out->ops->pad(out, out->len); in write_normal_end_chunk()
616 out->ops->close(out); in output_file_close()
667 ret = out->ops->write(out, &sparse_header, sizeof(sparse_header)); in output_file_init()
690 outgz->out.ops = &gz_file_ops; in output_file_new_gz()
703 outn->out.ops = &file_ops; in output_file_new_normal()
721 outc->out.ops = &callback_file_ops; in output_file_open_callback()
748 out->ops->open(out, fd); in output_file_open_fd()