/kernel/linux/linux-5.10/include/linux/ |
D | xarray.h | 293 spinlock_t xa_lock; member 300 .xa_lock = __SPIN_LOCK_UNLOCKED(name.xa_lock), \ 376 spin_lock_init(&xa->xa_lock); in xa_init_flags() 527 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock) 528 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) macro 529 #define xa_unlock(xa) spin_unlock(&(xa)->xa_lock) 530 #define xa_lock_bh(xa) spin_lock_bh(&(xa)->xa_lock) 531 #define xa_unlock_bh(xa) spin_unlock_bh(&(xa)->xa_lock) 532 #define xa_lock_irq(xa) spin_lock_irq(&(xa)->xa_lock) 533 #define xa_unlock_irq(xa) spin_unlock_irq(&(xa)->xa_lock) [all …]
|
D | idr.h | 101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt)
|
D | backing-dev.h | 285 !lockdep_is_held(&inode->i_mapping->i_pages.xa_lock) && in inode_to_wb()
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | regression1.c | 128 xa_lock(&mt_tree); in regression1_fn() 133 xa_lock(&mt_tree); in regression1_fn() 137 xa_lock(&mt_tree); in regression1_fn() 145 xa_lock(&mt_tree); in regression1_fn()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | ib_core_uverbs.c | 125 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff() 190 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_free() 235 xa_lock(&entry->ucontext->mmap_xa); in rdma_user_mmap_entry_remove() 287 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_insert_range()
|
D | restrack.c | 118 xa_lock(&rt->xa); in rdma_restrack_count() 276 xa_lock(&rt->xa); in rdma_restrack_get_byid()
|
D | counters.c | 231 xa_lock(&rt->xa); in rdma_get_counter_auto_mode() 360 xa_lock(&rt->xa); in get_running_counters_hwstat_sum() 375 xa_lock(&rt->xa); in get_running_counters_hwstat_sum()
|
D | ucma.c | 144 xa_lock(&ctx_table); in ucma_get_ctx() 361 xa_lock(&ctx_table); in ucma_event_handler() 492 xa_lock(&multicast_table); in ucma_cleanup_multicast() 605 xa_lock(&ctx_table); in ucma_destroy_id() 1475 xa_lock(&multicast_table); in ucma_process_join() 1510 xa_lock(&multicast_table); in ucma_process_join() 1574 xa_lock(&multicast_table); in ucma_leave_multicast() 1649 xa_lock(&ctx_table); in ucma_migrate_id()
|
D | nldev.c | 761 xa_lock(&rt->xa); in fill_stat_counter_qps() 1392 xa_lock(&rt->xa); in res_get_common_dumpit() 1426 again: xa_lock(&rt->xa); in res_get_common_dumpit()
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | utils.c | 94 xa_lock(&sbi->managed_pslots); in erofs_insert_workgroup() 172 xa_lock(&sbi->managed_pslots); in erofs_shrink_workstation() 182 xa_lock(&sbi->managed_pslots); in erofs_shrink_workstation()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | xarray.rst | 203 Takes xa_lock internally: 227 Assumes xa_lock held on entry: 237 that you are storing in the XArray, you can call xa_lock() 272 xa_lock(&foo->array); 283 coverage of the xa_lock on the store side to protect some statistics 288 context, or xa_lock_irq() in process context and xa_lock() 297 the xa_lock; the xa_lock is used for lockdep validation and will be used 311 to use the xa_lock while modifying the array. You can choose whether 312 to use the xa_lock or the RCU lock while doing read-only operations on 336 the xa_lock, attempt the operation and drop the lock. The operation [all …]
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | mteswap.c | 77 xa_lock(&mte_pages); in mte_invalidate_tags_area()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | cm.c | 365 xa_lock(&sriov->xa_rej_tmout); in alloc_rej_tmout() 410 xa_lock(&sriov->xa_rej_tmout); in lookup_rej_tmout_slave() 500 xa_lock(&sriov->xa_rej_tmout); in rej_tmout_xa_cleanup()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | hibernate.c | 318 xa_lock(&mte_pages); in swsusp_mte_free_storage() 369 xa_lock(&mte_pages); in swsusp_mte_restore_tags()
|
/kernel/linux/linux-5.10/lib/ |
D | xarray.c | 325 __must_hold(xas->xa->xa_lock) in __xas_nomem() 1513 xa_lock(xa); in xa_erase() 1577 xa_lock(xa); in xa_store() 1968 xa_lock(xa); in xa_set_mark() 1986 xa_lock(xa); in xa_clear_mark()
|
D | test_xarray.c | 1667 xa_lock(xa); in shadow_remove()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 17 xa_lock(&srq_table->xa); in hns_roce_srq_event()
|
D | hns_roce_qp.c | 88 xa_lock(&hr_dev->qp_table_xa); in hns_roce_qp_event()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr_iw_cm.c | 522 xa_lock(&dev->qps); in qedr_iw_load_qp()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | odp.c | 267 xa_lock(&imr->implicit_children); in destroy_unused_implicit_child_mr() 620 xa_lock(&imr->implicit_children); in mlx5_ib_free_implicit_mr()
|
D | srq_cmd.c | 668 xa_lock(&table->array); in srq_event_notifier()
|
D | cq.c | 549 xa_lock(&dev->sig_mrs); in mlx5_poll_one()
|
/kernel/linux/linux-5.10/mm/ |
D | huge_memory.c | 2464 xa_lock(&swap_cache->i_pages); in __split_huge_page() 2725 xa_lock(&mapping->i_pages); in split_huge_page_to_list()
|