Searched refs:malloc_active (Results 1 – 6 of 6) sorted by relevance
1131 static int malloc_active; /* Recursion flag for public interface. */ variable1147 if (malloc_active > 0) { in pubrealloc()1148 if (malloc_active == 1) { in pubrealloc()1150 malloc_active = 2; in pubrealloc()1156 malloc_active = 1; in pubrealloc()1161 malloc_active = 0; in pubrealloc()1188 malloc_active = 0; in pubrealloc()
267 static int malloc_active; variable476 malloc_active--; in wrterror()1885 malloc_active--; in malloc_recurse()1901 if (malloc_active++) { in malloc()1907 malloc_active--; in malloc()1926 if (malloc_active++) { in free()1932 malloc_active--; in free()1944 if (malloc_active++) { in realloc()1955 malloc_active--; in realloc()
1444 static int malloc_active = 0; variable1448 if (!malloc_active) in dnmalloc_mutex_lock()1450 ++malloc_active; in dnmalloc_mutex_lock()1453 assert(malloc_active == 0); in dnmalloc_mutex_lock()1460 --malloc_active; in dnmalloc_mutex_unlock()1476 static int malloc_active = 0; variable1548 if (!malloc_active) in dnmalloc_mutex_lock()1550 ++malloc_active; in dnmalloc_mutex_lock()1553 assert(malloc_active == 0); in dnmalloc_mutex_lock()1566 --malloc_active; in dnmalloc_mutex_unlock()