Lines Matching refs:ops
78 struct output_file_ops* ops; member
334 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
357 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
360 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
388 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
391 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
394 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
419 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
423 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
445 ret = out->ops->write(out, data, len); in write_normal_data_chunk()
451 ret = out->ops->skip(out, rnd_up_len - len); in write_normal_data_chunk()
469 ret = out->ops->write(out, out->fill_buf, write_len); in write_normal_fill_chunk()
481 return out->ops->skip(out, len); in write_normal_skip_chunk()
485 return out->ops->pad(out, out->len); in write_normal_end_chunk()
501 out->ops->close(out); in output_file_close()
550 ret = out->ops->write(out, &sparse_header, sizeof(sparse_header)); in output_file_init()
573 outgz->out.ops = &gz_file_ops; in output_file_new_gz()
586 outn->out.ops = &file_ops; in output_file_new_normal()
604 outc->out.ops = &callback_file_ops; in output_file_open_callback()
631 out->ops->open(out, fd); in output_file_open_fd()