Home
last modified time | relevance | path

Searched refs:atomic_dec_and_lock (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/scripts/coccinelle/api/
Datomic_as_refcounter.cocci28 atomic_dec_and_lock@p1(&(a)->x, ...)
71 atomic_dec_and_lock@p1(&(a)->x, ...)
/kernel/linux/linux-5.10/include/linux/
Dspinlock.h471 #define atomic_dec_and_lock(atomic, lock) \ macro
/kernel/linux/linux-5.10/Documentation/core-api/
Drefcount-vs-atomic.rst162 * atomic_dec_and_lock() --> refcount_dec_and_lock()
Datomic_ops.rst626 Let's use cas() in order to build a pseudo-C atomic_dec_and_lock()::
/kernel/linux/linux-5.10/fs/ceph/
Dsnap.c225 if (!atomic_dec_and_lock(&realm->nref, &mdsc->snap_empty_lock)) in ceph_put_snap_realm()
1122 if (atomic_dec_and_lock(&sm->ref, &mdsc->snapid_map_lock)) { in ceph_put_snapid_map()
/kernel/linux/linux-5.10/fs/hfs/
Dbnode.c479 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
/kernel/linux/linux-5.10/fs/hfsplus/
Dbnode.c632 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
/kernel/linux/linux-5.10/net/rxrpc/
Dconn_client.c949 if (atomic_dec_and_lock(&bundle->active, &local->client_bundles_lock)) { in rxrpc_deactivate_bundle()
/kernel/linux/linux-5.10/fs/jffs2/
Dxattr.c407 if (atomic_dec_and_lock(&xd->refcnt, &c->erase_completion_lock)) { in unrefer_xattr_datum()
/kernel/linux/linux-5.10/fs/
Dinode.c1675 if (atomic_dec_and_lock(&inode->i_count, &inode->i_lock)) { in iput()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf.c1050 release = atomic_dec_and_lock(&bp->b_hold, &pag->pag_buf_lock); in xfs_buf_rele()
Dxfs_log.c538 if (atomic_dec_and_lock(&iclog->ic_refcnt, &log->l_icloglock)) { in xfs_log_release_iclog()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dauth_gss.c275 if (atomic_dec_and_lock(&sn->pipe_users, &pipe_version_lock)) { in put_pipe_version()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4state.c616 if (!atomic_dec_and_lock(&sp->so_count, &clp->cl_lock)) in nfs4_put_state_owner()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4state.c193 if (!atomic_dec_and_lock(&clp->cl_rpc_users, &nn->client_lock)) in put_client_renew()
619 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
1336 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
Ddlmmaster.c3514 if (!atomic_dec_and_lock(&res->asts_reserved, &res->spinlock)) in dlm_lockres_release_ast()
/kernel/linux/linux-5.10/drivers/md/
Dmd.c667 if (!atomic_dec_and_lock(&mddev->active, &all_mddevs_lock)) in mddev_put()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch9078 - if (atomic_dec_and_lock(&xd->refcnt, &c->erase_completion_lock)) {