Searched refs:atomic_inc_not_zero (Results 1 – 25 of 56) sorted by relevance
123
84 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()118 return atomic_inc_not_zero(&wf->count); in intel_wakeref_get_if_active()
51 has already been deleted from the list/array. Use atomic_inc_not_zero()61 atomic_set(&el->rc, 1); if (!atomic_inc_not_zero(&el->rc)) {82 update (write) stream. In such cases, atomic_inc_not_zero() might be
17 return atomic_inc_not_zero(&req->refs); in req_ref_inc_not_zero()
152 if (!atomic_inc_not_zero(&aux_dev->usecount)) in auxdev_read_iter()195 if (!atomic_inc_not_zero(&aux_dev->usecount)) in auxdev_write_iter()
108 * atomic_inc_not_zero() --> refcount_inc_not_zero()
171 atomic_inc_not_zero(&entry->e_refcnt)) in __entry_find()233 atomic_inc_not_zero(&entry->e_refcnt)) in mb_cache_entry_get()
244 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send()274 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send()
231 WARN_ON(atomic_inc_not_zero(&dst->__refcnt) == 0); in dst_hold()295 return atomic_inc_not_zero(&dst->__refcnt); in dst_hold_safe()
122 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()
71 if (!atomic_inc_not_zero(&share->refcount)) in __get_share_config()
91 if (fl && !atomic_inc_not_zero(&fl->users)) in fl_lookup()270 if (fl->label == label && atomic_inc_not_zero(&fl->users)) { in __fl6_sock_lookup()652 if (!atomic_inc_not_zero(&fl1->users)) in ipv6_flowlabel_get()
143 if (opinfo && !atomic_inc_not_zero(&opinfo->refcount)) in opinfo_get()160 if (opinfo && !atomic_inc_not_zero(&opinfo->refcount)) in opinfo_get_list()996 if (!atomic_inc_not_zero(&opinfo->refcount)) in find_same_lease_key()1264 if (!atomic_inc_not_zero(&brk_op->refcount)) in smb_break_all_levII_oplock()1692 if (!atomic_inc_not_zero(&opinfo->refcount)) in lookup_lease_in_table()
76 if (atomic_inc_not_zero(&ci->m_count)) in __ksmbd_inode_lookup()338 if (!atomic_inc_not_zero(&fp->refcount)) in ksmbd_fp_get()
105 return atomic_inc_not_zero(&mm->mm_users); in mmget_not_zero()
118 if (!atomic_inc_not_zero(&num_events)) { in __hw_perf_event_init()
263 if (!atomic_inc_not_zero(&nonconst_cred->usage)) in get_cred_rcu()
151 return atomic_inc_not_zero(&ce->pin_count); in intel_context_pin_if_active()
601 if (!atomic_inc_not_zero(&codec->in_pm)) in snd_hdac_power_up_pm()613 if (!atomic_inc_not_zero(&codec->in_pm)) { in snd_hdac_keep_power_up()
181 if (d != NULL && !atomic_inc_not_zero(&d->ref)) in __nfs4_find_get_deviceid()
118 * atomic_inc_not_zero() --> refcount_inc_not_zero()
484 return atomic_inc_not_zero(&req->ref); in req_ref_inc_not_zero()
556 if (!atomic_inc_not_zero(&num_events)) { in fsl_emb_pmu_event_init()
417 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()
376 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()
919 if (atomic_inc_not_zero(&hvc_needs_init)) { in hvc_alloc()