Home
last modified time | relevance | path

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

1234567

/linux/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);
356 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t);
357 void *xa_erase(struct xarray *, unsigned long index);
358 void *xa_store_range(struct xarray *, unsigned long first, unsigned long last,
360 bool xa_get_mark(struct xarray *, unsigned long index, xa_mark_t);
361 void xa_set_mark(struct xarray *, unsigned long index, xa_mark_t);
362 void xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t);
363 void *xa_find(struct xarray *xa, unsigned long *index,
[all …]
H A Dphy_link_topology.h17 struct xarray;
22 struct xarray phys;
/linux/drivers/dpll/
H A Ddpll_core.h34 struct xarray pin_refs;
57 struct xarray dpll_refs;
58 struct xarray parent_refs;
59 struct xarray ref_sync_pins;
88 struct dpll_pin_ref *dpll_xa_ref_dpll_first(struct xarray *xa_refs);
89 extern struct xarray dpll_device_xa;
90 extern struct xarray dpll_pin_xa;
/linux/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.h219 struct xarray ctx_ids;
227 struct xarray free_list_ids;
233 struct xarray job_ids;
374 struct xarray ctx_handles;
382 struct xarray free_list_handles;
390 struct xarray hwrt_handles;
398 struct xarray vm_ctx_handles;
/linux/lib/
H A Dtest_xarray.c20 void xa_dump(const struct xarray *xa) { } in xa_dump()
40 static void *xa_store_index(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_store_index()
45 static void xa_insert_index(struct xarray *xa, unsigned long index) in xa_insert_index()
51 static void xa_alloc_index(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_alloc_index()
60 static void xa_erase_index(struct xarray *xa, unsigned long index) in xa_erase_index()
71 static void *xa_store_order(struct xarray *xa, unsigned long index, in xa_store_order()
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()
175 static noinline void check_xa_mark_1(struct xarray *xa, unsigned long index) in check_xa_mark_1()
[all …]
H A Dxarray.c33 static inline unsigned int xa_lock_type(const struct xarray *xa) in xa_lock_type()
58 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()
68 static inline void xa_mark_set(struct xarray *xa, xa_mark_t mark) in xa_mark_set()
74 static inline void xa_mark_clear(struct xarray *xa, xa_mark_t mark) in xa_mark_clear()
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()
[all …]
/linux/rust/helpers/
H A Dxarray.c10 void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags) in rust_helper_xa_init_flags()
15 int rust_helper_xa_trylock(struct xarray *xa) in rust_helper_xa_trylock()
20 void rust_helper_xa_lock(struct xarray *xa) in rust_helper_xa_lock()
25 void rust_helper_xa_unlock(struct xarray *xa) in rust_helper_xa_unlock()
/linux/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()
390 static void discard_dsmas(struct xarray *xa) in discard_dsmas()
401 DEFINE_FREE(dsmas, struct xarray *, if (_T) discard_dsmas(_T)) in DEFINE_FREE() argument
407 struct xarray __dsmas_xa; in DEFINE_FREE()
408 struct xarray *dsmas_xa __free(dsmas) = &__dsmas_xa; in DEFINE_FREE()
630 struct xarray *usp_xa, in cxl_endpoint_gather_bandwidth()
[all …]
/linux/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
20 xarray: $(CORE_OFILES) xarray.o global() target
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,
H A Dtest.c79 int item_delete_rcu(struct xarray *xa, unsigned long index) in item_delete_rcu()
173 int tag_tagged_items(struct xarray *xa, unsigned long start, unsigned long end, in tag_tagged_items()
255 void item_kill_tree(struct xarray *xa) in item_kill_tree()
/linux/tools/testing/shared/
H A Dshared.mk11 SHARED_OFILES = xarray-shared.o radix-tree.o idr.o linux.o $(LIBS)
18 ../../../include/linux/xarray.h \
53 xarray-shared.o: ../shared/xarray-shared.c ../../../lib/xarray.c \
/linux/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/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/drivers/gpu/drm/tegra/
H A Duapi.h23 struct xarray contexts;
24 struct xarray syncpoints;
/linux/drivers/gpu/drm/vkms/
H A Dvkms_config.h51 struct xarray possible_crtcs;
94 struct xarray possible_crtcs;
117 struct xarray possible_encoders;
/linux/drivers/net/ethernet/intel/ice/
H A Dice_eswitch_br.h50 struct xarray vlans;
59 struct xarray ports;
/linux/drivers/iommu/iommufd/
H A Diommufd_private.h46 struct xarray objects;
47 struct xarray groups;
86 struct xarray domains;
87 struct xarray access_list;
475 struct xarray pasid_attach;
578 struct xarray response;
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c17 mlx5_fs_destroy_pr_pool(struct mlx5_fs_pool *pool, struct xarray *pr_pools,
20 mlx5_fs_destroy_mh_pool(struct mlx5_fs_pool *pool, struct xarray *mh_pools,
203 struct xarray *dests_xa; in mlx5_fs_add_flow_table_dest_action()
225 struct xarray *dests_xa; in mlx5_fs_del_flow_table_dest_action()
419 struct xarray *dests_xa; in mlx5_fs_get_dest_action_vport()
473 mlx5_fs_get_cached_hws_data(struct xarray *cache_xa, unsigned long index) in mlx5_fs_get_cached_hws_data()
508 struct xarray *meters_xa; in mlx5_fs_get_action_aso_meter()
527 struct xarray *meters_xa; in mlx5_fs_put_action_aso_meter()
544 struct xarray *sampler_xa; in mlx5_fs_get_dest_action_sampler()
562 struct xarray *sampler_xa; in mlx5_fs_put_dest_action_sampler()
[all …]
/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst4 :Original: Documentation/core-api/xarray.rst
371 include/linux/xarray.h
373 lib/xarray.c
/linux/scripts/gdb/linux/
H A Dmapletree.py14 from linux import xarray
76 if xarray.xa_is_node(root):
249 if xarray.xa_is_zero(entry):
/linux/include/drm/
H A Ddrm_file.h48 extern struct xarray drm_minors_xa;
471 struct drm_minor *drm_minor_acquire(struct xarray *minors_xa, unsigned int minor_id);
/linux/mm/
H A Dzswap.c200 static struct xarray *zswap_trees[MAX_SWAPFILES];
231 static inline struct xarray *swap_zswap_tree(swp_entry_t swp) in swap_zswap_tree()
1003 struct xarray *tree; in zswap_writeback_entry()
1567 struct xarray *tree; in zswap_store()
1605 struct xarray *tree = swap_zswap_tree(swp); in zswap_load()
1663 struct xarray *tree = swap_zswap_tree(swp); in zswap_invalidate()
1676 struct xarray *trees, *tree; in zswap_swapon()
1696 struct xarray *trees = zswap_trees[type]; in zswap_swapoff()

1234567