Searched refs:is_memory (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/drivers/nvdimm/ |
D | region_devs.c | 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 …]
|
D | region.c | 37 if (is_memory(&nd_region->dev)) { in nd_region_probe() 126 if (is_memory(&nd_region->dev)) { in nd_region_notify()
|
D | dax_devs.c | 84 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 | 109 static inline bool is_memory(struct device *dev) in is_memory() function
|
D | pfn_devs.c | 352 if (!is_memory(&nd_region->dev)) in nd_pfn_create() 458 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() 183 if (!is_memory(dev)) in nvdimm_clear_badblocks_region()
|
D | namespace_devs.c | 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()
|
D | dimm_devs.c | 569 if (!is_memory(dev)) in alias_dpa_busy()
|
/Linux-v5.4/drivers/firmware/efi/ |
D | arm-init.c | 25 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/ |
D | resource.c | 631 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()
|
D | acpi_lpss.c | 376 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/ |
D | traps_64.c | 1477 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()
|