Lines Matching refs:nvdimm
799 struct nvdimm *nvdimm = data; in __reserve_free_pmem() local
817 if (nd_mapping->nvdimm != nvdimm) in __reserve_free_pmem()
848 struct nvdimm *nvdimm = nd_mapping->nvdimm; in reserve_free_pmem() local
851 rc = device_for_each_child(&nvdimm_bus->dev, nvdimm, in reserve_free_pmem()
1151 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_namespace_locked() local
1153 if (test_bit(NDD_LOCKED, &nvdimm->flags)) { in nvdimm_namespace_locked()
1154 dev_dbg(dev, "%s locked\n", nvdimm_name(nvdimm)); in nvdimm_namespace_locked()
1957 struct nvdimm *nvdimm = nd_region->mapping[i].nvdimm; in create_namespace_pmem() local
1965 nvdimm_name(nvdimm), nd_label->uuid); in create_namespace_pmem()
2474 struct nvdimm *nvdimm = nd_mapping->nvdimm; in deactivate_labels() local
2483 atomic_dec(&nvdimm->busy); in deactivate_labels()
2494 struct nvdimm *nvdimm = nd_mapping->nvdimm; in init_active_labels() local
2503 if (test_bit(NDD_LOCKED, &nvdimm->flags)) in init_active_labels()
2505 else if (test_bit(NDD_ALIASING, &nvdimm->flags)) in init_active_labels()
2511 dev_name(&nd_mapping->nvdimm->dev), in init_active_labels()
2512 test_bit(NDD_LOCKED, &nvdimm->flags) in init_active_labels()
2517 atomic_inc(&nvdimm->busy); in init_active_labels()
2531 if (test_bit(NDD_NOBLK, &nvdimm->flags)) { in init_active_labels()