| /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/iommufd/ |
| H A D | device.c | 144 if (xa_is_err(igroup)) { in iommufd_get_group() 692 if (xa_is_err(attach)) { in iommufd_hw_pagetable_attach() 738 WARN_ON(xa_is_err(xa_store(&igroup->pasid_attach, pasid, attach, in iommufd_hw_pagetable_attach() 742 WARN_ON(xa_is_err(xa_store(&attach->device_array, idev->obj.id, in iommufd_hw_pagetable_attach()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | xarray.rst | 140 个特殊的值,可以用xa_err()把它变成一个错误值。如果你不需要确切地知道哪个错误发生,使用xa_is_err()
|
| /linux/drivers/iommu/amd/ |
| H A D | nested.c | 79 if (xa_is_err(res)) in gdom_info_load_or_alloc_locked()
|
| /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/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 | 621 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_add()
|
| /linux/net/hsr/ |
| H A D | hsr_framereg.c | 362 if (xa_is_err(res)) { in hsr_get_seq_block()
|
| /linux/fs/erofs/ |
| H A D | zdata.c | 782 if (!pre || xa_is_err(pre) || z_erofs_get_pcluster(pre)) { in z_erofs_register_pcluster() 790 if (xa_is_err(pre)) { in z_erofs_register_pcluster()
|
| /linux/drivers/irqchip/ |
| H A D | irq-gic-v5-its.c | 782 if (xa_is_err(entry)) { in gicv5_its_alloc_device()
|
| /linux/drivers/vfio/ |
| H A D | vfio_main.c | 110 if (xa_is_err(dev_set)) { in vfio_assign_device_set()
|
| /linux/kernel/trace/ |
| H A D | trace_syscalls.c | 1378 WARN(xa_is_err(ret), in init_ftrace_syscalls()
|
| /linux/lib/tests/ |
| H A D | kunit_iov_iter.c | 574 KUNIT_ASSERT_FALSE(test, xa_is_err(x)); in iov_kunit_load_xarray()
|
| /linux/net/netlink/ |
| H A D | genetlink.c | 755 if (xa_is_err(old_priv)) in genl_sk_priv_get()
|
| /linux/fs/btrfs/ |
| H A D | extent_io.c | 3549 if (xa_is_err(exists)) { in alloc_test_extent_buffer() 3941 if (xa_is_err(existing_eb)) { in alloc_extent_buffer()
|
| H A D | qgroup.c | 2060 if (xa_is_err(ret)) { in btrfs_qgroup_trace_extent_nolock()
|
| /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 | 3436 if (xa_is_err(old)) { in nvme_get_effects_log() 3511 if (xa_is_err(old)) { in nvme_init_effects_log()
|
| /linux/fs/nfsd/ |
| H A D | nfs4state.c | 2383 if (!slot || xa_is_err(xa_store(&new->se_slots, 0, slot, GFP_KERNEL))) in alloc_session() 2391 if (xa_is_err(xa_store(&new->se_slots, i, slot, gfp))) { in alloc_session() 5163 if (!xa_is_err(xa_store(&session->se_slots, s, slot, in nfsd4_sequence()
|