Lines Matching refs:_ndns
21 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns) in __nd_detach_ndns() argument
23 struct nd_namespace_common *ndns = *_ndns; in __nd_detach_ndns()
33 *_ndns = NULL; in __nd_detach_ndns()
38 struct nd_namespace_common **_ndns) in nd_detach_ndns() argument
40 struct nd_namespace_common *ndns = *_ndns; in nd_detach_ndns()
46 __nd_detach_ndns(dev, _ndns); in nd_detach_ndns()
52 struct nd_namespace_common **_ndns) in __nd_attach_ndns() argument
59 dev_WARN_ONCE(dev, *_ndns, "%s: invalid claim\n", __func__); in __nd_attach_ndns()
61 *_ndns = attach; in __nd_attach_ndns()
67 struct nd_namespace_common **_ndns) in nd_attach_ndns() argument
72 claimed = __nd_attach_ndns(dev, attach, _ndns); in nd_attach_ndns()
121 struct nd_namespace_common **_ndns) in nd_detach_and_reset() argument
124 __nd_detach_ndns(dev, _ndns); in nd_detach_and_reset()
125 if (is_idle(dev, *_ndns)) { in nd_detach_and_reset()
143 struct nd_namespace_common **_ndns, const char *buf, in nd_namespace_store() argument
167 ndns = *_ndns; in nd_namespace_store()
169 nd_detach_and_reset(dev, _ndns); in nd_namespace_store()
223 if (!__nd_attach_ndns(dev, ndns, _ndns)) { in nd_namespace_store()