Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nvdimm/
Dregion_devs.c227 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 …]
Dregion.c37 if (is_memory(&nd_region->dev)) { in nd_region_probe()
126 if (is_memory(&nd_region->dev)) { in nd_region_notify()
Ddax_devs.c84 if (!is_memory(&nd_region->dev)) in nd_dax_create()
Dbadrange.c274 if (!is_memory(&nd_region->dev)) { in nvdimm_badblocks_populate()
Dnd-core.h109 static inline bool is_memory(struct device *dev) in is_memory() function
Dpfn_devs.c352 if (!is_memory(&nd_region->dev)) in nd_pfn_create()
458 if (!is_memory(nd_pfn->dev.parent)) in nd_pfn_validate()
Dbus.c36 else if (is_memory(dev)) in to_nd_device_type()
183 if (!is_memory(dev)) in nvdimm_clear_badblocks_region()
Dnamespace_devs.c804 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()
Ddimm_devs.c569 if (!is_memory(dev)) in alias_dpa_busy()
/Linux-v5.4/drivers/firmware/efi/
Darm-init.c25 static int __init is_memory(efi_memory_desc_t *md) in is_memory() function
209 if (is_memory(md)) { in reserve_regions()
/Linux-v5.4/drivers/acpi/
Dresource.c631 static int is_memory(struct acpi_resource *ares, void *not_used) in is_memory() function
661 return __acpi_dev_get_resources(adev, list, is_memory, NULL, in acpi_dev_get_dma_resources()
Dacpi_lpss.c376 static int is_memory(struct acpi_resource *res, void *not_used) in is_memory() function
630 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in acpi_lpss_create_device()
/Linux-v5.4/arch/sparc/kernel/
Dtraps_64.c1477 int recoverable, is_memory; in cheetah_cee_handler() local
1503 is_memory = cheetah_check_main_memory(afar); in cheetah_cee_handler()
1505 if (is_memory && (afsr & CHAFSR_CE) != 0UL) { in cheetah_cee_handler()
1577 int recoverable, is_memory; in cheetah_deferred_handler() local
1638 is_memory = cheetah_check_main_memory(afar); in cheetah_deferred_handler()
1721 if (recoverable && is_memory) { in cheetah_deferred_handler()