Searched refs:xa_lock (Results 1 – 11 of 11) sorted by relevance
12 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock)13 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) macro14 #define xa_unlock(xa) spin_unlock(&(xa)->xa_lock)15 #define xa_lock_bh(xa) spin_lock_bh(&(xa)->xa_lock)16 #define xa_unlock_bh(xa) spin_unlock_bh(&(xa)->xa_lock)17 #define xa_lock_irq(xa) spin_lock_irq(&(xa)->xa_lock)18 #define xa_unlock_irq(xa) spin_unlock_irq(&(xa)->xa_lock)20 spin_lock_irqsave(&(xa)->xa_lock, flags)22 spin_unlock_irqrestore(&(xa)->xa_lock, flags)
113 spinlock_t xa_lock; member119 .xa_lock = __SPIN_LOCK_UNLOCKED(name.xa_lock), \129 spin_lock_init(&(root)->xa_lock); \
101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt)
341 !lockdep_is_held(&inode->i_mapping->i_pages.xa_lock) && in inode_to_wb()
190 radix_tree_deref_slot_protected(slot, &mapping->i_pages.xa_lock); in slot_locked()200 radix_tree_deref_slot_protected(slot, &mapping->i_pages.xa_lock); in lock_slot()213 radix_tree_deref_slot_protected(slot, &mapping->i_pages.xa_lock); in unlock_slot()
381 &mapping->i_pages.xa_lock); in inode_switch_wbs_work_fn()391 &mapping->i_pages.xa_lock); in inode_switch_wbs_work_fn()
173 #define erofs_workstn_lock(sbi) xa_lock(&(sbi)->workstn_tree)
1371 &mapping->i_pages.xa_lock); in collapse_shmem()1414 &mapping->i_pages.xa_lock), page); in collapse_shmem()
129 &mapping->i_pages.xa_lock); in page_cache_tree_insert()338 &mapping->i_pages.xa_lock); in page_cache_tree_delete_batch()
481 &mapping->i_pages.xa_lock) != page) { in migrate_page_move_mapping()598 radix_tree_deref_slot_protected(pslot, &mapping->i_pages.xa_lock) != page) { in migrate_huge_page_move_mapping()
2660 xa_lock(&mapping->i_pages); in split_huge_page_to_list()2668 &mapping->i_pages.xa_lock) != head) in split_huge_page_to_list()