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