Home
last modified time | relevance | path

Searched refs:refcount_read (Results 1 – 14 of 14) sorted by relevance

/include/linux/
Dkref.h36 return refcount_read(&kref->refcount); in kref_read()
Drefcount.h145 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() function
152 int old = refcount_read(r); in __refcount_add_not_zero()
Datmdev.h266 return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send()
Dkvm_host.h793 !refcount_read(&kvm->users_count)); in kvm_get_bus()
880 !refcount_read(&kvm->users_count)); in __kvm_memslots()
Dskbuff.h1131 if (likely(refcount_read(&skb->users) == 1)) in skb_unref()
1219 refcount_read(&fclones->fclone_ref) > 1 && in skb_fclone_busy()
1816 return refcount_read(&skb->users) != 1; in skb_shared()
/include/trace/events/
Dfscache.h223 __entry->p_ref = refcount_read(&cookie->parent->ref);
253 __entry->ref = refcount_read(&cookie->ref);
281 __entry->ref = refcount_read(&cookie->ref);
307 __entry->ref = refcount_read(&cookie->ref);
Dneigh.h113 __entry->refcnt = refcount_read(&n->refcnt);
190 __entry->refcnt = refcount_read(&n->refcnt);
Dsock.h120 __entry->wmem_alloc = refcount_read(&sk->sk_wmem_alloc);
Dbtrfs.h313 __entry->refs = refcount_read(&map->refs);
544 __entry->refs = refcount_read(&ordered->refs);
Drxrpc.h586 __entry->usage = conn ? refcount_read(&conn->ref) : -2;
/include/net/
Drequest_sock.h126 WARN_ON_ONCE(refcount_read(&req->rsk_refcnt) != 0); in reqsk_free()
Dsock.h764 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_del_node_init()
786 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu()
1333 if (refcount_read(&sk->sk_refcnt) != 1) in sk_refcnt_debug_release()
1335 sk->sk_prot->name, sk, refcount_read(&sk->sk_refcnt)); in sk_refcnt_debug_release()
2239 return refcount_read(&sk->sk_wmem_alloc) - 1; in sk_wmem_alloc_get()
2427 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace()
2523 return refcount_read(&sk->sk_wmem_alloc) < (READ_ONCE(sk->sk_sndbuf) >> 1); in sock_writeable()
Dnet_namespace.h305 return refcount_read(&net->ns.count) != 0; in check_net()
/include/net/netfilter/
Dnf_tables.h572 return refcount_read(&s->refs) != 1; in nft_set_gc_is_pending()