Home
last modified time | relevance | path

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

1234

/Linux-v5.15/lib/
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 …]
Dtest_hmm.c328 entry = xa_load(&dmirror->pt, pfn); in dmirror_do_read()
397 entry = xa_load(&dmirror->pt, pfn); in dmirror_do_write()
632 entry = xa_load(&dmirror->pt, pfn); in dmirror_check_atomic()
/Linux-v5.15/drivers/iommu/
Dioasid.c275 ioasid_data = xa_load(&active_allocator->xa, ioasid); in ioasid_set_data()
358 ioasid_data = xa_load(&active_allocator->xa, ioasid); in ioasid_get()
382 ioasid_data = xa_load(&active_allocator->xa, ioasid); in ioasid_put()
428 ioasid_data = xa_load(&idata->xa, ioasid); in ioasid_find()
/Linux-v5.15/drivers/gpu/drm/tegra/
Duapi.c141 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
169 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map()
260 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
Dsubmit.c123 mapping = xa_load(&context->mappings, id); in tegra_drm_mapping_get()
314 sp = xa_load(syncpoints, args->syncpt.id); in submit_get_syncpt()
497 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_submit()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c87 root = xa_load(&dev->priv.page_root_xa, function); in page_root_per_function()
158 root = xa_load(&dev->priv.page_root_xa, function); in find_fw_page()
239 root = xa_load(&dev->priv.page_root_xa, fwp->function); in free_fwp()
409 root = xa_load(&dev->priv.page_root_xa, function); in release_all_pages()
469 root = xa_load(&dev->priv.page_root_xa, get_function(func_id, ec_function)); in reclaim_pages_cmd()
/Linux-v5.15/drivers/infiniband/hw/cxgb4/
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-v5.15/arch/arm64/mm/
Dmteswap.c51 void *tags = xa_load(&mte_pages, entry.val); in mte_restore_tags()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmapping.c116 mi = xa_load(&ctx->xarray, index); in mapping_remove()
139 mi = xa_load(&ctx->xarray, index); in mapping_find()
/Linux-v5.15/mm/
Dreadahead.c200 struct page *page = xa_load(&mapping->i_pages, index + i); in page_cache_ra_unbounded()
675 struct page *page = xa_load(&mapping->i_pages, index); in readahead_expand()
698 struct page *page = xa_load(&mapping->i_pages, index); in readahead_expand()
/Linux-v5.15/drivers/tty/serial/
Dliteuart.c325 uart = (struct liteuart_port *)xa_load(&liteuart_array, co->index); in liteuart_console_write()
342 uart = (struct liteuart_port *)xa_load(&liteuart_array, co->index); in liteuart_console_setup()
/Linux-v5.15/fs/ksmbd/mgmt/
Dtree_connect.c97 return xa_load(&sess->tree_conns, id); in ksmbd_tree_conn_lookup()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Ddevx.c1361 event = xa_load(&dev->devx_event_table.event_xa, in devx_cleanup_subscription()
1365 xa_val_level2 = xa_load(&event->object_ids, sub->xa_key_level2); in devx_cleanup_subscription()
1426 event = xa_load(&table->event_xa, MLX5_EVENT_TYPE_COMP); in devx_cq_comp()
1430 obj_event = xa_load(&event->object_ids, obj_id); in devx_cq_comp()
1839 event = xa_load(&devx_event_table->event_xa, key_level1); in subscribe_event_xa_dealloc()
1842 xa_val_level2 = xa_load(&event->object_ids, in subscribe_event_xa_dealloc()
1861 event = xa_load(&devx_event_table->event_xa, key_level1); in subscribe_event_xa_alloc()
1883 obj_event = xa_load(&event->object_ids, key_level2); in subscribe_event_xa_alloc()
2113 event = xa_load(&devx_event_table->event_xa, in UVERBS_HANDLER()
2123 obj_event = xa_load(&event->object_ids, obj_id); in UVERBS_HANDLER()
[all …]
/Linux-v5.15/drivers/gpu/drm/lima/
Dlima_ctx.c72 ctx = xa_load(&mgr->handles, id); in lima_ctx_get()
/Linux-v5.15/block/partitions/
Dcore.c348 if (xa_load(&disk->part_tbl, partno)) in add_partition()
484 part = xa_load(&disk->part_tbl, partno); in bdev_del_partition()
506 part = xa_load(&disk->part_tbl, partno); in bdev_resize_partition()
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dcm.c275 ent = xa_load(&sriov->pv_id_table, *pv_cm_id); in id_map_get()
366 item = xa_load(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id); in alloc_rej_tmout()
411 item = xa_load(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id); in lookup_rej_tmout_slave()
/Linux-v5.15/drivers/infiniband/core/
Ddevice.c312 device = xa_load(&devices, index); in ib_device_get_by_index()
431 struct ib_client *client = xa_load(&clients, index); in ib_device_rename()
665 if (xa_load(&devices, device->index) == device) in ib_dealloc_device()
760 client_data = xa_load(&device->client_data, client_id); in remove_client_context()
762 client = xa_load(&clients, client_id); in remove_client_context()
943 cdev = xa_load(&device->compat_devs, rnet->id); in add_one_compat_dev()
1756 if (xa_load(&clients, highest_client_id - 1)) in remove_client_id()
1881 struct ib_client *client = xa_load(&clients, index); in __ib_get_client_nl_info()
2549 struct ib_client *client = xa_load(&clients, index); in ib_get_net_dev_by_params()
Dib_core_uverbs.c127 entry = xa_load(&ucontext->mmap_xa, pgoff); in rdma_user_mmap_entry_get_pgoff()
Drestrack.c291 res = xa_load(&rt->xa, id); in rdma_restrack_get_byid()
/Linux-v5.15/drivers/base/
Dmemory.c580 mem = xa_load(&memory_blocks, block_id); in find_memory_block_by_id()
1029 group = xa_load(&memory_groups, mgid); in memory_group_unregister()
1048 return xa_load(&memory_groups, mgid); in memory_group_find_by_id()
/Linux-v5.15/fs/erofs/
Dutils.c53 grp = xa_load(&sbi->managed_pslots, index); in erofs_find_workgroup()
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_cq.c460 hr_cq = xa_load(&hr_dev->cq_table.array, in hns_roce_cq_completion()
481 hr_cq = xa_load(&hr_dev->cq_table.array, in hns_roce_cq_event()
/Linux-v5.15/arch/x86/kernel/cpu/sgx/
Dvirt.c45 epc_page = xa_load(&vepc->page_array, index); in __sgx_vepc_fault()
/Linux-v5.15/drivers/dma-buf/
Ddma-heap.c82 heap = xa_load(&dma_heap_minors, iminor(inode)); in dma_heap_open()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c164 sf_dev = xa_load(&table->devices, sf_index); in mlx5_sf_dev_state_change_handler()

1234