Searched refs:refcount_dec_and_lock (Results 1 – 18 of 18) sorted by relevance
/Linux-v5.10/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-v5.10/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);
|
/Linux-v5.10/ipc/ |
D | namespace.c | 167 if (refcount_dec_and_lock(&ns->count, &mq_lock)) { in put_ipc_ns()
|
/Linux-v5.10/fs/crypto/ |
D | keysetup_v1.c | 164 if (!refcount_dec_and_lock(&dk->dk_refcount, &fscrypt_direct_keys_lock)) in fscrypt_put_direct_key()
|
/Linux-v5.10/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 162 * atomic_dec_and_lock() --> refcount_dec_and_lock()
|
/Linux-v5.10/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 | 344 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
|
/Linux-v5.10/fs/nfs/ |
D | pnfs_nfs.c | 197 if (refcount_dec_and_lock(&array->refcount, &inode->i_lock)) { in pnfs_put_commit_array() 689 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 | 266 if (refcount_dec_and_lock(&clp->cl_count, &nn->nfs_client_lock)) { in nfs_put_client()
|
D | pnfs.c | 303 if (refcount_dec_and_lock(&lo->plh_refcount, &inode->i_lock)) { in pnfs_put_layout_hdr() 573 if (refcount_dec_and_lock(&lseg->pls_refcount, &inode->i_lock)) { in pnfs_put_lseg()
|
D | inode.c | 929 if (!refcount_dec_and_lock(&l_ctx->count, &inode->i_lock)) in nfs_put_lock_context()
|
/Linux-v5.10/fs/notify/ |
D | mark.c | 245 if (!refcount_dec_and_lock(&mark->refcnt, &conn->lock)) in fsnotify_put_mark()
|
/Linux-v5.10/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 118 if (refcount_dec_and_lock(&c->entries, &cn->lock)) { in clusterip_config_entry_put()
|
/Linux-v5.10/security/keys/ |
D | key.c | 122 if (refcount_dec_and_lock(&user->usage, &key_user_lock)) { in key_user_put()
|
/Linux-v5.10/fs/nfsd/ |
D | nfs4state.c | 425 if (refcount_dec_and_lock(&fi->fi_ref, &state_lock)) { in put_nfs4_file() 678 if (refcount_dec_and_lock(&co->co_odcount, &fp->fi_lock)) { in put_clnt_odstate() 974 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
|