Home
last modified time | relevance | path

Searched refs:refcount_dec_and_lock (Results 1 – 21 of 21) sorted by relevance

/linux-5.19.10/lib/
Drefcount.c144 bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) in refcount_dec_and_lock() function
157 EXPORT_SYMBOL(refcount_dec_and_lock);
/linux-5.19.10/security/landlock/
Dobject.c58 if (refcount_dec_and_lock(&object->usage, &object->lock)) { in landlock_put_object()
/linux-5.19.10/include/linux/
Dkref.h86 if (refcount_dec_and_lock(&kref->refcount, lock)) { in kref_put_lock()
Drefcount.h365 extern __must_check bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) __cond_acquires(loc…
/linux-5.19.10/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst151 * atomic_dec_and_lock() --> refcount_dec_and_lock()
/linux-5.19.10/ipc/
Dnamespace.c180 if (refcount_dec_and_lock(&ns->ns.count, &mq_lock)) { in put_ipc_ns()
/linux-5.19.10/fs/crypto/
Dkeysetup_v1.c164 if (!refcount_dec_and_lock(&dk->dk_refcount, &fscrypt_direct_keys_lock)) in fscrypt_put_direct_key()
/linux-5.19.10/Documentation/core-api/
Drefcount-vs-atomic.rst162 * atomic_dec_and_lock() --> refcount_dec_and_lock()
/linux-5.19.10/fs/lockd/
Dmon.c408 if (refcount_dec_and_lock(&nsm->sm_count, &nsm_lock)) { in nsm_release()
Dclntproc.c59 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmclnt_put_lockowner()
Dsvclock.c345 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
/linux-5.19.10/fs/nfs/
Dpnfs_nfs.c193 if (refcount_dec_and_lock(&array->refcount, &inode->i_lock)) { in pnfs_put_commit_array()
703 if (refcount_dec_and_lock(&ds->ds_count, in nfs4_pnfs_ds_put()
Dnfs4state.c761 if (!refcount_dec_and_lock(&state->count, &owner->so_lock)) in nfs4_put_open_state()
942 if (!refcount_dec_and_lock(&lsp->ls_count, &state->state_lock)) in nfs4_put_lock_state()
Dclient.c264 if (refcount_dec_and_lock(&clp->cl_count, &nn->nfs_client_lock)) { in nfs_put_client()
Dpnfs.c315 if (refcount_dec_and_lock(&lo->plh_refcount, &inode->i_lock)) { in pnfs_put_layout_hdr()
610 if (refcount_dec_and_lock(&lseg->pls_refcount, &inode->i_lock)) { in pnfs_put_lseg()
Dinode.c984 if (!refcount_dec_and_lock(&l_ctx->count, &inode->i_lock)) in nfs_put_lock_context()
/linux-5.19.10/fs/notify/
Dmark.c311 if (!refcount_dec_and_lock(&mark->refcnt, &conn->lock)) in fsnotify_put_mark()
/linux-5.19.10/fs/nilfs2/
Dthe_nilfs.c797 if (refcount_dec_and_lock(&root->count, &nilfs->ns_cptree_lock)) { in nilfs_put_root()
/linux-5.19.10/net/ipv4/netfilter/
Dipt_CLUSTERIP.c129 if (refcount_dec_and_lock(&c->entries, &cn->lock)) { in clusterip_config_entry_put()
/linux-5.19.10/security/keys/
Dkey.c122 if (refcount_dec_and_lock(&user->usage, &key_user_lock)) { in key_user_put()
/linux-5.19.10/fs/nfsd/
Dnfs4state.c582 if (refcount_dec_and_lock(&fi->fi_ref, &state_lock)) { in put_nfs4_file()
884 if (refcount_dec_and_lock(&co->co_odcount, &fp->fi_lock)) { in put_clnt_odstate()
1182 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()