/linux-6.3-rc2/include/linux/ |
A D | xarray.h | 296 struct xarray { struct 320 struct xarray name = XARRAY_INIT(name, flags) argument 351 void *xa_load(struct xarray *, unsigned long index); 353 void *xa_erase(struct xarray *, unsigned long index); 359 void *xa_find(struct xarray *xa, unsigned long *index, 365 void xa_destroy(struct xarray *); 393 static inline void xa_init(struct xarray *xa) in xa_init() 405 static inline bool xa_empty(const struct xarray *xa) in xa_empty() 1146 struct xarray *array; /* The array we belong to */ 1158 void xa_dump(const struct xarray *); [all …]
|
A D | uio.h | 57 struct xarray *xarray; member 253 void iov_iter_xarray(struct iov_iter *i, unsigned int direction, struct xarray *xarray,
|
A D | io_uring_types.h | 59 struct xarray xa; 252 struct xarray io_bl_xa; 276 struct xarray personalities;
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_drm_client.c | 26 xa_init_flags(&clients->xarray, XA_FLAGS_ALLOC | XA_FLAGS_LOCK_IRQ); in i915_drm_clients_init() 32 struct xarray *xa = &clients->xarray; in i915_drm_client_add() 63 struct xarray *xa = &client->clients->xarray; in __i915_drm_client_free() 74 GEM_BUG_ON(!xa_empty(&clients->xarray)); in i915_drm_clients_fini() 75 xa_destroy(&clients->xarray); in i915_drm_clients_fini()
|
A D | i915_file_private.h | 78 struct xarray proto_context_xa; 87 struct xarray context_xa; 88 struct xarray vm_xa;
|
A D | i915_drm_client.h | 23 struct xarray xarray; member
|
/linux-6.3-rc2/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() 254 #define XA_RCU_FREE ((struct xarray *)1) 441 struct xarray *xa = xas->xa; in xas_shrink() 563 struct xarray *xa = xas->xa; in xas_expand() 643 struct xarray *xa = xas->xa; in xas_create() 1456 void *xa_load(struct xarray *xa, unsigned long index) in xa_load() 1513 void *xa_erase(struct xarray *xa, unsigned long index) in xa_erase() 1812 int __xa_alloc(struct xarray *xa, u32 *id, void *entry, in __xa_alloc() 2207 void xa_destroy(struct xarray *xa) in xa_destroy() [all …]
|
/linux-6.3-rc2/tools/testing/radix-tree/ |
A D | Makefile | 7 TARGETS = main idr-test multiorder xarray maple 8 CORE_OFILES := xarray.o radix-tree.o idr.o linux.o test.o find_bit.o bitmap.o \ 35 xarray: $(CORE_OFILES) target 49 ../../../include/linux/xarray.h \ 60 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 | 9 xarray
|
/linux-6.3-rc2/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-6.3-rc2/fs/ksmbd/mgmt/ |
A D | user_session.h | 52 struct xarray ksmbd_chann_list; 53 struct xarray tree_conns; 55 struct xarray rpc_handle_list;
|
/linux-6.3-rc2/net/devlink/ |
A D | devl_internal.h | 27 struct xarray ports; 32 struct xarray params; 41 struct xarray snapshot_ids; 57 extern struct xarray devlinks;
|
/linux-6.3-rc2/drivers/gpu/drm/tegra/ |
A D | uapi.h | 23 struct xarray contexts; 24 struct xarray syncpoints;
|
/linux-6.3-rc2/drivers/iommu/iommufd/ |
A D | iommufd_private.h | 18 struct xarray objects; 38 struct xarray domains; 39 struct xarray access_list;
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | xarray.rst | 4 :Original: Documentation/core-api/xarray.rst 371 include/linux/xarray.h 373 lib/xarray.c
|
/linux-6.3-rc2/drivers/accel/ivpu/ |
A D | ivpu_drv.h | 96 struct xarray context_xa; 99 struct xarray submitted_jobs_xa;
|
/linux-6.3-rc2/drivers/cxl/ |
A D | cxl.h | 566 struct xarray dports; 567 struct xarray endpoints; 568 struct xarray regions; 635 struct xarray endpoints;
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | restrack.h | 19 struct xarray xa;
|
/linux-6.3-rc2/drivers/gpu/drm/lima/ |
A D | lima_ctx.h | 25 struct xarray handles;
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | pci_irq.h | 20 struct xarray irqs;
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | bridge_priv.h | 60 struct xarray vlans;
|