Searched refs:xas_error (Results 1 – 11 of 11) sorted by relevance
425 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()
188 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()
756 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()
261 xa_state也被用来存储错误(store errors)。你可以调用xas_error()来检索错误。所有的操作在进行之前都
635 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()
2283 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()
934 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()
901 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()
3880 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()
757 if (xas_error(xas)) in grab_mapping_entry()768 if (xas_error(xas)) in grab_mapping_entry()
1435 static inline int xas_error(const struct xa_state *xas) in xas_error() function