Home
last modified time | relevance | path

Searched refs:nr_range (Results 1 – 10 of 10) sorted by relevance

/drivers/dax/
Dkmem.c74 for (i = 0; i < dev_dax->nr_range; i++) { in dev_dax_kmem_probe()
94 data = kzalloc(struct_size(data, res, dev_dax->nr_range), GFP_KERNEL); in dev_dax_kmem_probe()
107 for (i = 0; i < dev_dax->nr_range; i++) { in dev_dax_kmem_probe()
188 for (i = 0; i < dev_dax->nr_range; i++) { in dev_dax_kmem_remove()
210 if (success >= dev_dax->nr_range) { in dev_dax_kmem_remove()
Dbus.c166 for (i = 0; i < dev_dax->nr_range; i++) in dev_dax_size()
401 int i = dev_dax->nr_range - 1; in trim_dev_dax_range()
411 if (--dev_dax->nr_range == 0) { in trim_dev_dax_range()
419 while (dev_dax->nr_range) in free_dev_dax_ranges()
816 if (dev_WARN_ONCE(dev, dev_dax->nr_range, in alloc_dev_dax_range()
828 * (dev_dax->nr_range + 1), GFP_KERNEL); in alloc_dev_dax_range()
834 for (i = 0; i < dev_dax->nr_range; i++) in alloc_dev_dax_range()
837 ranges[dev_dax->nr_range++] = (struct dev_dax_range) { in alloc_dev_dax_range()
845 dev_dbg(dev, "alloc range[%d]: %pa:%pa\n", dev_dax->nr_range - 1, in alloc_dev_dax_range()
855 rc = devm_register_dax_mapping(dev_dax, dev_dax->nr_range - 1); in alloc_dev_dax_range()
[all …]
Ddevice.c59 for (i = 0; i < dev_dax->nr_range; i++) { in dax_pgoff_to_phys()
410 if (dev_dax->nr_range > 1) { in dev_dax_probe()
425 struct_size(pgmap, ranges, dev_dax->nr_range - 1), in dev_dax_probe()
430 pgmap->nr_range = dev_dax->nr_range; in dev_dax_probe()
433 for (i = 0; i < dev_dax->nr_range; i++) { in dev_dax_probe()
439 for (i = 0; i < dev_dax->nr_range; i++) { in dev_dax_probe()
Ddax-private.h73 int nr_range; member
/drivers/xen/
Dunpopulated-alloc.c95 pgmap->nr_range = 1; in fill_list()
/drivers/pci/
Dp2pdma.c199 pgmap->nr_range = 1; in pci_p2pdma_add_resource()
/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c255 chunk->pagemap.nr_range = 1; in nouveau_dmem_chunk_alloc()
/drivers/nvdimm/
Dpmem.c544 pmem->pgmap.nr_range = 1; in pmem_attach_disk()
Dpfn_devs.c700 pgmap->nr_range = 1; in __nvdimm_setup_pfn()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c1028 pgmap->nr_range = 1; in svm_migrate_init()