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
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()
Dconnector.h36 atomic_t refcnt; member
52 atomic_t refcnt; member
Dcgroup.h291 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()
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()
Dbpf.h50 atomic_t refcnt; member
138 atomic_t refcnt; member
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
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()
Dfib_rules.h31 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()
Dlwtunnel.h20 atomic_t refcnt; member
49 atomic_inc(&lws->refcnt); in lwtstate_get()
59 if (atomic_dec_and_test(&lws->refcnt)) in lwtstate_put()
Daddrconf.h291 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()
Dinet_frag.h77 atomic_t refcnt; member
123 if (atomic_dec_and_test(&q->refcnt)) in inet_frag_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)
Dlib80211.h96 atomic_t refcnt; member
Dif_inet6.h48 atomic_t refcnt; member
189 atomic_t refcnt; member
Darp.h42 if (n && !atomic_inc_not_zero(&n->refcnt)) in __ipv4_neigh_lookup()
/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/uapi/linux/
Dpkt_cls.h117 int refcnt; member
129 int refcnt; member
137 int refcnt; \
/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()

123