Home
last modified time | relevance | path

Searched refs:xa_mk_value (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/lib/
A Dtest_maple_tree.c326 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 Dtest_xarray.c37 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 Didr.c412 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 Diteration_check_2.c43 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 Didr-test.c291 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 Dmaple.c982 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 Dxarray.rst41 你也可以在XArray中存储0到 ``LONG_MAX`` 之间的整数。你必须首先使用xa_mk_value()
/linux-6.3-rc2/include/linux/
A Dswapops.h164 return xa_mk_value(entry.val); in swp_to_radix_entry()
A Dxarray.h54 static inline void *xa_mk_value(unsigned long v) in xa_mk_value() function
/linux-6.3-rc2/mm/
A Dworkingset.c195 return xa_mk_value(eviction); in pack_shadow()
/linux-6.3-rc2/drivers/pci/
A Ddoe.c354 return xa_mk_value((vid << 8) | prot); in pci_doe_xa_prot_entry()
A Dp2pdma.c665 xa_mk_value(map_type), GFP_KERNEL); in calc_map_type_and_dist()
/linux-6.3-rc2/fs/
A Ddax.c90 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 Di915_gem_pages.c580 entry = xa_mk_value(idx); in __i915_gem_object_page_iter_get_sg()
/linux-6.3-rc2/drivers/iommu/iommufd/
A Dselftest.c161 xa_mk_value((paddr / MOCK_IO_PAGE_SIZE) | in mock_domain_map_pages()
A Dpages.c596 old = xas_store(&xas, xa_mk_value(page_to_pfn(*pages))); in pages_to_xarray()
/linux-6.3-rc2/Documentation/core-api/
A Dmaple_tree.rst31 entries then the users can convert the entries using xa_mk_value() and convert
A Dxarray.rst35 You must first convert it into an entry using xa_mk_value().
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dmr.c223 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 Dleftover.c4637 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 Dmds_client.c430 #define DELEGATED_INO_AVAILABLE xa_mk_value(1)

Completed in 101 milliseconds