Searched refs:gc_lock_depth (Results 1 – 4 of 4) sorted by relevance
153 MP_STATE_MEM(gc_lock_depth) = 0; in gc_init()178 MP_STATE_MEM(gc_lock_depth)++; in gc_lock()184 MP_STATE_MEM(gc_lock_depth)--; in gc_unlock()189 return MP_STATE_MEM(gc_lock_depth) != 0; in gc_is_locked()323 MP_STATE_MEM(gc_lock_depth)++; in gc_collect_start()363 MP_STATE_MEM(gc_lock_depth)--; in gc_collect_end()369 MP_STATE_MEM(gc_lock_depth)++; in gc_sweep_all()451 if (MP_STATE_MEM(gc_lock_depth) > 0) { in gc_alloc()577 if (MP_STATE_MEM(gc_lock_depth) > 0) { in gc_free()681 if (MP_STATE_MEM(gc_lock_depth) > 0) { in gc_realloc()
133 return MP_OBJ_NEW_SMALL_INT(MP_STATE_MEM(gc_lock_depth)); in mp_micropython_heap_unlock()139 return MP_OBJ_NEW_SMALL_INT(MP_STATE_MEM(gc_lock_depth)); in mp_micropython_heap_locked()
84 uint16_t gc_lock_depth; member
591 if (MP_STATE_MEM(gc_lock_depth) != 0) { in pyexec_friendly_repl()592 MP_STATE_MEM(gc_lock_depth) = 0; in pyexec_friendly_repl()
Completed in 8 milliseconds