Home
last modified time | relevance | path

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

/xnu-10002.61.3/osfmk/kdp/output_stages/
H A Dout_aea.c53 struct aea_stage_data *stage_data = (struct aea_stage_data *) stage->kos_data; in aea_write_callback() local
54 uint64_t absolute_corefile_offset = stage_data->starting_corefile_offset + offset; in aea_write_callback()
63 stage_data->current_corefile_offset = absolute_corefile_offset + length; in aea_write_callback()
78 struct aea_stage_data *stage_data = (struct aea_stage_data *) stage->kos_data; in aea_read_callback() local
79 uint64_t absolute_corefile_offset = stage_data->starting_corefile_offset + offset; in aea_read_callback()
87 stage_data->current_corefile_offset = absolute_corefile_offset + length; in aea_read_callback()
96 struct aea_stage_data *stage_data = (struct aea_stage_data *) stage->kos_data; in aea_stage_reset() local
98 if (stage_data->encryption_open) { in aea_stage_reset()
99 aea_ret = apple_encrypted_archive->aea_close(stage_data->state, stage_data->state_size); in aea_stage_reset()
104 stage_data->encryption_open = false; in aea_stage_reset()
[all …]
H A Dout_disk.c53 struct disk_stage_data *stage_data = (struct disk_stage_data *) stage->kos_data; in disk_stage_write() local
56 if ((offset < stage_data->furthest_written_offset) || (offset != stage_data->current_offset)) { in disk_stage_write()
58 uint64_t offset_misalignment = offset % stage_data->alignment; in disk_stage_write()
87 if (offset + chunk < stage_data->furthest_written_offset) { in disk_stage_write()
91 uint64_t offset_misalignment = offset % stage_data->alignment; in disk_stage_write()
114 stage_data->last_operation_was_write = true; in disk_stage_write()
139 stage_data->current_offset += chunk; in disk_stage_write()
140 if (offset > stage_data->furthest_written_offset) { in disk_stage_write()
141 stage_data->furthest_written_offset = offset; in disk_stage_write()
156 struct disk_stage_data *stage_data = (struct disk_stage_data *) stage->kos_data; in disk_stage_read() local
[all …]
H A Dout_zlib.c129 struct zlib_stage_data *stage_data; in zlib_stream_output_chunk() local
134 stage_data = (struct zlib_stage_data *) stage->kos_data; in zlib_stream_output_chunk()
135 zs = &(stage_data->zs); in zlib_stream_output_chunk()