Searched refs:atomic_inc_not_zero (Results 1 – 12 of 12) sorted by relevance
63 return (atomic_inc_not_zero(&mm->mm_users)); in mmget_not_zero()
51 return (atomic_inc_not_zero(ref));
79 #define atomic_inc_not_zero(p) atomic_inc(p) macro
82 !atomic_inc_not_zero(&((*zfvp)->z_sb->s_active))) { in zfs_vfs_ref()
72 if (atomic_inc_not_zero(&mm->mm_users)) in find_other_mm()
1289 if (atomic_inc_not_zero(&mm->mm_users) == 0) in linux_file_mmap_single()
55 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) macro
326 if (!atomic_inc_not_zero(&iwdev->rf->dev_ctx.event_rfcnt)) { in irdma_event_handler()
258 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()
837 if (!atomic_inc_not_zero(&dev->refcount)) in ib_uverbs_open()
1462 else if (!atomic_inc_not_zero(&mc->ctx->ref)) in ucma_leave_multicast()
1407 if (WARN_ON(!atomic_inc_not_zero(&ctx->num_inflight))) in mlx5_cmd_exec_cb()