| /Linux-v6.1/lib/ |
| D | test_maple_tree.c | 36 return mtree_insert(mt, index, xa_mk_value(index & LONG_MAX), gfp); in mtree_insert_index() 41 MT_BUG_ON(mt, mtree_erase(mt, index) != xa_mk_value(index & LONG_MAX)); in mtree_erase_index() 179 return check_load(mt, index, xa_mk_value(index & LONG_MAX)); in check_index_load() 314 check_insert(mt, 0, xa_mk_value(0)); in check_mid_split() 326 xa_mk_value(i), GFP_KERNEL); in check_rev_find() 331 MT_BUG_ON(mt, val != xa_mk_value(100)); in check_rev_find() 341 MT_BUG_ON(mt, val != xa_mk_value(100)); in check_rev_find() 343 MT_BUG_ON(mt, val != xa_mk_value(99)); in check_rev_find() 347 MT_BUG_ON(mt, val != xa_mk_value(2)); in check_rev_find() 349 MT_BUG_ON(mt, val != xa_mk_value(1)); in check_rev_find() [all …]
|
| D | test_xarray.c | 37 return xa_mk_value(index & LONG_MAX); in xa_mk_index() 96 XA_BUG_ON(xa, xa_err(xa_store(xa, 1, xa_mk_value(0), GFP_KERNEL)) != 0); in check_xa_err() 111 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry() 115 XA_BUG_ON(xa, xas_retry(&xas, xa_mk_value(0))); in check_xas_retry() 118 XA_BUG_ON(xa, xas_next_entry(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry() 127 XA_BUG_ON(xa, xas_next_entry(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry() 340 XA_BUG_ON(xa, xas_load(&xas) != xa_mk_value(1)); in check_xa_shrink() 342 XA_BUG_ON(xa, xa_entry_locked(xa, node, 0) != xa_mk_value(0)); in check_xa_shrink() 343 XA_BUG_ON(xa, xas_store(&xas, NULL) != xa_mk_value(1)); in check_xa_shrink() 349 XA_BUG_ON(xa, xa_load(xa, 0) != xa_mk_value(0)); in check_xa_shrink() [all …]
|
| D | idr.c | 412 xas_store(&xas, xa_mk_value(tmp)); in ida_alloc_range() 441 bitmap = xa_mk_value(1UL << bit); in ida_alloc_range() 509 xas_store(&xas, xa_mk_value(v)); in ida_free()
|
| /Linux-v6.1/tools/testing/radix-tree/ |
| D | iteration_check_2.c | 43 xa_store(xa, i, xa_mk_value(i), GFP_KERNEL); in throbber() 64 xa_store(&array, 100, xa_mk_value(100), GFP_KERNEL); in iteration_test2()
|
| D | idr-test.c | 291 idr_alloc(&find_idr, xa_mk_value(id), id, id + 1, GFP_KERNEL); in idr_throbber() 308 BUG_ON(idr_alloc(&find_idr, xa_mk_value(anchor_id), anchor_id, in idr_find_test_1() 319 entry != xa_mk_value(id)) { in idr_find_test_1()
|
| D | maple.c | 981 value = xa_mk_value(set[i + 1]); in check_erase2_testset() 1011 check_erase(mt, set[i+1], xa_mk_value(set[i+1])); in check_erase2_testset() 34011 MT_BUG_ON(mt, entry != xa_mk_value(140656779083776)); in check_erase2_sets() 34013 MT_BUG_ON(mt, entry != xa_mk_value(140656766251008)); in check_erase2_sets() 34322 expected = xa_mk_value(r_start); in rcu_reader_fwd() 34337 expected = xa_mk_value(r_start); in rcu_reader_fwd() 34350 expected = xa_mk_value(r_start); in rcu_reader_fwd() 34358 alt = xa_mk_value(index + i + RCU_RANGE_COUNT); in rcu_reader_fwd() 34377 alt = xa_mk_value(index + i * 2 + 1 + in rcu_reader_fwd() 34437 expected = xa_mk_value(r_start); in rcu_reader_rev() [all …]
|
| /Linux-v6.1/Documentation/translations/zh_CN/core-api/ |
| D | xarray.rst | 41 你也可以在XArray中存储0到 ``LONG_MAX`` 之间的整数。你必须首先使用xa_mk_value()
|
| /Linux-v6.1/mm/ |
| D | workingset.c | 195 return xa_mk_value(eviction); in pack_shadow()
|
| /Linux-v6.1/include/linux/ |
| D | swapops.h | 164 return xa_mk_value(entry.val); in swp_to_radix_entry()
|
| D | xarray.h | 54 static inline void *xa_mk_value(unsigned long v) in xa_mk_value() function
|
| /Linux-v6.1/drivers/pci/ |
| D | doe.c | 342 return xa_mk_value((vid << 8) | prot); in pci_doe_xa_prot_entry()
|
| D | p2pdma.c | 539 xa_mk_value(map_type), GFP_KERNEL); in calc_map_type_and_dist()
|
| /Linux-v6.1/fs/ |
| D | dax.c | 90 return xa_mk_value(flags | (pfn_t_to_pfn(pfn) << DAX_SHIFT)); in dax_make_entry() 309 return xas_store(xas, xa_mk_value(v | DAX_LOCKED)); in dax_lock_entry() 895 WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) | in dax_insert_entry()
|
| /Linux-v6.1/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_pages.c | 567 entry = xa_mk_value(idx); in __i915_gem_object_get_sg()
|
| /Linux-v6.1/Documentation/core-api/ |
| D | maple_tree.rst | 31 entries then the users can convert the entries using xa_mk_value() and convert
|
| D | xarray.rst | 35 You must first convert it into an entry using xa_mk_value().
|
| /Linux-v6.1/drivers/infiniband/hw/mlx5/ |
| D | mr.c | 214 old = __xa_store(&ent->mkeys, ent->stored, xa_mk_value(mkey), 0); in push_to_reserved() 1622 xa_mk_value(mr->mmkey.key))) in mlx5_ib_dereg_mr()
|
| /Linux-v6.1/net/core/ |
| D | devlink.c | 5877 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_increment() 5916 __xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_decrement() 5951 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(0), in __devlink_snapshot_id_insert() 5975 return xa_alloc(&devlink->snapshot_ids, id, xa_mk_value(1), in __devlink_region_snapshot_id_get()
|
| /Linux-v6.1/fs/ceph/ |
| D | mds_client.c | 430 #define DELEGATED_INO_AVAILABLE xa_mk_value(1)
|