Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/microblaze/include/asm/
H A Datomic.h13 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
H A Dmmu_context_mm.h87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
/OK3568_Linux_fs/kernel/kernel/
H A 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()
H A Ducount.c219 int dec = atomic_dec_if_positive(&iter->ucount[type]); in dec_ucount()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Datomic.h289 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
H A Dmmu_context.h180 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Datomic-fallback.h1281 #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
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-octeon-platdrv.c72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
/OK3568_Linux_fs/kernel/drivers/misc/cxl/
H A Dvphb.c95 atomic_dec_if_positive(&afu->configured_state); in cxl_afu_configured_put()
H A Dmain.c287 atomic_dec_if_positive(&adapter->contexts_num); in cxl_adapter_context_put()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Datomic.h258 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/OK3568_Linux_fs/kernel/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c121 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c413 if (atomic_dec_if_positive(&priv->enabled)) in hfi1_netdev_disable_queues()
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Datomic-instrumented.h826 atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
831 #define atomic_dec_if_positive atomic_dec_if_positive macro
H A Datomic-long.h1009 return atomic_dec_if_positive(v); in atomic_long_dec_if_positive()
/OK3568_Linux_fs/kernel/arch/riscv/include/asm/
H A Datomic.h331 #define atomic_dec_if_positive(v) atomic_sub_if_positive(v, 1) macro
/OK3568_Linux_fs/kernel/drivers/rknpu/
H A Drknpu_drv.c218 if (atomic_dec_if_positive(&rknpu_dev->power_refcount) == 0) in rknpu_power_off_delay_work()
240 if (atomic_dec_if_positive(&rknpu_dev->power_refcount) == 0) in rknpu_power_put()
258 atomic_dec_if_positive(&rknpu_dev->power_refcount); in rknpu_power_put_delay()
H A Drknpu_debugger.c115 atomic_dec_if_positive( in rknpu_power_set()
/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A 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()
/OK3568_Linux_fs/kernel/drivers/s390/cio/
H A Dvfio_ccw_ops.c121 if (atomic_dec_if_positive(&private->avail) < 0) in vfio_ccw_mdev_create()
/OK3568_Linux_fs/kernel/drivers/misc/ocxl/
H A Dlink.c691 if (atomic_dec_if_positive(&link->irq_available) < 0) in ocxl_link_irq_alloc()
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Di8254.c214 if (atomic_dec_if_positive(&ps->pending) > 0) in kvm_pit_ack_irq()
/OK3568_Linux_fs/kernel/sound/hda/
H A Dhdac_device.c634 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
/OK3568_Linux_fs/kernel/drivers/base/power/
H A Dwakeup.c981 atomic_dec_if_positive(&pm_abort_suspend); in pm_system_cancel_wakeup()
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dvfio_ap_ops.c329 if ((atomic_dec_if_positive(&matrix_dev->available_instances) < 0)) in vfio_ap_mdev_create()

12