Home
last modified time | relevance | path

Searched refs:xa_lock (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/include/linux/
Dxarray.h12 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock)
13 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) macro
14 #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)
Dradix-tree.h113 spinlock_t xa_lock; member
119 .xa_lock = __SPIN_LOCK_UNLOCKED(name.xa_lock), \
129 spin_lock_init(&(root)->xa_lock); \
Didr.h101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt)
Dbacking-dev.h341 !lockdep_is_held(&inode->i_mapping->i_pages.xa_lock) && in inode_to_wb()
/Linux-v4.19/fs/
Ddax.c190 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()
Dfs-writeback.c381 &mapping->i_pages.xa_lock); in inode_switch_wbs_work_fn()
391 &mapping->i_pages.xa_lock); in inode_switch_wbs_work_fn()
/Linux-v4.19/drivers/staging/erofs/
Dinternal.h173 #define erofs_workstn_lock(sbi) xa_lock(&(sbi)->workstn_tree)
/Linux-v4.19/mm/
Dkhugepaged.c1371 &mapping->i_pages.xa_lock); in collapse_shmem()
1414 &mapping->i_pages.xa_lock), page); in collapse_shmem()
Dfilemap.c129 &mapping->i_pages.xa_lock); in page_cache_tree_insert()
338 &mapping->i_pages.xa_lock); in page_cache_tree_delete_batch()
Dmigrate.c481 &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()
Dhuge_memory.c2660 xa_lock(&mapping->i_pages); in split_huge_page_to_list()
2668 &mapping->i_pages.xa_lock) != head) in split_huge_page_to_list()