Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dmemremap.c102 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/
Drange.c110 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/
Dkmem.c84 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()
Dbus.c147 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()
Ddevice.c65 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/
Dordered-data.h190 const u64 range_start, const u64 range_len);
192 const u64 range_start, const u64 range_len);
Dordered-data.c555 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()
Dqgroup.c3805 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/
Drange.h11 static inline u64 range_len(const struct range *range) in range_len() function
/kernel/linux/linux-5.10/tools/testing/nvdimm/
Ddax-dev.c20 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dbadrange.c237 len = range->start + range_len(range) in badblocks_populate()
252 len = range_len(range); in badblocks_populate()
Dpmem.c437 range_len(&pmem->pgmap.range); in pmem_attach_disk()
Dpfn_devs.c702 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()
/kernel/linux/linux-5.10/drivers/dax/pmem/
Dcore.c67 .size = range_len(&range), in __dax_pmem_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c581 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/
Dtest_hmm.c501 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/
Dnouveau_dmem.c299 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/
Dbook3s_hv_uvmem.c697 (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/
Dp2pdma.c205 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()
/kernel/linux/linux-5.10/Documentation/vm/
Dhmm.rst300 release_mem_region(pagemap.range.start, range_len(&pagemap.range));