| /Linux-v5.10/arch/microblaze/include/asm/ |
| D | atomic.h | 13 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function 26 #define atomic_dec_if_positive atomic_dec_if_positive macro
|
| D | mmu_context_mm.h | 87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
|
| /Linux-v5.10/kernel/ |
| D | kmod.c | 151 if (atomic_dec_if_positive(&kmod_concurrent_max) < 0) { in __request_module() 156 atomic_dec_if_positive(&kmod_concurrent_max) >= 0, in __request_module()
|
| D | ucount.c | 219 int dec = atomic_dec_if_positive(&iter->ucount[type]); in dec_ucount()
|
| /Linux-v5.10/arch/powerpc/include/asm/ |
| D | atomic.h | 289 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function 309 #define atomic_dec_if_positive atomic_dec_if_positive macro
|
| D | mmu_context.h | 180 c = atomic_dec_if_positive(&mm->context.copros); in mm_context_remove_copro() 211 v = atomic_dec_if_positive(&mm->context.vas_windows); in mm_context_remove_vas_window()
|
| /Linux-v5.10/drivers/i2c/busses/ |
| D | i2c-octeon-platdrv.c | 72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
|
| /Linux-v5.10/drivers/misc/cxl/ |
| D | vphb.c | 95 atomic_dec_if_positive(&afu->configured_state); in cxl_afu_configured_put()
|
| D | main.c | 287 atomic_dec_if_positive(&adapter->contexts_num); in cxl_adapter_context_put()
|
| /Linux-v5.10/include/linux/ |
| D | atomic-fallback.h | 1281 #define arch_atomic_dec_if_positive atomic_dec_if_positive 1283 #ifndef atomic_dec_if_positive 1285 atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function 1297 #define atomic_dec_if_positive atomic_dec_if_positive macro
|
| /Linux-v5.10/arch/mips/include/asm/ |
| D | atomic.h | 258 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
|
| /Linux-v5.10/drivers/iio/common/hid-sensors/ |
| D | hid-sensor-trigger.c | 121 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
|
| /Linux-v5.10/drivers/infiniband/hw/hfi1/ |
| D | netdev_rx.c | 414 if (atomic_dec_if_positive(&priv->enabled)) in hfi1_netdev_disable_queues()
|
| /Linux-v5.10/arch/riscv/include/asm/ |
| D | atomic.h | 331 #define atomic_dec_if_positive(v) atomic_sub_if_positive(v, 1) macro
|
| /Linux-v5.10/include/asm-generic/ |
| D | atomic-instrumented.h | 826 atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function 831 #define atomic_dec_if_positive atomic_dec_if_positive macro
|
| D | atomic-long.h | 1009 return atomic_dec_if_positive(v); in atomic_long_dec_if_positive()
|
| /Linux-v5.10/drivers/s390/cio/ |
| D | vfio_ccw_ops.c | 121 if (atomic_dec_if_positive(&private->avail) < 0) in vfio_ccw_mdev_create()
|
| /Linux-v5.10/drivers/target/iscsi/ |
| D | iscsi_target_login.c | 1233 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.10/arch/x86/kvm/ |
| D | i8254.c | 214 if (atomic_dec_if_positive(&ps->pending) > 0) in kvm_pit_ack_irq()
|
| /Linux-v5.10/drivers/misc/ocxl/ |
| D | link.c | 691 if (atomic_dec_if_positive(&link->irq_available) < 0) in ocxl_link_irq_alloc()
|
| /Linux-v5.10/drivers/base/power/ |
| D | wakeup.c | 941 atomic_dec_if_positive(&pm_abort_suspend); in pm_system_cancel_wakeup()
|
| /Linux-v5.10/sound/hda/ |
| D | hdac_device.c | 634 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
|
| /Linux-v5.10/arch/powerpc/platforms/cell/spufs/ |
| D | sched.c | 441 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
|
| /Linux-v5.10/drivers/s390/crypto/ |
| D | vfio_ap_ops.c | 328 if ((atomic_dec_if_positive(&matrix_dev->available_instances) < 0)) in vfio_ap_mdev_create()
|
| /Linux-v5.10/drivers/scsi/ibmvscsi/ |
| D | ibmvscsi.c | 565 if (!atomic_dec_if_positive(&pool->events[offset].free)) { in get_event_struct() 887 atomic_dec_if_positive(&hostdata->request_limit); in ibmvscsi_send_srp_event()
|