Lines Matching refs:nvdimm
606 struct nvdimm *nvdimm = data; in __reserve_free_pmem() local
624 if (nd_mapping->nvdimm != nvdimm) in __reserve_free_pmem()
906 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_namespace_locked() local
908 if (test_bit(NDD_LOCKED, &nvdimm->flags)) { in nvdimm_namespace_locked()
909 dev_dbg(dev, "%s locked\n", nvdimm_name(nvdimm)); in nvdimm_namespace_locked()
1716 struct nvdimm *nvdimm = nd_region->mapping[i].nvdimm; in create_namespace_pmem() local
1724 nvdimm_name(nvdimm), nsl_uuid_raw(ndd, nd_label)); in create_namespace_pmem()
2071 struct nvdimm *nvdimm = nd_mapping->nvdimm; in deactivate_labels() local
2080 atomic_dec(&nvdimm->busy); in deactivate_labels()
2091 struct nvdimm *nvdimm = nd_mapping->nvdimm; in init_active_labels() local
2100 if (test_bit(NDD_LOCKED, &nvdimm->flags)) in init_active_labels()
2102 else if (test_bit(NDD_LABELING, &nvdimm->flags)) in init_active_labels()
2108 dev_name(&nd_mapping->nvdimm->dev), in init_active_labels()
2109 test_bit(NDD_LOCKED, &nvdimm->flags) in init_active_labels()
2115 atomic_inc(&nvdimm->busy); in init_active_labels()