Searched refs:stackshot_alloc_with_size (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/osfmk/kern/ |
| H A D | kern_stackshot.h | 54 extern void * stackshot_alloc_with_size(size_t size, kern_return_t *err); 57 #define stackshot_alloc_arr(type, count, err) stackshot_alloc_with_size(sizeof(type) * (count), err) 60 #define stackshot_alloc(type, err) stackshot_alloc_with_size(sizeof(type), err)
|
| H A D | kern_stackshot.c | 907 stackshot_alloc_with_size(size_t size, kern_return_t *err) in stackshot_alloc_with_size() function 1932 stackshot_exclave_inspect_ctids = stackshot_alloc_with_size(waitlist_size, &error); in stackshot_setup_exclave_waitlist() 2929 plh.plh_array = stackshot_alloc_with_size(size * sizeof(*plh.plh_array), &error); in stackshot_plh_setup() 2930 plh.plh_chains = stackshot_alloc_with_size(size * sizeof(*plh.plh_chains), &error); in stackshot_plh_setup() 2933 …cpu_ctx->scc_plh_gen.pgs_gen = stackshot_alloc_with_size(size * sizeof(*cpu_ctx->scc_plh_gen.pgs_g… in stackshot_plh_setup() 2942 …plh.plh_hash = stackshot_alloc_with_size((1ul << STACKSHOT_PLH_SHIFT) * sizeof(*plh.plh_hash), &er… in stackshot_plh_setup()
|