Home
last modified time | relevance | path

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

/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dxarray.rst266 如果xa_state持有 ``ENOMEM`` 错误,调用xas_nomem()将尝试使用指定的gfp标志分配更多的内存,并将其缓
268 况下分配内存,但它更有可能失败。一旦你放弃了锁,xas_nomem()可以更努力地尝试分配更多内存。如果值得重
/linux-6.6.21/tools/testing/radix-tree/
Diteration_check.c39 if (xas_nomem(&xas, GFP_KERNEL)) in my_item_insert()
Dmultiorder.c25 } while (xas_nomem(&xas, GFP_KERNEL)); in item_insert_order()
/linux-6.6.21/mm/
Dlist_lru.c523 if (xas_nomem(&xas, gfp)) in memcg_list_lru_alloc()
543 xas_nomem(&xas, gfp); in memcg_list_lru_alloc()
Dswap_state.c125 } while (xas_nomem(&xas, gfp)); in add_to_swap_cache()
Dkhugepaged.c1827 if (!xas_nomem(&xas, GFP_KERNEL)) { in collapse_file()
Dfilemap.c915 } while (xas_nomem(&xas, gfp)); in __filemap_add_folio()
Dshmem.c813 } while (xas_nomem(&xas, gfp)); in shmem_add_to_page_cache()
/linux-6.6.21/lib/
Dtest_xarray.c81 } while (xas_nomem(&xas, gfp)); in xa_store_order()
505 } while (xas_nomem(&xas, GFP_KERNEL)); in check_xas_erase()
513 } while (xas_nomem(&xas, GFP_KERNEL)); in check_xas_erase()
884 if (xas_nomem(&xas, GFP_KERNEL)) { in __check_store_iter()
1398 } while (xas_nomem(&xas, GFP_KERNEL)); in xa_store_many_order()
1457 } while (xas_nomem(&xas, GFP_KERNEL)); in check_create_range_4()
1479 } while (xas_nomem(&xas, GFP_KERNEL)); in check_create_range_5()
1688 } while (xas_nomem(&xas, GFP_KERNEL)); in check_workingset()
Didr.c454 if (xas_nomem(&xas, gfp)) { in ida_alloc_range()
Dxarray.c298 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem() function
314 EXPORT_SYMBOL_GPL(xas_nomem);
1746 } while (xas_nomem(&xas, gfp)); in xa_store_range()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_mr.c124 } while (xas_nomem(&xas, GFP_KERNEL)); in rxe_mr_fill_pages_from_sgt()
177 } while (xas_nomem(&xas, GFP_KERNEL)); in rxe_mr_alloc()
/linux-6.6.21/fs/cachefiles/
Dondemand.c381 } while (xas_nomem(&xas, GFP_KERNEL)); in cachefiles_ondemand_send_req()
/linux-6.6.21/drivers/iommu/iommufd/
Dpages.c592 xas_nomem(&xas, GFP_KERNEL); in pages_to_xarray()
604 } while (xas_nomem(&xas, GFP_KERNEL)); in pages_to_xarray()
/linux-6.6.21/include/linux/
Dxarray.h1543 bool xas_nomem(struct xa_state *, gfp_t);
/linux-6.6.21/Documentation/core-api/
Dxarray.rst337 If the xa_state is holding an ``ENOMEM`` error, calling xas_nomem()
342 likely to fail. Once you have dropped the lock, xas_nomem()
/linux-6.6.21/fs/
Ddax.c647 if (xas_nomem(xas, mapping_gfp_mask(mapping) & ~__GFP_HIGHMEM)) in grab_mapping_entry()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmr.c190 if (!xas_nomem(&xas, GFP_KERNEL)) in push_mkey_locked()