Home
last modified time | relevance | path

Searched refs:atomic_dec_if_positive (Results 1 – 25 of 45) sorted by relevance

12

/linux/arch/powerpc/include/asm/
H A Dmmu_context.h167 c = atomic_dec_if_positive(&mm->context.copros); in mm_context_remove_copro()
198 v = atomic_dec_if_positive(&mm->context.vas_windows); in mm_context_remove_vas_window()
/linux/arch/microblaze/include/asm/
H A Dmmu_context_mm.h83 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
/linux/drivers/pinctrl/qcom/
H A Dtlmm-test.c110 if (atomic_dec_if_positive(&priv->intr_op_remain) > 0) { in tlmm_test_intr_fn()
134 if (atomic_dec_if_positive(&priv->thread_op_remain) > 0) { in tlmm_test_intr_thread_fn()
/linux/drivers/i2c/busses/
H A Di2c-octeon-platdrv.c72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
/linux/drivers/staging/media/starfive/camss/
H A Dstf-capture.c459 if (atomic_dec_if_positive(&cap->buffers.frame_skip) < 0) { in stf_wr_irq_handler()
497 if (atomic_dec_if_positive(&cap->buffers.frame_skip) < 0) { in stf_line_irq_handler()
/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c109 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
/linux/drivers/misc/mei/
H A Dplatform-vsc.c202 atomic_dec_if_positive(&hw->write_lock_cnt); in mei_vsc_write()
H A Dvsc-tp.c146 atomic_dec_if_positive(&tp->assert_cnt); in vsc_tp_wakeup_release()
/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c420 if (atomic_dec_if_positive(&rx->enabled)) in hfi1_netdev_disable_queues()
/linux/drivers/target/iscsi/
H A Discsi_target_login.c1161 if (atomic_dec_if_positive(&np->np_reset_count) >= 0) { in __iscsi_target_login_thread()
1187 if (atomic_dec_if_positive(&np->np_reset_count) >= 0) { in __iscsi_target_login_thread()
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c196 atomic_dec_if_positive(&con->sq_wr_avail); in rtrs_post_rdma_write_imm_empty()
/linux/fs/ext4/
H A Dorphan.c28 if (atomic_dec_if_positive(&oi->of_binfo[i].ob_free_entries) in ext4_orphan_file_add()
/linux/sound/hda/core/
H A Ddevice.c631 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
/linux/drivers/misc/ocxl/
H A Dlink.c758 if (atomic_dec_if_positive(&link->irq_available) < 0) in ocxl_link_irq_alloc()
/linux/drivers/base/power/
H A Dwakeup.c908 atomic_dec_if_positive(&pm_abort_suspend); in pm_system_cancel_wakeup()
/linux/kernel/
H A Dseccomp.c1532 if (atomic_dec_if_positive(&filter->notif->requests) >= 0) in recv_wait_event()
1538 if (atomic_dec_if_positive(&filter->notif->requests) >= 0) in recv_wait_event()
/linux/rust/helpers/
H A Datomic.c526 return atomic_dec_if_positive(v); in rust_helper_atomic_dec_if_positive()
/linux/arch/x86/kvm/
H A Di8254.c214 if (atomic_dec_if_positive(&ps->pending) > 0) in kvm_pit_ack_irq()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dsched.c436 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c564 if (!atomic_dec_if_positive(&pool->events[offset].free)) { in get_event_struct()
889 atomic_dec_if_positive(&hostdata->request_limit); in ibmvscsi_send_srp_event()
/linux/block/
H A Dbdev.c331 nr_freeze = atomic_dec_if_positive(&bdev->bd_fsfreeze_count); in bdev_thaw()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c2693 atomic_dec_if_positive in mpi3mr_pcietopochg_evt_th()
2760 atomic_dec_if_positive in mpi3mr_sastopochg_evt_th()
2841 atomic_dec_if_positive(&scsi_tgt_priv_data->block_io); in mpi3mr_devstatuschg_evt_th()
4034 atomic_dec_if_positive(&scsi_tgt_priv_data->block_io); in mpi3mr_issue_tm()
/linux/drivers/video/fbdev/
H A Dps3fb.c871 atomic_dec_if_positive(&ps3fb.ext_flip); in ps3fb_ioctl()
/linux/arch/powerpc/kernel/
H A Deeh.c1264 WARN_ON(atomic_dec_if_positive(&edev->pe->pass_dev_cnt) < 0); in eeh_dev_release()
/linux/drivers/nvme/host/
H A Dmultipath.c206 atomic_dec_if_positive(&ns->ctrl->nr_active); in nvme_mpath_end_request()

12