| /linux-6.15/arch/arm64/mm/ |
| H A D | mteswap.c | 39 if (WARN(xa_is_err(ret), "Failed to store MTE tags")) { in mte_save_tags()
|
| /linux-6.15/drivers/cxl/core/ |
| H A D | cdat.c | 680 if (xa_is_err(ptr)) in cxl_endpoint_gather_bandwidth() 807 if (xa_is_err(ptr)) in DEFINE_FREE() 890 if (xa_is_err(ptr)) in cxl_rp_gather_bandwidth() 939 if (xa_is_err(ptr)) in cxl_hb_gather_bandwidth()
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H A D | device.c | 118 if (xa_is_err(igroup)) { in iommufd_get_group() 567 if (xa_is_err(attach)) { in iommufd_hw_pagetable_attach() 613 WARN_ON(xa_is_err(xa_store(&igroup->pasid_attach, pasid, attach, in iommufd_hw_pagetable_attach() 617 WARN_ON(xa_is_err(xa_store(&attach->device_array, idev->obj.id, in iommufd_hw_pagetable_attach()
|
| H A D | selftest.c | 497 if (xa_is_err(old)) { in mock_domain_map_pages()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | hibernate.c | 231 if (WARN(xa_is_err(ret), "Failed to store MTE tags")) { in save_tags()
|
| /linux-6.15/Documentation/translations/zh_CN/core-api/ |
| H A D | xarray.rst | 140 个特殊的值,可以用xa_err()把它变成一个错误值。如果你不需要确切地知道哪个错误发生,使用xa_is_err()
|
| /linux-6.15/lib/ |
| H A D | test_hmm.c | 235 if (xa_is_err(entry)) in dmirror_do_fault() 720 if (xa_is_err(entry)) { in dmirror_atomic_map() 757 if (xa_is_err(entry)) { in dmirror_migrate_finalize_and_map()
|
| /linux-6.15/include/linux/ |
| H A D | xarray.h | 205 static inline bool xa_is_err(const void *entry) in xa_is_err() function 226 if (xa_is_err(entry)) in xa_err()
|
| /linux-6.15/fs/smb/server/mgmt/ |
| H A D | user_session.c | 113 if (xa_is_err(old)) in ksmbd_session_rpc_open()
|
| /linux-6.15/drivers/iommu/ |
| H A D | iommu.c | 3484 WARN_ON(xa_is_err(xa_store(&group->pasid_array, in iommu_attach_device_pasid() 3535 if (xa_is_err(curr)) { in iommu_replace_device_pasid() 3575 WARN_ON(xa_is_err(xa_store(&group->pasid_array, in iommu_replace_device_pasid() 3712 WARN_ON(xa_is_err(xa_store(&group->pasid_array, in iommu_attach_group_handle() 3776 WARN_ON(xa_is_err(curr)); in iommu_replace_group_handle()
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | passthru.c | 609 if (xa_is_err(old)) { in nvmet_passthru_ctrl_enable()
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_drv.c | 200 if (xa_is_err(entry)) { in drm_minor_register()
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_syscalls.c | 553 WARN(xa_is_err(ret), in init_ftrace_syscalls()
|
| /linux-6.15/net/qrtr/ |
| H A D | ns.c | 248 if (xa_is_err(old)) { in server_add()
|
| /linux-6.15/fs/erofs/ |
| H A D | zdata.c | 746 if (!pre || xa_is_err(pre) || z_erofs_get_pcluster(pre)) { in z_erofs_register_pcluster() 754 if (xa_is_err(pre)) { in z_erofs_register_pcluster()
|
| /linux-6.15/drivers/infiniband/hw/mlx5/ |
| H A D | odp.c | 511 if (xa_is_err(ret)) { in implicit_get_child_mr() 526 if (xa_is_err(ret)) { in implicit_get_child_mr()
|
| /linux-6.15/arch/arm64/kvm/ |
| H A D | emulate-nested.c | 2057 if (prev && !xa_is_err(prev)) { in populate_nv_trap_config() 2062 if (xa_is_err(prev)) { in populate_nv_trap_config() 2096 if (xa_is_err(prev)) { in populate_nv_trap_config()
|
| /linux-6.15/fs/btrfs/ |
| H A D | delayed-ref.c | 868 if (xa_is_err(existing)) { in add_delayed_ref_head()
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | device.c | 179 !xa_is_err(entry); \ 2015 WARN_ON(xa_is_err(rc)); in ib_set_client_data()
|
| /linux-6.15/lib/tests/ |
| H A D | kunit_iov_iter.c | 558 KUNIT_ASSERT_FALSE(test, xa_is_err(x)); in iov_kunit_load_xarray()
|
| /linux-6.15/mm/ |
| H A D | zswap.c | 1501 if (xa_is_err(old)) { in zswap_store_page()
|
| /linux-6.15/drivers/vfio/ |
| H A D | vfio_main.c | 100 if (xa_is_err(dev_set)) { in vfio_assign_device_set()
|
| /linux-6.15/net/netlink/ |
| H A D | genetlink.c | 760 if (xa_is_err(old_priv)) in genl_sk_priv_get()
|
| /linux-6.15/Documentation/core-api/ |
| H A D | xarray.rst | 183 xa_is_err() is slightly more efficient.
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_context.c | 330 if (xa_is_err(old)) { in proto_context_register_locked()
|