Searched refs:malloc_mtx (Results 1 – 3 of 3) sorted by relevance
240 struct mtx malloc_mtx; variable1273 mtx_init(&malloc_mtx, "malloc", NULL, MTX_DEF); in mallocinit()1323 mtx_lock(&malloc_mtx); in malloc_init()1327 mtx_unlock(&malloc_mtx); in malloc_init()1343 mtx_lock(&malloc_mtx); in malloc_uninit()1358 mtx_unlock(&malloc_mtx); in malloc_uninit()1385 mtx_assert(&malloc_mtx, MA_OWNED); in malloc_desc2type()1409 mtx_lock(&malloc_mtx); in sysctl_kern_malloc_stats()1449 mtx_unlock(&malloc_mtx); in sysctl_kern_malloc_stats()1470 mtx_lock(&malloc_mtx); in malloc_type_list()[all …]
93 mtx_lock(&malloc_mtx); in memguard_sysctl_desc()97 mtx_unlock(&malloc_mtx); in memguard_sysctl_desc()
75 * The malloc_type ks_next field is protected by malloc_mtx. Other fields in174 extern struct mtx malloc_mtx;