Searched refs:ma_lock (Results 1 – 5 of 5) 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))804 spin_lock_init(&mt->ma_lock); in mt_init_flags()
358 lockdep_set_class_and_subclass(&mt->ma_lock, map->lock_key, 1); in regcache_maple_init()
112 Takes ma_lock internally:140 You can use the ma_lock, RCU or an external lock for protection.
788 lockdep_is_held(&mt->ma_lock); in mt_write_locked()794 lockdep_is_held(&mt->ma_lock); in mt_locked()1718 __must_hold(mas->tree->ma_lock) in mas_put_in_tree()1747 __must_hold(mas->tree->ma_lock) in mas_replace_node()1759 __must_hold(mas->tree->ma_lock) in mas_find_child()6235 __must_hold(mas->tree->ma_lock) in mas_nomem()7539 __must_hold(mas->tree->ma_lock) in mt_validate()
280 lockdep_set_class(&octx->mt.ma_lock, &simple_offset_lock_class); in simple_offset_init()