| /Linux-v5.10/mm/ |
| D | memremap.c | 87 return (range->start + range_len(range)) >> PAGE_SHIFT; in pfn_end() 138 PHYS_PFN(range_len(range))); in pageunmap_range() 141 PHYS_PFN(range_len(range)), NULL); in pageunmap_range() 143 arch_remove_memory(nid, range->start, range_len(range), in pageunmap_range() 145 kasan_remove_zero_shadow(__va(range->start), range_len(range)); in pageunmap_range() 149 untrack_pfn(NULL, PHYS_PFN(range->start), range_len(range)); in pageunmap_range() 210 is_ram = region_intersects(range->start, range_len(range), in pagemap_range() 229 range_len(range)); in pagemap_range() 248 PHYS_PFN(range_len(range)), params); in pagemap_range() 250 error = kasan_add_zero_shadow(__va(range->start), range_len(range)); in pagemap_range() [all …]
|
| /Linux-v5.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()
|
| /Linux-v5.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() 380 range_len(range)); in free_dev_dax_ranges() 551 || !IS_ALIGNED(range_len(range), align)) in alloc_dax_region() 786 pgoff += PHYS_PFN(range_len(&ranges[i].range)); in alloc_dev_dax_range() 884 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink() 885 if (shrink >= range_len(range)) { in dev_dax_shrink() 889 range_len(range)); in dev_dax_shrink() 910 return adjust_dev_dax_range(dev_dax, adjust, range_len(range) in dev_dax_shrink() 1097 to_alloc = range_len(&r); in mapping_store() 1128 size_t len = range_len(&dev_dax->ranges[i].range); in dev_dax_validate_align() [all …]
|
| 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()
|
| /Linux-v5.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 | 3712 u64 range_len = unode->aux - range_start + 1; in qgroup_free_reserved_data() local 3720 range_start + range_len <= start) in qgroup_free_reserved_data() 3723 free_len = min(start + len, range_start + range_len) - in qgroup_free_reserved_data()
|
| /Linux-v5.10/include/linux/ |
| D | range.h | 11 static inline u64 range_len(const struct range *range) in range_len() function
|
| /Linux-v5.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()
|
| /Linux-v5.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()
|
| /Linux-v5.10/drivers/dax/pmem/ |
| D | core.c | 67 .size = range_len(&range), in __dax_pmem_probe()
|
| /Linux-v5.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 …]
|
| /Linux-v5.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() 1104 range_len(&devmem->pagemap.range)); in dmirror_device_remove()
|
| /Linux-v5.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()
|
| /Linux-v5.10/arch/powerpc/kvm/ |
| D | book3s_hv_uvmem.c | 692 (range_len(&kvmppc_uvmem_pgmap.range) >> PAGE_SHIFT); in kvmppc_uvmem_get_page() 1211 range_len(&kvmppc_uvmem_pgmap.range)); in kvmppc_uvmem_free()
|
| /Linux-v5.10/drivers/pci/ |
| D | p2pdma.c | 205 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()
|
| /Linux-v5.10/Documentation/vm/ |
| D | hmm.rst | 300 release_mem_region(pagemap.range.start, range_len(&pagemap.range));
|