Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dmaple_tree.h213 spinlock_t ma_lock; member
227 .ma_lock = __SPIN_LOCK_UNLOCKED((name).ma_lock), \
251 #define mtree_lock(mt) spin_lock((&(mt)->ma_lock))
252 #define mtree_unlock(mt) spin_unlock((&(mt)->ma_lock))
401 #define mas_lock(mas) spin_lock(&((mas)->tree->ma_lock))
402 #define mas_unlock(mas) spin_unlock(&((mas)->tree->ma_lock))
578 spin_lock_init(&mt->ma_lock); in mt_init_flags()
/linux-6.1.9/Documentation/core-api/
Dmaple_tree.rst109 Takes ma_lock internally:
136 You can use the ma_lock, RCU or an external lock for protection.
/linux-6.1.9/lib/
Dmaple_tree.c801 lockdep_is_held(&mt->ma_lock); in mt_locked()