Home
last modified time | relevance | path

Searched refs:stackshot_alloc_with_size (Results 1 – 2 of 2) sorted by relevance

/xnu-11215.1.10/osfmk/kern/
H A Dkern_stackshot.h54 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 Dkern_stackshot.c902 stackshot_alloc_with_size(size_t size, kern_return_t *err) in stackshot_alloc_with_size() function
1916 stackshot_exclave_inspect_ctids = stackshot_alloc_with_size(waitlist_size, &error); in stackshot_setup_exclave_waitlist()
2910 plh.plh_array = stackshot_alloc_with_size(size * sizeof(*plh.plh_array), &error); in stackshot_plh_setup()
2911 plh.plh_chains = stackshot_alloc_with_size(size * sizeof(*plh.plh_chains), &error); in stackshot_plh_setup()
2914 …cpu_ctx->scc_plh_gen.pgs_gen = stackshot_alloc_with_size(size * sizeof(*cpu_ctx->scc_plh_gen.pgs_g… in stackshot_plh_setup()
2923 …plh.plh_hash = stackshot_alloc_with_size((1ul << STACKSHOT_PLH_SHIFT) * sizeof(*plh.plh_hash), &er… in stackshot_plh_setup()