Lines Matching defs:_ndns
13 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns)
15 struct nd_namespace_common *ndns = *_ndns;
25 *_ndns = NULL;
30 struct nd_namespace_common **_ndns)
32 struct nd_namespace_common *ndns = *_ndns;
38 __nd_detach_ndns(dev, _ndns);
44 struct nd_namespace_common **_ndns)
51 dev_WARN_ONCE(dev, *_ndns, "%s: invalid claim\n", __func__);
53 *_ndns = attach;
59 struct nd_namespace_common **_ndns)
64 claimed = __nd_attach_ndns(dev, attach, _ndns);
113 struct nd_namespace_common **_ndns)
116 __nd_detach_ndns(dev, _ndns);
117 if (is_idle(dev, *_ndns)) {
135 struct nd_namespace_common **_ndns, const char *buf,
159 ndns = *_ndns;
161 nd_detach_and_reset(dev, _ndns);
215 if (!__nd_attach_ndns(dev, ndns, _ndns)) {