Searched refs:ns_current (Results 1 – 3 of 3) sorted by relevance
43 ndd->ns_current = -1; in nvdimm_probe()62 ndd->ns_current = nd_label_validate(ndd); in nvdimm_probe()63 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()856 if (ndd->ns_current == -1 || ndd->ns_next == -1) in init_labels()870 ndd->ns_current = 0; in init_labels()
47 int ns_current, ns_next; member89 return to_namespace_index(ndd, ndd->ns_current); in to_current_namespace_index()