/kernel/linux/linux-5.10/include/linux/ |
D | xarray.h | 292 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 …]
|
D | idr.h | 245 struct xarray xa;
|
D | radix-tree.h | 23 #define radix_tree_root xarray
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | Makefile | 7 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
|
D | multiorder.c | 15 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()
|
D | test.h | 18 int item_delete_rcu(struct xarray *xa, unsigned long index); 30 int tag_tagged_items(struct xarray *, unsigned long start, unsigned long end,
|
D | test.c | 79 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 | .gitignore | 8 xarray
|
D | iteration_check_2.c | 35 struct xarray *xa = arg; in throbber()
|
D | iteration_check.c | 21 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/ |
D | mapping.c | 14 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/ |
D | test_xarray.c | 20 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 …]
|
D | xarray.c | 31 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/ |
D | drm_gem.h | 411 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/ |
D | restrack.h | 19 struct xarray xa;
|
D | uverbs.h | 162 struct xarray idr;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_ctx.h | 25 struct xarray handles;
|
D | lima_sched.h | 26 struct xarray deps;
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-srv.h | 28 struct xarray index_idr;
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | srq.h | 54 struct xarray array;
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 318 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/ |
D | chcr_ktls.h | 78 struct xarray tid_list;
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | netdev.h | 56 struct xarray dev_tbl;
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | index.rst | 36 xarray
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr.h | 171 struct xarray qps; 172 struct xarray srqs;
|