Home
last modified time | relevance | path

Searched refs:DEFINE_GUARD (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Drwsem.h205 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
206 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T))
H A Dcleanup.h105 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
H A Dmutex.h250 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
H A Ddevice.h1010 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function
H A Dpci.h1831 DEFINE_GUARD(pci_dev, struct pci_dev *, pci_dev_lock(_T), pci_dev_unlock(_T))