Lines Matching refs:label0
1944 * create_namespace_pmem - validate interleave set labelling, retrieve label0
2025 /* Calculate total size and populate namespace properties from label0 */
2027 struct nd_namespace_label *label0;
2033 label0 = label_ent ? label_ent->label : NULL;
2035 if (!label0) {
2040 size += __le64_to_cpu(label0->rawsize);
2041 if (__le16_to_cpu(label0->position) != 0)
2044 nspm->alt_name = kmemdup((void __force *) label0->name,
2046 nspm->uuid = kmemdup((void __force *) label0->uuid,
2048 nspm->lbasize = __le64_to_cpu(label0->lbasize);
2052 = to_nvdimm_cclass(&label0->abstraction_guid);