Lines Matching refs:level

241     rt_ubase_t level = rt_spin_lock_irqsave(&_syscon_lock);  in _console_take()  local
261 rt_spin_unlock_irqrestore(&_syscon_lock, level); in _console_take()
263 level = rt_spin_lock_irqsave(&_syscon_lock); in _console_take()
269 rt_spin_unlock_irqrestore(&_syscon_lock, level); in _console_take()
274 rt_ubase_t level = rt_spin_lock_irqsave(&_syscon_lock); in _console_release() local
292 rt_spin_unlock_irqrestore(&_syscon_lock, level); in _console_release()
297 #define PRINTF_BUFFER_TAKE rt_ubase_t level = rt_spin_lock_irqsave(&_prbuf_lock)
298 #define PRINTF_BUFFER_RELEASE rt_spin_unlock_irqrestore(&_prbuf_lock, level)
674 rt_inline void _heap_unlock(rt_base_t level) in _heap_unlock() argument
677 rt_spin_unlock_irqrestore(&_heap_spinlock, level); in _heap_unlock()
679 RT_ASSERT(level == RT_EOK); in _heap_unlock()
694 void rt_heap_unlock(rt_base_t level) __attribute__((alias("_heap_unlock")));
809 rt_base_t level; in rt_malloc() local
813 level = _heap_lock(); in rt_malloc()
817 _heap_unlock(level); in rt_malloc()
835 rt_base_t level; in rt_realloc() local
841 level = _heap_lock(); in rt_realloc()
845 _heap_unlock(level); in rt_realloc()
888 rt_base_t level; in rt_free() local
895 level = _heap_lock(); in rt_free()
898 _heap_unlock(level); in rt_free()
916 rt_base_t level; in rt_memory_info() local
919 level = _heap_lock(); in rt_memory_info()
922 _heap_unlock(level); in rt_memory_info()
929 rt_base_t level; in rt_page_alloc() local
933 level = _heap_lock(); in rt_page_alloc()
937 _heap_unlock(level); in rt_page_alloc()
943 rt_base_t level; in rt_page_free() local
946 level = _heap_lock(); in rt_page_free()
950 _heap_unlock(level); in rt_page_free()