Home
last modified time | relevance | path

Searched refs:atomic_sub_return (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.6.21/drivers/scsi/elx/efct/
Defct_scsi.c436 atomic_sub_return(1, &xport->io_pending_count); in efct_scsi_dispatch_pending()
469 atomic_sub_return(1, &xport->io_pending_recursing); in efct_scsi_check_pending()
477 atomic_sub_return(1, &xport->io_pending_recursing); in efct_scsi_check_pending()
497 atomic_sub_return(1, &xport->io_pending_count); in efct_scsi_check_pending()
513 atomic_sub_return(1, &xport->io_pending_recursing); in efct_scsi_check_pending()
Defct_io.c166 atomic_sub_return(1, &efct->xport->io_active_count); in efct_io_pool_io_free()
Defct_lio.c336 atomic_sub_return(1, &efct->tgt_efct.ios_in_use); in efct_lio_release_cmd()
1309 ini_count = atomic_sub_return(1, &efct->tgt_efct.initiator_count); in efct_scsi_del_initiator()
/linux-6.6.21/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c152 if (atomic_sub_return(1, &vcrypto_dev->ref_count) == 0) in virtcrypto_dev_put()
/linux-6.6.21/drivers/md/bcache/
Dclosure.c46 closure_put_after_sub(cl, atomic_sub_return(v, &cl->remaining)); in closure_sub()
/linux-6.6.21/arch/arm64/include/asm/
Datomic.h53 ATOMIC_FETCH_OPS(atomic_sub_return)
/linux-6.6.21/include/linux/
Dpage_ref.h144 int ret = atomic_sub_return(nr, &page->_refcount); in page_ref_sub_return()
/linux-6.6.21/arch/x86/kernel/cpu/mce/
Dintel.c200 if (!atomic_sub_return(1, &cmci_storm_on_cpus)) in cmci_intel_adjust_timer()
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def89 atomic_sub_return(V,X) __atomic_op_return{mb}(X,-,V)
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_dev_mgr.c421 if (atomic_sub_return(1, &accel_dev->ref_count) == 0) in adf_dev_put()
/linux-6.6.21/drivers/tty/
Dtty_buffer.c203 WARN_ON(atomic_sub_return(b->size, &buf->mem_used) < 0); in tty_buffer_free()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dgen6_ppgtt.c93 if (!atomic_sub_return(count, &pt->used)) in gen6_ppgtt_clear_range()
/linux-6.6.21/drivers/s390/cio/
Dqdio_main.c467 if (atomic_sub_return(count, &q->nr_buf_used) == 0) in get_inbound_buffer_frontier()
479 if (atomic_sub_return(count, &q->nr_buf_used) == 0) in get_inbound_buffer_frontier()
/linux-6.6.21/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_tx.c311 if (atomic_sub_return(send_cnt, &txq->tx_budget) <= (MAX_SKB_FRAGS + 2)) in t7xx_dpmaif_add_skb_to_ring()
/linux-6.6.21/net/9p/
Dtrans_rdma.c437 if ((atomic_sub_return(1, &rdma->excess_rc) >= 0)) { in rdma_request()
/linux-6.6.21/net/vmw_vsock/
Dvirtio_transport.c208 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in virtio_transport_cancel_pkt()
/linux-6.6.21/drivers/w1/
Dw1_netlink.c64 if (atomic_sub_return(1, &block->refcnt) == 0) { in w1_unref_block()
Dw1.c782 refcnt = atomic_sub_return(1, &sl->refcnt); in w1_unref_slave()
/linux-6.6.21/drivers/vhost/
Dvsock.c314 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in vhost_transport_cancel_pkt()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c750 if (atomic_sub_return(num_wqebbs, &wq->delta) <= 0) { in hinic_get_wqe()
/linux-6.6.21/io_uring/
Dpoll.c341 } while (atomic_sub_return(v & IO_POLL_REF_MASK, &req->poll_refs) & in io_poll_check_events()
/linux-6.6.21/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c389 if (atomic_sub_return(cc->cc_sqecount, in svc_rdma_post_chunk_ctxt()
/linux-6.6.21/net/rds/
Dib_send.c231 if ((atomic_sub_return(nr, &ic->i_signaled_sends) == 0) && in rds_ib_sub_signaled()
/linux-6.6.21/drivers/xen/
Dgntdev.c430 live_grants = atomic_sub_return(successful_unmaps, &map->live_grants); in __unmap_grant_pages_done()
/linux-6.6.21/fs/gfs2/
Dlog.c555 if (atomic_sub_return(blks, &sdp->sd_log_blks_needed)) in __gfs2_log_reserve()

12