Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
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))
Dcleanup.h105 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
Dmutex.h223 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
Ddevice.h1010 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function