Searched refs:nspm (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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() 43 struct nd_namespace_pmem *nspm = to_nd_namespace_pmem(dev); in is_uuid_busy() local 45 uuid2 = nspm->uuid; in is_uuid_busy() 118 struct nd_namespace_pmem *nspm; in pmem_sector_size() local 120 nspm = to_nd_namespace_pmem(&ndns->dev); in pmem_sector_size() [all …]
|
D | label.c | 874 struct nd_mapping *nd_mapping, struct nd_namespace_pmem *nspm, in __pmem_label_update() argument 877 struct nd_namespace_common *ndns = &nspm->nsio.common; in __pmem_label_update() 895 nd_label_gen_id(&label_id, nspm->uuid, 0); in __pmem_label_update() 913 nsl_set_uuid(ndd, nd_label, nspm->uuid); in __pmem_label_update() 914 nsl_set_name(ndd, nd_label, nspm->alt_name); in __pmem_label_update() 921 nsl_set_lbasize(ndd, nd_label, nspm->lbasize); in __pmem_label_update() 942 nsl_uuid_equal(ndd, label_ent->label, nspm->uuid)) in __pmem_label_update() 956 dev_WARN_ONCE(&nspm->nsio.common.dev, nd_label, in __pmem_label_update() 1057 struct nd_namespace_pmem *nspm, resource_size_t size) in nd_pmem_namespace_label_update() argument 1068 rc = del_labels(nd_mapping, nspm->uuid); in nd_pmem_namespace_label_update() [all …]
|
D | label.h | 225 struct nd_namespace_pmem *nspm, resource_size_t size);
|