Searched refs:refcount_sub_and_test (Results 1 - 23 of 23) sorted by relevance
/linux-master/tools/include/linux/ |
H A D | refcount.h | 121 bool refcount_sub_and_test(unsigned int i, refcount_t *r) function 148 return refcount_sub_and_test(1, r);
|
/linux-master/net/atm/ |
H A D | raw.c | 39 WARN_ON(refcount_sub_and_test(ATM_SKB(skb)->acct_truesize, &sk->sk_wmem_alloc));
|
H A D | signaling.c | 71 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc));
|
H A D | mpc.c | 913 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc));
|
H A D | lec.c | 351 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc));
|
/linux-master/drivers/misc/lkdtm/ |
H A D | refcount.c | 171 * A refcount_sub_and_test() should act like refcount_dec_and_test() 178 pr_info("attempting bad refcount_sub_and_test() below zero\n"); 179 if (refcount_sub_and_test(5, &neg)) 180 pr_warn("Weird: refcount_sub_and_test() reported zero\n"); 343 pr_info("attempting bad refcount_sub_and_test() from saturated\n"); 344 if (refcount_sub_and_test(8, &sat)) 345 pr_warn("Weird: refcount_sub_and_test() reported zero\n");
|
/linux-master/include/linux/sched/ |
H A D | task.h | 170 if (refcount_sub_and_test(nr, &t->usage))
|
/linux-master/include/linux/ |
H A D | refcount.h | 281 * refcount_sub_and_test - subtract from a refcount and test if it is 0 300 static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r) function
|
/linux-master/lib/ |
H A D | objpool.c | 294 if (refcount_sub_and_test(count, &pool->ref))
|
/linux-master/fs/netfs/ |
H A D | internal.h | 190 if (netfs_group && refcount_sub_and_test(nr, &netfs_group->ref))
|
/linux-master/net/ipv4/ |
H A D | tcp_offload.c | 160 * We need to either use refcount_add() or refcount_sub_and_test() 165 WARN_ON_ONCE(refcount_sub_and_test(-delta, &skb->sk->sk_wmem_alloc));
|
H A D | inet_fragment.c | 148 if (refcount_sub_and_test(count, &fq->refcnt))
|
H A D | udp_offload.c | 365 * We need to either use refcount_add() or refcount_sub_and_test() 370 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc));
|
H A D | tcp_output.c | 1195 WARN_ON(refcount_sub_and_test(skb->truesize - 1, &sk->sk_wmem_alloc));
|
/linux-master/net/tls/ |
H A D | tls_device_fallback.c | 224 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc));
|
/linux-master/drivers/iommu/iommufd/ |
H A D | device.c | 519 WARN_ON(refcount_sub_and_test(num_devices - 1,
|
/linux-master/fs/nfsd/ |
H A D | filecache.c | 580 if (refcount_sub_and_test(decrement, &nf->nf_ref)) {
|
/linux-master/kernel/ |
H A D | padata.c | 383 if (refcount_sub_and_test(cnt, &pd->refcnt))
|
/linux-master/net/core/ |
H A D | sock.c | 2469 free = refcount_sub_and_test(len, &sk->sk_wmem_alloc); 2481 WARN_ON(refcount_sub_and_test(len - 1, &sk->sk_wmem_alloc)); 2489 if (refcount_sub_and_test(len, &sk->sk_wmem_alloc)) 2501 if (refcount_sub_and_test(skb->truesize, &sk->sk_wmem_alloc))
|
H A D | pktgen.c | 3536 WARN_ON(refcount_sub_and_test(burst - 1, &skb->users)); 3630 WARN_ON(refcount_sub_and_test(burst, &pkt_dev->skb->users));
|
/linux-master/mm/ |
H A D | page_owner.c | 232 if (refcount_sub_and_test(nr_base_pages, &stack_record->count))
|
H A D | memcontrol.c | 5386 if (refcount_sub_and_test(n, &memcg->id.ref)) {
|
/linux-master/net/sctp/ |
H A D | socket.c | 9152 WARN_ON(refcount_sub_and_test(sizeof(struct sctp_chunk),
|
Completed in 311 milliseconds