Home
last modified time | relevance | path

Searched refs:is_nvdimm_bus_locked (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/nvdimm/
H A Ddimm_devs.c214 WARN_ON_ONCE(!is_nvdimm_bus_locked(&nvdimm->dev)); in to_ndd()
686 WARN_ON_ONCE(!is_nvdimm_bus_locked(&nvdimm->dev)); in nvdimm_security_freeze()
709 if (dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), in dpa_align()
815 WARN_ON_ONCE(!is_nvdimm_bus_locked(ndd->dev)); in nvdimm_free_dpa()
830 WARN_ON_ONCE(!is_nvdimm_bus_locked(ndd->dev)); in nvdimm_allocate_dpa()
H A Dcore.c43 bool is_nvdimm_bus_locked(struct device *dev) in is_nvdimm_bus_locked() function
51 EXPORT_SYMBOL(is_nvdimm_bus_locked);
109 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
H A Dlabel.c618 WARN_ON(!is_nvdimm_bus_locked(ndd->dev)); in nd_label_alloc_slot()
638 WARN_ON(!is_nvdimm_bus_locked(ndd->dev)); in nd_label_free_slot()
651 WARN_ON(!is_nvdimm_bus_locked(ndd->dev)); in nd_label_nfree()
H A Dclaim.c215 WARN_ON_ONCE(!is_nvdimm_bus_locked(dev)); in nd_namespace_store()
H A Dnamespace_devs.c81 WARN_ON_ONCE(!is_nvdimm_bus_locked(&nvdimm_bus->dev)); in nd_is_uuid_unique()
1828 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_ns_seed()
1851 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_dax_seed()
1863 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_pfn_seed()
1875 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_btt_seed()
H A Dregion_devs.c360 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_available_dpa()
382 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_allocatable_dpa()
H A Dnd.h629 bool is_nvdimm_bus_locked(struct device *dev);