Searched refs:refcount_dec_and_lock (Results 1 – 21 of 21) sorted by relevance
/linux-6.1.9/lib/ |
D | refcount.c | 144 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-6.1.9/security/landlock/ |
D | object.c | 58 if (refcount_dec_and_lock(&object->usage, &object->lock)) { in landlock_put_object()
|
/linux-6.1.9/include/linux/ |
D | kref.h | 86 if (refcount_dec_and_lock(&kref->refcount, lock)) { in kref_put_lock()
|
D | refcount.h | 365 extern __must_check bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) __cond_acquires(loc…
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 151 * atomic_dec_and_lock() --> refcount_dec_and_lock()
|
/linux-6.1.9/ipc/ |
D | namespace.c | 183 if (refcount_dec_and_lock(&ns->ns.count, &mq_lock)) { in put_ipc_ns()
|
/linux-6.1.9/fs/crypto/ |
D | keysetup_v1.c | 165 if (!refcount_dec_and_lock(&dk->dk_refcount, &fscrypt_direct_keys_lock)) in fscrypt_put_direct_key()
|
/linux-6.1.9/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 162 * atomic_dec_and_lock() --> refcount_dec_and_lock()
|
/linux-6.1.9/fs/lockd/ |
D | mon.c | 408 if (refcount_dec_and_lock(&nsm->sm_count, &nsm_lock)) { in nsm_release()
|
D | clntproc.c | 59 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmclnt_put_lockowner()
|
D | svclock.c | 345 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
|
/linux-6.1.9/fs/nfs/ |
D | pnfs_nfs.c | 193 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()
|
D | nfs4state.c | 760 if (!refcount_dec_and_lock(&state->count, &owner->so_lock)) in nfs4_put_open_state() 940 if (!refcount_dec_and_lock(&lsp->ls_count, &state->state_lock)) in nfs4_put_lock_state()
|
D | client.c | 264 if (refcount_dec_and_lock(&clp->cl_count, &nn->nfs_client_lock)) { in nfs_put_client()
|
D | pnfs.c | 315 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()
|
D | inode.c | 979 if (!refcount_dec_and_lock(&l_ctx->count, &inode->i_lock)) in nfs_put_lock_context()
|
/linux-6.1.9/fs/notify/ |
D | mark.c | 311 if (!refcount_dec_and_lock(&mark->refcnt, &conn->lock)) in fsnotify_put_mark()
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 129 if (refcount_dec_and_lock(&c->entries, &cn->lock)) { in clusterip_config_entry_put()
|
/linux-6.1.9/fs/nilfs2/ |
D | the_nilfs.c | 852 if (refcount_dec_and_lock(&root->count, &nilfs->ns_cptree_lock)) { in nilfs_put_root()
|
/linux-6.1.9/security/keys/ |
D | key.c | 122 if (refcount_dec_and_lock(&user->usage, &key_user_lock)) { in key_user_put()
|
/linux-6.1.9/fs/nfsd/ |
D | nfs4state.c | 593 if (refcount_dec_and_lock(&fi->fi_ref, &state_lock)) { in put_nfs4_file() 906 if (refcount_dec_and_lock(&co->co_odcount, &fp->fi_lock)) { in put_clnt_odstate() 1209 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
|