| /linux/virt/lib/ |
| H A D | irqbypass.c | 115 WARN_ON_ONCE(xa_erase(&producers, index) != producer); in irq_bypass_register_producer() 145 WARN_ON_ONCE(xa_erase(&producers, index) != producer); in irq_bypass_unregister_producer() 181 WARN_ON_ONCE(xa_erase(&consumers, index) != consumer); in irq_bypass_register_consumer() 211 WARN_ON_ONCE(xa_erase(&consumers, index) != consumer); in irq_bypass_unregister_consumer()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | xarray.rst | 64 何条目,并返回存储在该索引的上一个条目。你可以使用xa_erase()来代替调用xa_store()的 86 将不做任何事情;相反,如果你想让该条目变成 ``NULL`` ,你应该使用xa_erase()。在一个保留的条 122 将标记该条目为正在使用中,就像xa_reserve()。要释放一个条目,请使用xa_erase()(或者xa_release(), 169 * xa_erase()
|
| /linux/drivers/base/ |
| H A D | auxiliary_sysfs.c | 87 xa_erase(&auxdev->sysfs.irqs, irq); in auxiliary_device_sysfs_irq_add() 111 xa_erase(&auxdev->sysfs.irqs, irq); in auxiliary_device_sysfs_irq_remove()
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| H A D | virt.c | 69 xa_erase(&vepc->page_array, index); in __sgx_vepc_fault() 207 xa_erase(&vepc->page_array, index); in sgx_vepc_release() 226 xa_erase(&vepc->page_array, index); in sgx_vepc_release()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | st.c | 148 xa_erase(&st->idx_xa, xa_id); in mlx5_st_alloc_index() 177 xa_erase(&st->idx_xa, st_index); in mlx5_st_dealloc_index()
|
| /linux/fs/smb/server/mgmt/ |
| H A D | tree_connect.c | 130 xa_erase(&sess->tree_conns, tree_conn->id); in ksmbd_tree_conn_disconnect() 171 xa_erase(&sess->tree_conns, tc->id); in ksmbd_tree_conn_session_logoff()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_port_range.c | 81 xa_erase(&pr_core->prr_xa, prr->index); in mlxsw_sp_port_range_reg_create() 93 xa_erase(&pr_core->prr_xa, prr->index); in mlxsw_sp_port_range_reg_destroy()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | uapi.c | 179 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 290 mapping = xa_erase(&context->mappings, args->mapping); in tegra_drm_ioctl_channel_unmap() 334 sp = xa_erase(&fpriv->syncpoints, args->id); in tegra_drm_ioctl_syncpoint_free()
|
| /linux/lib/ |
| H A D | test_xarray.c | 62 XA_BUG_ON(xa, xa_erase(xa, index) != xa_mk_index(index)); in xa_erase_index() 89 XA_BUG_ON(xa, xa_err(xa_erase(xa, 0)) != 0); in check_xa_err() 97 XA_BUG_ON(xa, xa_err(xa_erase(xa, 1)) != 0); in check_xa_err() 513 XA_BUG_ON(xa, xa_erase(xa, 12345678) != NULL); in check_reserve() 711 xa_erase(xa, 0); in check_multi_store() 996 XA_BUG_ON(xa, xa_erase(xa, id) != NULL); in check_xa_alloc_2() 1016 XA_BUG_ON(xa, xa_erase(xa, 5) != NULL); in check_xa_alloc_2() 1025 XA_BUG_ON(xa, xa_erase(xa, i) != NULL); in check_xa_alloc_2() 1028 XA_BUG_ON(xa, xa_erase(xa, 8) != NULL); in check_xa_alloc_2() 1030 XA_BUG_ON(xa, xa_erase(xa, base + 9) != NULL); in check_xa_alloc_2() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | port.c | 591 xa_erase(&pf->sf_nums, devlink_port->attrs.pci_sf.sf); in ice_dealloc_dynamic_port() 594 xa_erase(&pf->dyn_ports, dyn_port->vsi->idx); in ice_dealloc_dynamic_port() 958 xa_erase(&pf->dyn_ports, vsi->idx); in ice_alloc_dynamic_port() 964 xa_erase(&pf->sf_nums, sfnum); in ice_alloc_dynamic_port()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | egress_ofld.c | 27 xa_erase(&vport->egress.offloads.bounce_rules, rule_index); in esw_acl_egress_ofld_bounce_rule_destroy() 37 xa_erase(&vport->egress.offloads.bounce_rules, i); in esw_acl_egress_ofld_bounce_rules_destroy()
|
| /linux/tools/testing/radix-tree/ |
| H A D | iteration_check_2.c | 47 xa_erase(xa, i); in throbber()
|
| H A D | iteration_check.c | 143 item = xa_erase(&array, pgoff); in remove_entries_fn()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_free_list.c | 457 xa_erase(&free_list->pvr_dev->free_list_ids, free_list->fw_id); in pvr_free_list_create() 477 xa_erase(&free_list->pvr_dev->free_list_ids, free_list->fw_id); in pvr_free_list_release() 526 pvr_free_list_put(xa_erase(&pvr_file->free_list_handles, handle)); in pvr_destroy_free_lists_for_file()
|
| H A D | pvr_context.c | 384 xa_erase(&pvr_dev->ctx_ids, ctx->ctx_id); in pvr_context_release() 418 struct pvr_context *ctx = xa_erase(&pvr_file->ctx_handles, handle); in pvr_context_destroy()
|
| /linux/kernel/liveupdate/ |
| H A D | luo_file.c | 343 xa_erase(&luo_preserved_files, luo_get_id(fh, file)); in luo_preserve_file() 390 xa_erase(&luo_preserved_files, in luo_file_unpreserve_files() 737 xa_erase(&luo_preserved_files, in luo_file_finish()
|
| /linux/drivers/gpu/drm/vkms/ |
| H A D | vkms_config.c | 442 xa_erase(&plane_cfg->possible_crtcs, idx); in vkms_config_plane_detach_crtc() 585 xa_erase(&encoder_cfg->possible_crtcs, idx); in vkms_config_encoder_detach_crtc() 646 xa_erase(&connector_cfg->possible_encoders, idx); in vkms_config_connector_detach_encoder()
|
| /linux/drivers/net/phy/ |
| H A D | phy_link_topology.c | 96 pdn = xa_erase(&topo->phys, phy->phyindex); in phy_link_topo_del_phy()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_adapter.c | 144 WARN_ON(xa_erase(&ice_adapters, index) != adapter); in ice_adapter_put()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | ib_client.c | 96 xa_erase(&rd->rd_xa, rn->rn_index); in rpcrdma_rn_unregister()
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_ctx.c | 59 ctx = xa_erase(&mgr->handles, id); in lima_ctx_free()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
| H A D | dev.c | 151 xa_erase(&table->devices, sf_index); in mlx5_sf_dev_del() 376 xa_erase(&table->devices, index); in mlx5_sf_dev_destroy_all()
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | cm.c | 187 if (!xa_erase(&sriov->pv_id_table, ent->pv_cm_id)) in id_map_ent_timeout() 555 xa_erase(&sriov->pv_id_table, ent->pv_cm_id); in mlx4_ib_cm_paravirt_clean() 571 xa_erase(&sriov->pv_id_table, map->pv_cm_id); in mlx4_ib_cm_paravirt_clean()
|
| /linux/drivers/tty/serial/ |
| H A D | liteuart.c | 334 xa_erase(&liteuart_array, dev_id); in liteuart_probe() 345 xa_erase(&liteuart_array, line); in liteuart_remove()
|
| /linux/drivers/scsi/elx/libefc/ |
| H A D | efc_nport.c | 153 xa_erase(&domain->lookup, nport->fc_id); in efc_nport_free() 296 xa_erase(&domain->lookup, nport->fc_id); in __efc_nport_common() 561 xa_erase(&domain->lookup, nport->fc_id); in __efc_nport_wait_shutdown()
|