Searched refs:xa_to_value (Results 1 – 20 of 20) sorted by relevance
/linux-6.6.21/lib/ |
D | idr.c | 404 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()
|
D | xarray.c | 2283 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()
|
D | test_xarray.c | 155 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()
|
D | maple_tree.c | 6747 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/ |
D | dax.c | 71 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/ |
D | selftest.c | 256 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()
|
D | pages.c | 532 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/ |
D | ipsec_fs.c | 107 *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/ |
D | xarray.rst | 43 查它是否是一个值条目,并通过调用xa_to_value()将它转换回一个整数。
|
/linux-6.6.21/include/linux/ |
D | swapops.h | 158 entry.val = xa_to_value(arg); in radix_to_swp_entry()
|
D | xarray.h | 67 static inline unsigned long xa_to_value(const void *entry) in xa_to_value() function
|
/linux-6.6.21/mm/ |
D | workingset.c | 212 unsigned long entry = xa_to_value(shadow); in unpack_shadow()
|
/linux-6.6.21/arch/arm64/kvm/ |
D | hypercalls.c | 214 return xa_to_value(val); in kvm_smccc_filter_get_action()
|
D | emulate-nested.c | 1617 .val = xa_to_value(xa_load(&sr_forward_xa, sysreg)), in get_trap_config()
|
/linux-6.6.21/net/devlink/ |
D | region.c | 297 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/ |
D | i915_gem_pages.c | 618 unsigned long base = xa_to_value(sg); in __i915_gem_object_page_iter_get_sg()
|
/linux-6.6.21/drivers/pci/ |
D | p2pdma.c | 989 type = xa_to_value(xa_load(&p2pdma->map_types, in pci_p2pdma_map_type()
|
/linux-6.6.21/Documentation/core-api/ |
D | maple_tree.rst | 32 them back by calling xa_to_value(). If the user needs to use a reserved
|
D | xarray.rst | 38 an integer by calling xa_to_value().
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | mr.c | 241 return (u32)xa_to_value(xa_mkey); in pop_stored_mkey() 249 return (u32)xa_to_value(xa_mkey); in pop_stored_mkey()
|