Lines Matching refs:idev
95 extern void addrconf_leave_solict(struct inet6_dev *idev,
142 extern int __ipv6_dev_mc_dec(struct inet6_dev *idev, const struct in6_addr *addr);
144 extern void ipv6_mc_up(struct inet6_dev *idev);
145 extern void ipv6_mc_down(struct inet6_dev *idev);
146 extern void ipv6_mc_init_dev(struct inet6_dev *idev);
147 extern void ipv6_mc_destroy_dev(struct inet6_dev *idev);
166 extern int __ipv6_dev_ac_dec(struct inet6_dev *idev, struct in6_addr *addr);
184 struct inet6_dev *idev = NULL; in in6_dev_get() local
186 idev = __in6_dev_get(dev); in in6_dev_get()
187 if (idev) in in6_dev_get()
188 atomic_inc(&idev->refcnt); in in6_dev_get()
190 return idev; in in6_dev_get()
193 extern void in6_dev_finish_destroy(struct inet6_dev *idev);
196 in6_dev_put(struct inet6_dev *idev) in in6_dev_put() argument
198 if (atomic_dec_and_test(&idev->refcnt)) in in6_dev_put()
199 in6_dev_finish_destroy(idev); in in6_dev_put()
202 #define __in6_dev_put(idev) atomic_dec(&(idev)->refcnt) argument
203 #define in6_dev_hold(idev) atomic_inc(&(idev)->refcnt) argument