Lines Matching full:indices
245 struct nvdimm_label_index *indices, *index1; in read_labels() local
259 indices = malloc(2 * index_size, M_NVDIMM, M_WAITOK); in read_labels()
260 index1 = (void *)((uint8_t *)indices + index_size); in read_labels()
261 error = read_label_area(nv, (void *)indices, 0, 2 * index_size); in read_labels()
263 free(indices, M_NVDIMM); in read_labels()
266 index_0_valid = label_index_is_valid(indices, num_labels, index_size, in read_labels()
268 index_1_valid = label_index_is_valid(indices, num_labels, index_size, in read_labels()
271 free(indices, M_NVDIMM); in read_labels()
275 if (((int)indices->seq - (int)index1->seq + 3) % 3 == 1) { in read_labels()
289 bcopy(index_0_valid ? indices : index1, nv->label_index, index_size); in read_labels()
290 free(indices, M_NVDIMM); in read_labels()