/include/linux/ |
D | backing-dev-defs.h | 53 atomic_t refcnt; /* nr of attached wb's and blkg */ member 122 struct percpu_ref refcnt; /* used only for !root wb's */ member 209 return percpu_ref_tryget(&wb->refcnt); in wb_tryget() 220 percpu_ref_get(&wb->refcnt); in wb_get() 238 percpu_ref_put(&wb->refcnt); in wb_put() 249 return percpu_ref_is_dying(&wb->refcnt); in wb_dying()
|
D | connector.h | 36 atomic_t refcnt; member 52 atomic_t refcnt; member
|
D | cgroup.h | 291 percpu_ref_get(&css->refcnt); in css_get() 304 percpu_ref_get_many(&css->refcnt, n); in css_get_many() 321 return percpu_ref_tryget(&css->refcnt); in css_tryget() 338 return percpu_ref_tryget_live(&css->refcnt); in css_tryget_online() 359 return !(css->flags & CSS_NO_REF) && percpu_ref_is_dying(&css->refcnt); in css_is_dying() 371 percpu_ref_put(&css->refcnt); in css_put() 384 percpu_ref_put_many(&css->refcnt, n); in css_put_many()
|
D | inetdevice.h | 25 atomic_t refcnt; member 215 atomic_inc(&in_dev->refcnt); in in_dev_get() 236 if (atomic_dec_and_test(&idev->refcnt)) in in_dev_put() 240 #define __in_dev_put(idev) atomic_dec(&(idev)->refcnt) 241 #define in_dev_hold(idev) atomic_inc(&(idev)->refcnt)
|
D | atmdev.h | 161 atomic_t refcnt; /* reference count */ member 264 atomic_inc(&dev->refcnt); in atm_dev_hold() 270 if (atomic_dec_and_test(&dev->refcnt)) { in atm_dev_put()
|
D | bpf.h | 50 atomic_t refcnt; member 138 atomic_t refcnt; member
|
D | mempolicy.h | 44 atomic_t refcnt; member 98 atomic_inc(&pol->refcnt); in mpol_get()
|
/include/net/ |
D | ipx.h | 57 atomic_t refcnt; member 83 atomic_t refcnt; member 142 atomic_inc(&intrfc->refcnt); in ipxitf_hold() 160 if (atomic_dec_and_test(&intrfc->refcnt)) in ipxitf_put() 166 atomic_inc(&rt->refcnt); in ipxrtr_hold() 171 if (atomic_dec_and_test(&rt->refcnt)) in ipxrtr_put()
|
D | x25.h | 132 atomic_t refcnt; member 144 atomic_t refcnt; member 174 atomic_t refcnt; member 245 atomic_inc(&nb->refcnt); in x25_neigh_hold() 250 if (atomic_dec_and_test(&nb->refcnt)) in x25_neigh_put() 268 atomic_inc(&rt->refcnt); in x25_route_hold() 273 if (atomic_dec_and_test(&rt->refcnt)) in x25_route_put()
|
D | llc.h | 58 atomic_t refcnt; member 119 atomic_inc(&sap->refcnt); in llc_sap_hold() 124 return atomic_inc_not_zero(&sap->refcnt); in llc_sap_hold_safe() 131 if (atomic_dec_and_test(&sap->refcnt)) in llc_sap_put()
|
D | fib_rules.h | 31 atomic_t refcnt; member 104 atomic_inc(&rule->refcnt); in fib_rule_get() 109 if (atomic_dec_and_test(&rule->refcnt)) in fib_rule_put()
|
D | lwtunnel.h | 20 atomic_t refcnt; member 49 atomic_inc(&lws->refcnt); in lwtstate_get() 59 if (atomic_dec_and_test(&lws->refcnt)) in lwtstate_put()
|
D | addrconf.h | 291 atomic_inc(&idev->refcnt); in in6_dev_get() 307 if (atomic_dec_and_test(&idev->refcnt)) in in6_dev_put() 313 atomic_dec(&idev->refcnt); in __in6_dev_put() 318 atomic_inc(&idev->refcnt); in in6_dev_hold() 325 if (atomic_dec_and_test(&ifp->refcnt)) in in6_ifa_put() 331 atomic_dec(&ifp->refcnt); in __in6_ifa_put() 336 atomic_inc(&ifp->refcnt); in in6_ifa_hold()
|
D | inet_frag.h | 77 atomic_t refcnt; member 123 if (atomic_dec_and_test(&q->refcnt)) in inet_frag_put()
|
D | neighbour.h | 79 atomic_t refcnt; member 140 atomic_t refcnt; member 396 atomic_dec(&parms->refcnt); in __neigh_parms_put() 401 atomic_inc(&parms->refcnt); in neigh_parms_clone() 411 if (atomic_dec_and_test(&neigh->refcnt)) in neigh_release() 418 atomic_inc(&neigh->refcnt); in neigh_clone() 422 #define neigh_hold(n) atomic_inc(&(n)->refcnt)
|
D | lib80211.h | 96 atomic_t refcnt; member
|
D | if_inet6.h | 48 atomic_t refcnt; member 189 atomic_t refcnt; member
|
D | arp.h | 42 if (n && !atomic_inc_not_zero(&n->refcnt)) in __ipv4_neigh_lookup()
|
/include/trace/events/ |
D | module.h | 77 __field( int, refcnt ) 83 __entry->refcnt = atomic_read(&mod->refcnt); 88 __get_str(name), (void *)__entry->ip, __entry->refcnt)
|
/include/net/netfilter/ |
D | xt_rateest.h | 14 unsigned int refcnt; member
|
D | nf_conntrack_timeout.h | 15 atomic_t refcnt; member
|
/include/linux/ceph/ |
D | pagelist.h | 16 atomic_t refcnt; member 33 atomic_set(&pl->refcnt, 1); in ceph_pagelist_init()
|
/include/net/sctp/ |
D | auth.h | 56 atomic_t refcnt; member 79 atomic_inc(&key->refcnt); in sctp_auth_key_hold()
|
/include/uapi/linux/ |
D | pkt_cls.h | 117 int refcnt; member 129 int refcnt; member 137 int refcnt; \
|
/include/net/bluetooth/ |
D | rfcomm.h | 177 atomic_t refcnt; member 250 atomic_inc(&d->refcnt); in rfcomm_dlc_hold() 255 if (atomic_dec_and_test(&d->refcnt)) in rfcomm_dlc_put()
|