| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | intel_wakeref.h | 97 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get() 131 return atomic_inc_not_zero(&wf->count); in intel_wakeref_get_if_active()
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_group.c | 84 if (!atomic_inc_not_zero(&xg->xg_active_ref)) in xfs_group_grab() 138 if (!atomic_inc_not_zero(&xg->xg_active_ref)) in xfs_group_grab_next_mark()
|
| /linux-6.15/Documentation/RCU/ |
| H A D | rcuref.rst | 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
|
| /linux-6.15/io_uring/ |
| H A D | refs.h | 17 return atomic_inc_not_zero(&req->refs); in req_ref_inc_not_zero()
|
| /linux-6.15/drivers/gpu/drm/display/ |
| H A D | drm_dp_aux_dev.c | 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()
|
| /linux-6.15/Documentation/translations/zh_CN/core-api/ |
| H A D | refcount-vs-atomic.rst | 108 * atomic_inc_not_zero() --> refcount_inc_not_zero()
|
| /linux-6.15/fs/ |
| H A D | mbcache.c | 171 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.15/net/atm/ |
| H A D | pppoatm.c | 244 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send() 274 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send()
|
| /linux-6.15/fs/smb/server/ |
| H A D | oplock.c | 138 if (opinfo && !atomic_inc_not_zero(&opinfo->refcount)) in opinfo_get() 154 !atomic_inc_not_zero(&opinfo->refcount)) in opinfo_get_list() 993 if (!atomic_inc_not_zero(&opinfo->refcount)) in find_same_lease_key() 1102 if (!atomic_inc_not_zero(&opinfo->refcount)) in smb_send_parent_lease_break_noti() 1139 if (!atomic_inc_not_zero(&opinfo->refcount)) in smb_lazy_parent_lease_break_close() 1343 if (!atomic_inc_not_zero(&brk_op->refcount)) in smb_break_all_levII_oplock() 1773 if (!atomic_inc_not_zero(&opinfo->refcount)) in lookup_lease_in_table()
|
| H A D | vfs_cache.c | 84 if (atomic_inc_not_zero(&ci->m_count)) in __ksmbd_inode_lookup() 356 if (!atomic_inc_not_zero(&fp->refcount)) in ksmbd_fp_get()
|
| /linux-6.15/Documentation/core-api/ |
| H A D | refcount-vs-atomic.rst | 130 * atomic_inc_not_zero() --> refcount_inc_not_zero() 146 * atomic_inc_not_zero() --> refcount_inc_not_zero_acquire()
|
| /linux-6.15/fs/smb/server/mgmt/ |
| H A D | tree_connect.c | 143 else if (!atomic_inc_not_zero(&tcon->refcount)) in ksmbd_tree_conn_lookup()
|
| H A D | share_config.c | 72 if (!atomic_inc_not_zero(&share->refcount)) in __get_share_config()
|
| /linux-6.15/net/ipv6/ |
| H A D | ip6_flowlabel.c | 91 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.15/include/linux/sched/ |
| H A D | mm.h | 138 return atomic_inc_not_zero(&mm->mm_users); in mmget_not_zero()
|
| /linux-6.15/arch/sh/kernel/ |
| H A D | perf_event.c | 118 if (!atomic_inc_not_zero(&num_events)) { in __hw_perf_event_init()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_zone_alloc.c | 390 if (oz && (oz->oz_is_gc || !atomic_inc_not_zero(&oz->oz_ref))) in xfs_last_used_zone() 410 if (atomic_inc_not_zero(&xg->xg_active_ref)) in xfs_find_free_zone() 575 if (!atomic_inc_not_zero(&oz->oz_ref)) in xfs_try_use_zone()
|
| /linux-6.15/sound/hda/ |
| H A D | hdac_device.c | 602 if (!atomic_inc_not_zero(&codec->in_pm)) in snd_hdac_power_up_pm() 614 if (!atomic_inc_not_zero(&codec->in_pm)) { in snd_hdac_keep_power_up()
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_context.h | 152 return atomic_inc_not_zero(&ce->pin_count); in intel_context_pin_if_active()
|
| /linux-6.15/fs/nfs/ |
| H A D | pnfs_dev.c | 178 if (d != NULL && !atomic_inc_not_zero(&d->ref)) in __nfs4_find_get_deviceid()
|
| /linux-6.15/fs/efivarfs/ |
| H A D | super.c | 517 if (!atomic_inc_not_zero(&s->s_active)) in efivarfs_pm_notify()
|
| /linux-6.15/arch/powerpc/perf/ |
| H A D | core-fsl-emb.c | 556 if (!atomic_inc_not_zero(&num_events)) { in fsl_emb_pmu_event_init()
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_object.h | 649 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()
|
| H A D | i915_gem_pages.c | 379 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()
|
| /linux-6.15/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_gpu.c | 354 if (atomic_inc_not_zero(&pfdev->cycle_counter.use_count)) in panfrost_cycle_counter_get()
|