Home
last modified time | relevance | path

Searched refs:atomic_dec_and_test (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/linux/lib/
H A Ddec_and_lock.c29 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_lock()
46 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_lock_irqsave()
61 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_raw_lock()
77 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_raw_lock_irqsave()
H A Dtest_objpool.c236 if (atomic_dec_and_test(&test->data.nthreads)) in ot_thread_worker()
388 if (atomic_dec_and_test(&test->data.nthreads)) in ot_start_sync()
579 if (atomic_dec_and_test(&test->data.nthreads)) in ot_start_async()
/linux/Documentation/RCU/
H A Drcuref.rst37 if(atomic_dec_and_test(&el->rc)) ...
42 if (atomic_dec_and_test(&el->rc))
72 if (atomic_dec_and_test(&el->rc)) ...
76 if (atomic_dec_and_test(&el->rc))
88 atomic_dec_and_test() may be moved from delete() to el_free()
109 if (atomic_dec_and_test(&el->rc)) spin_unlock(&list_lock);
151 if (atomic_dec_and_test(&el->rc))
/linux/scripts/coccinelle/api/
H A Datomic_as_refcounter.cocci26 atomic_dec_and_test@p1(&(a)->x)
58 msg = "WARNING: atomic_dec_and_test variation before object free at line %s."
69 atomic_dec_and_test@p1(&(a)->x)
91 msg = "WARNING: atomic_dec_and_test variation before object free at line %s."
/linux/net/mac802154/
H A Dutil.c82 if (atomic_dec_and_test(&local->phy->hold_txs)) in ieee802154_release_queue()
144 if (atomic_dec_and_test(&hw->phy->ongoing_txs)) in ieee802154_xmit_complete()
157 if (atomic_dec_and_test(&hw->phy->ongoing_txs)) in ieee802154_xmit_error()
H A Dtx.c47 if (atomic_dec_and_test(&local->phy->ongoing_txs)) in ieee802154_xmit_sync_worker()
104 if (atomic_dec_and_test(&local->phy->ongoing_txs)) in ieee802154_tx()
/linux/fs/smb/server/
H A Dvfs_cache.c222 if (atomic_dec_and_test(&ci->m_count)) in ksmbd_inode_put()
271 if (atomic_dec_and_test(&ci->m_count)) { in __ksmbd_inode_close()
414 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_close_fd()
432 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_fd_put()
507 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_put_durable_fd()
674 if (!atomic_dec_and_test(&fp->refcount)) in __close_file_table_ids()
866 if (op->conn && atomic_dec_and_test(&op->conn->refcnt)) in session_fd_check()
/linux/drivers/gpu/drm/i915/
H A Di915_tasklet.h35 return atomic_dec_and_test(&t->count); in __tasklet_enable()
/linux/drivers/infiniband/core/
H A Dsa.h47 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
/linux/include/linux/sched/
H A Dmm.h54 if (unlikely(atomic_dec_and_test(&mm->mm_count))) in mmdrop()
77 if (atomic_dec_and_test(&mm->mm_count)) in mmdrop_sched()
/linux/tools/arch/x86/include/asm/
H A Datomic.h64 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_timeline.c287 if (atomic_dec_and_test(&tl->active_count)) in intel_timeline_exit()
384 if (!atomic_dec_and_test(&tl->pin_count)) in intel_timeline_unpin()
475 if (atomic_dec_and_test(&tl->active_count)) in intel_gt_show_timelines()
H A Dintel_breadcrumbs.h32 if (atomic_dec_and_test(&b->active)) in intel_breadcrumbs_park()
/linux/drivers/gpu/drm/lima/
H A Dlima_pp.c54 if (atomic_dec_and_test(&pipe->task)) in lima_pp_irq_handler()
97 if (atomic_dec_and_test(&pipe->task)) in lima_pp_bcast_irq_handler()
443 if (atomic_dec_and_test(&pipe->task)) in lima_pp_task_mmu_error()
/linux/io_uring/
H A Drefs.h26 return atomic_dec_and_test(&req->refs); in req_ref_put_and_test()
/linux/drivers/infiniband/hw/hfi1/
H A Diowait.h216 return atomic_dec_and_test(&wait->sdma_busy); in iowait_sdma_dec()
262 return atomic_dec_and_test(&wait->pio_busy); in iowait_pio_dec()
/linux/tools/include/asm-generic/
H A Datomic-gcc.h60 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/linux/fs/smb/server/mgmt/
H A Dshare_config.h68 if (!atomic_dec_and_test(&share->refcount)) in ksmbd_share_config_put()
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_aux_dev.c183 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_read_iter()
226 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_write_iter()
/linux/fs/xfs/
H A Dxfs_pwork.c50 if (atomic_dec_and_test(&pctl->nr_work)) in xfs_pwork_work()
/linux/Documentation/translations/zh_CN/core-api/
H A Drefcount-vs-atomic.rst123 * atomic_dec_and_test() --> refcount_dec_and_test()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.h136 if (atomic_dec_and_test(&e->refcnt) && d) in l2t_release()
/linux/arch/mips/kernel/
H A Dsync-r4k.c139 } else if (atomic_dec_and_test(&test_runs) || random_warps) { in check_counter_sync_source()
/linux/arch/powerpc/mm/
H A Dpgtable-frag.c126 if (atomic_dec_and_test(&ptdesc->pt_frag_refcount)) { in pte_fragment_free()
/linux/drivers/md/
H A Ddm-region-hash.c383 if (atomic_dec_and_test(&rh->recovery_in_flight)) in complete_resync_work()
552 if (atomic_dec_and_test(&reg->pending)) { in dm_rh_dec()
640 if (atomic_dec_and_test(&rh->recovery_in_flight)) in dm_rh_recovery_prepare()

12345678910>>...12