Searched refs:ma_lock (Results 1 – 4 of 4) sorted by relevance
262 spinlock_t ma_lock; member278 .ma_lock = __SPIN_LOCK_UNLOCKED((name).ma_lock), \302 #define mtree_lock(mt) spin_lock((&(mt)->ma_lock))304 spin_lock_nested((&(mt)->ma_lock), subclass)305 #define mtree_unlock(mt) spin_unlock((&(mt)->ma_lock))509 #define mas_lock(mas) spin_lock(&((mas)->tree->ma_lock))511 spin_lock_nested(&((mas)->tree->ma_lock), subclass)512 #define mas_unlock(mas) spin_unlock(&((mas)->tree->ma_lock))853 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()
125 Takes ma_lock internally:153 You can use the ma_lock, RCU or an external lock for protection.
664 lockdep_is_held(&mt->ma_lock); in mt_write_locked()670 lockdep_is_held(&mt->ma_lock); in mt_locked()1162 return &(mt->ma_lock).dep_map; in mas_lockdep_map()1635 __must_hold(mas->tree->ma_lock) in mas_put_in_tree()1665 __must_hold(mas->tree->ma_lock) in mas_replace_node()1677 __must_hold(mas->tree->ma_lock) in mas_find_child()5721 __must_hold(mas->tree->ma_lock) in mas_nomem()5764 __must_hold(mas->tree->ma_lock) in mas_nomem_nofail()7087 __must_hold(mas->tree->ma_lock) in mt_validate()