Searched refs:is_memory (Results 1 – 12 of 12) sorted by relevance
/drivers/nvdimm/ |
D | region_devs.c | 197 if (is_memory(&nd_region->dev)) { in nd_region_to_nstype() 221 if (is_memory(&nd_region->dev)) { in region_size() 297 if (is_memory(dev) && nd_set) in set_cookie_show() 351 if (is_memory(&nd_region->dev)) { in nd_region_available_dpa() 370 if (is_memory(&nd_region->dev)) in nd_region_allocatable_dpa() 377 if (is_memory(&nd_region->dev)) in nd_region_allocatable_dpa() 384 if (is_memory(&nd_region->dev)) in nd_region_allocatable_dpa() 659 if (!is_memory(dev) && a == &dev_attr_pfn_seed.attr) in region_visible() 662 if (!is_memory(dev) && a == &dev_attr_dax_seed.attr) in region_visible() 665 if (!is_memory(dev) && a == &dev_attr_badblocks.attr) in region_visible() [all …]
|
D | region.c | 37 if (is_memory(&nd_region->dev)) { in nd_region_probe() 124 if (is_memory(&nd_region->dev)) { in nd_region_notify()
|
D | dax_devs.c | 77 if (!is_memory(&nd_region->dev)) in nd_dax_create()
|
D | badrange.c | 274 if (!is_memory(&nd_region->dev)) { in nvdimm_badblocks_populate()
|
D | nd-core.h | 110 static inline bool is_memory(struct device *dev) in is_memory() function
|
D | pfn_devs.c | 344 if (!is_memory(&nd_region->dev)) in nd_pfn_create() 460 if (!is_memory(nd_pfn->dev.parent)) in nd_pfn_validate()
|
D | bus.c | 36 else if (is_memory(dev)) in to_nd_device_type() 181 if (!is_memory(dev)) in nvdimm_clear_badblocks_region()
|
D | namespace_devs.c | 784 if (!is_memory(dev)) in __reserve_free_pmem() 2127 if (!is_memory(&nd_region->dev)) in nd_namespace_pmem_create() 2414 } else if (is_memory(&nd_region->dev)) { in scan_labels()
|
D | dimm_devs.c | 740 if (!is_memory(dev)) in alias_dpa_busy()
|
/drivers/firmware/efi/ |
D | efi-init.c | 25 static int __init is_memory(efi_memory_desc_t *md) in is_memory() function 187 if (is_memory(md)) { in reserve_regions()
|
/drivers/acpi/ |
D | resource.c | 843 static int is_memory(struct acpi_resource *ares, void *not_used) in is_memory() function 873 return __acpi_dev_get_resources(adev, list, is_memory, NULL, in acpi_dev_get_dma_resources() 891 return acpi_dev_get_resources(adev, list, is_memory, NULL); in acpi_dev_get_memory_resources()
|
D | acpi_lpss.c | 376 static int is_memory(struct acpi_resource *res, void *not_used) in is_memory() function 644 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in acpi_lpss_create_device()
|