Home
last modified time | relevance | path

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

12

/Linux-v5.15/kernel/
Dkmod.c151 if (atomic_dec_if_positive(&kmod_concurrent_max) < 0) { in __request_module()
156 atomic_dec_if_positive(&kmod_concurrent_max) >= 0, in __request_module()
/Linux-v5.15/arch/powerpc/include/asm/
Dmmu_context.h175 c = atomic_dec_if_positive(&mm->context.copros); in mm_context_remove_copro()
206 v = atomic_dec_if_positive(&mm->context.vas_windows); in mm_context_remove_vas_window()
/Linux-v5.15/arch/microblaze/include/asm/
Dmmu_context_mm.h83 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
/Linux-v5.15/drivers/i2c/busses/
Di2c-octeon-platdrv.c72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
/Linux-v5.15/drivers/misc/cxl/
Dvphb.c95 atomic_dec_if_positive(&afu->configured_state); in cxl_afu_configured_put()
Dmain.c287 atomic_dec_if_positive(&adapter->contexts_num); in cxl_adapter_context_put()
/Linux-v5.15/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c109 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dnetdev_rx.c415 if (atomic_dec_if_positive(&rx->enabled)) in hfi1_netdev_disable_queues()
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_login.c1233 if (atomic_dec_if_positive(&np->np_reset_count) >= 0) { in __iscsi_target_login_thread()
1259 if (atomic_dec_if_positive(&np->np_reset_count) >= 0) { in __iscsi_target_login_thread()
/Linux-v5.15/drivers/s390/cio/
Dvfio_ccw_ops.c124 if (atomic_dec_if_positive(&private->avail) < 0) in vfio_ccw_mdev_create()
/Linux-v5.15/arch/x86/kvm/
Di8254.c214 if (atomic_dec_if_positive(&ps->pending) > 0) in kvm_pit_ack_irq()
/Linux-v5.15/drivers/infiniband/ulp/rtrs/
Drtrs.c194 atomic_dec_if_positive(&con->sq_wr_avail); in rtrs_post_rdma_write_imm_empty()
/Linux-v5.15/fs/ext4/
Dorphan.c28 if (atomic_dec_if_positive(&oi->of_binfo[i].ob_free_entries) in ext4_orphan_file_add()
/Linux-v5.15/drivers/scsi/mpi3mr/
Dmpi3mr_os.c1666 atomic_dec_if_positive in mpi3mr_pcietopochg_evt_th()
1733 atomic_dec_if_positive in mpi3mr_sastopochg_evt_th()
1807 atomic_dec_if_positive(&scsi_tgt_priv_data->block_io); in mpi3mr_devstatuschg_evt_th()
2713 atomic_dec_if_positive(&scsi_tgt_priv_data->block_io); in mpi3mr_issue_tm()
/Linux-v5.15/sound/hda/
Dhdac_device.c634 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
/Linux-v5.15/drivers/misc/ocxl/
Dlink.c757 if (atomic_dec_if_positive(&link->irq_available) < 0) in ocxl_link_irq_alloc()
/Linux-v5.15/drivers/base/power/
Dwakeup.c942 atomic_dec_if_positive(&pm_abort_suspend); in pm_system_cancel_wakeup()
/Linux-v5.15/arch/powerpc/platforms/cell/spufs/
Dsched.c437 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
/Linux-v5.15/drivers/scsi/ibmvscsi/
Dibmvscsi.c564 if (!atomic_dec_if_positive(&pool->events[offset].free)) { in get_event_struct()
888 atomic_dec_if_positive(&hostdata->request_limit); in ibmvscsi_send_srp_event()
/Linux-v5.15/drivers/s390/crypto/
Dvfio_ap_ops.c336 if ((atomic_dec_if_positive(&matrix_dev->available_instances) < 0)) in vfio_ap_mdev_probe()
/Linux-v5.15/drivers/video/fbdev/
Dps3fb.c869 atomic_dec_if_positive(&ps3fb.ext_flip); in ps3fb_ioctl()
/Linux-v5.15/arch/powerpc/kernel/
Deeh.c1247 WARN_ON(atomic_dec_if_positive(&edev->pe->pass_dev_cnt) < 0); in eeh_dev_release()
/Linux-v5.15/drivers/net/team/
Dteam.c639 val = atomic_dec_if_positive(&team->notify_peers.count_pending); in team_notify_peers_work()
685 val = atomic_dec_if_positive(&team->mcast_rejoin.count_pending); in team_mcast_rejoin_work()
/Linux-v5.15/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c258 if (atomic_dec_if_positive(&card->users) == 0) { in gelic_card_down()
/Linux-v5.15/drivers/scsi/cxlflash/
Dmain.c353 newval = atomic_dec_if_positive(&hwq->hsq_credits); in send_cmd_sq()
3229 if (atomic_dec_if_positive(&cfg->scan_host_needed) >= 0) in cxlflash_worker_thread()

12