MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / region_pool_lock

Function region_pool_lock

components/drivers/dma/dma_pool.c:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 void *cpu_addr, rt_ubase_t dma_handle, rt_ubase_t flags);
31
32rt_inline void region_pool_lock(void)
33{
34 rt_hw_spin_lock(&dma_pools_lock.lock);
35}
36
37rt_inline void region_pool_unlock(void)
38{

Callers 4

dma_allocFunction · 0.85
dma_freeFunction · 0.85
dma_pool_installFunction · 0.85
list_dma_poolFunction · 0.85

Calls 1

rt_hw_spin_lockFunction · 0.50

Tested by

no test coverage detected