Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v6.1/Documentation/RCU/
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-v6.1/scripts/coccinelle/api/
Datomic_as_refcounter.cocci26 atomic_dec_and_test@p1(&(a)->x)
58 msg = "atomic_dec_and_test variation before object free at line %s."
69 atomic_dec_and_test@p1(&(a)->x)
91 msg = "atomic_dec_and_test variation before object free at line %s."
/Linux-v6.1/lib/
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()
/Linux-v6.1/fs/dlm/
Drequestqueue.c97 if (atomic_dec_and_test(&ls->ls_requestqueue_cnt)) in dlm_process_requestqueue()
165 if (atomic_dec_and_test(&ls->ls_requestqueue_cnt)) in dlm_purge_requestqueue()
/Linux-v6.1/drivers/dma-buf/
Ddma-fence-array.c64 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()
/Linux-v6.1/fs/ksmbd/
Dvfs_cache.c213 if (atomic_dec_and_test(&ci->m_count)) in ksmbd_inode_put()
262 if (atomic_dec_and_test(&ci->m_count)) { in __ksmbd_inode_close()
393 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_close_fd()
410 if (!atomic_dec_and_test(&fp->refcount)) in ksmbd_fd_put()
613 if (!atomic_dec_and_test(&fp->refcount)) in __close_file_table_ids()
/Linux-v6.1/drivers/infiniband/core/
Dsa.h47 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_tasklet.h35 return atomic_dec_and_test(&t->count); in __tasklet_enable()
/Linux-v6.1/tools/arch/x86/include/asm/
Datomic.h63 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/Linux-v6.1/tools/include/asm-generic/
Datomic-gcc.h59 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/Linux-v6.1/fs/netfs/
Dio.c159 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()
/Linux-v6.1/io_uring/
Drefs.h26 return atomic_dec_and_test(&req->refs); in req_ref_put_and_test()
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dintel_breadcrumbs.h32 if (atomic_dec_and_test(&b->active)) in intel_breadcrumbs_park()
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()
/Linux-v6.1/drivers/gpu/drm/lima/
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()
415 if (atomic_dec_and_test(&pipe->task)) in lima_pp_task_mmu_error()
/Linux-v6.1/include/linux/sched/
Dmm.h49 if (unlikely(atomic_dec_and_test(&mm->mm_count))) in mmdrop()
72 if (atomic_dec_and_test(&mm->mm_count)) in mmdrop_sched()
/Linux-v6.1/include/linux/
Dnsproxy.h104 if (atomic_dec_and_test(&ns->count)) { in put_nsproxy()
Dcred.h52 if (atomic_dec_and_test(&(group_info)->usage)) \
287 if (atomic_dec_and_test(&(cred)->usage)) in put_cred()
/Linux-v6.1/fs/ksmbd/mgmt/
Dshare_config.h73 if (!atomic_dec_and_test(&share->refcount)) in ksmbd_share_config_put()
/Linux-v6.1/drivers/infiniband/hw/hfi1/
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-v6.1/fs/xfs/
Dxfs_pwork.c50 if (atomic_dec_and_test(&pctl->nr_work)) in xfs_pwork_work()
/Linux-v6.1/drivers/gpu/drm/display/
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-v6.1/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst123 * atomic_dec_and_test() --> refcount_dec_and_test()
/Linux-v6.1/arch/powerpc/mm/
Dpgtable-frag.c117 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pte_fragment_free()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h136 if (atomic_dec_and_test(&e->refcnt) && d) in l2t_release()

12345678910>>...14