Home
last modified time | relevance | path

Searched refs:refcnt (Results 1 – 25 of 53) sorted by relevance

123

/include/linux/
Dbacking-dev-defs.h53 atomic_t refcnt; /* nr of attached wb's and blkg */ member
122 struct percpu_ref refcnt; /* used only for !root wb's */ member
208 return percpu_ref_tryget(&wb->refcnt); in wb_tryget()
219 percpu_ref_get(&wb->refcnt); in wb_get()
229 percpu_ref_put(&wb->refcnt); in wb_put()
240 return percpu_ref_is_dying(&wb->refcnt); in wb_dying()
Dconnector.h36 atomic_t refcnt; member
52 atomic_t refcnt; member
Dcgroup.h295 percpu_ref_get(&css->refcnt); in css_get()
308 percpu_ref_get_many(&css->refcnt, n); in css_get_many()
325 return percpu_ref_tryget(&css->refcnt); in css_tryget()
342 return percpu_ref_tryget_live(&css->refcnt); in css_tryget_online()
363 return !(css->flags & CSS_NO_REF) && percpu_ref_is_dying(&css->refcnt); in css_is_dying()
375 percpu_ref_put(&css->refcnt); in css_put()
388 percpu_ref_put_many(&css->refcnt, n); in css_put_many()
Dinetdevice.h25 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)
Datmdev.h161 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()
Dmempolicy.h44 atomic_t refcnt; member
98 atomic_inc(&pol->refcnt); in mpol_get()
/include/net/
Dipx.h57 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()
Dx25.h132 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()
Dllc.h58 atomic_t refcnt; member
116 atomic_inc(&sap->refcnt); in llc_sap_hold()
123 if (atomic_dec_and_test(&sap->refcnt)) in llc_sap_put()
Dfib_rules.h32 atomic_t refcnt; member
106 atomic_inc(&rule->refcnt); in fib_rule_get()
111 if (atomic_dec_and_test(&rule->refcnt)) in fib_rule_put()
Daddrconf.h301 atomic_inc(&idev->refcnt); in in6_dev_get()
317 if (atomic_dec_and_test(&idev->refcnt)) in in6_dev_put()
323 atomic_dec(&idev->refcnt); in __in6_dev_put()
328 atomic_inc(&idev->refcnt); in in6_dev_hold()
335 if (atomic_dec_and_test(&ifp->refcnt)) in in6_ifa_put()
341 atomic_dec(&ifp->refcnt); in __in6_ifa_put()
346 atomic_inc(&ifp->refcnt); in in6_ifa_hold()
Dinet_frag.h48 atomic_t refcnt; member
122 if (atomic_dec_and_test(&q->refcnt)) in inet_frag_put()
Dlwtunnel.h27 atomic_t refcnt; member
57 atomic_inc(&lws->refcnt); in lwtstate_get()
67 if (atomic_dec_and_test(&lws->refcnt)) in lwtstate_put()
Dneighbour.h79 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)
Darp.h34 if (n && !atomic_inc_not_zero(&n->refcnt)) in __ipv4_neigh_lookup()
Dlib80211.h96 atomic_t refcnt; member
Dif_inet6.h48 atomic_t refcnt; member
189 atomic_t refcnt; member
/include/trace/events/
Dmodule.h77 __field( int, refcnt )
83 __entry->refcnt = atomic_read(&mod->refcnt);
88 __get_str(name), (void *)__entry->ip, __entry->refcnt)
/include/net/netfilter/
Dxt_rateest.h14 unsigned int refcnt; member
Dnf_conntrack_timeout.h15 atomic_t refcnt; member
/include/linux/ceph/
Dpagelist.h16 atomic_t refcnt; member
33 atomic_set(&pl->refcnt, 1); in ceph_pagelist_init()
/include/net/sctp/
Dauth.h56 atomic_t refcnt; member
79 atomic_inc(&key->refcnt); in sctp_auth_key_hold()
/include/net/bluetooth/
Drfcomm.h177 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()
/include/crypto/
Dif_alg.h33 unsigned int refcnt; member
/include/uapi/linux/
Dpkt_cls.h118 int refcnt; member
131 int refcnt; member
139 int refcnt; \

123