Home
last modified time | relevance | path

Searched refs:atomic_dec_if_positive (Results 1 - 25 of 87) sorted by relevance

1234

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
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()
H A Datomic.h289 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
295 "1: lwarx %0,0,%1 # atomic_dec_if_positive\n\ in atomic_dec_if_positive()
309 #define atomic_dec_if_positive atomic_dec_if_positive macro
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dmmu_context.h170 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()
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Dmmu_context_mm.h83 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-octeon-platdrv.c72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
/kernel/linux/linux-6.6/drivers/misc/cxl/
H A Dvphb.c89 atomic_dec_if_positive(&afu->configured_state); in cxl_afu_configured_put()
H A Dmain.c288 atomic_dec_if_positive(&adapter->contexts_num); in cxl_adapter_context_put()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-octeon-platdrv.c72 count = atomic_dec_if_positive(cnt); in __octeon_i2c_irq_disable()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Datomic.h221 * atomic_dec_if_positive - decrement by 1 if old value positive
224 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Datomic.h258 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c121 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c413 if (atomic_dec_if_positive(&priv->enabled)) in hfi1_netdev_disable_queues()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c415 if (atomic_dec_if_positive(&rx->enabled)) in hfi1_netdev_disable_queues()
/kernel/linux/linux-6.6/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c109 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
/kernel/linux/linux-5.10/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
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Daf_ninet.c243 atomic_dec_if_positive(&g_nip_socket_number); in ninet_create()
350 atomic_dec_if_positive(&g_nip_socket_number); in ninet_release()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Datomic.h331 #define atomic_dec_if_positive(v) atomic_sub_if_positive(v, 1) macro
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dvfio_ccw_ops.c121 if (atomic_dec_if_positive(&private->avail) < 0) in vfio_ccw_mdev_create()

Completed in 19 milliseconds

1234