Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dlabel.c73 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd) in sizeof_namespace_index() function
161 sum = nd_fletcher64(nsindex[i], sizeof_namespace_index(ndd), 1); in __nd_label_validate()
176 != i * sizeof_namespace_index(ndd)) { in __nd_label_validate()
183 != (!i) * sizeof_namespace_index(ndd)) { in __nd_label_validate()
190 != 2 * sizeof_namespace_index(ndd)) { in __nd_label_validate()
198 if (size > sizeof_namespace_index(ndd) in __nd_label_validate()
206 + 2 * sizeof_namespace_index(ndd) in __nd_label_validate()
271 memcpy(dst, src, sizeof_namespace_index(ndd)); in nd_label_copy()
278 return base + 2 * sizeof_namespace_index(ndd); in nd_label_base()
462 read_size = sizeof_namespace_index(ndd) * 2; in nd_label_data_init()
[all …]
Dlabel.h216 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd);
Dnd.h334 return ndd->data + sizeof_namespace_index(ndd) * i; in to_namespace_index()