/openbmc/linux/lib/ |
H A D | dec_and_lock.c | 29 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()
|
/openbmc/linux/Documentation/RCU/ |
H A D | rcuref.rst | 37 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))
|
/openbmc/linux/scripts/coccinelle/api/ |
H A D | atomic_as_refcounter.cocci | 26 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."
|
/openbmc/linux/net/mac802154/ |
H A D | util.c | 82 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 D | tx.c | 47 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()
|
/openbmc/linux/fs/smb/server/ |
H A D | vfs_cache.c | 215 if (atomic_dec_and_test(&ci->m_count)) in ksmbd_inode_put() 264 if (atomic_dec_and_test(&ci->m_count)) { in __ksmbd_inode_close() 400 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_close_fd() 418 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_fd_put() 490 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_put_durable_fd() 657 if (!atomic_dec_and_test(&fp->refcount)) in __close_file_table_ids() 713 if (op->conn && atomic_dec_and_test(&op->conn->refcnt)) in session_fd_check()
|
/openbmc/linux/fs/dlm/ |
H A D | requestqueue.c | 99 if (atomic_dec_and_test(&ls->ls_requestqueue_cnt)) in dlm_process_requestqueue() 167 if (atomic_dec_and_test(&ls->ls_requestqueue_cnt)) in dlm_purge_requestqueue()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-fence-array.c | 64 if (atomic_dec_and_test(&array->num_pending)) in dma_fence_array_cb_func() 93 if (atomic_dec_and_test(&array->num_pending)) { in dma_fence_array_enable_signaling()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_tasklet.h | 35 return atomic_dec_and_test(&t->count); in __tasklet_enable()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | sa.h | 47 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
|
/openbmc/linux/fs/netfs/ |
H A D | io.c | 159 if (atomic_dec_and_test(&rreq->nr_copy_ops)) in netfs_rreq_copy_terminated() 223 if (atomic_dec_and_test(&rreq->nr_copy_ops)) in netfs_rreq_do_write_to_cache() 297 if (atomic_dec_and_test(&rreq->nr_outstanding)) in netfs_rreq_perform_resubmissions() 655 if (atomic_dec_and_test(&rreq->nr_outstanding)) in netfs_begin_read()
|
/openbmc/linux/io_uring/ |
H A D | refs.h | 26 return atomic_dec_and_test(&req->refs); in req_ref_put_and_test()
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | atomic.h | 64 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_breadcrumbs.h | 32 if (atomic_dec_and_test(&b->active)) in intel_breadcrumbs_park()
|
H A D | intel_timeline.c | 287 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()
|
/openbmc/linux/include/linux/sched/ |
H A D | mm.h | 53 if (unlikely(atomic_dec_and_test(&mm->mm_count))) in mmdrop() 76 if (atomic_dec_and_test(&mm->mm_count)) in mmdrop_sched()
|
/openbmc/linux/tools/include/asm-generic/ |
H A D | atomic-gcc.h | 60 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_pp.c | 54 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() 422 if (atomic_dec_and_test(&pipe->task)) in lima_pp_task_mmu_error()
|
/openbmc/linux/fs/smb/server/mgmt/ |
H A D | share_config.h | 68 if (!atomic_dec_and_test(&share->refcount)) in ksmbd_share_config_put()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 216 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()
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | atomic.h | 91 #define atomic_dec_and_test(v) (atomic_dec_return((v)) == 0) macro
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | processor.h | 118 if (atomic_dec_and_test(&(p)->thread.refcount)) \
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_aux_dev.c | 183 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()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_drain.c | 73 if (atomic_dec_and_test(&dr->dr_count) && in xfs_defer_drain_rele()
|
H A D | xfs_pwork.c | 50 if (atomic_dec_and_test(&pctl->nr_work)) in xfs_pwork_work()
|