Lines Matching refs:idev

86 int __ipv6_get_lladdr(struct inet6_dev *idev, struct in6_addr *addr,
92 void addrconf_leave_solict(struct inet6_dev *idev, const struct in6_addr *addr);
137 int __ipv6_dev_mc_dec(struct inet6_dev *idev, const struct in6_addr *addr);
139 void ipv6_mc_up(struct inet6_dev *idev);
140 void ipv6_mc_down(struct inet6_dev *idev);
141 void ipv6_mc_unmap(struct inet6_dev *idev);
142 void ipv6_mc_remap(struct inet6_dev *idev);
143 void ipv6_mc_init_dev(struct inet6_dev *idev);
144 void ipv6_mc_destroy_dev(struct inet6_dev *idev);
150 void ipv6_mc_dad_complete(struct inet6_dev *idev);
208 int __ipv6_dev_ac_inc(struct inet6_dev *idev, const struct in6_addr *addr);
209 int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr);
210 void ipv6_ac_destroy_dev(struct inet6_dev *idev);
246 struct inet6_dev *idev; in in6_dev_get() local
249 idev = rcu_dereference(dev->ip6_ptr); in in6_dev_get()
250 if (idev) in in6_dev_get()
251 atomic_inc(&idev->refcnt); in in6_dev_get()
253 return idev; in in6_dev_get()
258 struct inet6_dev *idev = __in6_dev_get(dev); in __in6_dev_nd_parms_get_rcu() local
260 return idev ? idev->nd_parms : NULL; in __in6_dev_nd_parms_get_rcu()
263 void in6_dev_finish_destroy(struct inet6_dev *idev);
265 static inline void in6_dev_put(struct inet6_dev *idev) in in6_dev_put() argument
267 if (atomic_dec_and_test(&idev->refcnt)) in in6_dev_put()
268 in6_dev_finish_destroy(idev); in in6_dev_put()
271 static inline void __in6_dev_put(struct inet6_dev *idev) in __in6_dev_put() argument
273 atomic_dec(&idev->refcnt); in __in6_dev_put()
276 static inline void in6_dev_hold(struct inet6_dev *idev) in in6_dev_hold() argument
278 atomic_inc(&idev->refcnt); in in6_dev_hold()