Lines Matching refs:ops
83 struct output_file_ops *ops; member
363 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
388 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
392 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
424 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
428 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
432 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
460 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
464 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
488 ret = out->ops->write(out, data, len); in write_normal_data_chunk()
494 ret = out->ops->skip(out, rnd_up_len - len); in write_normal_data_chunk()
514 ret = out->ops->write(out, out->fill_buf, write_len); in write_normal_fill_chunk()
527 return out->ops->skip(out, len); in write_normal_skip_chunk()
532 return out->ops->pad(out, out->len); in write_normal_end_chunk()
545 out->ops->close(out); in output_file_close()
596 ret = out->ops->write(out, &sparse_header, sizeof(sparse_header)); in output_file_init()
619 outgz->out.ops = &gz_file_ops; in output_file_new_gz()
632 outn->out.ops = &file_ops; in output_file_new_normal()
650 outc->out.ops = &callback_file_ops; in output_file_open_callback()
678 out->ops->open(out, fd); in output_file_open_fd()