Searched refs:stackshot_alloc_with_size (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.1.9/osfmk/kern/ |
| H A D | kern_stackshot.h | 54 extern void * stackshot_alloc_with_size(size_t size, kern_return_t *err); 59 #define stackshot_alloc_arr(type, count, err) stackshot_alloc_with_size(sizeof(type) * (count), err) 62 #define stackshot_alloc(type, err) stackshot_alloc_with_size(sizeof(type), err)
|
| H A D | kern_stackshot.c | 916 stackshot_alloc_with_size(size_t size, kern_return_t *err) in stackshot_alloc_with_size() function 1982 stackshot_exclave_inspect_ctids = stackshot_alloc_with_size(waitlist_size, &error); in stackshot_setup_exclave_waitlist() 2998 plh.plh_array = stackshot_alloc_with_size(size * sizeof(*plh.plh_array), &error); in stackshot_plh_setup() 2999 plh.plh_chains = stackshot_alloc_with_size(size * sizeof(*plh.plh_chains), &error); in stackshot_plh_setup() 3002 …cpu_ctx->scc_plh_gen.pgs_gen = stackshot_alloc_with_size(size * sizeof(*cpu_ctx->scc_plh_gen.pgs_g… in stackshot_plh_setup() 3011 …plh.plh_hash = stackshot_alloc_with_size((1ul << STACKSHOT_PLH_SHIFT) * sizeof(*plh.plh_hash), &er… in stackshot_plh_setup()
|