Home
last modified time | relevance | path

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

/Linux-v5.10/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()
1607 XA_BUG_ON(xa, xa_reserve(xa, 0, GFP_KERNEL) != 0); in check_align_2()
/Linux-v5.10/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-v5.10/include/linux/
Dxarray.h1040 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve() function
/Linux-v5.10/drivers/infiniband/core/
Ddevice.c897 ret = xa_reserve(&device->compat_devs, rnet->id, GFP_KERNEL); in add_one_compat_dev()