Searched refs:lockname (Results 1 – 7 of 7) sorted by relevance
/include/linux/ |
D | spinlock_types.h | 39 # define SPIN_DEP_MAP_INIT(lockname) .dep_map = { .name = #lockname } argument 41 # define SPIN_DEP_MAP_INIT(lockname) argument 45 # define SPIN_DEBUG_INIT(lockname) \ argument 50 # define SPIN_DEBUG_INIT(lockname) argument 53 #define __RAW_SPIN_LOCK_INITIALIZER(lockname) \ argument 56 SPIN_DEBUG_INIT(lockname) \ 57 SPIN_DEP_MAP_INIT(lockname) } 59 #define __RAW_SPIN_LOCK_UNLOCKED(lockname) \ argument 60 (raw_spinlock_t) __RAW_SPIN_LOCK_INITIALIZER(lockname) 78 #define __SPIN_LOCK_INITIALIZER(lockname) \ argument [all …]
|
D | rwlock_types.h | 28 # define RW_DEP_MAP_INIT(lockname) .dep_map = { .name = #lockname } argument 30 # define RW_DEP_MAP_INIT(lockname) argument 34 #define __RW_LOCK_UNLOCKED(lockname) \ argument 39 RW_DEP_MAP_INIT(lockname) } 41 #define __RW_LOCK_UNLOCKED(lockname) \ argument 43 RW_DEP_MAP_INIT(lockname) }
|
D | mutex.h | 85 # define __DEBUG_MUTEX_INITIALIZER(lockname) argument 104 # define __DEP_MAP_MUTEX_INITIALIZER(lockname) \ argument 105 , .dep_map = { .name = #lockname } 107 # define __DEP_MAP_MUTEX_INITIALIZER(lockname) argument 110 #define __MUTEX_INITIALIZER(lockname) \ argument 112 , .wait_lock = __SPIN_LOCK_UNLOCKED(lockname.wait_lock) \ 113 , .wait_list = LIST_HEAD_INIT(lockname.wait_list) \ 114 __DEBUG_MUTEX_INITIALIZER(lockname) \ 115 __DEP_MAP_MUTEX_INITIALIZER(lockname) }
|
D | mutex-debug.h | 12 #define __DEBUG_MUTEX_INITIALIZER(lockname) \ argument 13 , .magic = &lockname
|
D | rwsem.h | 63 # define __RWSEM_DEP_MAP_INIT(lockname) , .dep_map = { .name = #lockname } argument 65 # define __RWSEM_DEP_MAP_INIT(lockname) argument 69 #define __RWSEM_OPT_INIT(lockname) , .osq = OSQ_LOCK_UNLOCKED, .owner = NULL argument 71 #define __RWSEM_OPT_INIT(lockname) argument
|
D | seqlock.h | 64 # define SEQCOUNT_DEP_MAP_INIT(lockname) \ argument 65 .dep_map = { .name = #lockname } \ 85 # define SEQCOUNT_DEP_MAP_INIT(lockname) argument 90 #define SEQCNT_ZERO(lockname) { .sequence = 0, SEQCOUNT_DEP_MAP_INIT(lockname)} argument 290 #define __SEQLOCK_UNLOCKED(lockname) \ argument 292 .seqcount = SEQCNT_ZERO(lockname), \ 293 .lock = __SPIN_LOCK_UNLOCKED(lockname) \
|
D | ww_mutex.h | 54 # define __WW_CLASS_MUTEX_INITIALIZER(lockname, ww_class) \ argument 57 # define __WW_CLASS_MUTEX_INITIALIZER(lockname, ww_class) argument 65 #define __WW_MUTEX_INITIALIZER(lockname, class) \ argument 66 { .base = { \__MUTEX_INITIALIZER(lockname) } \ 67 __WW_CLASS_MUTEX_INITIALIZER(lockname, class) }
|