Home
last modified time | relevance | path

Searched refs:kdp_output_stage (Results 1 – 13 of 13) sorted by relevance

/xnu-12377.61.12/osfmk/kdp/output_stages/
H A Doutput_stages.h42 kern_return_t buffer_stage_initialize(struct kdp_output_stage *stage, size_t buffer_size);
48 kern_return_t lz4_stage_initialize(struct kdp_output_stage *stage);
62 kern_return_t zlib_stage_initialize(struct kdp_output_stage *stage);
74 kern_return_t aea_stage_initialize(struct kdp_output_stage *stage, const void *recipient_public_key…
89 kern_return_t disk_stage_initialize(struct kdp_output_stage *stage);
94 kern_return_t disk_stage_write(struct kdp_output_stage *stage, uint64_t offset, uint64_t length, co…
99 kern_return_t disk_stage_read(struct kdp_output_stage *stage, uint64_t offset, uint64_t length, voi…
104 kern_return_t net_stage_initialize(struct kdp_output_stage *stage);
109 kern_return_t progress_notify_stage_initialize(struct kdp_output_stage *stage);
115 kern_return_t memory_backing_aware_buffer_stage_initialize(struct kdp_output_stage *stage);
[all …]
H A Dout_aea.c52 struct kdp_output_stage *stage = (struct kdp_output_stage *) context; in aea_write_callback()
53 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in aea_write_callback()
77 struct kdp_output_stage *stage = (struct kdp_output_stage *) context; in aea_read_callback()
78 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in aea_read_callback()
94 aea_stage_reset(struct kdp_output_stage *stage, __unused const char *corename, __unused kern_coredu… in aea_stage_reset()
116 aea_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in aea_stage_outproc()
122 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in aea_stage_outproc()
212 aea_stage_free(struct kdp_output_stage *stage) in aea_stage_free()
222 aea_stage_initialize(struct kdp_output_stage *stage, const void *recipient_public_key, size_t recip… in aea_stage_initialize()
H A Dout_zlib.c59 struct kdp_output_stage *stage = (struct kdp_output_stage *) opaque; in zlib_alloc()
81 struct kdp_output_stage *stage = (typeof(stage))strm->opaque; in zlib_zoutput()
82 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in zlib_zoutput()
128 zlib_stream_output_chunk(struct kdp_output_stage *stage, unsigned int length, void *data) in zlib_stream_output_chunk()
173 zlib_stage_reset(struct kdp_output_stage *stage, __unused const char *corename, __unused kern_cored… in zlib_stage_reset()
192 zlib_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in zlib_stage_outproc()
196 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in zlib_stage_outproc()
254 zlib_stage_free(struct kdp_output_stage *stage) in zlib_stage_free()
263 zlib_stage_initialize(struct kdp_output_stage *stage) in zlib_stage_initialize()
H A Dout_buffer.c45 buffer_stage_reset(struct kdp_output_stage *stage, __unused const char *corename, __unused kern_cor… in buffer_stage_reset()
57 buffer_stage_flush(struct kdp_output_stage *stage) in buffer_stage_flush()
61 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in buffer_stage_flush()
76 buffer_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in buffer_stage_outproc()
81 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in buffer_stage_outproc()
137 buffer_stage_free(struct kdp_output_stage *stage) in buffer_stage_free()
147 buffer_stage_initialize(struct kdp_output_stage *stage, size_t buffer_size) in buffer_stage_initialize()
H A Dout_progress_notify.c47 progress_notify_stage_reset(struct kdp_output_stage *stage, __unused const char *corename, __unused… in progress_notify_stage_reset()
57 progress_notify_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in progress_notify_stage_outproc()
62 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in progress_notify_stage_outproc()
82 progress_notify_stage_free(struct kdp_output_stage *stage) in progress_notify_stage_free()
92 progress_notify_stage_initialize(struct kdp_output_stage *stage) in progress_notify_stage_initialize()
H A Dout_net.c38 net_stage_reset(struct kdp_output_stage *stage, __unused const char *corename, __unused kern_coredu… in net_stage_reset()
47 net_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in net_stage_outproc()
68 net_stage_free(struct kdp_output_stage *stage) in net_stage_free()
74 net_stage_initialize(struct kdp_output_stage *stage) in net_stage_initialize()
H A Dout_memory_backing_aware_buffer.c43 memory_backing_aware_buffer_stage_outproc(struct kdp_output_stage *stage, unsigned int request,
59 memory_backing_aware_buffer_stage_reset(__unused struct kdp_output_stage *stage, __unused const cha… in memory_backing_aware_buffer_stage_reset()
65 memory_backing_aware_buffer_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in memory_backing_aware_buffer_stage_outproc()
70 struct kdp_output_stage *next_stage = STAILQ_NEXT(stage, kos_next); in memory_backing_aware_buffer_stage_outproc()
139 memory_backing_aware_buffer_stage_free(struct kdp_output_stage *stage) in memory_backing_aware_buffer_stage_free()
149 memory_backing_aware_buffer_stage_initialize(struct kdp_output_stage *stage) in memory_backing_aware_buffer_stage_initialize()
H A Dout_lz4.c60 lz4_stage_reset(struct kdp_output_stage *stage, __unused const char *corename, __unused kern_coredu… in lz4_stage_reset()
89 lz4_stage_stream(struct lz4_stage_data *data, struct kdp_output_stage *next_stage, char *corename, in lz4_stage_stream()
148 lz4_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in lz4_stage_outproc()
152 struct kdp_output_stage *next_stage; in lz4_stage_outproc()
219 lz4_stage_free(struct kdp_output_stage *stage) in lz4_stage_free()
241 lz4_stage_initialize(struct kdp_output_stage *stage) in lz4_stage_initialize()
H A Dout_disk.c47 disk_stage_write(struct kdp_output_stage *stage, uint64_t offset, uint64_t length, const void *data) in disk_stage_write()
150 disk_stage_read(struct kdp_output_stage *stage, uint64_t offset, uint64_t length, void *data) in disk_stage_read()
213 disk_stage_reset(struct kdp_output_stage *stage, __unused const char *corename, __unused kern_cored… in disk_stage_reset()
222 disk_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in disk_stage_outproc()
301 disk_stage_free(struct kdp_output_stage *stage) in disk_stage_free()
310 disk_stage_initialize(struct kdp_output_stage *stage) in disk_stage_initialize()
H A Dout_shmem.c200 shmem_stage_announce(struct kdp_output_stage *stage, const char *corename, uint8_t coretype) in shmem_stage_announce()
243 shmem_stage_reset(struct kdp_output_stage *stage, const char *corename, kern_coredump_type_t corety… in shmem_stage_reset()
312 shmem_dbg_process_buffers(struct kdp_output_stage *stage) in shmem_dbg_process_buffers()
371 shmem_dbg_get_buffer(struct kdp_output_stage *stage) in shmem_dbg_get_buffer()
399 shmem_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in shmem_stage_outproc()
532 shmem_stage_free(struct kdp_output_stage *stage) in shmem_stage_free()
542 shmem_stage_initialize(struct kdp_output_stage *stage) in shmem_stage_initialize()
/xnu-12377.61.12/osfmk/kdp/
H A Dkdp_out_stage.h37 struct kdp_output_stage;
40 STAILQ_HEAD(, kdp_output_stage) kcos_out_stage;
41 struct kdp_output_stage * kcos_encryption_stage;
50 …kern_return_t (*kosf_reset)(struct kdp_output_stage *stage, const char *corename, kern_coredump_ty…
51 kern_return_t (*kosf_outproc)(struct kdp_output_stage *stage, unsigned int request,
53 void (*kosf_free)(struct kdp_output_stage *stage);
56 struct kdp_output_stage { struct
57 STAILQ_ENTRY(kdp_output_stage) kos_next;
H A Dkdp_core.c128 static struct kdp_output_stage disk_output_stage = {};
129 static struct kdp_output_stage lz4_output_stage = {};
130 static struct kdp_output_stage zlib_output_stage = {};
131 static struct kdp_output_stage buffer_output_stage = {};
132 static struct kdp_output_stage net_output_stage = {};
133 static struct kdp_output_stage progress_notify_output_stage = {};
135 static struct kdp_output_stage aea_output_stage = {};
138 static struct kdp_output_stage shmem_output_stage = {};
139 static struct kdp_output_stage memory_backing_aware_buffer_output_stage = {};
274 struct kdp_output_stage *first_stage = STAILQ_FIRST(&vars->kcos_out_stage); in kdp_core_output()
[all …]
/xnu-12377.61.12/tests/unit/
H A Dpanic_path_test.c43 struct kdp_output_stage *stage,
51 __unused struct kdp_output_stage *stage, in kosf_outproc_mock()
73 STAILQ_HEAD(, kdp_output_stage) stages;
74 struct kdp_output_stage stage1;
75 struct kdp_output_stage stage2;