/linux/include/linux/ |
A D | xarray.h | 294 struct xarray { struct 318 struct xarray name = XARRAY_INIT(name, flags) argument 349 void *xa_load(struct xarray *, unsigned long index); 351 void *xa_erase(struct xarray *, unsigned long index); 357 void *xa_find(struct xarray *xa, unsigned long *index, 363 void xa_destroy(struct xarray *); 391 static inline void xa_init(struct xarray *xa) in xa_init() 403 static inline bool xa_empty(const struct xarray *xa) in xa_empty() 1130 struct xarray *array; /* The array we belong to */ 1142 void xa_dump(const struct xarray *); [all …]
|
A D | uio.h | 46 struct xarray *xarray; member 244 void iov_iter_xarray(struct iov_iter *i, unsigned int direction, struct xarray *xarray,
|
/linux/lib/ |
A D | test_xarray.c | 20 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() 1114 static noinline void check_find(struct xarray *xa) in check_find() 1184 static noinline void check_pause(struct xarray *xa) in check_pause() 1311 static noinline void check_move(struct xarray *xa) in check_move() [all …]
|
A D | xarray.c | 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() 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() 1449 void *xa_load(struct xarray *xa, unsigned long index) in xa_load() 1506 void *xa_erase(struct xarray *xa, unsigned long index) in xa_erase() 1805 int __xa_alloc(struct xarray *xa, u32 *id, void *entry, in __xa_alloc() 2200 void xa_destroy(struct xarray *xa) in xa_destroy() [all …]
|
A D | .xarray.o.cmd | 1 …xarray.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/a… 3 source_lib/xarray.o := lib/xarray.c 5 deps_lib/xarray.o := \ 594 include/linux/xarray.h \ 597 lib/xarray.o: $(deps_lib/xarray.o) 599 $(deps_lib/xarray.o):
|
/linux/tools/testing/radix-tree/ |
A 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
|
A 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()
|
A 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,
|
A 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()
|
A D | .gitignore | 8 xarray
|
A D | iteration_check_2.c | 35 struct xarray *xa = arg; in throbber()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | mapping.c | 18 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/drivers/gpu/drm/tegra/ |
A D | uapi.h | 23 struct xarray contexts; 24 struct xarray syncpoints;
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | xarray.rst | 4 :Original: Documentation/core-api/xarray.rst 369 include/linux/xarray.h 371 lib/xarray.c
|
/linux/include/drm/ |
A D | drm_gem.h | 410 int drm_gem_fence_array_add(struct xarray *fence_array, 412 int drm_gem_fence_array_add_implicit(struct xarray *fence_array,
|
/linux/drivers/infiniband/hw/cxgb4/ |
A 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;
|
/linux/drivers/infiniband/core/ |
A D | restrack.h | 19 struct xarray xa;
|
/linux/drivers/gpu/drm/lima/ |
A D | lima_ctx.h | 25 struct xarray handles;
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | bridge_priv.h | 60 struct xarray vlans;
|
/linux/drivers/platform/x86/intel/pmt/ |
A D | class.h | 40 struct xarray *xa;
|
/linux/drivers/scsi/elx/efct/ |
A D | efct_driver.h | 84 struct xarray lookup;
|
/linux/drivers/block/rnbd/ |
A D | rnbd-srv.h | 28 struct xarray index_idr;
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | dm.h | 31 struct xarray ops;
|
A D | srq.h | 55 struct xarray array;
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | netdev.h | 57 struct xarray dev_tbl;
|