Searched refs:refcount_read (Results 1 – 14 of 14) sorted by relevance
36 return refcount_read(&kref->refcount); in kref_read()
145 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() function152 int old = refcount_read(r); in __refcount_add_not_zero()
266 return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send()
793 !refcount_read(&kvm->users_count)); in kvm_get_bus()880 !refcount_read(&kvm->users_count)); in __kvm_memslots()
1131 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()
223 __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);
113 __entry->refcnt = refcount_read(&n->refcnt);190 __entry->refcnt = refcount_read(&n->refcnt);
120 __entry->wmem_alloc = refcount_read(&sk->sk_wmem_alloc);
313 __entry->refs = refcount_read(&map->refs);544 __entry->refs = refcount_read(&ordered->refs);
586 __entry->usage = conn ? refcount_read(&conn->ref) : -2;
126 WARN_ON_ONCE(refcount_read(&req->rsk_refcnt) != 0); in reqsk_free()
764 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()
305 return refcount_read(&net->ns.count) != 0; in check_net()
572 return refcount_read(&s->refs) != 1; in nft_set_gc_is_pending()