Searched refs:xa_reserve (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/Documentation/translations/zh_CN/core-api/ |
D | xarray.rst | 83 有时你需要确保对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.1/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() 1631 XA_BUG_ON(xa, xa_reserve(xa, 0, GFP_KERNEL) != 0); in check_align_2()
|
/Linux-v6.1/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-v6.1/include/linux/ |
D | xarray.h | 1058 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve() function
|
/Linux-v6.1/drivers/infiniband/core/ |
D | device.c | 949 ret = xa_reserve(&device->compat_devs, rnet->id, GFP_KERNEL); in add_one_compat_dev()
|