| /Linux-v5.15/include/linux/ |
| D | xarray.h | 295 spinlock_t xa_lock; member 302 .xa_lock = __SPIN_LOCK_UNLOCKED(name.xa_lock), \ 378 spin_lock_init(&xa->xa_lock); in xa_init_flags() 529 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock) 530 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) macro 531 #define xa_unlock(xa) spin_unlock(&(xa)->xa_lock) 532 #define xa_lock_bh(xa) spin_lock_bh(&(xa)->xa_lock) 533 #define xa_unlock_bh(xa) spin_unlock_bh(&(xa)->xa_lock) 534 #define xa_lock_irq(xa) spin_lock_irq(&(xa)->xa_lock) 535 #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()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/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 | 119 xa_lock(&rt->xa); in rdma_restrack_count() 290 xa_lock(&rt->xa); in rdma_restrack_get_byid()
|
| D | counters.c | 258 xa_lock(&rt->xa); in rdma_get_counter_auto_mode() 370 xa_lock(&rt->xa); in get_running_counters_hwstat_sum() 385 xa_lock(&rt->xa); in get_running_counters_hwstat_sum()
|
| D | ucma.c | 142 xa_lock(&ctx_table); in ucma_get_ctx() 358 xa_lock(&ctx_table); in ucma_event_handler() 602 xa_lock(&ctx_table); in ucma_destroy_id() 1564 xa_lock(&multicast_table); in ucma_leave_multicast() 1637 xa_lock(&ctx_table); in ucma_migrate_id()
|
| D | nldev.c | 772 xa_lock(&rt->xa); in fill_res_srq_qps() 897 xa_lock(&rt->xa); in fill_stat_counter_qps() 1541 xa_lock(&rt->xa); in res_get_common_dumpit() 1575 again: xa_lock(&rt->xa); in res_get_common_dumpit()
|
| /Linux-v5.15/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 …]
|
| /Linux-v5.15/arch/arm64/mm/ |
| D | mteswap.c | 86 xa_lock(&mte_pages); in mte_invalidate_tags_area()
|
| /Linux-v5.15/arch/arm64/kernel/ |
| D | hibernate.c | 273 xa_lock(&mte_pages); in swsusp_mte_free_storage() 324 xa_lock(&mte_pages); in swsusp_mte_restore_tags()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/fs/erofs/ |
| D | utils.c | 81 xa_lock(&sbi->managed_pslots); in erofs_insert_workgroup()
|
| /Linux-v5.15/lib/ |
| D | xarray.c | 325 __must_hold(xas->xa->xa_lock) in __xas_nomem() 1510 xa_lock(xa); in xa_erase() 1574 xa_lock(xa); in xa_store() 1965 xa_lock(xa); in xa_set_mark() 1983 xa_lock(xa); in xa_clear_mark()
|
| D | test_xarray.c | 1645 xa_lock(xa); in shadow_remove()
|
| /Linux-v5.15/drivers/infiniband/hw/mlx5/ |
| D | odp.c | 453 xa_lock(&imr->implicit_children); in implicit_get_child_mr() 625 xa_lock(&imr->implicit_children); in pagefault_implicit_mr() 845 xa_lock(&dev->odp_mkeys); in pagefault_single_data_segment() 1709 xa_lock(&dev->odp_mkeys); in get_prefetchable_mr()
|
| D | srq_cmd.c | 740 xa_lock(&table->array); in srq_event_notifier()
|
| D | cq.c | 549 xa_lock(&dev->sig_mrs); in mlx5_poll_one()
|
| /Linux-v5.15/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 | 102 xa_lock(&hr_dev->qp_table_xa); in hns_roce_qp_event()
|
| /Linux-v5.15/drivers/vfio/ |
| D | vfio.c | 113 xa_lock(&vfio_device_set_xa); in vfio_assign_device_set() 126 xa_lock(&vfio_device_set_xa); in vfio_assign_device_set() 162 xa_lock(&vfio_device_set_xa); in vfio_release_device_set()
|
| /Linux-v5.15/drivers/gpu/drm/tegra/ |
| D | submit.c | 121 xa_lock(&context->mappings); in tegra_drm_mapping_get()
|
| /Linux-v5.15/drivers/infiniband/hw/qedr/ |
| D | qedr_iw_cm.c | 522 xa_lock(&dev->qps); in qedr_iw_load_qp()
|
| /Linux-v5.15/mm/ |
| D | huge_memory.c | 2423 xa_lock(&swap_cache->i_pages); in __split_huge_page() 2689 xa_lock(&mapping->i_pages); in split_huge_page_to_list()
|