Home
last modified time | relevance | path

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

/xnu-12377.61.12/libsyscall/wrappers/
H A Dstackshot.c55 s_config->sc_size = 0; in stackshot_config_create()
145 s_config->sc_out_size_addr = (uintptr_t)&s_config->sc_size; in stackshot_capture_with_config()
151 s_config->sc_size = 0; in stackshot_capture_with_config()
193 return stackshot_config->sc_size; in stackshot_config_get_stackshot_size()
212 stackshot_config->sc_size = suggested_size; in stackshot_config_set_size_hint()
289 if (s_config->sc_size && s_config->sc_buffer) { in stackshot_config_dealloc_buffer()
290 …locate(mach_task_self(), (mach_vm_offset_t)s_config->sc_buffer, (mach_vm_size_t)s_config->sc_size); in stackshot_config_dealloc_buffer()
294 s_config->sc_size = 0; in stackshot_config_dealloc_buffer()
317 if (s_config->sc_size && s_config->sc_buffer) { in stackshot_config_dealloc()
318 …locate(mach_task_self(), (mach_vm_offset_t)s_config->sc_buffer, (mach_vm_size_t)s_config->sc_size); in stackshot_config_dealloc()
[all …]
/xnu-12377.61.12/bsd/sys/
H A Dstackshot.h44 uint32_t sc_size; /* Length of the stackshot buffer */ member
/xnu-12377.61.12/osfmk/kern/
H A Dkern_stackshot.c2399 if (config->sc_size <= max_tracebuf_size) { in kern_stack_snapshot_internal()
2400 size_hint = config->sc_size; in kern_stack_snapshot_internal()