| /include/linux/ |
| D | cgroup_refcnt.h | 11 percpu_ref_get(&css->refcnt); in css_get() 26 percpu_ref_get_many(&css->refcnt, n); in CGROUP_REF_EXPORT() 45 return percpu_ref_tryget(&css->refcnt); in CGROUP_REF_EXPORT() 64 return percpu_ref_tryget_live(&css->refcnt); in CGROUP_REF_EXPORT() 79 percpu_ref_put(&css->refcnt); in CGROUP_REF_EXPORT() 94 percpu_ref_put_many(&css->refcnt, n); in CGROUP_REF_EXPORT()
|
| D | rcuref.h | 26 atomic_set(&ref->refcnt, cnt - 1); in rcuref_init() 37 unsigned int c = atomic_read(&ref->refcnt); in rcuref_read() 67 if (likely(!atomic_add_negative_relaxed(1, &ref->refcnt))) in rcuref_get() 89 cnt = atomic_sub_return_release(1, &ref->refcnt); in __rcuref_put()
|
| D | backing-dev-defs.h | 148 struct percpu_ref refcnt; /* used only for !root wb's */ member 175 struct kref refcnt; /* Reference counter for the structure */ member 228 return percpu_ref_tryget(&wb->refcnt); in wb_tryget() 239 percpu_ref_get(&wb->refcnt); in wb_get() 258 percpu_ref_put_many(&wb->refcnt, nr); in wb_put_many() 278 return percpu_ref_is_dying(&wb->refcnt); in wb_dying()
|
| D | connector.h | 23 atomic_t refcnt; member 39 refcount_t refcnt; member
|
| D | w1.h | 70 atomic_t refcnt; member 221 atomic_t refcnt; member 277 atomic_t refcnt; member
|
| D | bpf-cgroup-defs.h | 74 struct percpu_ref refcnt; member
|
| D | inetdevice.h | 29 refcount_t refcnt; member 245 refcount_inc(&in_dev->refcnt); in in_dev_get() 280 if (refcount_dec_and_test(&idev->refcnt)) in in_dev_put() 284 #define __in_dev_put(idev) refcount_dec(&(idev)->refcnt) 285 #define in_dev_hold(idev) refcount_inc(&(idev)->refcnt)
|
| D | user_events.h | 25 refcount_t refcnt; member
|
| D | types.h | 189 atomic_t refcnt; member 192 #define RCUREF_INIT(i) { .refcnt = ATOMIC_INIT(i - 1) }
|
| D | atmdev.h | 163 refcount_t refcnt; /* reference count */ member 280 refcount_inc(&dev->refcnt); in atm_dev_hold() 286 if (refcount_dec_and_test(&dev->refcnt)) { in atm_dev_put()
|
| /include/trace/events/ |
| D | module.h | 78 __field( int, refcnt ) 84 __entry->refcnt = atomic_read(&mod->refcnt); 89 __get_str(name), (void *)__entry->ip, __entry->refcnt)
|
| D | neigh.h | 88 __field(int, refcnt) 113 __entry->refcnt = refcount_read(&n->refcnt); 148 __entry->type, __entry->dead, __entry->refcnt, 168 __field(int, refcnt) 190 __entry->refcnt = refcount_read(&n->refcnt); 221 __entry->type, __entry->dead, __entry->refcnt,
|
| /include/net/ |
| D | x25.h | 135 refcount_t refcnt; member 147 refcount_t refcnt; member 177 atomic_t refcnt; member 245 refcount_inc(&nb->refcnt); in x25_neigh_hold() 250 if (refcount_dec_and_test(&nb->refcnt)) in x25_neigh_put() 268 refcount_inc(&rt->refcnt); in x25_route_hold() 273 if (refcount_dec_and_test(&rt->refcnt)) in x25_route_put()
|
| D | llc.h | 58 refcount_t refcnt; member 119 refcount_inc(&sap->refcnt); in llc_sap_hold() 124 return refcount_inc_not_zero(&sap->refcnt); in llc_sap_hold_safe() 131 if (refcount_dec_and_test(&sap->refcnt)) in llc_sap_put()
|
| D | inet_frag.h | 93 refcount_t refcnt; member 117 refcount_t refcnt; member 150 if (refcount_dec_and_test(&q->refcnt)) in inet_frag_put()
|
| D | addrconf.h | 390 refcount_inc(&idev->refcnt); in in6_dev_get() 406 if (refcount_dec_and_test(&idev->refcnt)) in in6_dev_put() 422 refcount_dec(&idev->refcnt); in __in6_dev_put() 427 refcount_inc(&idev->refcnt); in in6_dev_hold() 445 if (refcount_dec_and_test(&ifp->refcnt)) in in6_ifa_put() 451 refcount_dec(&ifp->refcnt); in __in6_ifa_put() 456 refcount_inc(&ifp->refcnt); in in6_ifa_hold() 461 return refcount_inc_not_zero(&ifp->refcnt); in in6_ifa_hold_safe()
|
| D | lwtunnel.h | 32 atomic_t refcnt; member 66 atomic_inc(&lws->refcnt); in lwtstate_get() 76 if (atomic_dec_and_test(&lws->refcnt)) in lwtstate_put()
|
| D | fib_rules.h | 37 refcount_t refcnt; member 107 refcount_inc(&rule->refcnt); in fib_rule_get() 112 if (refcount_dec_and_test(&rule->refcnt)) in fib_rule_put()
|
| D | macsec.h | 135 refcount_t refcnt; member 165 refcount_t refcnt; member 186 refcount_t refcnt; member
|
| D | neighbour.h | 83 refcount_t refcnt; member 147 refcount_t refcnt; member 437 refcount_dec(&parms->refcnt); in __neigh_parms_put() 442 refcount_inc(&parms->refcnt); in neigh_parms_clone() 452 if (refcount_dec_and_test(&neigh->refcnt)) in neigh_release() 459 refcount_inc(&neigh->refcnt); in neigh_clone() 463 #define neigh_hold(n) refcount_inc(&(n)->refcnt)
|
| D | lib80211.h | 97 atomic_t refcnt; member
|
| D | if_inet6.h | 41 refcount_t refcnt; member 201 refcount_t refcnt; member
|
| /include/net/sctp/ |
| D | auth.h | 42 refcount_t refcnt; member 51 refcount_t refcnt; member 67 refcount_inc(&key->refcnt); in sctp_auth_key_hold()
|
| /include/net/netfilter/ |
| D | xt_rateest.h | 14 unsigned int refcnt; member
|
| /include/net/bluetooth/ |
| D | rfcomm.h | 181 refcount_t refcnt; member 257 refcount_inc(&d->refcnt); in rfcomm_dlc_hold() 262 if (refcount_dec_and_test(&d->refcnt)) in rfcomm_dlc_put()
|