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