Home
last modified time | relevance | path

Searched refs:sizeof_namespace_index (Results 1 – 3 of 3) sorted by relevance

/drivers/nvdimm/
Dlabel.c37 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd) in sizeof_namespace_index() function
116 sum = nd_fletcher64(nsindex[i], sizeof_namespace_index(ndd), 1); in nd_label_validate()
133 != i * sizeof_namespace_index(ndd)) { in nd_label_validate()
140 != (!i) * sizeof_namespace_index(ndd)) { in nd_label_validate()
148 if (size > sizeof_namespace_index(ndd) in nd_label_validate()
157 + 2 * sizeof_namespace_index(ndd) in nd_label_validate()
200 memcpy(dst, src, sizeof_namespace_index(ndd)); in nd_label_copy()
207 return base + 2 * sizeof_namespace_index(ndd); in nd_label_base()
445 nsindex->mysize = __cpu_to_le64(sizeof_namespace_index(ndd)); in nd_label_write_index()
466 checksum = nd_fletcher64(nsindex, sizeof_namespace_index(ndd), 1); in nd_label_write_index()
[all …]
Dlabel.h128 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd);
Dnd.h61 return ndd->data + sizeof_namespace_index(ndd) * i; in to_namespace_index()