Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/machine/amdgcn/
Dmlock.c37 static int __heap_lock_cnt = 0; variable
80 if (__heap_lock_cnt < 1) in __malloc_lock()
82 ++__heap_lock_cnt; in __malloc_lock()
93 if (__heap_lock_cnt != 0) in __malloc_lock()
96 __heap_lock_cnt = 1; in __malloc_lock()
107 if (__heap_lock_cnt < 1) in __malloc_unlock()
110 --__heap_lock_cnt; in __malloc_unlock()
112 if (__heap_lock_cnt > 0) in __malloc_unlock()