Home
last modified time | relevance | path

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

12

/include/net/
Dipx.h54 atomic_t refcnt; member
80 atomic_t refcnt; member
139 atomic_inc(&intrfc->refcnt); in ipxitf_hold()
157 if (atomic_dec_and_test(&intrfc->refcnt)) in ipxitf_put()
163 atomic_inc(&rt->refcnt); in ipxrtr_hold()
168 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()
Dinetpeer.h58 atomic_t refcnt; member
117 atomic_inc(&peer->refcnt); in inetpeer_transfer_peer()
171 WARN_ON_ONCE(atomic_read(&p->refcnt) <= 0); in inet_peer_refcheck()
Daddrconf.h256 atomic_inc(&idev->refcnt); in in6_dev_get()
272 if (atomic_dec_and_test(&idev->refcnt)) in in6_dev_put()
278 atomic_dec(&idev->refcnt); in __in6_dev_put()
283 atomic_inc(&idev->refcnt); in in6_dev_hold()
290 if (atomic_dec_and_test(&ifp->refcnt)) in in6_ifa_put()
296 atomic_dec(&ifp->refcnt); in __in6_ifa_put()
301 atomic_inc(&ifp->refcnt); in in6_ifa_hold()
Dfib_rules.h30 atomic_t refcnt; member
102 atomic_inc(&rule->refcnt); in fib_rule_get()
114 if (atomic_dec_and_test(&rule->refcnt)) in fib_rule_put()
Dneighbour.h80 atomic_t refcnt; member
140 atomic_t refcnt; member
337 atomic_dec(&parms->refcnt); in __neigh_parms_put()
342 atomic_inc(&parms->refcnt); in neigh_parms_clone()
352 if (atomic_dec_and_test(&neigh->refcnt)) in neigh_release()
359 atomic_inc(&neigh->refcnt); in neigh_clone()
363 #define neigh_hold(n) atomic_inc(&(n)->refcnt)
Dinet_frag.h53 atomic_t refcnt; member
124 if (atomic_dec_and_test(&q->refcnt)) in inet_frag_put()
Dlib80211.h96 atomic_t refcnt; member
Dif_inet6.h48 atomic_t refcnt; member
189 atomic_t refcnt; member
Dgeneve.h77 atomic_t refcnt; member
/include/trace/events/
Dmodule.h77 __field( int, refcnt )
83 __entry->refcnt = __this_cpu_read(mod->refptr->incs) - __this_cpu_read(mod->refptr->decs);
88 __get_str(name), (void *)__entry->ip, __entry->refcnt)
/include/linux/
Dconnector.h36 atomic_t refcnt; member
52 atomic_t refcnt; member
Dbpf.h30 atomic_t refcnt; member
123 atomic_t refcnt; member
Dinetdevice.h25 atomic_t refcnt; member
212 atomic_inc(&in_dev->refcnt); in in_dev_get()
233 if (atomic_dec_and_test(&idev->refcnt)) in in_dev_put()
237 #define __in_dev_put(idev) atomic_dec(&(idev)->refcnt)
238 #define in_dev_hold(idev) atomic_inc(&(idev)->refcnt)
Dcgroup.h66 struct percpu_ref refcnt; member
112 percpu_ref_get(&css->refcnt); in css_get()
129 return percpu_ref_tryget(&css->refcnt); in css_tryget()
146 return percpu_ref_tryget_live(&css->refcnt); in css_tryget_online()
159 percpu_ref_put(&css->refcnt); in css_put()
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/netfilter/
Dxt_rateest.h14 unsigned int refcnt; member
Dnf_conntrack_timeout.h15 atomic_t refcnt; member
/include/linux/ceph/
Dpagelist.h14 atomic_t refcnt; member
31 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/crypto/
Dif_alg.h33 unsigned int refcnt; member
/include/net/bluetooth/
Drfcomm.h179 atomic_t refcnt; member
252 atomic_inc(&d->refcnt); in rfcomm_dlc_hold()
257 if (atomic_dec_and_test(&d->refcnt)) in rfcomm_dlc_put()
/include/uapi/linux/
Dpkt_cls.h133 int refcnt; member
145 int refcnt; member
153 int refcnt; \

12