Searched refs:xas_nomem (Results 1 – 18 of 18) sorted by relevance
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | xarray.rst | 266 如果xa_state持有 ``ENOMEM`` 错误,调用xas_nomem()将尝试使用指定的gfp标志分配更多的内存,并将其缓 268 况下分配内存,但它更有可能失败。一旦你放弃了锁,xas_nomem()可以更努力地尝试分配更多内存。如果值得重
|
/linux-6.6.21/tools/testing/radix-tree/ |
D | iteration_check.c | 39 if (xas_nomem(&xas, GFP_KERNEL)) in my_item_insert()
|
D | multiorder.c | 25 } while (xas_nomem(&xas, GFP_KERNEL)); in item_insert_order()
|
/linux-6.6.21/mm/ |
D | list_lru.c | 523 if (xas_nomem(&xas, gfp)) in memcg_list_lru_alloc() 543 xas_nomem(&xas, gfp); in memcg_list_lru_alloc()
|
D | swap_state.c | 125 } while (xas_nomem(&xas, gfp)); in add_to_swap_cache()
|
D | khugepaged.c | 1827 if (!xas_nomem(&xas, GFP_KERNEL)) { in collapse_file()
|
D | filemap.c | 915 } while (xas_nomem(&xas, gfp)); in __filemap_add_folio()
|
D | shmem.c | 813 } while (xas_nomem(&xas, gfp)); in shmem_add_to_page_cache()
|
/linux-6.6.21/lib/ |
D | test_xarray.c | 81 } 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()
|
D | idr.c | 454 if (xas_nomem(&xas, gfp)) { in ida_alloc_range()
|
D | xarray.c | 298 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/ |
D | rxe_mr.c | 124 } 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/ |
D | ondemand.c | 381 } while (xas_nomem(&xas, GFP_KERNEL)); in cachefiles_ondemand_send_req()
|
/linux-6.6.21/drivers/iommu/iommufd/ |
D | pages.c | 592 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/ |
D | xarray.h | 1543 bool xas_nomem(struct xa_state *, gfp_t);
|
/linux-6.6.21/Documentation/core-api/ |
D | xarray.rst | 337 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/ |
D | dax.c | 647 if (xas_nomem(xas, mapping_gfp_mask(mapping) & ~__GFP_HIGHMEM)) in grab_mapping_entry()
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | mr.c | 190 if (!xas_nomem(&xas, GFP_KERNEL)) in push_mkey_locked()
|