Home
last modified time | relevance | path

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

/include/linux/
Drwsem.h208 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
209 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T))
Dcleanup.h105 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
Dmutex.h225 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))