Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_wakeref.h85 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()
119 return atomic_inc_not_zero(&wf->count); in intel_wakeref_get_if_active()
/linux-6.6.21/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.6.21/io_uring/
Drefs.h17 return atomic_inc_not_zero(&req->refs); in req_ref_inc_not_zero()
/linux-6.6.21/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.6.21/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst108 * atomic_inc_not_zero() --> refcount_inc_not_zero()
/linux-6.6.21/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.6.21/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.6.21/fs/smb/server/
Doplock.c144 if (opinfo && !atomic_inc_not_zero(&opinfo->refcount)) in opinfo_get()
162 if (!atomic_inc_not_zero(&opinfo->refcount)) in opinfo_get_list()
1007 if (!atomic_inc_not_zero(&opinfo->refcount)) in find_same_lease_key()
1116 if (!atomic_inc_not_zero(&opinfo->refcount)) in smb_send_parent_lease_break_noti()
1158 if (!atomic_inc_not_zero(&opinfo->refcount)) in smb_lazy_parent_lease_break_close()
1364 if (!atomic_inc_not_zero(&brk_op->refcount)) in smb_break_all_levII_oplock()
1790 if (!atomic_inc_not_zero(&opinfo->refcount)) in lookup_lease_in_table()
Dvfs_cache.c77 if (atomic_inc_not_zero(&ci->m_count)) in __ksmbd_inode_lookup()
340 if (!atomic_inc_not_zero(&fp->refcount)) in ksmbd_fp_get()
/linux-6.6.21/fs/smb/server/mgmt/
Dtree_connect.c141 else if (!atomic_inc_not_zero(&tcon->refcount)) in ksmbd_tree_conn_lookup()
Dshare_config.c71 if (!atomic_inc_not_zero(&share->refcount)) in __get_share_config()
/linux-6.6.21/net/ipv6/
Dip6_flowlabel.c91 if (fl && !atomic_inc_not_zero(&fl->users)) in fl_lookup()
273 if (fl->label == label && atomic_inc_not_zero(&fl->users)) { in __fl6_sock_lookup()
655 if (!atomic_inc_not_zero(&fl1->users)) in ipv6_flowlabel_get()
/linux-6.6.21/fs/reiserfs/
Dfile.c122 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()
/linux-6.6.21/include/linux/sched/
Dmm.h137 return atomic_inc_not_zero(&mm->mm_users); in mmget_not_zero()
/linux-6.6.21/arch/sh/kernel/
Dperf_event.c118 if (!atomic_inc_not_zero(&num_events)) { in __hw_perf_event_init()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_context.h152 return atomic_inc_not_zero(&ce->pin_count); in intel_context_pin_if_active()
/linux-6.6.21/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.6.21/fs/nfs/
Dpnfs_dev.c181 if (d != NULL && !atomic_inc_not_zero(&d->ref)) in __nfs4_find_get_deviceid()
/linux-6.6.21/Documentation/core-api/
Drefcount-vs-atomic.rst118 * atomic_inc_not_zero() --> refcount_inc_not_zero()
/linux-6.6.21/block/
Dblk.h502 return atomic_inc_not_zero(&req->ref); in req_ref_inc_not_zero()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_ag.c123 if (!atomic_inc_not_zero(&pag->pag_active_ref)) in xfs_perag_grab()
150 if (!atomic_inc_not_zero(&pag->pag_active_ref)) in xfs_perag_grab_tag()
/linux-6.6.21/arch/powerpc/perf/
Dcore-fsl-emb.c556 if (!atomic_inc_not_zero(&num_events)) { in fsl_emb_pmu_event_init()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_object.h651 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()
Di915_gem_pages.c378 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()
/linux-6.6.21/fs/proc/
Dinode.c131 if ((sb != old_sb) && !atomic_inc_not_zero(&sb->s_active)) in proc_invalidate_siblings_dcache()

123