Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
Dlist_lru.c517 if (unlikely(index < 0 || xas_error(&xas) || xas_load(&xas))) { in memcg_list_lru_alloc()
521 if (xas_error(&xas) == -ENOMEM) { in memcg_list_lru_alloc()
535 else if (!xas_error(&xas) && index != xas.xa_index) in memcg_list_lru_alloc()
547 return xas_error(&xas); in memcg_list_lru_alloc()
Dswap_state.c108 if (xas_error(&xas)) in add_to_swap_cache()
127 if (!xas_error(&xas)) in add_to_swap_cache()
132 return xas_error(&xas); in add_to_swap_cache()
Dkhugepaged.c1824 if (!xas_error(&xas)) in collapse_file()
2075 if (xas_error(&xas)) { in collapse_file()
2150 WARN_ON_ONCE(xas_error(&xas)); in collapse_file()
Dfilemap.c901 if (xas_error(&xas)) in __filemap_add_folio()
917 if (xas_error(&xas)) in __filemap_add_folio()
928 return xas_error(&xas); in __filemap_add_folio()
Dhuge_memory.c2684 if (xas_error(&xas)) { in split_huge_page_to_list()
2685 ret = xas_error(&xas); in split_huge_page_to_list()
Dshmem.c802 if (xas_error(&xas)) in shmem_add_to_page_cache()
815 if (xas_error(&xas)) { in shmem_add_to_page_cache()
816 error = xas_error(&xas); in shmem_add_to_page_cache()
/Linux-v6.6/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()
660 } else if (xas_error(xas)) { in xas_create()
718 if (xas_error(xas)) in xas_create_range()
1241 if (xas_error(xas) || xas->xa_node == XAS_BOUNDS) in xas_find()
1312 if (xas_error(xas)) in xas_find_marked()
1398 if (xas_error(xas)) in xas_find_conflict()
1475 if (xas_error(xas)) in xas_result()
1662 return xas_error(&xas); in __xa_insert()
1734 if (xas_error(&xas)) in xa_store_range()
1740 if (xas_error(&xas)) in xa_store_range()
[all …]
Dtest_xarray.c888 XA_BUG_ON(xa, xas_error(&xas)); in __check_store_iter()
1390 if (xas_error(&xas)) in xa_store_many_order()
1400 XA_BUG_ON(xa, xas_error(&xas)); in xa_store_many_order()
1431 XA_BUG_ON(NULL, xas_error(&xas) != -EEXIST); in check_create_range_3()
1445 if (xas_error(&xas)) in check_create_range_4()
1459 XA_BUG_ON(xa, xas_error(&xas)); in check_create_range_4()
/Linux-v6.6/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-v6.6/tools/testing/radix-tree/
Dmultiorder.c27 if (!xas_error(&xas)) in item_insert_order()
31 return xas_error(&xas); in item_insert_order()
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dxarray.rst261 xa_state也被用来存储错误(store errors)。你可以调用xas_error()来检索错误。所有的操作在进行之前都
/Linux-v6.6/fs/cachefiles/
Dondemand.c383 ret = xas_error(&xas); in cachefiles_ondemand_send_req()
/Linux-v6.6/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-v6.6/fs/
Ddax.c640 if (xas_error(xas)) in grab_mapping_entry()
651 if (xas_error(xas)) in grab_mapping_entry()
/Linux-v6.6/include/linux/
Dxarray.h1425 static inline int xas_error(const struct xa_state *xas) in xas_error() function
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmr.c195 if (xas_error(&xas)) in push_mkey_locked()
196 return xas_error(&xas); in push_mkey_locked()
/Linux-v6.6/Documentation/core-api/
Dxarray.rst329 xas_error() to retrieve the error. All operations check whether