Home
last modified time | relevance | path

Searched refs:xa_load (Results 1 – 25 of 155) sorted by relevance

1234567

/linux/lib/
H A Dtest_xarray.c63 XA_BUG_ON(xa, xa_load(xa, index) != NULL); in xa_erase_index()
153 void *entry = xa_load(xa, j); in check_xa_load()
164 void *entry = xa_load(xa, j); in check_xa_load()
344 XA_BUG_ON(xa, xa_load(xa, 1) != NULL); in check_xa_shrink()
349 XA_BUG_ON(xa, xa_load(xa, 0) != xa_mk_value(0)); in check_xa_shrink()
356 XA_BUG_ON(xa, xa_load(xa, max) != xa_mk_value(0)); in check_xa_shrink()
357 XA_BUG_ON(xa, xa_load(xa, max + 1) != NULL); in check_xa_shrink()
366 XA_BUG_ON(xa, xa_load(xa, max + 1) != NULL); in check_xa_shrink()
379 XA_BUG_ON(xa, xa_load(xa, i - 1) != NULL); in check_insert()
380 XA_BUG_ON(xa, xa_load(xa, i + 1) != NULL); in check_insert()
[all …]
H A Dref_tracker.c388 if (!xa_load(&debugfs_dentries, index) || in ref_tracker_debugfs_show()
432 dentry = xa_load(&debugfs_dentries, (unsigned long)dir); in ref_tracker_dir_debugfs()
465 symlink = xa_load(&debugfs_symlinks, (unsigned long)dir); in ref_tracker_dir_symlink()
466 dentry = xa_load(&debugfs_dentries, (unsigned long)dir); in ref_tracker_dir_symlink()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_free_list.h143 free_list = pvr_free_list_get(xa_load(&pvr_file->free_list_handles, handle)); in pvr_free_list_lookup()
172 free_list = xa_load(&pvr_dev->free_list_ids, id); in pvr_free_list_lookup_id()
H A Dpvr_hwrt.h105 hwrt = xa_load(&pvr_file->hwrt_handles, handle); in pvr_hwrt_dataset_lookup()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_adapter.c102 adapter = xa_load(&ice_adapters, index); in ice_adapter_get()
138 adapter = xa_load(&ice_adapters, index); in ice_adapter_put()
H A Dice_eswitch.c185 repr = xa_load(&pf->eswitch.reprs, *repr_id); in ice_eswitch_update_repr()
588 struct ice_repr *repr = xa_load(&pf->eswitch.reprs, vf->repr_id); in ice_eswitch_detach_vf()
606 struct ice_repr *repr = xa_load(&pf->eswitch.reprs, sf->repr_id); in ice_eswitch_detach_sf()
630 repr = xa_load(&eswitch->reprs, le16_to_cpu(desc->src_vsi)); in ice_eswitch_get_target()
H A Dice_eswitch_br.c312 port = xa_load(&bridge->ports, vsi_idx); in ice_esw_br_port_vlan_lookup()
318 vlan = xa_load(&port->vlans, vid); in ice_esw_br_port_vlan_lookup()
742 port = xa_load(&bridge->ports, vsi_idx); in ice_eswitch_br_port_vlan_add()
753 vlan = xa_load(&port->vlans, vid); in ice_eswitch_br_port_vlan_add()
777 port = xa_load(&bridge->ports, vsi_idx); in ice_eswitch_br_port_vlan_del()
781 vlan = xa_load(&port->vlans, vid); in ice_eswitch_br_port_vlan_del()
/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst63 然后你可以用xa_store()来设置条目,用xa_load()来获取条目。xa_store将用新的条目覆盖任
153 * xa_load()
195 如果你想利用锁来保护你存储在XArray中的数据结构,你可以在调用xa_load()之前调用xa_lock(),然后在
/linux/virt/lib/
H A Dirqbypass.c111 consumer = xa_load(&consumers, index); in irq_bypass_register_producer()
177 producer = xa_load(&producers, index); in irq_bypass_register_consumer()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_bond.c52 struct hns_roce_die_info *die_info = xa_load(&roce_bond_xa, bus_num); in hns_roce_get_bond_grp()
281 struct hns_roce_die_info *die_info = xa_load(&roce_bond_xa, bus_num); in alloc_bond_id()
306 struct hns_roce_die_info *die_info = xa_load(&roce_bond_xa, bus_num); in remove_bond_id()
854 if (xa_load(&roce_bond_xa, bus_num)) in hns_roce_alloc_bond_grp()
956 die_info = xa_load(&roce_bond_xa, bus_num); in hns_roce_bond_suspend()
989 die_info = xa_load(&roce_bond_xa, bus_num); in hns_roce_bond_resume()
/linux/drivers/gpu/drm/tegra/
H A Duapi.c173 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
203 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map()
284 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
H A Dsubmit.c152 mapping = xa_load(&context->mappings, id); in tegra_drm_mapping_get()
338 sp = xa_load(syncpoints, args->syncpt.id); in submit_get_syncpt()
524 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_submit()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_domain.c81 recalc_cs_ft = xa_load(&dmn->csum_fts_xa, vport_num); in mlx5dr_domain_get_recalc_cs_ft_addr()
329 vport_caps = xa_load(&caps->vports.vports_caps_xa, vport); in mlx5dr_domain_get_vport_cap()
546 peer = xa_load(&dmn->peer_dmn_xa, peer_vhca_id); in mlx5dr_domain_set_peer()
552 peer = xa_load(&dmn->peer_dmn_xa, peer_vhca_id); in mlx5dr_domain_set_peer()
/linux/drivers/infiniband/hw/cxgb4/
H A Dev.c127 qhp = xa_load(&dev->qps, CQE_QPID(err_cqe)); in c4iw_ev_dispatch()
228 chp = xa_load(&dev->cqs, qid); in c4iw_ev_handler()
/linux/drivers/gpu/drm/xe/
H A Dxe_tlb_inval_job.c212 xe_assert(gt_to_xe(job->q->gt), !xa_load(&job->dep.drm.dependencies, 0)); in xe_tlb_inval_job_alloc_dep()
249 xa_load(&job->dep.drm.dependencies, 0) == in xe_tlb_inval_job_push()
/linux/include/linux/
H A Dphy_link_topology.h55 pdn = xa_load(&topo->phys, phyindex); in phy_link_topo_get_phy()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmapping.c118 mi = xa_load(&ctx->xarray, index); in mapping_remove()
141 mi = xa_load(&ctx->xarray, index); in mapping_find()
/linux/drivers/cxl/core/
H A Dcdat.c154 dent = xa_load(dsmas_xa, dslbis->handle); in cdat_dslbis_handler()
669 perf_ctx = xa_load(usp_xa, index); in cxl_endpoint_gather_bandwidth()
795 us_ctx = xa_load(res_xa, us_index); in DEFINE_FREE()
879 hb_ctx = xa_load(hb_xa, hb_index); in cxl_rp_gather_bandwidth()
928 mw_ctx = xa_load(mw_xa, mw_index); in cxl_hb_gather_bandwidth()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c815 irq = xa_load(&table->comp_irqs, vecidx); in comp_irq_release_pci()
863 irq = xa_load(&table->comp_irqs, vecidx); in comp_irq_release_sf()
1018 irq = xa_load(&table->comp_irqs, vecidx); in create_comp_eq()
1064 eq = xa_load(&table->comp_eqs, vecidx); in mlx5_comp_eqn_get()
1095 eq = xa_load(&table->comp_eqs, vector); in mlx5_comp_irqn_get()
1112 eq = xa_load(&table->comp_eqs, vector); in mlx5_comp_irq_get_affinity_mask()
/linux/block/
H A Dblk-mq-sched.c462 ctx = xa_load(elv_tbl, q->id); in blk_mq_free_sched_res_batch()
587 ctx = xa_load(elv_tbl, q->id); in blk_mq_alloc_sched_res_batch()
604 ctx = xa_load(elv_tbl, q->id); in blk_mq_alloc_sched_res_batch()
/linux/drivers/base/
H A Dauxiliary_sysfs.c102 struct auxiliary_irq_info *info __free(kfree) = xa_load(&auxdev->sysfs.irqs, irq); in auxiliary_device_sysfs_irq_remove()
/linux/drivers/gpu/drm/lima/
H A Dlima_ctx.c73 ctx = xa_load(&mgr->handles, id); in lima_ctx_get()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c179 sf_dev = xa_load(&table->devices, sf_index); in mlx5_sf_dev_state_change_handler()
234 if (!xa_load(&work_ctx->table->devices, work_ctx->sf_index)) in mlx5_sf_dev_add_active_work()
/linux/drivers/infiniband/hw/mlx4/
H A Dcm.c276 ent = xa_load(&sriov->pv_id_table, *pv_cm_id); in id_map_get()
367 item = xa_load(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id); in alloc_rej_tmout()
412 item = xa_load(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id); in lookup_rej_tmout_slave()
/linux/drivers/accel/amdxdna/
H A Damdxdna_ctx.c360 hwctx = xa_load(&client->hwctx_xa, args->handle); in amdxdna_drm_config_hwctx_ioctl()
391 hwctx = xa_load(&client->hwctx_xa, abo->assigned_hwctx); in amdxdna_hwctx_sync_debug_bo()
509 hwctx = xa_load(&client->hwctx_xa, hwctx_hdl); in amdxdna_cmd_submit()

1234567