Home
last modified time | relevance | path

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

12

/linux-6.15/lib/
H A Dtest_maple_tree.c356 xa_mk_value(i), GFP_KERNEL); in check_rev_find()
1314 xa_mk_value(8185+i), 0); in check_ranges()
1766 xa_mk_value(seq400[2])); in check_gap_combining()
1768 xa_mk_value(seq400[3])); in check_gap_combining()
1770 xa_mk_value(seq400[4])); in check_gap_combining()
1772 xa_mk_value(seq400[5])); in check_gap_combining()
1774 xa_mk_value(seq400[0])); in check_gap_combining()
1776 xa_mk_value(seq400[6])); in check_gap_combining()
1778 xa_mk_value(seq400[7])); in check_gap_combining()
1780 xa_mk_value(seq400[8])); in check_gap_combining()
[all …]
H 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()
429 void *FIVE = xa_mk_value(5); in check_cmpxchg_order()
564 xas_store(&xas, xa_mk_value(0)); in check_xas_erase()
616 XA_BUG_ON(xa, xas_store(&xas, xa_mk_value(1)) != xa_mk_value(0)); in check_multi_store_2()
1180 xa_mk_value(multi)); in check_multi_find_1()
1184 xa_mk_value(multi)); in check_multi_find_1()
1187 xa_mk_value(next)); in check_multi_find_1()
[all …]
H 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()
576 xas_store(&xas, xa_mk_value(v)); in ida_free()
/linux-6.15/tools/testing/radix-tree/
H 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()
H A Dmaple.c1057 value = xa_mk_value(set[i + 1]); in check_erase2_testset()
34581 alt = xa_mk_value(index + i + in rcu_reader_rev()
35279 vals.entry1 = xa_mk_value(865); in check_rcu_threaded()
35280 vals.entry2 = xa_mk_value(8650); in check_rcu_threaded()
35303 vals.entry2 = xa_mk_value(439); in check_rcu_threaded()
35304 vals.entry3 = xa_mk_value(439); in check_rcu_threaded()
35340 vals.entry2 = xa_mk_value(439); in check_rcu_threaded()
35355 vals.entry3 = xa_mk_value(438); in check_rcu_threaded()
36379 tree.ma_root = xa_mk_value(0); in farmer_tests()
36384 node->slot[0] = xa_mk_value(0); in farmer_tests()
[all …]
H 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()
/linux-6.15/arch/arm64/kvm/
H A Dhypercalls.c149 xa_mk_value(KVM_SMCCC_FILTER_HANDLE), in kvm_smccc_filter_insert_reserved()
156 xa_mk_value(KVM_SMCCC_FILTER_HANDLE), in kvm_smccc_filter_insert_reserved()
205 xa_mk_value(filter.action), GFP_KERNEL_ACCOUNT); in kvm_smccc_set_filter()
H A Demulate-nested.c2056 xa_mk_value(cgt->tc.val), GFP_KERNEL); in populate_nv_trap_config()
2094 xa_mk_value(tc.val), GFP_KERNEL); in populate_nv_trap_config()
2153 xa_mk_value(tc.val), GFP_KERNEL); in populate_sysreg_config()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dvport.c43 xa_mk_value(vport_gvmi), GFP_KERNEL); in hws_vport_add_gvmi()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c54 xa_mk_value(sa_entry->ipsec_obj_id), in mlx5_esw_ipsec_rx_setup_modify_header()
/linux-6.15/net/devlink/
H A Dregion.c298 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_increment()
337 __xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_decrement()
372 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(0), in __devlink_snapshot_id_insert()
396 return xa_alloc(&devlink->snapshot_ids, id, xa_mk_value(1), in __devlink_region_snapshot_id_get()
H A Ddev.c281 xa_mk_value(0), GFP_KERNEL); in devl_nested_devlink_set()
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst41 你也可以在XArray中存储0到 ``LONG_MAX`` 之间的整数。你必须首先使用xa_mk_value()
/linux-6.15/include/linux/
H A Dswapops.h164 return xa_mk_value(entry.val); in swp_to_radix_entry()
H A Dxarray.h58 static inline void *xa_mk_value(unsigned long v) in xa_mk_value() function
/linux-6.15/mm/
H A Dworkingset.c207 return xa_mk_value(eviction); in pack_shadow()
/linux-6.15/drivers/iommu/iommufd/
H A Dselftest.c326 xa_mk_value(val), GFP_KERNEL); in mock_test_and_clear_dirty()
494 xa_mk_value((paddr / MOCK_IO_PAGE_SIZE) | in mock_domain_map_pages()
1649 xa_mk_value(val), GFP_KERNEL); in iommufd_test_dirty()
H A Dpages.c611 old = xas_store(&xas, xa_mk_value(page_to_pfn(*pages))); in pages_to_xarray()
/linux-6.15/fs/
H A Ddax.c81 return xa_mk_value(flags | (pfn_t_to_pfn(pfn) << DAX_SHIFT)); in dax_make_entry()
331 return xas_store(xas, xa_mk_value(v | DAX_LOCKED)); in dax_lock_entry()
1096 WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) | in dax_insert_entry()
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_pages.c572 entry = xa_mk_value(idx); in __i915_gem_object_page_iter_get_sg()
/linux-6.15/drivers/pci/
H A Ddoe.c584 return xa_mk_value((vid << 8) | type); in pci_doe_xa_feat_entry()
H A Dp2pdma.c673 xa_mk_value(map_type), GFP_ATOMIC); in calc_map_type_and_dist()
/linux-6.15/Documentation/core-api/
H A Dmaple_tree.rst31 entries then the users can convert the entries using xa_mk_value() and convert
H A Dxarray.rst35 You must first convert it into an entry using xa_mk_value().
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c2507 xa_mk_value(uid), GFP_KERNEL); in mlx5_cmd_add_privileged_uid()

12