Home
last modified time | relevance | path

Searched refs:sizeof_namespace_label (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/nvdimm/
H A Dlabel.c45 unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd) in sizeof_namespace_label() function
60 sizeof_namespace_label(ndd); in __nvdimm_num_label_slots()
90 ndd->nsarea.config_size, sizeof_namespace_label(ndd)); in sizeof_namespace_index()
153 if (labelsize != sizeof_namespace_label(ndd)) { in __nd_label_validate()
205 if (nslot * sizeof_namespace_label(ndd) in __nd_label_validate()
289 return (label - base) / sizeof_namespace_label(ndd); in to_slot()
297 label = base + sizeof_namespace_label(ndd) * slot; in to_label()
676 nsindex->labelsize = sizeof_namespace_label(ndd) >> 8; in nd_label_write_index()
691 if (sizeof_namespace_label(ndd) < 256) in nd_label_write_index()
912 memset(nd_label, 0, sizeof_namespace_label(ndd)); in __pmem_label_update()
[all …]
H A Dnd.h349 unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd);
353 < sizeof_namespace_label(ndd))