Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/include/linux/
Dxarray.h292 struct xarray { struct
316 struct xarray name = XARRAY_INIT(name, flags) argument
347 void *xa_load(struct xarray *, unsigned long index);
348 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t);
349 void *xa_erase(struct xarray *, unsigned long index);
350 void *xa_store_range(struct xarray *, unsigned long first, unsigned long last,
352 bool xa_get_mark(struct xarray *, unsigned long index, xa_mark_t);
353 void xa_set_mark(struct xarray *, unsigned long index, xa_mark_t);
354 void xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t);
355 void *xa_find(struct xarray *xa, unsigned long *index,
[all …]
Didr.h245 struct xarray xa;
Dradix-tree.h23 #define radix_tree_root xarray
/kernel/linux/linux-5.10/tools/testing/radix-tree/
DMakefile7 TARGETS = main idr-test multiorder xarray
8 CORE_OFILES := xarray.o radix-tree.o idr.o linux.o test.o find_bit.o bitmap.o
29 xarray: $(CORE_OFILES) target
41 ../../../include/linux/xarray.h \
51 xarray.o: ../../../lib/xarray.c ../../../lib/test_xarray.c
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()
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,
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()
D.gitignore8 xarray
Diteration_check_2.c35 struct xarray *xa = arg; in throbber()
Diteration_check.c21 void my_item_insert(struct xarray *xa, unsigned long index) in my_item_insert()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmapping.c14 struct xarray xarray; member
56 err = xa_alloc(&ctx->xarray, &mi->id, mi, XA_LIMIT(1, ctx->max_id), in mapping_add()
80 xa_erase(&ctx->xarray, mi->id); in mapping_remove_and_free()
108 mi = xa_load(&ctx->xarray, index); in mapping_remove()
131 mi = xa_load(&ctx->xarray, index); in mapping_find()
206 xa_init_flags(&ctx->xarray, XA_FLAGS_ALLOC1); in mapping_create()
214 xa_destroy(&ctx->xarray); in mapping_destroy()
/kernel/linux/linux-5.10/lib/
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 …]
Dxarray.c31 static inline unsigned int xa_lock_type(const struct xarray *xa) in xa_lock_type()
56 static inline bool xa_track_free(const struct xarray *xa) in xa_track_free()
61 static inline bool xa_zero_busy(const struct xarray *xa) in xa_zero_busy()
66 static inline void xa_mark_set(struct xarray *xa, xa_mark_t mark) in xa_mark_set()
72 static inline void xa_mark_clear(struct xarray *xa, xa_mark_t mark) in xa_mark_clear()
252 #define XA_RCU_FREE ((struct xarray *)1)
438 struct xarray *xa = xas->xa; in xas_shrink()
560 struct xarray *xa = xas->xa; in xas_expand()
640 struct xarray *xa = xas->xa; in xas_create()
1452 void *xa_load(struct xarray *xa, unsigned long index) in xa_load()
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem.h411 int drm_gem_fence_array_add(struct xarray *fence_array,
413 int drm_gem_fence_array_add_implicit(struct xarray *fence_array,
/kernel/linux/linux-5.10/drivers/infiniband/core/
Drestrack.h19 struct xarray xa;
Duverbs.h162 struct xarray idr;
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_ctx.h25 struct xarray handles;
Dlima_sched.h26 struct xarray deps;
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-srv.h28 struct xarray index_idr;
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dsrq.h54 struct xarray array;
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h318 struct xarray cqs;
319 struct xarray qps;
320 struct xarray mrs;
324 struct xarray hwtids;
325 struct xarray atids;
326 struct xarray stids;
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.h78 struct xarray tid_list;
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dnetdev.h56 struct xarray dev_tbl;
/kernel/linux/linux-5.10/Documentation/core-api/
Dindex.rst36 xarray
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr.h171 struct xarray qps;
172 struct xarray srqs;

123