Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_wakeref.h84 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()
/linux-6.1.9/Documentation/RCU/
Drcuref.rst51 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
/linux-6.1.9/io_uring/
Drefs.h17 return atomic_inc_not_zero(&req->refs); in req_ref_inc_not_zero()
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_aux_dev.c152 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()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst108 * atomic_inc_not_zero() --> refcount_inc_not_zero()
/linux-6.1.9/fs/
Dmbcache.c171 atomic_inc_not_zero(&entry->e_refcnt)) in __entry_find()
233 atomic_inc_not_zero(&entry->e_refcnt)) in mb_cache_entry_get()
/linux-6.1.9/net/atm/
Dpppoatm.c244 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send()
274 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send()
/linux-6.1.9/include/net/
Ddst.h231 WARN_ON(atomic_inc_not_zero(&dst->__refcnt) == 0); in dst_hold()
295 return atomic_inc_not_zero(&dst->__refcnt); in dst_hold_safe()
/linux-6.1.9/fs/reiserfs/
Dfile.c122 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()
/linux-6.1.9/fs/ksmbd/mgmt/
Dshare_config.c71 if (!atomic_inc_not_zero(&share->refcount)) in __get_share_config()
/linux-6.1.9/net/ipv6/
Dip6_flowlabel.c91 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()
/linux-6.1.9/fs/ksmbd/
Doplock.c143 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()
Dvfs_cache.c76 if (atomic_inc_not_zero(&ci->m_count)) in __ksmbd_inode_lookup()
338 if (!atomic_inc_not_zero(&fp->refcount)) in ksmbd_fp_get()
/linux-6.1.9/include/linux/sched/
Dmm.h105 return atomic_inc_not_zero(&mm->mm_users); in mmget_not_zero()
/linux-6.1.9/arch/sh/kernel/
Dperf_event.c118 if (!atomic_inc_not_zero(&num_events)) { in __hw_perf_event_init()
/linux-6.1.9/include/linux/
Dcred.h263 if (!atomic_inc_not_zero(&nonconst_cred->usage)) in get_cred_rcu()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_context.h151 return atomic_inc_not_zero(&ce->pin_count); in intel_context_pin_if_active()
/linux-6.1.9/sound/hda/
Dhdac_device.c601 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()
/linux-6.1.9/fs/nfs/
Dpnfs_dev.c181 if (d != NULL && !atomic_inc_not_zero(&d->ref)) in __nfs4_find_get_deviceid()
/linux-6.1.9/Documentation/core-api/
Drefcount-vs-atomic.rst118 * atomic_inc_not_zero() --> refcount_inc_not_zero()
/linux-6.1.9/block/
Dblk.h484 return atomic_inc_not_zero(&req->ref); in req_ref_inc_not_zero()
/linux-6.1.9/arch/powerpc/perf/
Dcore-fsl-emb.c556 if (!atomic_inc_not_zero(&num_events)) { in fsl_emb_pmu_event_init()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_object.h417 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()
Di915_gem_pages.c376 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()
/linux-6.1.9/drivers/tty/hvc/
Dhvc_console.c919 if (atomic_inc_not_zero(&hvc_needs_init)) { in hvc_alloc()

123