Searched refs:ns_current (Results 1 – 3 of 3) sorted by relevance
35 ndd->ns_current = -1; in nvdimm_probe()54 ndd->ns_current = nd_label_validate(ndd); in nvdimm_probe()55 ndd->ns_next = nd_label_next_nsindex(ndd->ns_current); in nvdimm_probe()
259 return preamble_index(ndd, ndd->ns_current, nsindex, in preamble_current()479 ndd->ns_current = nd_label_next_nsindex(ndd->ns_current); in nd_label_write_index()481 WARN_ON(ndd->ns_current == ndd->ns_next); in nd_label_write_index()818 if (ndd->ns_current == -1 || ndd->ns_next == -1) in init_labels()832 ndd->ns_current = 0; in init_labels()
45 int ns_current, ns_next; member67 return to_namespace_index(ndd, ndd->ns_current); in to_current_namespace_index()