Home
last modified time | relevance | path

Searched refs:xa_reserve (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dxarray.rst83 有时你需要确保对xa_store()的后续调用将不需要分配内存。xa_reserve()函数将在指定索引处存储
122 将标记该条目为正在使用中,就像xa_reserve()。要释放一个条目,请使用xa_erase()(或者xa_release(),
135 xa_store(), xa_cmpxchg(), xa_alloc(), xa_reserve()和xa_insert()函数接受一个gfp_t参数,以
179 * xa_reserve()
/Linux-v6.6/lib/
Dtest_xarray.c434 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve()
441 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve()
448 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve()
456 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve()
465 XA_BUG_ON(xa, xa_reserve(xa, 6, GFP_KERNEL) != 0); in check_reserve()
1631 XA_BUG_ON(xa, xa_reserve(xa, 0, GFP_KERNEL) != 0); in check_align_2()
/Linux-v6.6/Documentation/core-api/
Dxarray.rst98 will not need to allocate memory. The xa_reserve() function
154 ``NULL`` will mark the entry as being in use, like xa_reserve().
172 xa_reserve() and xa_insert() functions take a gfp_t
220 * xa_reserve()
/Linux-v6.6/include/linux/
Dxarray.h1076 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve() function
/Linux-v6.6/drivers/iommu/iommufd/
Dio_pagetable.c882 rc = xa_reserve(&iopt->domains, iopt->next_domain_id, GFP_KERNEL); in iopt_table_add_domain()
/Linux-v6.6/drivers/infiniband/core/
Ddevice.c949 ret = xa_reserve(&device->compat_devs, rnet->id, GFP_KERNEL); in add_one_compat_dev()
/Linux-v6.6/virt/kvm/
Dkvm_main.c4008 r = xa_reserve(&kvm->vcpu_array, vcpu->vcpu_idx, GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_create_vcpu()