/linux-6.3-rc2/lib/ |
A D | test_maple_tree.c | 326 xa_mk_value(i), GFP_KERNEL); in check_rev_find() 1205 xa_mk_value(8185+i), 0); in check_ranges() 1546 xa_mk_value(seq400[2])); in check_gap_combining() 1548 xa_mk_value(seq400[3])); in check_gap_combining() 1550 xa_mk_value(seq400[4])); in check_gap_combining() 1552 xa_mk_value(seq400[5])); in check_gap_combining() 1554 xa_mk_value(seq400[0])); in check_gap_combining() 1556 xa_mk_value(seq400[6])); in check_gap_combining() 1558 xa_mk_value(seq400[7])); in check_gap_combining() 1560 xa_mk_value(seq400[8])); in check_gap_combining() [all …]
|
A D | test_xarray.c | 37 return xa_mk_value(index & LONG_MAX); in xa_mk_index() 406 void *FIVE = xa_mk_value(5); in check_cmpxchg() 407 void *SIX = xa_mk_value(6); in check_cmpxchg() 408 void *LOTS = xa_mk_value(12345678); in check_cmpxchg() 511 xas_store(&xas, xa_mk_value(0)); in check_xas_erase() 563 XA_BUG_ON(xa, xas_store(&xas, xa_mk_value(1)) != xa_mk_value(0)); in check_multi_store_2() 947 xa_mk_value(multi)); in check_multi_find_1() 951 xa_mk_value(multi)); in check_multi_find_1() 954 xa_mk_value(next)); in check_multi_find_1() 1684 xas_store(&xas, xa_mk_value(0)); in check_workingset() [all …]
|
A 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-6.3-rc2/tools/testing/radix-tree/ |
A 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()
|
A 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()
|
A D | maple.c | 982 value = xa_mk_value(set[i + 1]); in check_erase2_testset() 34506 alt = xa_mk_value(index + i + in rcu_reader_rev() 35140 vals.entry1 = xa_mk_value(865); in check_rcu_threaded() 35141 vals.entry2 = xa_mk_value(8650); in check_rcu_threaded() 35164 vals.entry2 = xa_mk_value(439); in check_rcu_threaded() 35165 vals.entry3 = xa_mk_value(439); in check_rcu_threaded() 35197 vals.entry2 = xa_mk_value(439); in check_rcu_threaded() 35212 vals.entry3 = xa_mk_value(438); in check_rcu_threaded() 35746 tree.ma_root = xa_mk_value(0); in farmer_tests() 35751 node->slot[0] = xa_mk_value(0); in farmer_tests() [all …]
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | xarray.rst | 41 你也可以在XArray中存储0到 ``LONG_MAX`` 之间的整数。你必须首先使用xa_mk_value()
|
/linux-6.3-rc2/include/linux/ |
A D | swapops.h | 164 return xa_mk_value(entry.val); in swp_to_radix_entry()
|
A D | xarray.h | 54 static inline void *xa_mk_value(unsigned long v) in xa_mk_value() function
|
/linux-6.3-rc2/mm/ |
A D | workingset.c | 195 return xa_mk_value(eviction); in pack_shadow()
|
/linux-6.3-rc2/drivers/pci/ |
A D | doe.c | 354 return xa_mk_value((vid << 8) | prot); in pci_doe_xa_prot_entry()
|
A D | p2pdma.c | 665 xa_mk_value(map_type), GFP_KERNEL); in calc_map_type_and_dist()
|
/linux-6.3-rc2/fs/ |
A 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() 896 WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) | in dax_insert_entry()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_pages.c | 580 entry = xa_mk_value(idx); in __i915_gem_object_page_iter_get_sg()
|
/linux-6.3-rc2/drivers/iommu/iommufd/ |
A D | selftest.c | 161 xa_mk_value((paddr / MOCK_IO_PAGE_SIZE) | in mock_domain_map_pages()
|
A D | pages.c | 596 old = xas_store(&xas, xa_mk_value(page_to_pfn(*pages))); in pages_to_xarray()
|
/linux-6.3-rc2/Documentation/core-api/ |
A D | maple_tree.rst | 31 entries then the users can convert the entries using xa_mk_value() and convert
|
A D | xarray.rst | 35 You must first convert it into an entry using xa_mk_value().
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | mr.c | 223 old = __xa_store(&ent->mkeys, ent->stored, xa_mk_value(mkey), 0); in push_to_reserved() 1838 xa_mk_value(mr->mmkey.key)); in cache_ent_find_and_store()
|
/linux-6.3-rc2/net/devlink/ |
A D | leftover.c | 4637 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_increment() 4676 __xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_decrement() 4711 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(0), in __devlink_snapshot_id_insert() 4735 return xa_alloc(&devlink->snapshot_ids, id, xa_mk_value(1), in __devlink_region_snapshot_id_get()
|
/linux-6.3-rc2/fs/ceph/ |
A D | mds_client.c | 430 #define DELEGATED_INO_AVAILABLE xa_mk_value(1)
|