Lines Matching defs:_ndns
14 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns)
16 struct nd_namespace_common *ndns = *_ndns;
26 *_ndns = NULL;
31 struct nd_namespace_common **_ndns)
33 struct nd_namespace_common *ndns = *_ndns;
39 __nd_detach_ndns(dev, _ndns);
45 struct nd_namespace_common **_ndns)
52 dev_WARN_ONCE(dev, *_ndns, "%s: invalid claim\n", __func__);
54 *_ndns = attach;
60 struct nd_namespace_common **_ndns)
65 claimed = __nd_attach_ndns(dev, attach, _ndns);
114 struct nd_namespace_common **_ndns)
117 __nd_detach_ndns(dev, _ndns);
118 if (is_idle(dev, *_ndns)) {
136 struct nd_namespace_common **_ndns, const char *buf,
160 ndns = *_ndns;
162 nd_detach_and_reset(dev, _ndns);
216 if (!__nd_attach_ndns(dev, ndns, _ndns)) {