Searched refs:ma_lock (Results 1 – 6 of 6) sorted by relevance
224 spinlock_t ma_lock; member240 .ma_lock = __SPIN_LOCK_UNLOCKED((name).ma_lock), \264 #define mtree_lock(mt) spin_lock((&(mt)->ma_lock))266 spin_lock_nested((&(mt)->ma_lock), subclass)267 #define mtree_unlock(mt) spin_unlock((&(mt)->ma_lock))464 #define mas_lock(mas) spin_lock(&((mas)->tree->ma_lock))466 spin_lock_nested(&((mas)->tree->ma_lock), subclass)467 #define mas_unlock(mas) spin_unlock(&((mas)->tree->ma_lock))806 spin_lock_init(&mt->ma_lock); in mt_init_flags()
240 unsafe { bindings::spin_lock(self.ma_lock()) }; in lock()247 fn ma_lock(&self) -> *mut bindings::spinlock_t { in ma_lock() method249 let lock_ptr = unsafe { &raw mut (*self.tree.get()).__bindgen_anon_1.ma_lock }; in ma_lock()317 unsafe { bindings::spin_unlock(self.0.ma_lock()) }; in drop()
305 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.
724 lockdep_is_held(&mt->ma_lock); in mt_write_locked()730 lockdep_is_held(&mt->ma_lock); in mt_locked()1548 __must_hold(mas->tree->ma_lock) in mas_put_in_tree()1578 __must_hold(mas->tree->ma_lock) in mas_replace_node()1590 __must_hold(mas->tree->ma_lock) in mas_find_child()5843 __must_hold(mas->tree->ma_lock) in mas_nomem()7151 __must_hold(mas->tree->ma_lock) in mt_validate()
278 lockdep_set_class(&octx->mt.ma_lock, &simple_offset_lock_class); in simple_offset_init()