Home
last modified time | relevance | path

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

12

/linux/lib/
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()
1656 xa_mk_value(seq400[2])); in check_gap_combining()
1658 xa_mk_value(seq400[3])); in check_gap_combining()
1660 xa_mk_value(seq400[4])); in check_gap_combining()
1662 xa_mk_value(seq400[5])); in check_gap_combining()
1664 xa_mk_value(seq400[0])); in check_gap_combining()
1666 xa_mk_value(seq400[6])); in check_gap_combining()
1668 xa_mk_value(seq400[7])); in check_gap_combining()
1670 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()
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 …]
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/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 Dmaple.c1035 value = xa_mk_value(set[i + 1]); in check_erase2_testset()
34559 alt = xa_mk_value(index + i + in rcu_reader_rev()
35257 vals.entry1 = xa_mk_value(865); in check_rcu_threaded()
35258 vals.entry2 = xa_mk_value(8650); in check_rcu_threaded()
35281 vals.entry2 = xa_mk_value(439); in check_rcu_threaded()
35282 vals.entry3 = xa_mk_value(439); in check_rcu_threaded()
35318 vals.entry2 = xa_mk_value(439); in check_rcu_threaded()
35333 vals.entry3 = xa_mk_value(438); in check_rcu_threaded()
36357 tree.ma_root = xa_mk_value(0); in farmer_tests()
36362 node->slot[0] = xa_mk_value(0); in farmer_tests()
[all …]
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/arch/arm64/kvm/
A Dhypercalls.c147 xa_mk_value(KVM_SMCCC_FILTER_HANDLE), in kvm_smccc_filter_insert_reserved()
154 xa_mk_value(KVM_SMCCC_FILTER_HANDLE), in kvm_smccc_filter_insert_reserved()
203 xa_mk_value(filter.action), GFP_KERNEL_ACCOUNT); in kvm_smccc_set_filter()
A Demulate-nested.c1968 xa_mk_value(cgt->tc.val), GFP_KERNEL); in populate_nv_trap_config()
2006 xa_mk_value(tc.val), GFP_KERNEL); in populate_nv_trap_config()
2064 xa_mk_value(tc.val), GFP_KERNEL); in populate_sysreg_config()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dmlx5hws_vport.c43 xa_mk_value(vport_gvmi), GFP_KERNEL); in hws_vport_add_gvmi()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dipsec_fs.c54 xa_mk_value(sa_entry->ipsec_obj_id), in mlx5_esw_ipsec_rx_setup_modify_header()
/linux/net/devlink/
A Dregion.c300 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_increment()
339 __xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_decrement()
374 err = xa_err(__xa_store(&devlink->snapshot_ids, id, xa_mk_value(0), in __devlink_snapshot_id_insert()
398 return xa_alloc(&devlink->snapshot_ids, id, xa_mk_value(1), in __devlink_region_snapshot_id_get()
A Ddev.c281 xa_mk_value(0), GFP_KERNEL); in devl_nested_devlink_set()
/linux/Documentation/translations/zh_CN/core-api/
A Dxarray.rst41 你也可以在XArray中存储0到 ``LONG_MAX`` 之间的整数。你必须首先使用xa_mk_value()
/linux/include/linux/
A Dswapops.h164 return xa_mk_value(entry.val); in swp_to_radix_entry()
A Dxarray.h58 static inline void *xa_mk_value(unsigned long v) in xa_mk_value() function
/linux/drivers/iommu/iommufd/
A Dselftest.c233 xa_mk_value(val), GFP_KERNEL); in mock_test_and_clear_dirty()
407 xa_mk_value((paddr / MOCK_IO_PAGE_SIZE) | in mock_domain_map_pages()
1392 xa_mk_value(val), GFP_KERNEL); in iommufd_test_dirty()
A Dpages.c596 old = xas_store(&xas, xa_mk_value(page_to_pfn(*pages))); in pages_to_xarray()
/linux/mm/
A Dworkingset.c207 return xa_mk_value(eviction); in pack_shadow()
/linux/fs/
A Ddax.c76 return xa_mk_value(flags | (pfn_t_to_pfn(pfn) << DAX_SHIFT)); in dax_make_entry()
295 return xas_store(xas, xa_mk_value(v | DAX_LOCKED)); in dax_lock_entry()
909 WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) | in dax_insert_entry()
/linux/drivers/pci/
A Ddoe.c419 return xa_mk_value((vid << 8) | prot); in pci_doe_xa_prot_entry()
A Dp2pdma.c664 xa_mk_value(map_type), GFP_ATOMIC); in calc_map_type_and_dist()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_pages.c572 entry = xa_mk_value(idx); in __i915_gem_object_page_iter_get_sg()
/linux/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/virt/kvm/
A Dkvm_main.c2530 entry = attributes ? xa_mk_value(attributes) : NULL; in kvm_vm_set_mem_attributes()

Completed in 135 milliseconds

12