/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | cm.c | 370 if (xa_err(item)) in alloc_rej_tmout() 371 ret = xa_err(item); in alloc_rej_tmout() 392 old, xa_err(old)); in alloc_rej_tmout() 394 return xa_err(old); in alloc_rej_tmout() 414 if (!item || xa_err(item)) { in lookup_rej_tmout_slave() 416 rem_pv_cm_id, xa_err(item)); in lookup_rej_tmout_slave() 417 slave = !item ? -ENOENT : xa_err(item); in lookup_rej_tmout_slave()
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_pool.c | 192 WARN_ON(xa_err(xa_ret)); in __rxe_cleanup() 255 WARN_ON(xa_err(xa_ret)); in __rxe_finalize()
|
/linux-6.6.21/arch/arm64/mm/ |
D | mteswap.c | 41 return xa_err(ret); in mte_save_tags()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | xarray.rst | 140 个特殊的值,可以用xa_err()把它变成一个错误值。如果你不需要确切地知道哪个错误发生,使用xa_is_err() 215 err = xa_err(__xa_store(&foo->array, index, entry, GFP_KERNEL));
|
/linux-6.6.21/include/linux/ |
D | xarray.h | 219 static inline int xa_err(void *entry) in xa_err() function 1078 return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve() 1096 return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_bh() 1114 return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_irq() 1427 return xa_err(xas->xa_node); in xas_error()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
D | dev.c | 138 goto xa_err; in mlx5_sf_dev_add() 141 xa_err: in mlx5_sf_dev_add()
|
/linux-6.6.21/fs/smb/server/mgmt/ |
D | tree_connect.c | 81 ret = xa_err(xa_store(&sess->tree_conns, tree_conn->id, tree_conn, in ksmbd_tree_conn_connect()
|
D | user_session.c | 197 return xa_err(xa_store(&conn->sessions, sess->id, sess, GFP_KERNEL)); in ksmbd_session_register()
|
/linux-6.6.21/fs/erofs/ |
D | utils.c | 87 pre = ERR_PTR(xa_err(pre)); in erofs_insert_workgroup()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_domain.c | 88 ret = xa_err(xa_store(&dmn->csum_fts_xa, vport_num, in mlx5dr_domain_get_recalc_cs_ft_addr() 572 WARN_ON(xa_err(xa_store(&dmn->peer_dmn_xa, peer_vhca_id, peer_dmn, GFP_KERNEL))); in mlx5dr_domain_set_peer()
|
/linux-6.6.21/lib/ |
D | test_xarray.c | 88 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 0, GFP_NOWAIT)) != 0); in check_xa_err() 89 XA_BUG_ON(xa, xa_err(xa_erase(xa, 0)) != 0); in check_xa_err() 92 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err() 93 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err() 95 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_KERNEL)) != 0); in check_xa_err() 96 XA_BUG_ON(xa, xa_err(xa_store(xa, 1, xa_mk_value(0), GFP_KERNEL)) != 0); in check_xa_err() 97 XA_BUG_ON(xa, xa_err(xa_erase(xa, 1)) != 0); in check_xa_err()
|
D | test_hmm.c | 235 return xa_err(entry); in dmirror_do_fault() 729 return xa_err(entry); in dmirror_atomic_map() 769 return xa_err(entry); in dmirror_migrate_finalize_and_map()
|
D | maple_tree.c | 5053 return xa_err(mas->node); in mas_empty_area() 5115 return xa_err(mas->node); in mas_empty_area_rev() 5442 return xa_err(mas->node); in mas_store_gfp() 5537 ret = xa_err(mas->node); in mas_preallocate() 5649 ret = xa_err(mas->node); in mas_expected_entries() 6302 return xa_err(mas.node); in mtree_store_range() 6355 return xa_err(ms.node); in mtree_insert_range() 6406 ret = xa_err(mas.node); in mtree_alloc_range() 6444 ret = xa_err(mas.node); in mtree_alloc_rrange()
|
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | virt.c | 53 ret = xa_err(xa_store(&vepc->page_array, index, epc_page, GFP_KERNEL)); in __sgx_vepc_fault()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | hibernate.c | 233 return xa_err(ret); in save_tags()
|
/linux-6.6.21/io_uring/ |
D | tctx.c | 122 ret = xa_err(xa_store(&tctx->xa, (unsigned long)ctx, in __io_uring_add_tctx_node()
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | qpc.c | 222 err = xa_err(xa_store_irq(&dev->qp_table.dct_xa, qp->qpn, dct, GFP_KERNEL)); in mlx5_core_create_dct() 295 return xa_err(tmp) ?: -EINVAL; in mlx5_core_destroy_dct()
|
D | srq_cmd.c | 653 err = xa_err(xa_store_irq(&table->array, srq->srqn, srq, GFP_KERNEL)); in mlx5_cmd_create_srq() 674 return xa_err(tmp) ?: -EINVAL; in mlx5_cmd_destroy_srq()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 881 return xa_err(xa_store(&table->comp_irqs, vecidx, irq, GFP_KERNEL)); in comp_irq_request_pci() 924 return xa_err(xa_store(&table->comp_irqs, vecidx, irq, GFP_KERNEL)); in comp_irq_request_sf() 1054 err = xa_err(xa_store(&table->comp_eqs, vecidx, eq, GFP_KERNEL)); in create_comp_eq()
|
/linux-6.6.21/drivers/xen/ |
D | grant-dma-ops.c | 62 ret = xa_err(__xa_store(&xen_grant_dma_devices, (unsigned long)dev, data, in store_xen_grant_dma_data()
|
/linux-6.6.21/drivers/block/ |
D | brd.c | 91 ret = xa_err(cur); in brd_insert_page()
|
/linux-6.6.21/mm/ |
D | memremap.c | 205 error = xa_err(xa_store_range(&pgmap_array, PHYS_PFN(range->start), in pagemap_range()
|
/linux-6.6.21/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 125 ret = xa_err(xa_store(&srq_table->xa, srq->srqn, srq, GFP_KERNEL)); in alloc_srqc()
|
D | hns_roce_cq.c | 154 ret = xa_err(xa_store(&cq_table->array, hr_cq->cqn, hr_cq, GFP_KERNEL)); in alloc_cqc()
|
/linux-6.6.21/net/devlink/ |
D | region.c | 300 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_increment() 374 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(0), in __devlink_snapshot_id_insert()
|