Searched refs:atomic_dec_if_positive (Results 1 – 25 of 42) sorted by relevance
12
170 c = atomic_dec_if_positive(&mm->context.copros); in mm_context_remove_copro()201 v = atomic_dec_if_positive(&mm->context.vas_windows); in mm_context_remove_vas_window()
83 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
89 atomic_dec_if_positive(&afu->configured_state); in cxl_afu_configured_put()
288 atomic_dec_if_positive(&adapter->contexts_num); in cxl_adapter_context_put()
109 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
415 if (atomic_dec_if_positive(&rx->enabled)) in hfi1_netdev_disable_queues()
1211 if (atomic_dec_if_positive(&np->np_reset_count) >= 0) { in __iscsi_target_login_thread()1237 if (atomic_dec_if_positive(&np->np_reset_count) >= 0) { in __iscsi_target_login_thread()
214 if (atomic_dec_if_positive(&ps->pending) > 0) in kvm_pit_ack_irq()
196 atomic_dec_if_positive(&con->sq_wr_avail); in rtrs_post_rdma_write_imm_empty()
28 if (atomic_dec_if_positive(&oi->of_binfo[i].ob_free_entries) in ext4_orphan_file_add()
758 if (atomic_dec_if_positive(&link->irq_available) < 0) in ocxl_link_irq_alloc()
634 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
909 atomic_dec_if_positive(&pm_abort_suspend); in pm_system_cancel_wakeup()
1479 if (atomic_dec_if_positive(&filter->notif->requests) >= 0) in recv_wait_event()1485 if (atomic_dec_if_positive(&filter->notif->requests) >= 0) in recv_wait_event()
436 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
2546 atomic_dec_if_positive in mpi3mr_pcietopochg_evt_th()2613 atomic_dec_if_positive in mpi3mr_sastopochg_evt_th()2687 atomic_dec_if_positive(&scsi_tgt_priv_data->block_io); in mpi3mr_devstatuschg_evt_th()3813 atomic_dec_if_positive(&scsi_tgt_priv_data->block_io); in mpi3mr_issue_tm()
564 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()
869 atomic_dec_if_positive(&ps3fb.ext_flip); in ps3fb_ioctl()
1258 WARN_ON(atomic_dec_if_positive(&edev->pe->pass_dev_cnt) < 0); in eeh_dev_release()
639 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()
258 if (atomic_dec_if_positive(&card->users) == 0) { in gelic_card_down()
353 newval = atomic_dec_if_positive(&hwq->hsq_credits); in send_cmd_sq()3233 if (atomic_dec_if_positive(&cfg->scan_host_needed) >= 0) in cxlflash_worker_thread()
1761 atomic_dec_if_positive(&cfg->recovery_threads); in cxlflash_afu_recover()
1344 atomic_dec_if_positive(&rx_ring->ch->num_sb_fltr); in ice_update_per_q_fltr()