refcount_sub_and_test
return refcount_sub_and_test(sub_refs, &io->ref);
WARN_ON(refcount_sub_and_test(num_devices - 1,
if (refcount_sub_and_test(5, &neg))
if (refcount_sub_and_test(0, &neg))
if (refcount_sub_and_test(8, &sat))
refcount_sub_and_test(nr, &netfs_group->ref))
if (refcount_sub_and_test(decrement, &nf->nf_ref)) {
WARN_ON_ONCE(refcount_sub_and_test(ATM_SKB(skb)->acct_truesize,
if (refcount_sub_and_test(nr, &t->usage))
if (refs && refcount_sub_and_test(refs, &q->refcnt))
if (refcount_sub_and_test(cnt, &pd->refcnt))
if (refcount_sub_and_test(count, &pool->ref))
if (refcount_sub_and_test(n, &memcg->id.ref)) {
ves->detached = refcount_sub_and_test(VM_REFCNT_EXCLUDE_READERS_FLAG,
if (refcount_sub_and_test(nr_base_pages, &stack_record->count))
WARN_ON(refcount_sub_and_test(burst - 1, &skb->users));
WARN_ON(refcount_sub_and_test(burst, &pkt_dev->skb->users));
WARN_ON(refcount_sub_and_test(len - 1, &sk->sk_wmem_alloc));
if (refcount_sub_and_test(len, &sk->sk_wmem_alloc))
if (refcount_sub_and_test(skb->truesize, &sk->sk_wmem_alloc))
WARN_ON_ONCE(refcount_sub_and_test(-delta, &skb->sk->sk_wmem_alloc));
WARN_ON(refcount_sub_and_test(skb->truesize - 1, &sk->sk_wmem_alloc));
WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc));
WARN_ON(refcount_sub_and_test(sizeof(struct sctp_chunk),
WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc));
return refcount_sub_and_test(1, r);