Home
last modified time | relevance | path

Searched refs:refcount_sub_and_test (Results 1 – 22 of 22) sorted by relevance

/linux/tools/include/linux/
A Drefcount.h121 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test() function
148 return refcount_sub_and_test(1, r); in refcount_dec_and_test()
/linux/drivers/misc/lkdtm/
A Drefcount.c179 if (refcount_sub_and_test(5, &neg)) in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE()
344 if (refcount_sub_and_test(8, &sat)) in lkdtm_REFCOUNT_SUB_AND_TEST_SATURATED()
/linux/Documentation/translations/zh_CN/core-api/
A Drefcount-vs-atomic.rst124 * atomic_sub_and_test() --> refcount_sub_and_test()
/linux/net/atm/
A Draw.c39 WARN_ON(refcount_sub_and_test(ATM_SKB(skb)->acct_truesize, &sk->sk_wmem_alloc)); in atm_pop_raw()
A Dsignaling.c71 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in sigd_send()
A Dmpc.c913 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in msg_from_mpoad()
A Dlec.c351 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in lec_atm_send()
/linux/include/linux/sched/
A Dtask.h119 if (refcount_sub_and_test(nr, &t->usage)) in put_task_struct_many()
/linux/include/linux/
A Drefcount.h308 static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r) in refcount_sub_and_test() function
/linux/net/ipv4/
A Dtcp_offload.c164 WARN_ON_ONCE(refcount_sub_and_test(-delta, &skb->sk->sk_wmem_alloc)); in tcp_gso_segment()
A Dinet_fragment.c144 if (refcount_sub_and_test(count, &fq->refcnt)) in inet_frags_free_cb()
A Dudp_offload.c361 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); in __udp_gso_segment()
A Dtcp_output.c1146 WARN_ON(refcount_sub_and_test(skb->truesize - 1, &sk->sk_wmem_alloc)); in tcp_wfree()
/linux/Documentation/core-api/
A Drefcount-vs-atomic.rst135 * atomic_sub_and_test() --> refcount_sub_and_test()
/linux/net/tls/
A Dtls_device_fallback.c218 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); in complete_skb()
/linux/kernel/
A Dpadata.c373 if (refcount_sub_and_test(cnt, &pd->refcnt)) in padata_serial_worker()
A Dkprobes.c1304 if (refcount_sub_and_test(count, &rp->rph->ref)) { in free_rp_inst()
/linux/net/core/
A Dsock.c2284 WARN_ON(refcount_sub_and_test(len - 1, &sk->sk_wmem_alloc)); in sock_wfree()
2292 if (refcount_sub_and_test(len, &sk->sk_wmem_alloc)) in sock_wfree()
2304 if (refcount_sub_and_test(skb->truesize, &sk->sk_wmem_alloc)) in __sock_wfree()
A Dpktgen.c3499 WARN_ON(refcount_sub_and_test(burst - 1, &skb->users)); in pktgen_xmit()
3583 WARN_ON(refcount_sub_and_test(burst, &pkt_dev->skb->users)); in pktgen_xmit()
/linux/fs/btrfs/
A Dcompression.c224 last_io = refcount_sub_and_test(bi_size >> fs_info->sectorsize_bits, in dec_and_test_compressed_bio()
/linux/mm/
A Dmemcontrol.c5019 if (refcount_sub_and_test(n, &memcg->id.ref)) { in mem_cgroup_id_put_many()
/linux/net/sctp/
A Dsocket.c9129 WARN_ON(refcount_sub_and_test(sizeof(struct sctp_chunk), in sctp_wfree()

Completed in 69 milliseconds