| /linux/lib/ |
| H A D | ref_tracker.c | 433 if (dentry && !xa_is_err(dentry)) in ref_tracker_dir_debugfs() 449 if (xa_is_err(old)) in ref_tracker_dir_debugfs() 469 if (symlink && !xa_is_err(symlink)) in ref_tracker_dir_symlink() 472 if (!dentry || xa_is_err(dentry)) in ref_tracker_dir_symlink() 488 if (xa_is_err(old)) in ref_tracker_dir_symlink()
|
| H A D | test_xarray.c | 1957 XA_BUG_ON(xa, xa_is_err(entry)); in check_align_1()
|
| /linux/drivers/cxl/core/ |
| H A D | cdat.c | 677 if (xa_is_err(ptr)) in cxl_endpoint_gather_bandwidth() 804 if (xa_is_err(ptr)) in DEFINE_FREE() 887 if (xa_is_err(ptr)) in cxl_rp_gather_bandwidth() 936 if (xa_is_err(ptr)) in cxl_hb_gather_bandwidth()
|
| H A D | edac.c | 1104 if (xa_is_err(old_rec)) { in cxl_store_rec_gen_media() 1134 if (xa_is_err(old_rec)) { in cxl_store_rec_dram()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_tlb_inval_job.c | 255 xe_assert(gt_to_xe(job->q->gt), !xa_is_err(ptr)); in xe_tlb_inval_job_push()
|
| /linux/drivers/iommu/amd/ |
| H A D | nested.c | 77 if (xa_is_err(res)) in gdom_info_load_or_alloc_locked()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | xarray.rst | 140 个特殊的值,可以用xa_err()把它变成一个错误值。如果你不需要确切地知道哪个错误发生,使用xa_is_err()
|
| /linux/arch/arm64/kernel/ |
| H A D | hibernate.c | 231 if (WARN(xa_is_err(ret), "Failed to store MTE tags")) { in save_tags()
|
| /linux/drivers/block/ |
| H A D | brd.c | 105 if (!xa_is_err(ret)) { in brd_insert_page()
|
| /linux/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/drivers/iommu/ |
| H A D | iommu.c | 3661 WARN_ON(xa_is_err(xa_store(&group->pasid_array, in iommu_attach_device_pasid() 3722 if (xa_is_err(curr)) { in iommu_replace_device_pasid() 3762 WARN_ON(xa_is_err(xa_store(&group->pasid_array, in iommu_replace_device_pasid() 3899 WARN_ON(xa_is_err(xa_store(&group->pasid_array, in iommu_attach_group_handle() 3963 WARN_ON(xa_is_err(curr)); in iommu_replace_group_handle()
|
| /linux/drivers/tee/ |
| H A D | tee_heap.c | 282 return WARN_ON(xa_is_err(xa_store(&tee_dma_heap, id, h, GFP_KERNEL))); in alloc_dma_heap()
|
| /linux/drivers/nvme/target/ |
| H A D | passthru.c | 612 if (xa_is_err(old)) { in nvmet_passthru_ctrl_enable()
|
| /linux/net/qrtr/ |
| H A D | ns.c | 275 if (xa_is_err(old)) { in server_del()
|
| /linux/net/hsr/ |
| H A D | hsr_framereg.c | 355 if (xa_is_err(res)) { in hsr_get_seq_block()
|
| /linux/fs/erofs/ |
| H A D | zdata.c | 777 if (!pre || xa_is_err(pre) || z_erofs_get_pcluster(pre)) { in z_erofs_register_pcluster() 785 if (xa_is_err(pre)) { in z_erofs_register_pcluster()
|
| /linux/drivers/infiniband/core/ |
| H A D | device.c | 207 !xa_is_err(entry); \ 2025 WARN_ON(xa_is_err(rc)); in ib_set_client_data()
|
| /linux/mm/ |
| H A D | zswap.c | 1421 if (xa_is_err(old)) { in zswap_store_page()
|
| /linux/fs/btrfs/ |
| H A D | extent_io.c | 3011 if (xa_is_err(old)) { in btrfs_inhibit_eb_writeback() 3256 if (xa_is_err(exists)) { in alloc_test_extent_buffer() 3573 if (xa_is_err(existing_eb)) { in alloc_extent_buffer()
|
| /linux/drivers/irqchip/ |
| H A D | irq-gic-v5-its.c | 782 if (xa_is_err(entry)) { in gicv5_its_alloc_device()
|
| /linux/drivers/infiniband/hw/ionic/ |
| H A D | ionic_controlpath.c | 148 if (!xa_is_err(entry)) in ionic_create_cq_common() 2333 if (!xa_is_err(entry)) in ionic_create_qp()
|
| /linux/net/netlink/ |
| H A D | genetlink.c | 755 if (xa_is_err(old_priv)) in genl_sk_priv_get()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_context.c | 330 if (xa_is_err(old)) { in proto_context_register_locked()
|
| /linux/drivers/nvme/host/ |
| H A D | core.c | 3372 if (xa_is_err(old)) { in nvme_get_effects_log() 3447 if (xa_is_err(old)) { in nvme_init_effects_log()
|
| /linux/arch/arm64/kvm/vgic/ |
| H A D | vgic-its.c | 579 if (xa_is_err(old)) { in vgic_its_cache_translation()
|