Searched refs:DEFINE_GUARD (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | rwsem.h | 205 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 D | cleanup.h | 105 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
|
H A D | mutex.h | 250 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
|
H A D | device.h | 1010 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function
|
H A D | pci.h | 1831 DEFINE_GUARD(pci_dev, struct pci_dev *, pci_dev_lock(_T), pci_dev_unlock(_T))
|