Home
last modified time | relevance | path

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

/linux/lib/
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()
1662 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()
508 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 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/Documentation/translations/zh_CN/core-api/
A Dxarray.rst40 你也可以在XArray中存储0到 ``LONG_MAX`` 之间的整数。你必须首先使用xa_mk_value()
/linux/include/linux/
A Dswapops.h106 return xa_mk_value(entry.val); in swp_to_radix_entry()
A Dxarray.h52 static inline void *xa_mk_value(unsigned long v) in xa_mk_value() function
/linux/mm/
A Dworkingset.c196 return xa_mk_value(eviction); in pack_shadow()
/linux/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()
779 WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) | in dax_insert_entry()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_pages.c547 entry = xa_mk_value(idx); in __i915_gem_object_get_sg()
/linux/drivers/pci/
A Dp2pdma.c539 xa_mk_value(map_type), GFP_KERNEL); in calc_map_type_and_dist()
/linux/Documentation/core-api/
A Dxarray.rst35 You must first convert it into an entry using xa_mk_value().
/linux/net/core/
A Ddevlink.c5240 return xa_err(xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_increment()
5277 xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_decrement()
5308 return xa_err(xa_store(&devlink->snapshot_ids, id, xa_mk_value(0), in __devlink_snapshot_id_insert()
5332 return xa_alloc(&devlink->snapshot_ids, id, xa_mk_value(1), in __devlink_region_snapshot_id_get()
/linux/fs/ceph/
A Dmds_client.c430 #define DELEGATED_INO_AVAILABLE xa_mk_value(1)

Completed in 51 milliseconds