Searched refs:ma_lock (Results 1 – 3 of 3) sorted by relevance
220 spinlock_t ma_lock; member234 .ma_lock = __SPIN_LOCK_UNLOCKED((name).ma_lock), \258 #define mtree_lock(mt) spin_lock((&(mt)->ma_lock))259 #define mtree_unlock(mt) spin_unlock((&(mt)->ma_lock))408 #define mas_lock(mas) spin_lock(&((mas)->tree->ma_lock))409 #define mas_unlock(mas) spin_unlock(&((mas)->tree->ma_lock))621 spin_lock_init(&mt->ma_lock); in mt_init_flags()
109 Takes ma_lock internally:136 You can use the ma_lock, RCU or an external lock for protection.
800 lockdep_is_held(&mt->ma_lock); in mt_write_locked()806 lockdep_is_held(&mt->ma_lock); in mt_locked()1729 __must_hold(mas->tree->ma_lock) in mas_put_in_tree()1758 __must_hold(mas->tree->ma_lock) in mas_replace_node()1770 __must_hold(mas->tree->ma_lock) in mas_find_child()6192 __must_hold(mas->tree->ma_lock) in mas_nomem()