Searched refs:hoffset (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/osfmk/kdp/ml/i386/
H A Dkdp_vm.c62 size_t hoffset; local
69 hoffset = 0;
71 if (hoffset + sizeof(struct thread_command) > size)
74 tc = (struct thread_command *) ((uintptr_t)buffer + hoffset);
77 hoffset += sizeof(struct thread_command);
85 if (hoffset + sizeof(x86_state_hdr_t) > size)
88 *(x86_state_hdr_t *)((uintptr_t)buffer + hoffset) =
90 hoffset += sizeof(x86_state_hdr_t);
93 if (hoffset + thread_flavor_array[i].count*sizeof(int) > size)
103 x86_thread_state32_t *tstate = (x86_thread_state32_t *) ((uintptr_t)buffer + hoffset);
[all...]
H A Dkdp_x86_common.c468 uint64_t hoffset; member in struct:kern_dump_send_context
497 if (kdc->hoffset + sizeof(sc) > kdc->header_size) {
517 if ((ret = kdp_send_crashdump_pkt (KDP_SEEK, NULL, sizeof(kdc->hoffset) , &kdc->hoffset)) < 0) {
527 kdc->hoffset += sizeof(kernel_segment_command_t);
553 uint64_t hoffset = 0, foffset = 0; local
598 hoffset = 0; /* offset into header */
605 if ((ret = kdp_send_crashdump_pkt (KDP_SEEK, NULL, sizeof(hoffset) , &hoffset)) < 0) {
614 hoffset
[all...]
/darwin-on-arm/xnu/osfmk/kdp/ml/x86_64/
H A Dkdp_vm.c62 size_t hoffset; local
69 hoffset = 0;
71 if (hoffset + sizeof(struct thread_command) > size)
74 tc = (struct thread_command *) ((uintptr_t)buffer + hoffset);
77 hoffset += sizeof(struct thread_command);
85 if (hoffset + sizeof(x86_state_hdr_t) > size)
88 *(x86_state_hdr_t *)((uintptr_t)buffer + hoffset) =
90 hoffset += sizeof(x86_state_hdr_t);
93 if (hoffset + thread_flavor_array[i].count*sizeof(int) > size)
103 x86_thread_state64_t *tstate = (x86_thread_state64_t *) ((uintptr_t)buffer + hoffset);
[all...]
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/
H A Dkdp_arm_common.c54 uint64_t hoffset; member in struct:kern_dump_send_context
130 if (kdc->hoffset + sizeof(sc) > kdc->header_size) {
150 if ((ret = kdp_send_crashdump_pkt (KDP_SEEK, NULL, sizeof(kdc->hoffset) , &kdc->hoffset)) < 0) {
160 kdc->hoffset += sizeof(kernel_segment_command_t);
185 uint64_t hoffset = 0, foffset = 0; local
231 hoffset = 0; /* offset into header */
238 if ((ret = kdp_send_crashdump_pkt (KDP_SEEK, NULL, sizeof(hoffset) , &hoffset)) < 0) {
247 hoffset
[all...]
H A Dkdp_vm.c64 size_t hoffset; local
71 hoffset = 0;
73 if (hoffset + sizeof(struct thread_command) > size)
76 tc = (struct thread_command *) ((uintptr_t) buffer + hoffset);
79 hoffset += sizeof(struct thread_command);
87 if (hoffset + sizeof(arm_state_hdr_t) > size)
90 *(arm_state_hdr_t *) ((uintptr_t) buffer + hoffset) = thread_flavor_array[i];
91 hoffset += sizeof(arm_state_hdr_t);
93 if (hoffset + thread_flavor_array[i].count * sizeof(int) > size)
105 (arm_thread_state_t *) ((uintptr_t) buffer + hoffset);
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_core.c95 int hoffset; member in struct:__anon118
159 int hoffset, i ; local
168 hoffset = t->hoffset;
171 tc = (struct thread_command *) (header + hoffset);
175 hoffset += sizeof(struct thread_command);
182 *(mythread_state_flavor_t *)(header+hoffset) =
184 hoffset += sizeof(mythread_state_flavor_t);
186 (thread_state_t)(header+hoffset),
188 hoffset
224 int hoffset; local
[all...]

Completed in 25 milliseconds