Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.c341 atomic_sub_return(1, &efct->tgt_efct.ios_in_use); in efct_lio_release_cmd()
1323 ini_count = atomic_sub_return(1, &efct->tgt_efct.initiator_count); in efct_scsi_del_initiator()
/Linux-v6.1/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c152 if (atomic_sub_return(1, &vcrypto_dev->ref_count) == 0) in virtcrypto_dev_put()
/Linux-v6.1/drivers/md/bcache/
Dclosure.c46 closure_put_after_sub(cl, atomic_sub_return(v, &cl->remaining)); in closure_sub()
/Linux-v6.1/arch/arm64/include/asm/
Datomic.h53 ATOMIC_FETCH_OPS(atomic_sub_return)
/Linux-v6.1/include/linux/
Dpage_ref.h144 int ret = atomic_sub_return(nr, &page->_refcount); in page_ref_sub_return()
/Linux-v6.1/arch/x86/kernel/cpu/mce/
Dintel.c193 if (!atomic_sub_return(1, &cmci_storm_on_cpus)) in cmci_intel_adjust_timer()
/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c419 if (atomic_sub_return(1, &accel_dev->ref_count) == 0) in adf_dev_put()
/Linux-v6.1/tools/memory-model/
Dlinux-kernel.def86 atomic_sub_return(V,X) __atomic_op_return{mb}(X,-,V)
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dgen6_ppgtt.c93 if (!atomic_sub_return(count, &pt->used)) in gen6_ppgtt_clear_range()
/Linux-v6.1/drivers/tty/
Dtty_buffer.c204 WARN_ON(atomic_sub_return(b->size, &buf->mem_used) < 0); in tty_buffer_free()
/Linux-v6.1/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-v6.1/net/9p/
Dtrans_rdma.c432 if ((atomic_sub_return(1, &rdma->excess_rc) >= 0)) { in rdma_request()
/Linux-v6.1/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-v6.1/drivers/w1/
Dw1_netlink.c64 if (atomic_sub_return(1, &block->refcnt) == 0) { in w1_unref_block()
Dw1.c791 refcnt = atomic_sub_return(1, &sl->refcnt); in w1_unref_slave()
/Linux-v6.1/net/vmw_vsock/
Dvirtio_transport.c234 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in virtio_transport_cancel_pkt()
/Linux-v6.1/drivers/vhost/
Dvsock.c344 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in vhost_transport_cancel_pkt()
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c750 if (atomic_sub_return(num_wqebbs, &wq->delta) <= 0) { in hinic_get_wqe()
/Linux-v6.1/io_uring/
Dpoll.c311 } while (atomic_sub_return(v & IO_POLL_REF_MASK, &req->poll_refs) & in io_poll_check_events()
/Linux-v6.1/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c385 if (atomic_sub_return(cc->cc_sqecount, in svc_rdma_post_chunk_ctxt()
/Linux-v6.1/net/rds/
Dib_send.c231 if ((atomic_sub_return(nr, &ic->i_signaled_sends) == 0) && in rds_ib_sub_signaled()
/Linux-v6.1/fs/gfs2/
Dlog.c546 if (atomic_sub_return(blks, &sdp->sd_log_blks_needed)) in __gfs2_log_reserve()
/Linux-v6.1/drivers/xen/
Dgntdev.c430 live_grants = atomic_sub_return(successful_unmaps, &map->live_grants); in __unmap_grant_pages_done()

12