Lines Matching refs:ops
83 struct output_file_ops *ops; member
356 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
381 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()
417 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
421 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
425 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
453 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
457 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
481 ret = out->ops->write(out, data, len); in write_normal_data_chunk()
487 ret = out->ops->skip(out, rnd_up_len - len); in write_normal_data_chunk()
507 ret = out->ops->write(out, out->fill_buf, write_len); in write_normal_fill_chunk()
520 return out->ops->skip(out, len); in write_normal_skip_chunk()
525 return out->ops->pad(out, out->len); in write_normal_end_chunk()
538 out->ops->close(out); in output_file_close()
589 ret = out->ops->write(out, &sparse_header, sizeof(sparse_header)); in output_file_init()
612 outgz->out.ops = &gz_file_ops; in output_file_new_gz()
625 outn->out.ops = &file_ops; in output_file_new_normal()
643 outc->out.ops = &callback_file_ops; in output_file_open_callback()
671 out->ops->open(out, fd); in output_file_open_fd()