Lines Matching refs:nvdimm
779 struct nvdimm *nvdimm = data; in __reserve_free_pmem() local
797 if (nd_mapping->nvdimm != nvdimm) in __reserve_free_pmem()
828 struct nvdimm *nvdimm = nd_mapping->nvdimm; in reserve_free_pmem() local
831 rc = device_for_each_child(&nvdimm_bus->dev, nvdimm, in reserve_free_pmem()
1131 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_namespace_locked() local
1133 if (test_bit(NDD_LOCKED, &nvdimm->flags)) { in nvdimm_namespace_locked()
1134 dev_dbg(dev, "%s locked\n", nvdimm_name(nvdimm)); in nvdimm_namespace_locked()
2000 struct nvdimm *nvdimm = nd_region->mapping[i].nvdimm; in create_namespace_pmem() local
2008 nvdimm_name(nvdimm), nd_label->uuid); in create_namespace_pmem()
2515 struct nvdimm *nvdimm = nd_mapping->nvdimm; in deactivate_labels() local
2524 atomic_dec(&nvdimm->busy); in deactivate_labels()
2535 struct nvdimm *nvdimm = nd_mapping->nvdimm; in init_active_labels() local
2544 if (test_bit(NDD_LOCKED, &nvdimm->flags)) in init_active_labels()
2546 else if (test_bit(NDD_LABELING, &nvdimm->flags)) in init_active_labels()
2552 dev_name(&nd_mapping->nvdimm->dev), in init_active_labels()
2553 test_bit(NDD_LOCKED, &nvdimm->flags) in init_active_labels()
2558 atomic_inc(&nvdimm->busy); in init_active_labels()
2572 if (test_bit(NDD_NOBLK, &nvdimm->flags)) { in init_active_labels()