Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nvdimm/
Dlabel.c65 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd) in sizeof_namespace_index() function
153 sum = nd_fletcher64(nsindex[i], sizeof_namespace_index(ndd), 1); in __nd_label_validate()
168 != i * sizeof_namespace_index(ndd)) { in __nd_label_validate()
175 != (!i) * sizeof_namespace_index(ndd)) { in __nd_label_validate()
182 != 2 * sizeof_namespace_index(ndd)) { in __nd_label_validate()
190 if (size > sizeof_namespace_index(ndd) in __nd_label_validate()
198 + 2 * sizeof_namespace_index(ndd) in __nd_label_validate()
263 memcpy(dst, src, sizeof_namespace_index(ndd)); in nd_label_copy()
270 return base + 2 * sizeof_namespace_index(ndd); in nd_label_base()
441 read_size = sizeof_namespace_index(ndd) * 2; in nd_label_data_init()
[all …]
Dlabel.h132 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd);
Dnd.h69 return ndd->data + sizeof_namespace_index(ndd) * i; in to_namespace_index()