Home
last modified time | relevance | path

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

/linux-6.15/lib/
H A 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()
H A Dxarray.c188 if (xas_error(xas)) in xas_start()
668 } else if (xas_error(xas)) { in xas_create()
726 if (xas_error(xas)) in xas_create_range()
1397 if (xas_error(xas) || xas->xa_node == XAS_BOUNDS) in xas_find()
1468 if (xas_error(xas)) in xas_find_marked()
1556 if (xas_error(xas)) in xas_find_conflict()
1629 if (xas_error(xas)) in xas_result()
1887 if (xas_error(&xas)) in xa_store_range()
1893 if (xas_error(&xas)) in xa_store_range()
2003 return xas_error(&xas); in __xa_alloc()
H A 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()
1659 if (xas_error(&xas)) in xa_store_many_order()
1669 XA_BUG_ON(xa, xas_error(&xas)); in xa_store_many_order()
1700 XA_BUG_ON(NULL, xas_error(&xas) != -EEXIST); in check_create_range_3()
1714 if (xas_error(&xas)) in check_create_range_4()
1728 XA_BUG_ON(xa, xas_error(&xas)); in check_create_range_4()
1879 XA_BUG_ON(xa, !xas_error(&xas) || xas_error(&xas) != -EINVAL); in check_split_2()
/linux-6.15/drivers/infiniband/sw/rxe/
H A 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.15/tools/testing/radix-tree/
H A Dmultiorder.c27 if (!xas_error(&xas)) in item_insert_order()
31 return xas_error(&xas); in item_insert_order()
/linux-6.15/mm/
H A Dswap_state.c111 if (xas_error(&xas)) in add_to_swap_cache()
130 if (!xas_error(&xas)) in add_to_swap_cache()
135 return xas_error(&xas); in add_to_swap_cache()
H A Dlist_lru.c548 if (!xas_error(&xas)) in memcg_list_lru_alloc()
558 return xas_error(&xas); in memcg_list_lru_alloc()
H A Dkhugepaged.c1871 if (!xas_error(&xas)) in collapse_file()
2127 if (xas_error(&xas)) { in collapse_file()
2202 WARN_ON_ONCE(xas_error(&xas)); in collapse_file()
H A Dfilemap.c910 if (xas_error(&xas)) in __filemap_add_folio()
925 if (xas_error(&xas)) in __filemap_add_folio()
945 if (xas_error(&xas)) in __filemap_add_folio()
954 return xas_error(&xas); in __filemap_add_folio()
H A Dshmem.c911 if (xas_error(&xas)) in shmem_add_to_page_cache()
919 if (xas_error(&xas)) { in shmem_add_to_page_cache()
922 return xas_error(&xas); in shmem_add_to_page_cache()
2192 if (xas_error(&xas)) in shmem_split_large_entry()
2220 if (xas_error(&xas)) in shmem_split_large_entry()
2221 return xas_error(&xas); in shmem_split_large_entry()
H A Dhuge_memory.c3528 if (xas_error(xas)) { in __split_unmapped_folio()
3529 ret = xas_error(xas); in __split_unmapped_folio()
3819 if (xas_error(&xas)) { in __folio_split()
3820 ret = xas_error(&xas); in __folio_split()
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst261 xa_state也被用来存储错误(store errors)。你可以调用xas_error()来检索错误。所有的操作在进行之前都
/linux-6.15/drivers/iommu/iommufd/
H A Dpages.c612 if (xas_error(&xas)) in pages_to_xarray()
622 if (xas_error(&xas)) { in pages_to_xarray()
625 return xas_error(&xas); in pages_to_xarray()
/linux-6.15/fs/cachefiles/
H A Dondemand.c579 ret = xas_error(&xas); in cachefiles_ondemand_send_req()
/linux-6.15/include/linux/
H A Dxarray.h1429 static inline int xas_error(const struct xa_state *xas) in xas_error() function
/linux-6.15/fs/
H A Ddax.c724 if (xas_error(xas)) in grab_mapping_entry()
735 if (xas_error(xas)) in grab_mapping_entry()
/linux-6.15/Documentation/core-api/
H A Dxarray.rst331 xas_error() to retrieve the error. All operations check whether