Home
last modified time | relevance | path

Searched refs:xas_error (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/mm/
Dlist_lru.c523 if (unlikely(index < 0 || xas_error(&xas) || xas_load(&xas))) { in memcg_list_lru_alloc()
527 if (xas_error(&xas) == -ENOMEM) { in memcg_list_lru_alloc()
541 else if (!xas_error(&xas) && index != xas.xa_index) in memcg_list_lru_alloc()
553 return xas_error(&xas); in memcg_list_lru_alloc()
Dswap_state.c112 if (xas_error(&xas)) in add_to_swap_cache()
131 if (!xas_error(&xas)) in add_to_swap_cache()
136 return xas_error(&xas); in add_to_swap_cache()
Dkhugepaged.c1838 if (!xas_error(&xas)) in collapse_file()
2094 if (xas_error(&xas)) { in collapse_file()
2169 WARN_ON_ONCE(xas_error(&xas)); in collapse_file()
Dshmem.c814 if (xas_error(&xas)) in shmem_add_to_page_cache()
825 if (xas_error(&xas)) { in shmem_add_to_page_cache()
828 return xas_error(&xas); in shmem_add_to_page_cache()
2066 if (xas_error(&xas)) in shmem_split_large_entry()
2079 if (xas_error(&xas)) in shmem_split_large_entry()
2080 return xas_error(&xas); in shmem_split_large_entry()
Dfilemap.c917 if (xas_error(&xas)) in __filemap_add_folio()
936 if (xas_error(&xas)) in __filemap_add_folio()
948 if (xas_error(&xas)) in __filemap_add_folio()
957 return xas_error(&xas); in __filemap_add_folio()
Dhuge_memory.c3455 if (xas_error(&xas)) { in split_huge_page_to_list_to_order()
3456 ret = xas_error(&xas); in split_huge_page_to_list_to_order()
/linux-6.12.1/lib/
Didr.c423 if (xas_error(&xas)) { in ida_alloc_range()
461 if (xas_error(&xas)) in ida_alloc_range()
462 return xas_error(&xas); in ida_alloc_range()
Dxarray.c187 if (xas_error(xas)) in xas_start()
661 } else if (xas_error(xas)) { in xas_create()
719 if (xas_error(xas)) in xas_create_range()
1257 if (xas_error(xas) || xas->xa_node == XAS_BOUNDS) in xas_find()
1328 if (xas_error(xas)) in xas_find_marked()
1414 if (xas_error(xas)) in xas_find_conflict()
1491 if (xas_error(xas)) in xas_result()
1678 return xas_error(&xas); in __xa_insert()
1750 if (xas_error(&xas)) in xa_store_range()
1756 if (xas_error(&xas)) in xa_store_range()
[all …]
Dtest_xarray.c756 XA_BUG_ON(xa, xas_error(&xas) && xas_error(&xas) != -ENOMEM); in check_xa_multi_store_adv_add()
759 XA_BUG_ON(xa, xas_error(&xas)); in check_xa_multi_store_adv_add()
1121 XA_BUG_ON(xa, xas_error(&xas)); in __check_store_iter()
1623 if (xas_error(&xas)) in xa_store_many_order()
1633 XA_BUG_ON(xa, xas_error(&xas)); in xa_store_many_order()
1664 XA_BUG_ON(NULL, xas_error(&xas) != -EEXIST); in check_create_range_3()
1678 if (xas_error(&xas)) in check_create_range_4()
1692 XA_BUG_ON(xa, xas_error(&xas)); in check_create_range_4()
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_mr.c117 if (xas_error(&xas)) in rxe_mr_fill_pages_from_sgt()
126 return xas_error(&xas); in rxe_mr_fill_pages_from_sgt()
171 if (xas_error(&xas)) in rxe_mr_alloc()
179 err = xas_error(&xas); in rxe_mr_alloc()
/linux-6.12.1/tools/testing/radix-tree/
Dmultiorder.c27 if (!xas_error(&xas)) in item_insert_order()
31 return xas_error(&xas); in item_insert_order()
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dxarray.rst261 xa_state也被用来存储错误(store errors)。你可以调用xas_error()来检索错误。所有的操作在进行之前都
/linux-6.12.1/drivers/iommu/iommufd/
Dpages.c597 if (xas_error(&xas)) in pages_to_xarray()
607 if (xas_error(&xas)) { in pages_to_xarray()
610 return xas_error(&xas); in pages_to_xarray()
/linux-6.12.1/fs/cachefiles/
Dondemand.c560 ret = xas_error(&xas); in cachefiles_ondemand_send_req()
/linux-6.12.1/fs/
Ddax.c640 if (xas_error(xas)) in grab_mapping_entry()
651 if (xas_error(xas)) in grab_mapping_entry()
/linux-6.12.1/include/linux/
Dxarray.h1429 static inline int xas_error(const struct xa_state *xas) in xas_error() function
/linux-6.12.1/Documentation/core-api/
Dxarray.rst329 xas_error() to retrieve the error. All operations check whether