Lines Matching refs:sizeof_namespace_label
45 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()
380 sum = nd_fletcher64(nd_label, sizeof_namespace_label(ndd), 1); in nsl_calculate_checksum()
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()
932 sizeof_namespace_label(ndd)); in __pmem_label_update()