Lines Matching refs:nvdimm_bus
94 struct nvdimm_bus *nvdimm_bus = walk_to_nvdimm_bus(dev); in nd_is_uuid_unique() local
96 if (!nvdimm_bus) in nd_is_uuid_unique()
98 WARN_ON_ONCE(!is_nvdimm_bus_locked(&nvdimm_bus->dev)); in nd_is_uuid_unique()
99 if (device_for_each_child(&nvdimm_bus->dev, uuid, in nd_is_uuid_unique()
559 struct nvdimm_bus *nvdimm_bus; in space_valid() local
567 nvdimm_bus = walk_to_nvdimm_bus(&nd_region->dev); in space_valid()
568 device_for_each_child(&nvdimm_bus->dev, &info, alias_dpa_busy); in space_valid()
814 void release_free_pmem(struct nvdimm_bus *nvdimm_bus, in release_free_pmem() argument
825 static int reserve_free_pmem(struct nvdimm_bus *nvdimm_bus, in reserve_free_pmem() argument
831 rc = device_for_each_child(&nvdimm_bus->dev, nvdimm, in reserve_free_pmem()
834 release_free_pmem(nvdimm_bus, nd_mapping); in reserve_free_pmem()
854 struct nvdimm_bus *nvdimm_bus = walk_to_nvdimm_bus(&nd_region->dev); in grow_dpa_allocation() local
871 rc = reserve_free_pmem(nvdimm_bus, nd_mapping); in grow_dpa_allocation()
878 release_free_pmem(nvdimm_bus, nd_mapping); in grow_dpa_allocation()