Searched refs:xas_nomem (Results 1 – 18 of 18) sorted by relevance
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | xarray.rst | 266 如果xa_state持有 ``ENOMEM`` 错误,调用xas_nomem()将尝试使用指定的gfp标志分配更多的内存,并将其缓 268 况下分配内存,但它更有可能失败。一旦你放弃了锁,xas_nomem()可以更努力地尝试分配更多内存。如果值得重
|
/linux/lib/ |
H A D | test_xarray.c | 81 } 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() 1117 if (xas_nomem(&xas, GFP_KERNEL)) { in __check_store_iter() 1631 } while (xas_nomem(&xas, GFP_KERNEL)); in xa_store_many_order() 1690 } while (xas_nomem(&xas, GFP_KERNEL)); in check_create_range_4() 1712 } while (xas_nomem(&xas, GFP_KERNEL)); in check_create_range_5() 1933 } while (xas_nomem(&xas, GFP_KERNEL)); in check_workingset() 2019 } while (xas_nomem(&xas, GFP_KERNEL)); in check_xas_get_order() [all …]
|
H A D | idr.c | 454 if (xas_nomem(&xas, gfp)) { in ida_alloc_range()
|
H A D | xarray.c | 299 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem() function 315 EXPORT_SYMBOL_GPL(xas_nomem); 1762 } while (xas_nomem(&xas, gfp)); in xa_store_range()
|
/linux/tools/testing/radix-tree/ |
H A D | iteration_check.c | 39 if (xas_nomem(&xas, GFP_KERNEL)) in my_item_insert()
|
H A D | multiorder.c | 25 } while (xas_nomem(&xas, GFP_KERNEL)); in item_insert_order()
|
/linux/fs/netfs/ |
H A D | misc.c | 28 if (!xas_nomem(&xas, gfp_mask)) in netfs_xa_store_and_mark()
|
/linux/mm/ |
H A D | list_lru.c | 513 if (xas_nomem(&xas, gfp)) in memcg_list_lru_alloc() 533 xas_nomem(&xas, gfp); in memcg_list_lru_alloc()
|
H A D | swap_state.c | 127 } while (xas_nomem(&xas, gfp)); in add_to_swap_cache()
|
H A D | khugepaged.c | 1821 if (!xas_nomem(&xas, GFP_KERNEL)) { in collapse_file()
|
H A D | filemap.c | 942 if (!xas_nomem(&xas, gfp)) in __filemap_add_folio()
|
H A D | shmem.c | 800 } while (xas_nomem(&xas, gfp)); in shmem_add_to_page_cache()
|
/linux/drivers/infiniband/sw/rxe/ |
H A 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/fs/cachefiles/ |
H A D | ondemand.c | 450 } while (xas_nomem(&xas, GFP_KERNEL)); in cachefiles_ondemand_send_req()
|
/linux/drivers/iommu/iommufd/ |
H A 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/include/linux/ |
H A D | xarray.h | 1547 bool xas_nomem(struct xa_state *, gfp_t);
|
/linux/Documentation/core-api/ |
H A 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/fs/ |
H A D | dax.c | 647 if (xas_nomem(xas, mapping_gfp_mask(mapping) & ~__GFP_HIGHMEM)) in grab_mapping_entry()
|