Home
last modified time | relevance | path

Searched refs:xa_to_value (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/lib/
Didr.c404 unsigned long tmp = xa_to_value(bitmap); in ida_alloc_range()
501 unsigned long v = xa_to_value(bitmap); in ida_free()
580 pr_cont("value: data %lx [%px]\n", xa_to_value(entry), entry); in ida_dump_entry()
Dxarray.c2283 pr_cont("value %ld (0x%lx) [%px]\n", xa_to_value(entry), in xa_dump_entry()
2284 xa_to_value(entry), entry); in xa_dump_entry()
Dtest_xarray.c155 XA_BUG_ON(xa, xa_to_value(entry) != j); in check_xa_load()
166 XA_BUG_ON(xa, xa_to_value(entry) != j); in check_xa_load()
Dmaple_tree.c6747 pr_cont("value %ld (0x%lx) [%p]\n", xa_to_value(entry), in mt_dump_entry()
6748 xa_to_value(entry), entry); in mt_dump_entry()
/linux-6.6.21/fs/
Ddax.c71 return xa_to_value(entry) >> DAX_SHIFT; in dax_to_pfn()
81 return xa_to_value(entry) & DAX_LOCKED; in dax_is_locked()
86 if (xa_to_value(entry) & DAX_PMD) in dax_entry_order()
93 return xa_to_value(entry) & DAX_PMD; in dax_is_pmd_entry()
98 return !(xa_to_value(entry) & DAX_PMD); in dax_is_pte_entry()
103 return xa_to_value(entry) & DAX_ZERO_PAGE; in dax_is_zero_entry()
108 return xa_to_value(entry) & DAX_EMPTY; in dax_is_empty_entry()
294 unsigned long v = xa_to_value(entry); in dax_lock_entry()
909 WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) | in dax_insert_entry()
/linux-6.6.21/drivers/iommu/iommufd/
Dselftest.c256 WARN_ON(!(xa_to_value(ent) & in mock_domain_unmap_pages()
261 WARN_ON(!(xa_to_value(ent) & in mock_domain_unmap_pages()
281 return (xa_to_value(ent) & MOCK_PFN_MASK) * MOCK_IO_PAGE_SIZE; in mock_domain_iova_to_phys()
553 (xa_to_value(ent) & MOCK_PFN_MASK) * MOCK_IO_PAGE_SIZE != in iommufd_test_md_check_pa()
Dpages.c532 if (!batch_add_pfn(batch, xa_to_value(entry)) || in batch_from_xarray()
553 if (!batch_add_pfn(batch, xa_to_value(entry))) in batch_from_xarray_clear()
1604 *(out_pages++) = pfn_to_page(xa_to_value(entry)); in iopt_pages_fill_from_xarray()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec_fs.c107 *ipsec_obj_id = xa_to_value(val); in mlx5_esw_ipsec_rx_ipsec_obj_id_search()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dxarray.rst43 查它是否是一个值条目,并通过调用xa_to_value()将它转换回一个整数。
/linux-6.6.21/include/linux/
Dswapops.h158 entry.val = xa_to_value(arg); in radix_to_swp_entry()
Dxarray.h67 static inline unsigned long xa_to_value(const void *entry) in xa_to_value() function
/linux-6.6.21/mm/
Dworkingset.c212 unsigned long entry = xa_to_value(shadow); in unpack_shadow()
/linux-6.6.21/arch/arm64/kvm/
Dhypercalls.c214 return xa_to_value(val); in kvm_smccc_filter_get_action()
Demulate-nested.c1617 .val = xa_to_value(xa_load(&sr_forward_xa, sysreg)), in get_trap_config()
/linux-6.6.21/net/devlink/
Dregion.c297 count = xa_to_value(p); in __devlink_snapshot_id_increment()
335 count = xa_to_value(p); in __devlink_snapshot_id_decrement()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_pages.c618 unsigned long base = xa_to_value(sg); in __i915_gem_object_page_iter_get_sg()
/linux-6.6.21/drivers/pci/
Dp2pdma.c989 type = xa_to_value(xa_load(&p2pdma->map_types, in pci_p2pdma_map_type()
/linux-6.6.21/Documentation/core-api/
Dmaple_tree.rst32 them back by calling xa_to_value(). If the user needs to use a reserved
Dxarray.rst38 an integer by calling xa_to_value().
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmr.c241 return (u32)xa_to_value(xa_mkey); in pop_stored_mkey()
249 return (u32)xa_to_value(xa_mkey); in pop_stored_mkey()