Searched refs:xa_lock (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/include/linux/
H A Dxarray.h282 * @xa_lock: Lock that protects the contents of the XArray.
288 * You may use the xa_lock to protect your own data structures as well.
297 spinlock_t xa_lock; member in struct:xarray
304 .xa_lock = __SPIN_LOCK_UNLOCKED(name.xa_lock), \
380 spin_lock_init(&xa->xa_lock);
531 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock)
532 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) macro
533 #define xa_unlock(xa) spin_unlock(&(xa)->xa_lock)
[all...]
H A Didr.h101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt)
H A Dbacking-dev.h253 !lockdep_is_held(&inode->i_mapping->i_pages.xa_lock) &&
/linux-master/tools/testing/radix-tree/
H A Dregression1.c128 xa_lock(&mt_tree);
133 xa_lock(&mt_tree);
137 xa_lock(&mt_tree);
145 xa_lock(&mt_tree);
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_free_list.h142 xa_lock(&pvr_file->free_list_handles);
165 xa_lock(&pvr_dev->free_list_ids);
H A Dpvr_context.h143 xa_lock(&pvr_file->ctx_handles);
167 xa_lock(&pvr_dev->ctx_ids);
H A Dpvr_hwrt.h104 xa_lock(&pvr_file->hwrt_handles);
/linux-master/drivers/infiniband/core/
H A Dib_core_uverbs.c125 xa_lock(&ucontext->mmap_xa);
190 xa_lock(&ucontext->mmap_xa);
235 xa_lock(&entry->ucontext->mmap_xa);
287 xa_lock(&ucontext->mmap_xa);
H A Drestrack.c119 xa_lock(&rt->xa);
290 xa_lock(&rt->xa);
H A Dcounters.c290 xa_lock(&rt->xa);
402 xa_lock(&rt->xa);
417 xa_lock(&rt->xa);
H A Ducma.c143 xa_lock(&ctx_table);
360 xa_lock(&ctx_table);
491 xa_lock(&multicast_table);
604 xa_lock(&ctx_table);
1474 xa_lock(&multicast_table);
1509 xa_lock(&multicast_table);
1573 xa_lock(&multicast_table);
1644 * ctx->file can only be changed under the handler & xa_lock. xa_load()
1648 xa_lock(&ctx_table);
/linux-master/arch/arm64/mm/
H A Dmteswap.c79 xa_lock(&mte_pages);
/linux-master/fs/erofs/
H A Dutils.c82 xa_lock(&sbi->managed_pslots);
158 xa_lock(&sbi->managed_pslots);
168 xa_lock(&sbi->managed_pslots);
/linux-master/drivers/iommu/iommufd/
H A Dvfio_compat.c19 xa_lock(&ictx->objects);
59 xa_lock(&ictx->objects);
89 xa_lock(&ictx->objects);
143 xa_lock(&ucmd->ictx->objects);
150 xa_lock(&ucmd->ictx->objects);
H A Ddevice.c46 * not happen if we could get an igroup pointer under the xa_lock.
75 xa_lock(&ictx->groups);
108 xa_lock(&ictx->groups);
254 xa_lock(&ictx->objects);
936 xa_lock(&ioas->iopt.access_list);
945 xa_lock(&ioas->iopt.access_list);
H A Dmain.c115 xa_lock(&ictx->objects);
173 xa_lock(&ictx->objects);
H A Dioas.c338 xa_lock(&ictx->objects);
/linux-master/arch/arm64/kernel/
H A Dhibernate.c246 xa_lock(&mte_pages);
297 xa_lock(&mte_pages);
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcm.c366 xa_lock(&sriov->xa_rej_tmout);
411 xa_lock(&sriov->xa_rej_tmout);
501 xa_lock(&sriov->xa_rej_tmout);
/linux-master/fs/cachefiles/
H A Dondemand.c17 xa_lock(&cache->reqs);
307 xa_lock(&cache->reqs);
/linux-master/net/devlink/
H A Dregion.c285 xa_lock(&devlink->snapshot_ids);
327 xa_lock(&devlink->snapshot_ids);
369 xa_lock(&devlink->snapshot_ids);
H A Dcore.c207 xa_lock(&devlink_rels);
/linux-master/lib/
H A Dxarray.c232 * Context: Any context. The caller should hold the xa_lock or the RCU lock.
326 __must_hold(xas->xa->xa_lock)
1052 * Context: Any context. The caller should hold the xa_lock.
1391 * Context: Any context. Expects xa_lock to be held.
1489 * Context: Any context. Expects xa_lock to be held on entry.
1508 * Context: Any context. Takes and releases the xa_lock.
1515 xa_lock(xa);
1530 * You must already be holding the xa_lock when calling this function.
1534 * Context: Any context. Expects xa_lock to be held on entry. May
1535 * release and reacquire xa_lock i
[all...]
/linux-master/drivers/vfio/
H A Dvfio_main.c72 xa_lock(&vfio_device_set_xa);
85 xa_lock(&vfio_device_set_xa);
121 xa_lock(&vfio_device_set_xa);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dodp.c454 xa_lock(&imr->implicit_children);
626 xa_lock(&imr->implicit_children);
831 xa_lock(&dev->odp_mkeys);
1671 xa_lock(&dev->odp_mkeys);

Completed in 323 milliseconds

12