Searched refs:is_nvdimm_bus_locked (Results 1 – 7 of 7) sorted by relevance
227 WARN_ON_ONCE(!is_nvdimm_bus_locked(&nvdimm->dev)); in to_ndd()565 WARN_ON_ONCE(!is_nvdimm_bus_locked(ndd->dev)); in nvdimm_free_dpa()580 WARN_ON_ONCE(!is_nvdimm_bus_locked(ndd->dev)); in nvdimm_allocate_dpa()
50 bool is_nvdimm_bus_locked(struct device *dev) in is_nvdimm_bus_locked() function58 EXPORT_SYMBOL(is_nvdimm_bus_locked);116 dev_WARN_ONCE(dev, !is_nvdimm_bus_locked(dev), "%s: bus unlocked!", in alloc_nvdimm_map()
383 WARN_ON(!is_nvdimm_bus_locked(ndd->dev)); in nd_label_alloc_slot()403 WARN_ON(!is_nvdimm_bus_locked(ndd->dev)); in nd_label_free_slot()416 WARN_ON(!is_nvdimm_bus_locked(ndd->dev)); in nd_label_nfree()
188 WARN_ON_ONCE(!is_nvdimm_bus_locked(dev)); in nd_namespace_store()
131 WARN_ON_ONCE(!is_nvdimm_bus_locked(&nvdimm_bus->dev)); in nd_is_uuid_unique()1908 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_ns_seed()1931 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_dax_seed()1943 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_pfn_seed()1955 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_create_btt_seed()
333 bool is_nvdimm_bus_locked(struct device *dev);
296 WARN_ON(!is_nvdimm_bus_locked(&nd_region->dev)); in nd_region_available_dpa()