MCPcopy 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
22rt_inline void spin_lock(struct rt_spinlock *spinlock)
23{
24 rt_hw_spin_lock(&spinlock->lock);
25}
26
27rt_inline void spin_unlock(struct rt_spinlock *spinlock)
28{

Callers 3

rt_pci_alloc_deviceFunction · 0.70
rt_pci_bus_removeFunction · 0.70
rt_pci_device_removeFunction · 0.70

Calls 1

rt_hw_spin_lockFunction · 0.50

Tested by

no test coverage detected