Home
last modified time | relevance | path

Searched refs:is_memory (Results 1 – 12 of 12) sorted by relevance

/drivers/nvdimm/
Dregion_devs.c197 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 …]
Dregion.c37 if (is_memory(&nd_region->dev)) { in nd_region_probe()
124 if (is_memory(&nd_region->dev)) { in nd_region_notify()
Ddax_devs.c77 if (!is_memory(&nd_region->dev)) in nd_dax_create()
Dbadrange.c274 if (!is_memory(&nd_region->dev)) { in nvdimm_badblocks_populate()
Dnd-core.h110 static inline bool is_memory(struct device *dev) in is_memory() function
Dpfn_devs.c344 if (!is_memory(&nd_region->dev)) in nd_pfn_create()
460 if (!is_memory(nd_pfn->dev.parent)) in nd_pfn_validate()
Dbus.c36 else if (is_memory(dev)) in to_nd_device_type()
181 if (!is_memory(dev)) in nvdimm_clear_badblocks_region()
Dnamespace_devs.c784 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()
Ddimm_devs.c740 if (!is_memory(dev)) in alias_dpa_busy()
/drivers/firmware/efi/
Defi-init.c25 static int __init is_memory(efi_memory_desc_t *md) in is_memory() function
187 if (is_memory(md)) { in reserve_regions()
/drivers/acpi/
Dresource.c843 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()
Dacpi_lpss.c376 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()