Searched refs:nr_range (Results 1 – 10 of 10) sorted by relevance
/drivers/dax/ |
D | kmem.c | 74 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()
|
D | bus.c | 166 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 …]
|
D | device.c | 59 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()
|
D | dax-private.h | 73 int nr_range; member
|
/drivers/xen/ |
D | unpopulated-alloc.c | 95 pgmap->nr_range = 1; in fill_list()
|
/drivers/pci/ |
D | p2pdma.c | 199 pgmap->nr_range = 1; in pci_p2pdma_add_resource()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 255 chunk->pagemap.nr_range = 1; in nouveau_dmem_chunk_alloc()
|
/drivers/nvdimm/ |
D | pmem.c | 544 pmem->pgmap.nr_range = 1; in pmem_attach_disk()
|
D | pfn_devs.c | 700 pgmap->nr_range = 1; in __nvdimm_setup_pfn()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_migrate.c | 1028 pgmap->nr_range = 1; in svm_migrate_init()
|