Home
last modified time | relevance | path

Searched refs:stage_data (Results 1 – 3 of 3) sorted by relevance

/xnu-11215.81.4/osfmk/kdp/output_stages/
H A Dout_aea.c54 struct aea_stage_data *stage_data = (struct aea_stage_data *) stage->kos_data; in aea_write_callback() local
55 uint64_t absolute_corefile_offset = stage_data->starting_corefile_offset + offset; in aea_write_callback()
64 stage_data->current_corefile_offset = absolute_corefile_offset + length; in aea_write_callback()
79 struct aea_stage_data *stage_data = (struct aea_stage_data *) stage->kos_data; in aea_read_callback() local
80 uint64_t absolute_corefile_offset = stage_data->starting_corefile_offset + offset; in aea_read_callback()
88 stage_data->current_corefile_offset = absolute_corefile_offset + length; in aea_read_callback()
97 struct aea_stage_data *stage_data = (struct aea_stage_data *) stage->kos_data; in aea_stage_reset() local
99 if (stage_data->encryption_open) { in aea_stage_reset()
100 aea_ret = apple_encrypted_archive->aea_close(stage_data->state, stage_data->state_size); in aea_stage_reset()
105 stage_data->encryption_open = false; in aea_stage_reset()
[all …]
H A Dout_disk.c54 struct disk_stage_data *stage_data = (struct disk_stage_data *) stage->kos_data; in disk_stage_write() local
57 if ((offset < stage_data->furthest_written_offset) || (offset != stage_data->current_offset)) { in disk_stage_write()
59 uint64_t offset_misalignment = offset % stage_data->alignment; in disk_stage_write()
88 if (offset + chunk < stage_data->furthest_written_offset) { in disk_stage_write()
92 uint64_t offset_misalignment = offset % stage_data->alignment; in disk_stage_write()
115 stage_data->last_operation_was_write = true; in disk_stage_write()
140 stage_data->current_offset += chunk; in disk_stage_write()
141 if (offset > stage_data->furthest_written_offset) { in disk_stage_write()
142 stage_data->furthest_written_offset = offset; in disk_stage_write()
157 struct disk_stage_data *stage_data = (struct disk_stage_data *) stage->kos_data; in disk_stage_read() local
[all …]
H A Dout_zlib.c130 struct zlib_stage_data *stage_data; in zlib_stream_output_chunk() local
135 stage_data = (struct zlib_stage_data *) stage->kos_data; in zlib_stream_output_chunk()
136 zs = &(stage_data->zs); in zlib_stream_output_chunk()