Home
last modified time | relevance | path

Searched refs:num_ns (Results 1 – 2 of 2) sorted by relevance

/drivers/nvdimm/
Dregion.c23 struct nd_region_namespaces *num_ns; in nd_region_probe() local
41 num_ns = devm_kzalloc(dev, sizeof(*num_ns), GFP_KERNEL); in nd_region_probe()
42 if (!num_ns) in nd_region_probe()
48 num_ns->active = rc; in nd_region_probe()
49 num_ns->count = rc + err; in nd_region_probe()
50 dev_set_drvdata(dev, num_ns); in nd_region_probe()
Dregion_devs.c245 struct nd_region_namespaces *num_ns = dev_get_drvdata(dev); in init_namespaces_show() local
249 if (num_ns) in init_namespaces_show()
250 rc = sprintf(buf, "%d/%d\n", num_ns->active, num_ns->count); in init_namespaces_show()