Searched refs:ns_current (Results 1 – 5 of 5) sorted by relevance
48 ndd->ns_current = -1; in nvdimm_probe()99 if (ndd->ns_current >= 0) { in nvdimm_probe()
337 return preamble_index(ndd, ndd->ns_current, nsindex, in preamble_current()478 ndd->ns_current = nd_label_validate(ndd); in nd_label_data_init()479 if (ndd->ns_current < 0) in nd_label_data_init()483 ndd->ns_next = nd_label_next_nsindex(ndd->ns_current); in nd_label_data_init()697 ndd->ns_current = nd_label_next_nsindex(ndd->ns_current); in nd_label_write_index()699 WARN_ON(ndd->ns_current == ndd->ns_next); in nd_label_write_index()1189 if (ndd->ns_current == -1 || ndd->ns_next == -1) in init_labels()1203 ndd->ns_current = 0; in init_labels()
33 int ns_current, ns_next; member75 return to_namespace_index(ndd, ndd->ns_current); in to_current_namespace_index()
1437 nsindex = to_namespace_index(ndd, ndd->ns_current); in btt_claim_class()2388 nsindex = to_namespace_index(ndd, ndd->ns_current); in scan_labels()
318 nsindex = to_namespace_index(ndd, ndd->ns_current); in set_cookie_show()