Searched refs:is_memory (Results 1 – 12 of 12) sorted by relevance
227 if (is_memory(&nd_region->dev)) { in nd_region_to_nstype()255 if (is_memory(dev)) { in size_show()323 if (is_memory(dev) && nd_set) in set_cookie_show()377 if (is_memory(&nd_region->dev)) { in nd_region_available_dpa()396 if (is_memory(&nd_region->dev)) in nd_region_allocatable_dpa()403 if (is_memory(&nd_region->dev)) in nd_region_allocatable_dpa()410 if (is_memory(&nd_region->dev)) in nd_region_allocatable_dpa()629 if (!is_memory(dev) && a == &dev_attr_pfn_seed.attr) in region_visible()632 if (!is_memory(dev) && a == &dev_attr_dax_seed.attr) in region_visible()635 if (!is_memory(dev) && a == &dev_attr_badblocks.attr) in region_visible()[all …]
37 if (is_memory(&nd_region->dev)) { in nd_region_probe()126 if (is_memory(&nd_region->dev)) { in nd_region_notify()
84 if (!is_memory(&nd_region->dev)) in nd_dax_create()
109 static inline bool is_memory(struct device *dev) in is_memory() function
274 if (!is_memory(&nd_region->dev)) { in nvdimm_badblocks_populate()
352 if (!is_memory(&nd_region->dev)) in nd_pfn_create()458 if (!is_memory(nd_pfn->dev.parent)) in nd_pfn_validate()
36 else if (is_memory(dev)) in to_nd_device_type()183 if (!is_memory(dev)) in nvdimm_clear_badblocks_region()
804 if (!is_memory(dev)) in __reserve_free_pmem()2092 if (!is_memory(&nd_region->dev)) in nd_namespace_pmem_create()2398 } else if (is_memory(&nd_region->dev)) { in scan_labels()
569 if (!is_memory(dev)) in alias_dpa_busy()
25 static int __init is_memory(efi_memory_desc_t *md) in is_memory() function209 if (is_memory(md)) { in reserve_regions()
631 static int is_memory(struct acpi_resource *ares, void *not_used) in is_memory() function661 return __acpi_dev_get_resources(adev, list, is_memory, NULL, in acpi_dev_get_dma_resources()
377 static int is_memory(struct acpi_resource *res, void *not_used) in is_memory() function653 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in acpi_lpss_create_device()