Home
last modified time | relevance | path

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

/linux/lib/
H A Didr.c425 if (xas_error(&xas)) { in ida_alloc_range()
463 if (xas_error(&xas)) in ida_alloc_range()
464 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()
1400 if (xas_error(xas) || xas->xa_node == XAS_BOUNDS) in xas_find()
1471 if (xas_error(xas)) in xas_find_marked()
1559 if (xas_error(xas)) in xas_find_conflict()
1632 if (xas_error(xas)) in xas_result()
1893 if (xas_error(&xas)) in xa_store_range()
1899 if (xas_error(&xas)) in xa_store_range()
2012 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()
1134 XA_BUG_ON(xa, xas_error(&xas)); in __check_store_iter()
1672 if (xas_error(&xas)) in xa_store_many_order()
1682 XA_BUG_ON(xa, xas_error(&xas)); in xa_store_many_order()
1713 XA_BUG_ON(NULL, xas_error(&xas) != -EEXIST); in check_create_range_3()
1727 if (xas_error(&xas)) in check_create_range_4()
1741 XA_BUG_ON(xa, xas_error(&xas)); in check_create_range_4()
1892 XA_BUG_ON(xa, !xas_error(&xas) || xas_error(&xas) != -EINVAL); in check_split_2()
/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst261 xa_state也被用来存储错误(store errors)。你可以调用xas_error()来检索错误。所有的操作在进行之前都
/linux/drivers/iommu/iommufd/
H A Dpages.c635 if (xas_error(&xas)) in pages_to_xarray()
645 if (xas_error(&xas)) { in pages_to_xarray()
648 return xas_error(&xas); in pages_to_xarray()
/linux/mm/
H A Dkhugepaged.c2283 if (!xas_error(&xas)) in collapse_file()
2545 if (xas_error(&xas)) { in collapse_file()
2617 WARN_ON_ONCE(xas_error(&xas)); in collapse_file()
H A Dshmem.c934 if (xas_error(&xas)) in shmem_add_to_page_cache()
942 if (xas_error(&xas)) { in shmem_add_to_page_cache()
945 return xas_error(&xas); in shmem_add_to_page_cache()
2217 if (xas_error(&xas)) in shmem_split_large_entry()
2245 if (xas_error(&xas)) in shmem_split_large_entry()
2246 return xas_error(&xas); in shmem_split_large_entry()
H A Dfilemap.c901 if (xas_error(&xas)) in __filemap_add_folio()
916 if (xas_error(&xas)) in __filemap_add_folio()
942 if (xas_error(&xas)) in __filemap_add_folio()
951 return xas_error(&xas); in __filemap_add_folio()
H A Dhuge_memory.c3880 if (xas_error(xas)) in __split_unmapped_folio()
3881 return xas_error(xas); in __split_unmapped_folio()
4228 if (xas_error(&xas)) { in __folio_split()
4229 ret = xas_error(&xas); in __folio_split()
/linux/fs/
H A Ddax.c757 if (xas_error(xas)) in grab_mapping_entry()
768 if (xas_error(xas)) in grab_mapping_entry()
/linux/include/linux/
H A Dxarray.h1435 static inline int xas_error(const struct xa_state *xas) in xas_error() function