Searched refs:xa_reserve (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/lib/ |
D | test_xarray.c | 434 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/ |
D | xarray.rst | 98 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/ |
D | xarray.h | 1040 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve() function
|
/Linux-v5.10/drivers/infiniband/core/ |
D | device.c | 897 ret = xa_reserve(&device->compat_devs, rnet->id, GFP_KERNEL); in add_one_compat_dev()
|