Searched refs:refcount_sub_and_test (Results 1 – 23 of 23) sorted by relevance
/linux-5.19.10/tools/include/linux/ |
D | refcount.h | 121 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-5.19.10/drivers/misc/lkdtm/ |
D | refcount.c | 179 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-5.19.10/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 124 * atomic_sub_and_test() --> refcount_sub_and_test()
|
/linux-5.19.10/net/atm/ |
D | raw.c | 39 WARN_ON(refcount_sub_and_test(ATM_SKB(skb)->acct_truesize, &sk->sk_wmem_alloc)); in atm_pop_raw()
|
D | signaling.c | 71 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in sigd_send()
|
D | mpc.c | 913 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in msg_from_mpoad()
|
D | lec.c | 351 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in lec_atm_send()
|
/linux-5.19.10/include/linux/sched/ |
D | task.h | 124 if (refcount_sub_and_test(nr, &t->usage)) in put_task_struct_many()
|
/linux-5.19.10/include/linux/ |
D | refcount.h | 308 static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r) in refcount_sub_and_test() function
|
/linux-5.19.10/kernel/trace/ |
D | rethook.c | 52 if (refcount_sub_and_test(count, &rh->ref)) in rethook_free_rcu()
|
/linux-5.19.10/net/ipv4/ |
D | tcp_offload.c | 165 WARN_ON_ONCE(refcount_sub_and_test(-delta, &skb->sk->sk_wmem_alloc)); in tcp_gso_segment()
|
D | inet_fragment.c | 144 if (refcount_sub_and_test(count, &fq->refcnt)) in inet_frags_free_cb()
|
D | udp_offload.c | 362 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); in __udp_gso_segment()
|
D | tcp_output.c | 1146 WARN_ON(refcount_sub_and_test(skb->truesize - 1, &sk->sk_wmem_alloc)); in tcp_wfree()
|
/linux-5.19.10/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 135 * atomic_sub_and_test() --> refcount_sub_and_test()
|
/linux-5.19.10/net/tls/ |
D | tls_device_fallback.c | 218 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); in complete_skb()
|
/linux-5.19.10/net/core/ |
D | sock.c | 2359 free = refcount_sub_and_test(len, &sk->sk_wmem_alloc); in sock_wfree() 2371 WARN_ON(refcount_sub_and_test(len - 1, &sk->sk_wmem_alloc)); in sock_wfree() 2379 if (refcount_sub_and_test(len, &sk->sk_wmem_alloc)) in sock_wfree() 2391 if (refcount_sub_and_test(skb->truesize, &sk->sk_wmem_alloc)) in __sock_wfree()
|
D | pktgen.c | 3501 WARN_ON(refcount_sub_and_test(burst - 1, &skb->users)); in pktgen_xmit() 3585 WARN_ON(refcount_sub_and_test(burst, &pkt_dev->skb->users)); in pktgen_xmit()
|
/linux-5.19.10/kernel/ |
D | padata.c | 373 if (refcount_sub_and_test(cnt, &pd->refcnt)) in padata_serial_worker()
|
D | kprobes.c | 1926 if (refcount_sub_and_test(count, &rp->rph->ref)) { in free_rp_inst()
|
/linux-5.19.10/fs/btrfs/ |
D | compression.c | 225 last_io = refcount_sub_and_test(bi_size >> fs_info->sectorsize_bits, in dec_and_test_compressed_bio()
|
/linux-5.19.10/mm/ |
D | memcontrol.c | 5038 if (refcount_sub_and_test(n, &memcg->id.ref)) { in mem_cgroup_id_put_many()
|
/linux-5.19.10/net/sctp/ |
D | socket.c | 9122 WARN_ON(refcount_sub_and_test(sizeof(struct sctp_chunk), in sctp_wfree()
|