Searched refs:xa_reserve (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/lib/ |
| D | test_xarray.c | 405 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve() 412 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve() 419 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve() 427 XA_BUG_ON(xa, xa_reserve(xa, 12345678, GFP_KERNEL) != 0); in check_reserve() 436 XA_BUG_ON(xa, xa_reserve(xa, 6, GFP_KERNEL) != 0); in check_reserve() 1435 XA_BUG_ON(xa, xa_reserve(xa, 0, GFP_KERNEL) != 0); in check_align_2()
|
| /Linux-v5.4/Documentation/core-api/ |
| D | xarray.rst | 110 will not need to allocate memory. The xa_reserve() function 141 ``NULL`` will mark the entry as being in use, like xa_reserve(). 159 xa_reserve() and xa_insert() functions take a gfp_t 205 * xa_reserve()
|
| /Linux-v5.4/include/linux/ |
| D | xarray.h | 1005 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve() function
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | device.c | 888 ret = xa_reserve(&device->compat_devs, rnet->id, GFP_KERNEL); in add_one_compat_dev()
|