Searched refs:ma_lock (Results 1 – 4 of 4) sorted by relevance
233 spinlock_t ma_lock; member247 .ma_lock = __SPIN_LOCK_UNLOCKED((name).ma_lock), \271 #define mtree_lock(mt) spin_lock((&(mt)->ma_lock))273 spin_lock_nested((&(mt)->ma_lock), subclass)274 #define mtree_unlock(mt) spin_unlock((&(mt)->ma_lock))468 #define mas_lock(mas) spin_lock(&((mas)->tree->ma_lock))470 spin_lock_nested(&((mas)->tree->ma_lock), subclass)471 #define mas_unlock(mas) spin_unlock(&((mas)->tree->ma_lock))790 spin_lock_init(&mt->ma_lock); in mt_init_flags()
112 Takes ma_lock internally:140 You can use the ma_lock, RCU or an external lock for protection.
777 lockdep_is_held(&mt->ma_lock); in mt_write_locked()783 lockdep_is_held(&mt->ma_lock); in mt_locked()1708 __must_hold(mas->tree->ma_lock) in mas_put_in_tree()1737 __must_hold(mas->tree->ma_lock) in mas_replace_node()1749 __must_hold(mas->tree->ma_lock) in mas_find_child()6280 __must_hold(mas->tree->ma_lock) in mas_nomem()7582 __must_hold(mas->tree->ma_lock) in mt_validate()
269 lockdep_set_class(&octx->mt.ma_lock, &simple_offset_lock_class); in simple_offset_init()