| /OK3568_Linux_fs/kernel/arch/microblaze/include/asm/ |
| H A 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
|
| H A D | mmu_context_mm.h | 87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A 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()
|
| H A D | ucount.c | 219 int dec = atomic_dec_if_positive(&iter->ucount[type]); in dec_ucount()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A 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
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-octeon-platdrv.c | 72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
|
| /OK3568_Linux_fs/kernel/drivers/misc/cxl/ |
| H A D | vphb.c | 95 atomic_dec_if_positive(&afu->configured_state); in cxl_afu_configured_put()
|
| H A D | main.c | 287 atomic_dec_if_positive(&adapter->contexts_num); in cxl_adapter_context_put()
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | atomic.h | 258 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
|
| /OK3568_Linux_fs/kernel/drivers/iio/common/hid-sensors/ |
| H A D | hid-sensor-trigger.c | 121 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | netdev_rx.c | 413 if (atomic_dec_if_positive(&priv->enabled)) in hfi1_netdev_disable_queues()
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A 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
|
| H A D | atomic-long.h | 1009 return atomic_dec_if_positive(v); in atomic_long_dec_if_positive()
|
| /OK3568_Linux_fs/kernel/arch/riscv/include/asm/ |
| H A D | atomic.h | 331 #define atomic_dec_if_positive(v) atomic_sub_if_positive(v, 1) macro
|
| /OK3568_Linux_fs/kernel/drivers/rknpu/ |
| H A D | rknpu_drv.c | 218 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 D | rknpu_debugger.c | 115 atomic_dec_if_positive( in rknpu_power_set()
|
| /OK3568_Linux_fs/kernel/drivers/target/iscsi/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/s390/cio/ |
| H A D | vfio_ccw_ops.c | 121 if (atomic_dec_if_positive(&private->avail) < 0) in vfio_ccw_mdev_create()
|
| /OK3568_Linux_fs/kernel/drivers/misc/ocxl/ |
| H A D | link.c | 691 if (atomic_dec_if_positive(&link->irq_available) < 0) in ocxl_link_irq_alloc()
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/ |
| H A D | i8254.c | 214 if (atomic_dec_if_positive(&ps->pending) > 0) in kvm_pit_ack_irq()
|
| /OK3568_Linux_fs/kernel/sound/hda/ |
| H A D | hdac_device.c | 634 if (atomic_dec_if_positive(&codec->in_pm) < 0) in snd_hdac_power_down_pm()
|
| /OK3568_Linux_fs/kernel/drivers/base/power/ |
| H A D | wakeup.c | 981 atomic_dec_if_positive(&pm_abort_suspend); in pm_system_cancel_wakeup()
|
| /OK3568_Linux_fs/kernel/drivers/s390/crypto/ |
| H A D | vfio_ap_ops.c | 329 if ((atomic_dec_if_positive(&matrix_dev->available_instances) < 0)) in vfio_ap_mdev_create()
|