Home
last modified time | relevance | path

Searched refs:ns_current (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/nvdimm/
Ddimm.c48 ndd->ns_current = -1; in nvdimm_probe()
99 if (ndd->ns_current >= 0) { in nvdimm_probe()
Dlabel.c337 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()
1178 if (ndd->ns_current == -1 || ndd->ns_next == -1) in init_labels()
1192 ndd->ns_current = 0; in init_labels()
Dnd.h33 int ns_current, ns_next; member
75 return to_namespace_index(ndd, ndd->ns_current); in to_current_namespace_index()
Dnamespace_devs.c1437 nsindex = to_namespace_index(ndd, ndd->ns_current); in btt_claim_class()
2388 nsindex = to_namespace_index(ndd, ndd->ns_current); in scan_labels()
Dregion_devs.c318 nsindex = to_namespace_index(ndd, ndd->ns_current); in set_cookie_show()