/kernel/linux/linux-5.10/mm/ |
D | memremap.c | 102 return (range->start + range_len(range)) >> PAGE_SHIFT; in pfn_end() 153 PHYS_PFN(range_len(range))); in pageunmap_range() 156 PHYS_PFN(range_len(range)), NULL); in pageunmap_range() 158 arch_remove_memory(nid, range->start, range_len(range), in pageunmap_range() 160 kasan_remove_zero_shadow(__va(range->start), range_len(range)); in pageunmap_range() 164 untrack_pfn(NULL, PHYS_PFN(range->start), range_len(range)); in pageunmap_range() 225 is_ram = region_intersects(range->start, range_len(range), in pagemap_range() 244 range_len(range)); in pagemap_range() 263 PHYS_PFN(range_len(range)), params); in pagemap_range() 265 error = kasan_add_zero_shadow(__va(range->start), range_len(range)); in pagemap_range() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/ |
D | range.c | 110 int chan, range_len, i; in comedi_check_chanlist() local 116 range_len = s->range_table->length; in comedi_check_chanlist() 118 range_len = s->range_table_list[chan]->length; in comedi_check_chanlist() 120 range_len = 0; in comedi_check_chanlist() 122 CR_RANGE(chanspec) >= range_len) { in comedi_check_chanlist() 125 i, chanspec, chan, range_len); in comedi_check_chanlist()
|
/kernel/linux/linux-5.10/drivers/dax/ |
D | kmem.c | 84 res = request_mem_region(range.start, range_len(&range), data->res_name); in dev_dax_kmem_probe() 112 range_len(&range), kmem_name, MHP_NONE); in dev_dax_kmem_probe() 160 range_len(&range)); in dev_dax_kmem_remove()
|
D | bus.c | 147 size += range_len(&dev_dax->ranges[i].range); in dev_dax_size() 381 __release_region(&dax_region->res, range->start, range_len(range)); in trim_dev_dax_range() 560 || !IS_ALIGNED(range_len(range), align)) in alloc_dax_region() 795 pgoff += PHYS_PFN(range_len(&ranges[i].range)); in alloc_dev_dax_range() 888 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink() 889 if (shrink >= range_len(range)) { in dev_dax_shrink() 909 return adjust_dev_dax_range(dev_dax, adjust, range_len(range) in dev_dax_shrink() 1096 to_alloc = range_len(&r); in mapping_store() 1127 size_t len = range_len(&dev_dax->ranges[i].range); in dev_dax_validate_align() 1381 if (dev_dax->nr_range && range_len(&dev_dax->ranges[0].range)) { in devm_create_dev_dax()
|
D | device.c | 65 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys() 418 range_len(range), dev_name(dev))) { in dev_dax_probe()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | ordered-data.h | 190 const u64 range_start, const u64 range_len); 192 const u64 range_start, const u64 range_len);
|
D | ordered-data.c | 555 const u64 range_start, const u64 range_len) in btrfs_wait_ordered_extents() argument 563 const u64 range_end = range_start + range_len; in btrfs_wait_ordered_extents() 611 const u64 range_start, const u64 range_len) in btrfs_wait_ordered_roots() argument 632 range_start, range_len); in btrfs_wait_ordered_roots()
|
D | qgroup.c | 3805 u64 range_len = unode->aux - range_start + 1; in qgroup_free_reserved_data() local 3813 range_start + range_len <= start) in qgroup_free_reserved_data() 3816 free_len = min(start + len, range_start + range_len) - in qgroup_free_reserved_data()
|
/kernel/linux/linux-5.10/include/linux/ |
D | range.h | 11 static inline u64 range_len(const struct range *range) in range_len() function
|
/kernel/linux/linux-5.10/tools/testing/nvdimm/ |
D | dax-dev.c | 20 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | badrange.c | 237 len = range->start + range_len(range) in badblocks_populate() 252 len = range_len(range); in badblocks_populate()
|
D | pmem.c | 437 range_len(&pmem->pgmap.range); in pmem_attach_disk()
|
D | pfn_devs.c | 702 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()
|
/kernel/linux/linux-5.10/drivers/dax/pmem/ |
D | core.c | 67 .size = range_len(&range), in __dax_pmem_probe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 581 u32 range_len, void *ptr) in iwl_dump_prph() argument 598 for (i = 0; i < range_len; i++) { in iwl_dump_prph() 661 u32 range_len, void *ptr) in iwl_fw_get_prph_len() argument 669 for (i = 0; i < range_len; i++) { in iwl_fw_get_prph_len() 686 u32 range_len; in iwl_fw_prph_handler() local 689 range_len = ARRAY_SIZE(iwl_prph_dump_addr_ax210); in iwl_fw_prph_handler() 690 handler(fwrt, iwl_prph_dump_addr_ax210, range_len, ptr); in iwl_fw_prph_handler() 693 range_len = ARRAY_SIZE(iwl_prph_dump_addr_22000); in iwl_fw_prph_handler() 694 handler(fwrt, iwl_prph_dump_addr_22000, range_len, ptr); in iwl_fw_prph_handler() 696 range_len = ARRAY_SIZE(iwl_prph_dump_addr_comm); in iwl_fw_prph_handler() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | test_hmm.c | 501 pfn_last = pfn_first + (range_len(&devmem->pagemap.range) >> PAGE_SHIFT); in dmirror_allocate_chunk() 530 release_mem_region(devmem->pagemap.range.start, range_len(&devmem->pagemap.range)); in dmirror_allocate_chunk() 1129 range_len(&devmem->pagemap.range)); in dmirror_device_remove()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 299 release_mem_region(chunk->pagemap.range.start, range_len(&chunk->pagemap.range)); in nouveau_dmem_chunk_alloc() 387 range_len(&chunk->pagemap.range)); in nouveau_dmem_fini()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 697 (range_len(&kvmppc_uvmem_pgmap.range) >> PAGE_SHIFT); in kvmppc_uvmem_get_page() 1216 range_len(&kvmppc_uvmem_pgmap.range)); in kvmppc_uvmem_free()
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | p2pdma.c | 205 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | hmm.rst | 300 release_mem_region(pagemap.range.start, range_len(&pagemap.range));
|