Searched refs:nsindex (Results 1 – 1 of 1) sorted by relevance
93 struct nd_namespace_index *nsindex[] = { in nd_label_validate() local97 const int num_index = ARRAY_SIZE(nsindex); in nd_label_validate()108 memcpy(sig, nsindex[i]->sig, NSINDEX_SIG_LEN); in nd_label_validate()114 sum_save = __le64_to_cpu(nsindex[i]->checksum); in nd_label_validate()115 nsindex[i]->checksum = __cpu_to_le64(0); in nd_label_validate()116 sum = nd_fletcher64(nsindex[i], sizeof_namespace_index(ndd), 1); in nd_label_validate()117 nsindex[i]->checksum = __cpu_to_le64(sum_save); in nd_label_validate()124 seq = __le32_to_cpu(nsindex[i]->seq); in nd_label_validate()132 if (__le64_to_cpu(nsindex[i]->myoff) in nd_label_validate()136 __le64_to_cpu(nsindex[i]->myoff)); in nd_label_validate()[all …]