Home
last modified time | relevance | path

Searched refs:xas_nomem (Results 1 – 15 of 15) sorted by relevance

/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst266 如果xa_state持有 ``ENOMEM`` 错误,调用xas_nomem()将尝试使用指定的gfp标志分配更多的内存,并将其缓
268 况下分配内存,但它更有可能失败。一旦你放弃了锁,xas_nomem()可以更努力地尝试分配更多内存。如果值得重
/linux/lib/
H A Dtest_xarray.c81 } while (xas_nomem(&xas, gfp)); in xa_store_order()
558 } while (xas_nomem(&xas, GFP_KERNEL)); in check_xas_erase()
566 } while (xas_nomem(&xas, GFP_KERNEL)); in check_xas_erase()
757 } while (xas_nomem(&xas, GFP_KERNEL)); in check_xa_multi_store_adv_add()
1130 if (xas_nomem(&xas, GFP_KERNEL)) { in __check_store_iter()
1680 } while (xas_nomem(&xas, GFP_KERNEL)); in xa_store_many_order()
1739 } while (xas_nomem(&xas, GFP_KERNEL)); in check_create_range_4()
1761 } while (xas_nomem(&xas, GFP_KERNEL)); in check_create_range_5()
1886 XA_BUG_ON(xa, !xas_nomem(&xas, GFP_KERNEL)); in check_split_2()
2034 } while (xas_nomem(&xas, GFP_KERNEL)); in check_workingset()
[all …]
H A Didr.c456 if (xas_nomem(&xas, gfp)) { in ida_alloc_range()
H A Dxarray.c301 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem() function
317 EXPORT_SYMBOL_GPL(xas_nomem);
1902 } while (xas_nomem(&xas, gfp)); in xa_store_range()
/linux/tools/testing/radix-tree/
H A Diteration_check.c39 if (xas_nomem(&xas, GFP_KERNEL)) in my_item_insert()
H A Dmultiorder.c25 } while (xas_nomem(&xas, GFP_KERNEL)); in item_insert_order()
/linux/mm/
H A Dlist_lru.c556 } while (xas_nomem(&xas, gfp)); in memcg_list_lru_alloc()
H A Dkhugepaged.c1887 if (!xas_nomem(&xas, GFP_KERNEL)) { in collapse_file()
H A Dshmem.c929 } while (xas_nomem(&xas, gfp)); in shmem_add_to_page_cache()
2277 if (!xas_nomem(&xas, gfp)) in shmem_split_large_entry()
H A Dfilemap.c932 if (!xas_nomem(&xas, gfp)) in __filemap_add_folio()
/linux/fs/cachefiles/
H A Dondemand.c575 } while (xas_nomem(&xas, GFP_KERNEL)); in cachefiles_ondemand_send_req()
/linux/Documentation/core-api/
H A Dxarray.rst339 If the xa_state is holding an ``ENOMEM`` error, calling xas_nomem()
344 likely to fail. Once you have dropped the lock, xas_nomem()
/linux/include/linux/
H A Dxarray.h1553 bool xas_nomem(struct xa_state *, gfp_t);
/linux/drivers/iommu/iommufd/
H A Dpages.c630 xas_nomem(&xas, GFP_KERNEL); in pages_to_xarray()
642 } while (xas_nomem(&xas, GFP_KERNEL)); in pages_to_xarray()
/linux/fs/
H A Ddax.c724 if (xas_nomem(xas, mapping_gfp_mask(mapping) & ~__GFP_HIGHMEM)) in grab_mapping_entry()