Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ spin_lock
Function
spin_lock
components/drivers/pci/probe.c:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
#include
"procfs.h"
21
22
rt_inline void spin_lock(struct rt_spinlock *spinlock)
23
{
24
rt_hw_spin_lock(&spinlock->lock);
25
}
26
27
rt_inline void spin_unlock(struct rt_spinlock *spinlock)
28
{
Callers
3
rt_pci_alloc_device
Function · 0.70
rt_pci_bus_remove
Function · 0.70
rt_pci_device_remove
Function · 0.70
Calls
1
rt_hw_spin_lock
Function · 0.50
Tested by
no test coverage detected