Searched refs:nspm (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | namespace_devs.c | 25 struct nd_namespace_pmem *nspm = to_nd_namespace_pmem(dev); in namespace_pmem_release() local 28 if (nspm->id >= 0) in namespace_pmem_release() 29 ida_simple_remove(&nd_region->ns_ida, nspm->id); in namespace_pmem_release() 30 kfree(nspm->alt_name); in namespace_pmem_release() 31 kfree(nspm->uuid); in namespace_pmem_release() 32 kfree(nspm); in namespace_pmem_release() 57 struct nd_namespace_pmem *nspm = to_nd_namespace_pmem(dev); in is_uuid_busy() local 59 uuid2 = nspm->uuid; in is_uuid_busy() 136 struct nd_namespace_pmem *nspm; in pmem_sector_size() local 138 nspm = to_nd_namespace_pmem(&ndns->dev); in pmem_sector_size() [all …]
|
D | label.c | 760 struct nd_mapping *nd_mapping, struct nd_namespace_pmem *nspm, in __pmem_label_update() argument 763 struct nd_namespace_common *ndns = &nspm->nsio.common; in __pmem_label_update() 781 nd_label_gen_id(&label_id, nspm->uuid, 0); in __pmem_label_update() 799 memcpy(nd_label->uuid, nspm->uuid, NSLABEL_UUID_LEN); in __pmem_label_update() 800 if (nspm->alt_name) in __pmem_label_update() 801 memcpy(nd_label->name, nspm->alt_name, NSLABEL_NAME_LEN); in __pmem_label_update() 807 nd_label->lbasize = __cpu_to_le64(nspm->lbasize); in __pmem_label_update() 838 || memcmp(nspm->uuid, label_ent->label->uuid, in __pmem_label_update() 853 dev_WARN_ONCE(&nspm->nsio.common.dev, nd_label, in __pmem_label_update() 1256 struct nd_namespace_pmem *nspm, resource_size_t size) in nd_pmem_namespace_label_update() argument [all …]
|
D | label.h | 143 struct nd_namespace_pmem *nspm, resource_size_t size);
|