Home
last modified time | relevance | path

Searched refs:xarray (Results 1 – 25 of 202) sorted by relevance

123456789

/linux-6.15/include/linux/
H A Dxarray.h300 struct xarray { struct
324 struct xarray name = XARRAY_INIT(name, flags) argument
355 void *xa_load(struct xarray *, unsigned long index);
357 void *xa_erase(struct xarray *, unsigned long index);
363 void *xa_find(struct xarray *xa, unsigned long *index,
369 void xa_destroy(struct xarray *);
397 static inline void xa_init(struct xarray *xa) in xa_init()
409 static inline bool xa_empty(const struct xarray *xa) in xa_empty()
1168 struct xarray *array; /* The array we belong to */
1180 void xa_dump(const struct xarray *);
[all …]
H A Dphy_link_topology.h17 struct xarray;
22 struct xarray phys;
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.h19 struct xarray el2tol3tnl_pools;
20 struct xarray el2tol2tnl_pools;
21 struct xarray mh_pools;
22 struct xarray table_dests;
23 struct xarray vport_vhca_dests;
24 struct xarray vport_dests;
25 struct xarray aso_meters;
26 struct xarray sample_dests;
H A Dcontext.h34 struct xarray vport_gvmi_xa;
53 struct xarray peer_ctx_xa;
/linux-6.15/drivers/gpu/drm/imagination/
H A Dpvr_sync.h10 struct xarray;
61 pvr_sync_signal_array_cleanup(struct xarray *array);
64 pvr_sync_signal_array_collect_ops(struct xarray *array,
70 pvr_sync_signal_array_update_fences(struct xarray *array,
76 pvr_sync_signal_array_push_fences(struct xarray *array);
82 struct xarray *signal_array);
H A Dpvr_sync.c48 pvr_sync_signal_array_cleanup(struct xarray *array) in pvr_sync_signal_array_cleanup()
60 pvr_sync_signal_array_add(struct xarray *array, struct drm_file *file, u32 handle, u64 point) in pvr_sync_signal_array_add()
107 pvr_sync_signal_array_search(struct xarray *array, u32 handle, u64 point) in pvr_sync_signal_array_search()
121 pvr_sync_signal_array_get(struct xarray *array, struct drm_file *file, u32 handle, u64 point) in pvr_sync_signal_array_get()
133 pvr_sync_signal_array_collect_ops(struct xarray *array, in pvr_sync_signal_array_collect_ops()
160 pvr_sync_signal_array_update_fences(struct xarray *array, in pvr_sync_signal_array_update_fences()
189 pvr_sync_signal_array_push_fences(struct xarray *array) in pvr_sync_signal_array_push_fences()
251 struct xarray *signal_array) in pvr_sync_add_deps_to_job()
H A Dpvr_device.h177 struct xarray ctx_ids;
185 struct xarray free_list_ids;
191 struct xarray job_ids;
329 struct xarray ctx_handles;
337 struct xarray free_list_handles;
345 struct xarray hwrt_handles;
353 struct xarray vm_ctx_handles;
/linux-6.15/drivers/dpll/
H A Ddpll_core.h34 struct xarray pin_refs;
57 struct xarray dpll_refs;
58 struct xarray parent_refs;
87 struct dpll_pin_ref *dpll_xa_ref_dpll_first(struct xarray *xa_refs);
88 extern struct xarray dpll_device_xa;
89 extern struct xarray dpll_pin_xa;
/linux-6.15/tools/testing/radix-tree/
H A DMakefile5 TARGETS = main idr-test multiorder xarray maple
6 CORE_OFILES = $(SHARED_OFILES) xarray.o maple.o test.o
17 xarray.o: ../../../lib/test_xarray.c
21 xarray: $(CORE_OFILES) xarray.o target
H A Dmultiorder.c15 static int item_insert_order(struct xarray *xa, unsigned long index, in item_insert_order()
34 void multiorder_iteration(struct xarray *xa) in multiorder_iteration()
74 void multiorder_tagged_iteration(struct xarray *xa) in multiorder_tagged_iteration()
198 static void multiorder_iteration_race(struct xarray *xa) in multiorder_iteration_race()
257 static void load_race(struct xarray *xa) in load_race()
H A Dtest.h18 int item_delete_rcu(struct xarray *xa, unsigned long index);
30 int tag_tagged_items(struct xarray *, unsigned long start, unsigned long end,
/linux-6.15/lib/
H A Dtest_xarray.c20 void xa_dump(const struct xarray *xa) { } in xa_dump()
86 static noinline void check_xa_err(struct xarray *xa) in check_xa_err()
102 static noinline void check_xas_retry(struct xarray *xa) in check_xas_retry()
147 static noinline void check_xa_load(struct xarray *xa) in check_xa_load()
313 static noinline void check_xa_mark(struct xarray *xa) in check_xa_mark()
373 static noinline void check_insert(struct xarray *xa) in check_insert()
404 static noinline void check_cmpxchg(struct xarray *xa) in check_cmpxchg()
1347 static noinline void check_find(struct xarray *xa) in check_find()
1417 static noinline void check_pause(struct xarray *xa) in check_pause()
1580 static noinline void check_move(struct xarray *xa) in check_move()
[all …]
H A Dxarray.c58 static inline bool xa_track_free(const struct xarray *xa) in xa_track_free()
63 static inline bool xa_zero_busy(const struct xarray *xa) in xa_zero_busy()
254 #define XA_RCU_FREE ((struct xarray *)1)
447 struct xarray *xa = xas->xa; in xas_shrink()
569 struct xarray *xa = xas->xa; in xas_expand()
649 struct xarray *xa = xas->xa; in xas_create()
1612 void *xa_load(struct xarray *xa, unsigned long index) in xa_load()
1665 void *xa_erase(struct xarray *xa, unsigned long index) in xa_erase()
1979 int __xa_alloc(struct xarray *xa, u32 *id, void *entry, in __xa_alloc()
2377 void xa_destroy(struct xarray *xa) in xa_destroy()
[all …]
/linux-6.15/lib/tests/
H A Dkunit_iov_iter.c541 struct xarray *xarray = data; in iov_kunit_destroy_xarray() local
543 xa_destroy(xarray); in iov_kunit_destroy_xarray()
544 kfree(xarray); in iov_kunit_destroy_xarray()
549 struct xarray *xarray, in iov_kunit_load_xarray() argument
566 struct xarray *xarray; in iov_kunit_create_xarray() local
568 xarray = kzalloc(sizeof(struct xarray), GFP_KERNEL); in iov_kunit_create_xarray()
569 xa_init(xarray); in iov_kunit_create_xarray()
572 return xarray; in iov_kunit_create_xarray()
582 struct xarray *xarray; in iov_kunit_copy_to_xarray() local
640 struct xarray *xarray; in iov_kunit_copy_from_xarray() local
[all …]
/linux-6.15/drivers/cxl/core/
H A Dcdat.c58 struct xarray *dsmas_xa = arg; in cdat_dsmas_handler()
130 struct xarray *dsmas_xa = arg; in cdat_dslbis_handler()
181 struct xarray *dsmas_xa) in cxl_cdat_endpoint_process()
197 struct xarray *dsmas_xa) in cxl_port_perf_data_calculate()
259 struct xarray *dsmas_xa) in cxl_memdev_set_qos_class()
407 struct xarray __dsmas_xa; in DEFINE_FREE()
633 struct xarray *usp_xa, in cxl_endpoint_gather_bandwidth()
865 static struct xarray *cxl_rp_gather_bandwidth(struct xarray *xa) in cxl_rp_gather_bandwidth()
909 static struct xarray *cxl_hb_gather_bandwidth(struct xarray *xa) in cxl_hb_gather_bandwidth()
958 struct xarray *input_xa) in cxl_region_update_bandwidth()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmapping.c18 struct xarray xarray; member
64 err = xa_alloc(&ctx->xarray, &mi->id, mi, XA_LIMIT(1, ctx->max_id), in mapping_add()
88 xa_erase(&ctx->xarray, mi->id); in mapping_remove_and_free()
116 mi = xa_load(&ctx->xarray, index); in mapping_remove()
139 mi = xa_load(&ctx->xarray, index); in mapping_find()
214 xa_init_flags(&ctx->xarray, XA_FLAGS_ALLOC1); in mapping_create()
259 xa_destroy(&ctx->xarray); in mapping_destroy()
/linux-6.15/tools/testing/shared/
H A Dshared.mk8 SHARED_OFILES = xarray-shared.o radix-tree.o idr.o linux.o $(LIBS)
14 ../../../include/linux/xarray.h \
49 xarray-shared.o: ../shared/xarray-shared.c ../../../lib/xarray.c \
/linux-6.15/drivers/gpu/drm/i915/
H A Di915_file_private.h78 struct xarray proto_context_xa;
87 struct xarray context_xa;
88 struct xarray vm_xa;
/linux-6.15/fs/smb/server/mgmt/
H A Duser_session.h52 struct xarray ksmbd_chann_list;
53 struct xarray tree_conns;
55 struct xarray rpc_handle_list;
/linux-6.15/net/devlink/
H A Ddevl_internal.h35 struct xarray ports;
40 struct xarray params;
49 struct xarray snapshot_ids;
62 struct xarray nested_rels;
66 extern struct xarray devlinks;
/linux-6.15/drivers/accel/ivpu/
H A Divpu_drv.h140 struct xarray context_xa;
143 struct xarray db_xa;
155 struct xarray submitted_jobs_xa;
181 struct xarray cmdq_xa;
/linux-6.15/drivers/gpu/drm/tegra/
H A Duapi.h23 struct xarray contexts;
24 struct xarray syncpoints;
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_device_types.h370 struct xarray indexes;
412 struct xarray asid_to_vm;
634 struct xarray xa;
646 struct xarray xa;
/linux-6.15/Documentation/driver-api/cxl/
H A Daccess-coordinates.rst61 The calculation starts at cxl_region_shared_upstream_perf_update(). A xarray
68 'struct cxl_perf_ctx' in the xarray indexed by a device pointer. If the
82 also the index for the resulting xarray.
87 ACPI0017 device to form a new xarray.
90 bandwidth from all the members of the last xarray is updated for the
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_eswitch_br.h50 struct xarray vlans;
59 struct xarray ports;

123456789