Lines Matching refs:_ndns
20 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns) in __nd_detach_ndns() argument
22 struct nd_namespace_common *ndns = *_ndns; in __nd_detach_ndns()
28 *_ndns = NULL; in __nd_detach_ndns()
33 struct nd_namespace_common **_ndns) in nd_detach_ndns() argument
35 struct nd_namespace_common *ndns = *_ndns; in nd_detach_ndns()
41 __nd_detach_ndns(dev, _ndns); in nd_detach_ndns()
47 struct nd_namespace_common **_ndns) in __nd_attach_ndns() argument
52 || *_ndns, in __nd_attach_ndns()
55 *_ndns = attach; in __nd_attach_ndns()
61 struct nd_namespace_common **_ndns) in nd_attach_ndns() argument
66 claimed = __nd_attach_ndns(dev, attach, _ndns); in nd_attach_ndns()
94 struct nd_namespace_common **_ndns) in nd_detach_and_reset() argument
97 nd_detach_ndns(dev, _ndns); in nd_detach_and_reset()
98 if (is_idle(dev, *_ndns)) { in nd_detach_and_reset()
116 struct nd_namespace_common **_ndns, const char *buf, in nd_namespace_store() argument
140 ndns = *_ndns; in nd_namespace_store()
142 nd_detach_and_reset(dev, _ndns); in nd_namespace_store()
167 if (!nd_attach_ndns(dev, ndns, _ndns)) { in nd_namespace_store()