Lines Matching refs:ops
84 struct output_file_ops* ops; member
340 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
362 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
365 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
393 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
396 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
399 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
424 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
428 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
450 ret = out->ops->write(out, data, len); in write_normal_data_chunk()
456 ret = out->ops->skip(out, rnd_up_len - len); in write_normal_data_chunk()
474 ret = out->ops->write(out, out->fill_buf, write_len); in write_normal_fill_chunk()
486 return out->ops->skip(out, len); in write_normal_skip_chunk()
490 return out->ops->pad(out, out->len); in write_normal_end_chunk()
502 out->ops->close(out); in output_file_close()
551 ret = out->ops->write(out, &sparse_header, sizeof(sparse_header)); in output_file_init()
574 outgz->out.ops = &gz_file_ops; in output_file_new_gz()
587 outn->out.ops = &file_ops; in output_file_new_normal()
605 outc->out.ops = &callback_file_ops; in output_file_open_callback()
632 out->ops->open(out, fd); in output_file_open_fd()