atomic_dec_return 155 arch/arm/mach-cns3xxx/cns3420vb.c if (atomic_dec_return(&usb_pwr_ref) == 0) atomic_dec_return 331 arch/arm/mach-cns3xxx/core.c if (atomic_dec_return(&usb_pwr_ref) == 0) atomic_dec_return 1351 arch/ia64/kernel/mca.c if (atomic_dec_return(&mca_count) > 0) { atomic_dec_return 776 arch/powerpc/kernel/rtas.c if (atomic_dec_return(&data->working) == 0) atomic_dec_return 830 arch/powerpc/kernel/rtas.c if (atomic_dec_return(&data->working) == 0) atomic_dec_return 171 arch/powerpc/perf/8xx-pmu.c if (atomic_dec_return(&insn_ctr_ref) == 0) atomic_dec_return 175 arch/powerpc/perf/8xx-pmu.c if (atomic_dec_return(&itlb_miss_ref) == 0) { atomic_dec_return 183 arch/powerpc/perf/8xx-pmu.c if (atomic_dec_return(&dtlb_miss_ref) == 0) { atomic_dec_return 1791 arch/powerpc/perf/core-book3s.c if (atomic_dec_return(&num_events) == 0) atomic_dec_return 446 arch/powerpc/perf/core-fsl-emb.c if (atomic_dec_return(&num_events) == 0) atomic_dec_return 380 arch/riscv/kernel/perf_event.c if (atomic_dec_return(&riscv_active_events) == 0) atomic_dec_return 175 arch/s390/kernel/perf_cpum_cf.c if (atomic_dec_return(&num_events) == 0) atomic_dec_return 403 arch/s390/kernel/perf_cpum_cf.c if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) atomic_dec_return 189 arch/s390/kernel/perf_cpum_cf_diag.c if (atomic_dec_return(&cf_diag_events) == 0) atomic_dec_return 601 arch/s390/kernel/perf_cpum_sf.c if (atomic_dec_return(&num_events) == 0) atomic_dec_return 156 arch/s390/pci/pci_irq.c } while (atomic_dec_return(scheduled)); atomic_dec_return 85 arch/sh/kernel/perf_event.c if (atomic_dec_return(&num_events) == 0) atomic_dec_return 1104 arch/x86/events/intel/uncore.c if (atomic_dec_return(&pmu->activeboxes) == 0) atomic_dec_return 1206 arch/x86/events/intel/uncore.c if (box && atomic_dec_return(&box->refcnt) == 0) atomic_dec_return 726 arch/x86/pci/common.c if (atomic_dec_return(&dev->enable_cnt) >= 0) atomic_dec_return 298 block/blk-core.c pm_only = atomic_dec_return(&q->pm_only); atomic_dec_return 619 block/blk-iolatency.c inflight = atomic_dec_return(&rqw->inflight); atomic_dec_return 132 block/blk-wbt.c inflight = atomic_dec_return(&rqw->inflight); atomic_dec_return 2125 drivers/block/drbd/drbd_int.h int i = atomic_dec_return(&device->local_cnt); atomic_dec_return 2311 drivers/block/drbd/drbd_int.h int ap_bio = atomic_dec_return(&device->ap_bio_cnt); atomic_dec_return 1835 drivers/block/loop.c if (atomic_dec_return(&lo->lo_refcnt)) atomic_dec_return 687 drivers/block/mtip32xx/mtip32xx.c if (atomic_dec_return(&dd->irq_workers_active) == 0) atomic_dec_return 276 drivers/block/nbd.c if (atomic_dec_return(&nbd->config->live_connections) == 0) { atomic_dec_return 78 drivers/block/rbd.c counter = atomic_dec_return(v); atomic_dec_return 330 drivers/cpufreq/arm_big_little.c if (atomic_dec_return(&cluster_usage[cluster])) atomic_dec_return 931 drivers/devfreq/devfreq.c if (atomic_dec_return(&devfreq->suspend_count) >= 1) atomic_dec_return 423 drivers/dma/bcm-sba-raid.c if (!atomic_dec_return(&first->next_pending_count)) { atomic_dec_return 211 drivers/dma/qcom/hidma_ll.c if (atomic_dec_return(&lldev->pending_tre_count) < 0) { atomic_dec_return 415 drivers/edac/edac_pci_sysfs.c if (atomic_dec_return(&edac_pci_sysfs_refcount) == 0) { atomic_dec_return 172 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c if (atomic_dec_return(&ring->num_jobs[priority]) > 0) atomic_dec_return 1809 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (atomic_dec_return(&adev->vm_manager.num_prt_users) == 0) atomic_dec_return 779 drivers/gpu/drm/amd/amdkfd/kfd_device.c count = atomic_dec_return(&kfd_locked); atomic_dec_return 816 drivers/gpu/drm/amd/amdkfd/kfd_device.c count = atomic_dec_return(&kfd_locked); atomic_dec_return 1160 drivers/gpu/drm/amd/amdkfd/kfd_device.c int count = atomic_dec_return(&kfd->compute_profile); atomic_dec_return 935 drivers/gpu/drm/i915/gvt/gtt.c return atomic_dec_return(&spt->refcount); atomic_dec_return 155 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c if (atomic_dec_return(&dpu_kms->irq_obj.enable_counts[irq_idx]) == 0) { atomic_dec_return 235 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c if (atomic_dec_return(&kms->bandwidth_ref) > 0) atomic_dec_return 317 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c } else if (atomic_dec_return(&dpu_crtc->frame_pending) == 0) { atomic_dec_return 301 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c else if (!enable && atomic_dec_return(&phys_enc->vblank_refcount) == 0) atomic_dec_return 420 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c else if (!enable && atomic_dec_return(&phys_enc->vblank_refcount) == 0) atomic_dec_return 134 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c if (atomic_dec_return(&hw_blk->refcount)) atomic_dec_return 75 drivers/gpu/drm/nouveau/nvif/notify.c if (atomic_dec_return(¬ify->putcnt) != 0) atomic_dec_return 356 drivers/hwtracing/coresight/coresight-etb10.c if (atomic_dec_return(csdev->refcnt)) { atomic_dec_return 126 drivers/hwtracing/coresight/coresight-funnel.c if (atomic_dec_return(&csdev->refcnt[inport]) == 0) { atomic_dec_return 158 drivers/hwtracing/coresight/coresight-replicator.c if (atomic_dec_return(&csdev->refcnt[outport]) == 0) { atomic_dec_return 316 drivers/hwtracing/coresight/coresight-tmc-etf.c if (atomic_dec_return(csdev->refcnt)) { atomic_dec_return 377 drivers/hwtracing/coresight/coresight-tmc-etf.c if (atomic_dec_return(&csdev->refcnt[0]) == 0) { atomic_dec_return 1640 drivers/hwtracing/coresight/coresight-tmc-etr.c if (atomic_dec_return(csdev->refcnt)) { atomic_dec_return 102 drivers/hwtracing/coresight/coresight-tpiu.c if (atomic_dec_return(csdev->refcnt)) atomic_dec_return 347 drivers/hwtracing/coresight/coresight.c if (atomic_dec_return(csdev->refcnt) == 0) { atomic_dec_return 454 drivers/iio/accel/bmc150-accel-core.c if (atomic_dec_return(&intr->users) > 0) atomic_dec_return 536 drivers/infiniband/hw/hfi1/verbs.c if (atomic_dec_return(&mcast->refcount) <= 1) atomic_dec_return 80 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!atomic_dec_return(&buf->refcount)) atomic_dec_return 1910 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!atomic_dec_return(&listener->ref_count)) { atomic_dec_return 2287 drivers/infiniband/hw/i40iw/i40iw_cm.c if (atomic_dec_return(&cm_node->ref_count)) { atomic_dec_return 2354 drivers/infiniband/hw/qib/qib_file_ops.c if (atomic_dec_return(&user_count) == 0) atomic_dec_return 340 drivers/infiniband/hw/qib/qib_verbs.c if (atomic_dec_return(&mcast->refcount) <= 1) atomic_dec_return 415 drivers/infiniband/sw/rxe/rxe_net.c int skb_out = atomic_dec_return(&qp->skb_out); atomic_dec_return 356 drivers/infiniband/sw/rxe/rxe_req.c depth = atomic_dec_return(&qp->req.rd_atomic); atomic_dec_return 1693 drivers/infiniband/ulp/srpt/ib_srpt.c req_lim = atomic_dec_return(&ch->req_lim); atomic_dec_return 55 drivers/md/bcache/closure.c closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); atomic_dec_return 25 drivers/md/bcache/util.h #define atomic_dec_bug(v) BUG_ON(atomic_dec_return(v) < 0) atomic_dec_return 714 drivers/md/dm-cache-target.c if (atomic_dec_return(&cache->nr_dirty) == 0) atomic_dec_return 1477 drivers/md/dm-mpath.c if (atomic_dec_return(&m->pg_init_in_progress) > 0) atomic_dec_return 266 drivers/md/raid5.c if (atomic_dec_return(&conf->preread_active_stripes) atomic_dec_return 830 drivers/md/raid5.c if (atomic_dec_return(&conf->preread_active_stripes) atomic_dec_return 745 drivers/media/pci/saa7164/saa7164-encoder.c if (atomic_dec_return(&port->v4l_reader_count) == 0) { atomic_dec_return 450 drivers/media/pci/saa7164/saa7164-vbi.c if (atomic_dec_return(&port->v4l_reader_count) == 0) { atomic_dec_return 189 drivers/media/pci/solo6x10/solo6x10-g723.c if (atomic_dec_return(&solo_dev->snd_users) == 0) atomic_dec_return 2397 drivers/media/platform/ti-vpe/vpe.c if (atomic_dec_return(&dev->num_instances) == 0) atomic_dec_return 1784 drivers/media/usb/cx231xx/cx231xx-417.c if (atomic_dec_return(&dev->v4l_reader_count) == 0) { atomic_dec_return 49 drivers/mfd/mfd-core.c if (atomic_dec_return(cell->usage_count) == 0) atomic_dec_return 285 drivers/misc/sgi-gru/grumain.c if (gts && atomic_dec_return(>s->ts_refcnt) == 0) { atomic_dec_return 683 drivers/misc/sgi-xp/xpc.h s32 refs = atomic_dec_return(&ch->references); atomic_dec_return 700 drivers/misc/sgi-xp/xpc.h s32 refs = atomic_dec_return(&part->references); atomic_dec_return 745 drivers/misc/sgi-xp/xpc_main.c if (atomic_dec_return(&ch->kthreads_assigned) == 0 && atomic_dec_return 746 drivers/misc/sgi-xp/xpc_main.c atomic_dec_return(&part->nchannels_engaged) == 0) { atomic_dec_return 822 drivers/misc/sgi-xp/xpc_main.c if (atomic_dec_return(&ch->kthreads_assigned) == 0 && atomic_dec_return 823 drivers/misc/sgi-xp/xpc_main.c atomic_dec_return(&part->nchannels_engaged) == 0) { atomic_dec_return 352 drivers/misc/sgi-xp/xpnet.c if (atomic_dec_return(&queued_msg->use_count) == 0) { atomic_dec_return 487 drivers/misc/sgi-xp/xpnet.c if (atomic_dec_return(&queued_msg->use_count) == 0) { atomic_dec_return 118 drivers/mmc/host/cavium-octeon.c if (!atomic_dec_return(&host->shared_power_users)) atomic_dec_return 418 drivers/net/ethernet/aurora/nb8800.c if (atomic_dec_return(&priv->tx_free) <= NB8800_DESC_LOW) { atomic_dec_return 2790 drivers/net/ethernet/mellanox/mlx4/fw.c num_tasks = atomic_dec_return(&priv->opreq_count); atomic_dec_return 704 drivers/net/hyperv/netvsc.c atomic_dec_return(&net_device->chan_table[q_idx].queue_sends); atomic_dec_return 725 drivers/net/wireless/ath/ar5523/ar5523.c if (!atomic_dec_return(&ar->tx_nr_pending)) { atomic_dec_return 149 drivers/net/wireless/ath/carl9170/tx.c if (atomic_dec_return(&sta_info->pending_frames) == 0) atomic_dec_return 2437 drivers/net/wireless/intel/iwlegacy/4965-mac.c atomic_dec_return(&sta_priv->pending_frames) == 0) atomic_dec_return 2259 drivers/net/wireless/intel/iwlegacy/common.h if (atomic_dec_return(&il->queue_stop_count[ac]) <= 0) atomic_dec_return 2077 drivers/net/wireless/intel/iwlwifi/dvm/main.c if (atomic_dec_return(&priv->queue_stop_count[mq]) > 0) { atomic_dec_return 800 drivers/net/wireless/intel/iwlwifi/dvm/tx.c atomic_dec_return(&sta_priv->pending_frames) == 0) atomic_dec_return 853 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } while (atomic_dec_return(&mvmtxq->tx_request)); atomic_dec_return 791 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c !atomic_dec_return(&mvm->queue_sync_counter)) atomic_dec_return 297 drivers/net/wireless/marvell/mwifiex/txrx.c atomic_dec_return(&adapter->pending_bridged_pkts); atomic_dec_return 318 drivers/net/wireless/marvell/mwifiex/txrx.c if (atomic_dec_return(&priv->wmm_tx_pending[index]) < LOW_TX_PENDING) { atomic_dec_return 2577 drivers/nvme/host/fc.c cnt = atomic_dec_return(&lport->act_rport_cnt); atomic_dec_return 2608 drivers/nvme/host/fc.c cnt = atomic_dec_return(&rport->act_ctrl_cnt); atomic_dec_return 1310 drivers/nvme/host/pci.c if (atomic_dec_return(&dev->ctrl.abort_limit) < 0) { atomic_dec_return 1943 drivers/pci/pci.c if (atomic_dec_return(&dev->enable_cnt) != 0) atomic_dec_return 1245 drivers/power/supply/power_supply_core.c WARN_ON(atomic_dec_return(&psy->use_cnt)); atomic_dec_return 359 drivers/reset/core.c if (atomic_dec_return(&rstc->deassert_count) != 0) atomic_dec_return 633 drivers/s390/block/dasd_int.h if (atomic_dec_return(&device->ref_count) == 0) atomic_dec_return 187 drivers/s390/char/raw3270.h if (atomic_dec_return(&view->ref_count) == 0) atomic_dec_return 581 drivers/s390/char/tape_core.c count = atomic_dec_return(&device->ref_count); atomic_dec_return 3975 drivers/s390/net/qeth_core_main.c while (atomic_dec_return(&queue->state)) { atomic_dec_return 193 drivers/s390/scsi/zfcp_fc.c if (atomic_dec_return(&wka_port->refcount) != 0) atomic_dec_return 1320 drivers/scsi/esas2r/esas2r.h if (atomic_dec_return(&a->dis_ints_cnt) == 0) atomic_dec_return 1477 drivers/scsi/esas2r/esas2r_init.c if (atomic_dec_return(&a->disable_cnt) == 0) atomic_dec_return 1294 drivers/scsi/scsi_lib.c if (atomic_dec_return(&sdev->device_blocked) > 0) atomic_dec_return 1341 drivers/scsi/scsi_lib.c if (atomic_dec_return(&starget->target_blocked) > 0) atomic_dec_return 1385 drivers/scsi/scsi_lib.c if (atomic_dec_return(&shost->host_blocked) > 0) atomic_dec_return 1415 drivers/scsi/sd.c if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { atomic_dec_return 525 drivers/soc/ti/knav_dma.c if (atomic_dec_return(&chan->ref_count) <= 0) atomic_dec_return 528 drivers/soc/ti/knav_dma.c if (atomic_dec_return(&chan->dma->ref_count) <= 0) atomic_dec_return 792 drivers/soc/ti/knav_dma.c if (atomic_dec_return(&dma->ref_count) == 0) atomic_dec_return 346 drivers/soc/ti/knav_qmss_queue.c last = (atomic_dec_return(&qh->notifier_enabled) == 0); atomic_dec_return 350 drivers/soc/ti/knav_qmss_queue.c last = (atomic_dec_return(&inst->num_notifiers) == 0); atomic_dec_return 670 drivers/soc/ti/knav_qmss_queue.c if (unlikely(atomic_dec_return(&inst->desc_count) < 0)) { atomic_dec_return 2951 drivers/tty/serial/serial_core.c WARN_ON(atomic_dec_return(&state->refcount) < 0); atomic_dec_return 206 drivers/vhost/vsock.c val = atomic_dec_return(&vsock->queued_replies); atomic_dec_return 544 fs/afs/cell.c if (atomic_dec_return(&cell->usage) > 1) atomic_dec_return 782 fs/afs/cell.c usage = atomic_dec_return(&cell->usage); atomic_dec_return 168 fs/afs/rxrpc.c int n = atomic_dec_return(&call->usage); atomic_dec_return 195 fs/afs/rxrpc.c o = atomic_dec_return(&net->nr_outstanding_calls); atomic_dec_return 350 fs/afs/server.c usage = atomic_dec_return(&server->usage); atomic_dec_return 42 fs/afs/vl_list.c unsigned int u = atomic_dec_return(&vlserver->usage); atomic_dec_return 66 fs/afs/vl_list.c unsigned int u = atomic_dec_return(&vllist->usage); atomic_dec_return 469 fs/btrfs/delayed-inode.c if ((atomic_dec_return(&delayed_root->items) < atomic_dec_return 343 fs/cachefiles/interface.c u = atomic_dec_return(&object->usage); atomic_dec_return 1054 fs/cifs/connect.c length = atomic_dec_return(&tcpSesAllocCount); atomic_dec_return 136 fs/erofs/utils.c int count = atomic_dec_return(&grp->refcount); atomic_dec_return 178 fs/erofs/zdata.h v = atomic_dec_return(u.o); atomic_dec_return 865 fs/fscache/cookie.c usage = atomic_dec_return(&cookie->usage); atomic_dec_return 614 fs/gfs2/log.c if (atomic_dec_return(&gl->gl_revokes) == 0) { atomic_dec_return 2296 fs/io_uring.c ret = atomic_dec_return(&async_list->cnt); atomic_dec_return 2309 fs/io_uring.c ret = atomic_dec_return(&async_list->cnt); atomic_dec_return 442 fs/kernfs/dir.c v = atomic_dec_return(&kn->active); atomic_dec_return 619 fs/nfs/flexfilelayout/flexfilelayout.c if (atomic_dec_return(&timer->n_ops) < 0) atomic_dec_return 299 fs/nfsd/filecache.c count = atomic_dec_return(&nf->nf_ref); atomic_dec_return 500 fs/nfsd/nfssvc.c if (atomic_dec_return(&nfsd_notifier_refcount) == 0) { atomic_dec_return 136 fs/proc/inode.c if (unlikely(atomic_dec_return(&pde->in_use) == BIAS)) atomic_dec_return 89 fs/xfs/libxfs/xfs_sb.c ref = atomic_dec_return(&pag->pag_ref); atomic_dec_return 342 include/asm-generic/atomic-instrumented.h #define atomic_dec_return atomic_dec_return atomic_dec_return 714 include/asm-generic/atomic-long.h return atomic_dec_return(v); atomic_dec_return 445 include/linux/atomic-fallback.h #ifdef atomic_dec_return atomic_dec_return 446 include/linux/atomic-fallback.h #define atomic_dec_return_acquire atomic_dec_return atomic_dec_return 447 include/linux/atomic-fallback.h #define atomic_dec_return_release atomic_dec_return atomic_dec_return 448 include/linux/atomic-fallback.h #define atomic_dec_return_relaxed atomic_dec_return atomic_dec_return 451 include/linux/atomic-fallback.h #ifndef atomic_dec_return atomic_dec_return 457 include/linux/atomic-fallback.h #define atomic_dec_return atomic_dec_return atomic_dec_return 510 include/linux/atomic-fallback.h #ifndef atomic_dec_return atomic_dec_return 520 include/linux/atomic-fallback.h #define atomic_dec_return atomic_dec_return atomic_dec_return 1033 include/linux/atomic-fallback.h return atomic_dec_return(v) == 0; atomic_dec_return 148 include/linux/page_ref.h int ret = atomic_dec_return(&page->_refcount); atomic_dec_return 497 include/linux/sunrpc/xprt.h if (atomic_dec_return(&xprt->inject_disconnect)) atomic_dec_return 387 kernel/trace/trace_events.c if (atomic_dec_return(&file->sm_ref) > 0) atomic_dec_return 452 kernel/trace/trace_events_trigger.c if (atomic_dec_return(&file->tm_ref) > 0) atomic_dec_return 538 lib/sbitmap.c wait_cnt = atomic_dec_return(&ws->wait_cnt); atomic_dec_return 729 mm/oom_kill.c if (!atomic_dec_return(&oom_victims)) atomic_dec_return 260 net/atm/br2684.c if (atomic_dec_return(&brvcc->qspace) < 1) { atomic_dec_return 73 net/can/j1939/socket.c if (!atomic_dec_return(&jsk->skb_pending)) atomic_dec_return 174 net/core/dst.c newrefcnt = atomic_dec_return(&dst->__refcnt); atomic_dec_return 189 net/core/dst.c newrefcnt = atomic_dec_return(&dst->__refcnt); atomic_dec_return 181 net/mac80211/agg-tx.c if (atomic_dec_return(&sdata->local->agg_queue_stop[queue]) == 0) atomic_dec_return 365 net/netlink/af_netlink.c !atomic_dec_return(&(skb_shinfo(skb)->dataref))) atomic_dec_return 760 net/netlink/af_netlink.c atomic_dec_return(&genl_sk_destructing_cnt) == 0) atomic_dec_return 129 net/rds/ib_frmr.c while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { atomic_dec_return 279 net/rds/ib_frmr.c while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { atomic_dec_return 1273 net/rfkill/core.c if (atomic_dec_return(&rfkill_input_disabled) == 0) atomic_dec_return 1030 net/rxrpc/ar-internal.h return atomic_dec_return(&local->active_users) == 0; atomic_dec_return 546 net/rxrpc/call_object.c n = atomic_dec_return(&call->usage); atomic_dec_return 1002 net/rxrpc/conn_client.c n = atomic_dec_return(&conn->usage); atomic_dec_return 338 net/rxrpc/conn_object.c n = atomic_dec_return(&conn->usage); atomic_dec_return 364 net/rxrpc/local_object.c n = atomic_dec_return(&local->usage); atomic_dec_return 436 net/rxrpc/peer_object.c n = atomic_dec_return(&peer->usage); atomic_dec_return 453 net/rxrpc/peer_object.c n = atomic_dec_return(&peer->usage); atomic_dec_return 75 net/rxrpc/skbuff.c n = atomic_dec_return(select_skb_count(skb)); atomic_dec_return 90 net/rxrpc/skbuff.c int n = atomic_dec_return(select_skb_count(skb)); atomic_dec_return 296 net/sunrpc/xprtrdma/svc_rdma_sendto.c if ((atomic_dec_return(&rdma->sc_sq_avail) < 0)) { atomic_dec_return 207 net/tls/tls_sw.c pending = atomic_dec_return(&ctx->decrypt_pending); atomic_dec_return 470 net/tls/tls_sw.c pending = atomic_dec_return(&ctx->encrypt_pending); atomic_dec_return 189 net/vmw_vsock/virtio_transport.c val = atomic_dec_return(&vsock->queued_replies); atomic_dec_return 194 net/wireless/core.h int r = atomic_dec_return(&bss->hold); atomic_dec_return 199 net/wireless/core.h r = atomic_dec_return(&bss->hold);