Searched refs:atomic_add_return (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic.h | 46 #define atomic_add(i, v) atomic_add_return((i), (v)) 48 #define atomic_inc_return(v) atomic_add_return(1, (v)) 49 #define atomic_add_negative(i, v) (atomic_add_return((i), (v)) < 0) 50 #define atomic_add_and_test(i, v) (atomic_add_return((i), (v)) == 0) 53 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0) 58 atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
|
/freebsd/sys/dev/drm2/ |
H A D | drm_atomic.h | 51 #define atomic_add_return(v, p) (atomic_fetchadd_int(p, v) + (v)) macro 53 #define atomic_inc_return(p) atomic_add_return(1, p) 56 #define atomic_add_and_test(v, p) (atomic_add_return(v, p) == 0)
|
H A D | drm_irq.c | 920 if (atomic_add_return(1, &dev->vblank_refcount[crtc]) == 1) { in drm_vblank_get()
|
/freebsd/sys/dev/mana/ |
H A D | gdma_util.h | 97 #define atomic_add_return(v, p) (atomic_fetchadd_int(p, v) + (v)) macro 99 #define atomic_inc_return(p) atomic_add_return(1, p) 101 #define atomic_read(p) atomic_add_return(0, p)
|
/freebsd/sys/dev/qat/qat_api/qat_kernel/src/ |
H A D | qat_transport.c | 301 flight = atomic_add_return(numberRequests, ring->inflights); in icp_adf_getQueueMemory() 328 flight = atomic_add_return(1, ring->inflights); in icp_adf_getSingleQueueAddr()
|
/freebsd/sys/dev/qat/qat_api/qat_utils/src/ |
H A D | QatUtilsAtomic.c | 57 return atomic_add_return(inValue, (QatUtilsAtomic *)pAtomicVar); in qatUtilsAtomicAdd()
|
/freebsd/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.h | 89 #define atomic_inc_return(v) atomic_add_return(1, (v)) 97 atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | atomic.h | 48 #define atomic_add_32_nv(v, i) atomic_add_return((i), (atomic_t *)(v))
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_dev_mgr.c | 357 if (atomic_add_return(1, &accel_dev->ref_count) == 1) in adf_dev_get()
|
H A D | adf_transport.c | 112 if (atomic_add_return(1, ring->inflights) > ring->max_inflights) { in adf_send_message()
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_page_alloc_dma.c | 1012 unsigned pool_offset = atomic_add_return(1, &start_pool); in ttm_dma_pool_mm_shrink()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_cm.c | 2924 passive_state = atomic_add_return(1, &cm_node->passive_state); in irdma_cm_reject() 3548 passive_state = atomic_add_return(1, &cm_node->passive_state); in irdma_accept()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_devx.c | 1720 if (atomic_add_return(cmd_out_len, &ev_file->ev_queue.bytes_in_use) > in UVERBS_HANDLER()
|