Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
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()
67 tmp_nslot = ndd->nsarea.config_size / sizeof_namespace_label(ndd); in nvdimm_num_label_slots()
84 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index()
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()
367 sum = nd_fletcher64(nd_label, sizeof_namespace_label(ndd), 1); in nsl_validate_checksum()
[all …]
Dnd.h349 unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd);
353 < sizeof_namespace_label(ndd))