| /linux/lib/ |
| H A D | test_xarray.c | 20 void xa_dump(const struct xarray *xa) { } in xa_dump() 23 #define XA_BUG_ON(xa, x) do { \ argument 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() [all …]
|
| H A D | xarray.c | 33 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() 447 struct xarray *xa = xas->xa; in xas_shrink() local 569 struct xarray *xa = xas->xa; in xas_expand() local 649 struct xarray *xa = xas->xa; in xas_create() local 1612 void *xa_load(struct xarray *xa, unsigned long index) in xa_load() 1646 void *__xa_erase(struct xarray *xa, unsigned long index) in __xa_erase() [all …]
|
| H A D | scatterlist.c | 1318 struct xarray *xa = iter->xarray; in extract_xarray_to_sg() local
|
| /linux/include/linux/ |
| H A D | xarray.h | 382 static inline void xa_init_flags(struct xarray *xa, gfp_t flags) in xa_init_flags() 397 static inline void xa_init(struct xarray *xa) in xa_init() 409 static inline bool xa_empty(const struct xarray *xa) in xa_empty() 422 static inline bool xa_marked(const struct xarray *xa, xa_mark_t mark) in xa_marked() 451 #define xa_for_each_range(xa, index, entry, start, last) \ argument 480 #define xa_for_each_start(xa, index, entry, start) \ argument 504 #define xa_for_each(xa, index, entry) \ argument 531 #define xa_for_each_marked(xa, index, entry, filter) \ argument 535 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock) argument 536 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) argument [all …]
|
| H A D | idr.h | 264 struct xarray xa; member
|
| H A D | cdrom.h | 118 int xa; member
|
| /linux/rust/helpers/ |
| H A D | xarray.c | 10 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/tools/testing/radix-tree/ |
| H 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()
|
| H A D | iteration_check_2.c | 35 struct xarray *xa = arg; in throbber() local
|
| H A D | iteration_check.c | 21 void my_item_insert(struct xarray *xa, unsigned long index) in my_item_insert()
|
| /linux/drivers/infiniband/core/ |
| H A D | restrack.h | 19 struct xarray xa; member
|
| H A D | restrack.c | 50 struct xarray *xa = &dev->res[i].xa; in rdma_restrack_clean() local
|
| H A D | device.c | 182 static void *xan_find_marked(struct xarray *xa, unsigned long *indexp, in xan_find_marked() 204 #define xan_for_each_marked(xa, index, entry, filter) \ argument
|
| H A D | cma.c | 222 struct xarray *xa = cma_pernet_xa(net, ps); in cma_ps_alloc() local 230 struct xarray *xa = cma_pernet_xa(net, ps); in cma_ps_find() local 238 struct xarray *xa = cma_pernet_xa(net, ps); in cma_ps_remove() local
|
| /linux/rust/kernel/ |
| H A D | xarray.rs | 58 xa: Opaque<bindings::xarray>, field 151 xa: &'a XArray<T>, field
|
| /linux/drivers/cxl/core/ |
| H A D | cdat.c | 390 static void discard_dsmas(struct xarray *xa) in discard_dsmas() 723 static void free_perf_xa(struct xarray *xa) in free_perf_xa() 862 static struct xarray *cxl_rp_gather_bandwidth(struct xarray *xa) in cxl_rp_gather_bandwidth() 906 static struct xarray *cxl_hb_gather_bandwidth(struct xarray *xa) in cxl_hb_gather_bandwidth()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_reg_sr_types.h | 23 struct xarray xa; member
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_pool.h | 42 struct xarray xa; member
|
| /linux/drivers/platform/x86/intel/pmt/ |
| H A D | class.h | 61 struct xarray *xa; member
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | qat_asym_algs.c | 85 dma_addr_t xa; member 89 dma_addr_t xa; member 105 char *xa; member
|
| /linux/drivers/iommu/iommufd/ |
| H A D | pages.c | 556 static void batch_from_xarray(struct pfn_batch *batch, struct xarray *xa, in batch_from_xarray() 577 static void batch_from_xarray_clear(struct pfn_batch *batch, struct xarray *xa, in batch_from_xarray_clear() 600 static void clear_xarray(struct xarray *xa, unsigned long start_index, in clear_xarray() 612 static int pages_to_xarray(struct xarray *xa, unsigned long start_index, in pages_to_xarray()
|
| /linux/fs/cachefiles/ |
| H A D | daemon.c | 139 struct xarray *xa = &cache->reqs; in cachefiles_flush_reqs() local
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_qp.c | 308 struct xarray *xa = &hr_dev->qp_table_xa; in hns_roce_qp_store() local 391 struct xarray *xa = &hr_dev->qp_table_xa; in hns_roce_qp_remove() local
|
| /linux/mm/ |
| H A D | vmalloc.c | 2695 struct xarray *xa; in new_vmap_block() local 2756 struct xarray *xa; in free_vmap_block() local 2899 struct xarray *xa; in vb_free() local 4483 struct xarray *xa; in vmap_ram_vread_iter() local
|
| /linux/drivers/nvme/target/ |
| H A D | nvmet.h | 37 #define nvmet_for_each_ns(xa, index, entry) \ argument 40 #define nvmet_for_each_enabled_ns(xa, index, entry) \ argument
|