Home
last modified time | relevance | path

Searched refs:atomic_inc_not_zero (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dmm_types.h63 return (atomic_inc_not_zero(&mm->mm_users)); in mmget_not_zero()
H A Drefcount.h51 return (atomic_inc_not_zero(ref));
/freebsd/sys/dev/drm2/
H A Ddrm_atomic.h79 #define atomic_inc_not_zero(p) atomic_inc(p) macro
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ioctl_os.c82 !atomic_inc_not_zero(&((*zfvp)->z_sb->s_active))) { in zfs_vfs_ref()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_current.c72 if (atomic_inc_not_zero(&mm->mm_users)) in find_other_mm()
H A Dlinux_compat.c1289 if (atomic_inc_not_zero(&mm->mm_users) == 0) in linux_file_mmap_single()
/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h55 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) macro
/freebsd/sys/dev/irdma/
H A Dicrdma.c326 if (!atomic_inc_not_zero(&iwdev->rf->dev_ctx.event_rfcnt)) { in irdma_event_handler()
H A Dirdma_cm.c258 atomic_inc_not_zero(&cm_node->refcnt)) in irdma_timer_list_prep()
1868 atomic_inc_not_zero(&cm_node->refcnt)) in irdma_reset_list_prep()
2006 if (!atomic_inc_not_zero(&cm_node->refcnt)) in irdma_find_node()
3992 atomic_inc_not_zero(&cm_node->refcnt)) in irdma_iw_teardown_list_prep()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_main.c837 if (!atomic_inc_not_zero(&dev->refcount)) in ib_uverbs_open()
H A Dib_ucma.c1462 else if (!atomic_inc_not_zero(&mc->ctx->ref)) in ucma_leave_multicast()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c1407 if (WARN_ON(!atomic_inc_not_zero(&ctx->num_inflight))) in mlx5_cmd_exec_cb()