Searched refs:atomic_dec_and_lock (Results 1 - 33 of 33) sorted by relevance

/linux-4.1.27/arch/alpha/lib/
H A Ddec_and_lock.c4 * ll/sc version of atomic_dec_and_lock()
/linux-4.1.27/net/sunrpc/
H A Dsvcauth.c130 if (atomic_dec_and_lock(&dom->ref.refcount, &auth_domain_lock)) { auth_domain_put()
H A Dauth.c722 if (!atomic_dec_and_lock(&cred->cr_count, &rpc_credcache_lock)) put_rpccred()
/linux-4.1.27/ipc/
H A Dnamespace.c123 if (atomic_dec_and_lock(&ns->count, &mq_lock)) { put_ipc_ns()
/linux-4.1.27/kernel/
H A Duser.c165 if (atomic_dec_and_lock(&up->__count, &uidhash_lock)) free_uid()
H A Dcgroup.c562 * can see it. Similar to atomic_dec_and_lock(), but for an put_css_set()
/linux-4.1.27/include/linux/
H A Dspinlock.h418 * atomic_dec_and_lock - lock on reaching reference count zero
426 #define atomic_dec_and_lock(atomic, lock) \ macro
/linux-4.1.27/fs/hfs/
H A Dbnode.c467 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) hfs_bnode_put()
/linux-4.1.27/fs/hfsplus/
H A Dbnode.c635 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) hfs_bnode_put()
/linux-4.1.27/fs/lockd/
H A Dmon.c456 if (atomic_dec_and_lock(&nsm->sm_count, &nsm_lock)) { nsm_release()
H A Dclntproc.c57 if (!atomic_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) nlm_put_lockowner()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_hash.h530 return atomic_dec_and_lock(condition, &hs->hs_lock.spin); cfs_hash_dec_and_lock()
620 return atomic_dec_and_lock(condition, cfs_hash_bd_dec_and_lock()
/linux-4.1.27/fs/nfs/
H A Dnfs4state.c600 if (!atomic_dec_and_lock(&sp->so_count, &clp->cl_lock)) nfs4_put_state_owner()
729 if (!atomic_dec_and_lock(&state->count, &owner->so_lock)) nfs4_put_open_state()
894 if (!atomic_dec_and_lock(&lsp->ls_count, &state->state_lock)) nfs4_put_lock_state()
H A Dpnfs_nfs.c428 if (atomic_dec_and_lock(&ds->ds_count, nfs4_pnfs_ds_put()
H A Dinode.c746 if (!atomic_dec_and_lock(&l_ctx->count, &inode->i_lock)) nfs_put_lock_context()
822 if (!atomic_dec_and_lock(&ctx->lock_context.count, &inode->i_lock)) __put_nfs_open_context()
H A Dpnfs.c245 if (atomic_dec_and_lock(&lo->plh_refcount, &inode->i_lock)) { pnfs_put_layout_hdr()
412 if (atomic_dec_and_lock(&lseg->pls_refcount, &inode->i_lock)) { pnfs_put_lseg()
H A Dclient.c276 if (atomic_dec_and_lock(&clp->cl_count, &nn->nfs_client_lock)) { nfs_put_client()
/linux-4.1.27/net/ipv4/netfilter/
H A Dipt_CLUSTERIP.c106 if (atomic_dec_and_lock(&c->entries, &cn->lock)) { clusterip_config_entry_put()
/linux-4.1.27/net/rxrpc/
H A Dar-connection.c180 if (atomic_dec_and_lock(&bundle->usage, &trans->client_lock)) { rxrpc_put_bundle()
/linux-4.1.27/fs/nfsd/
H A Dnfs4state.c171 if (!atomic_dec_and_lock(&clp->cl_refcount, &nn->client_lock)) put_client_renew()
282 if (atomic_dec_and_lock(&fi->fi_ref, &state_lock)) { put_nfs4_file()
451 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { __nfs4_file_put_access()
521 if (atomic_dec_and_lock(&co->co_odcount, &fp->fi_lock)) { put_clnt_odstate()
737 if (!atomic_dec_and_lock(&s->sc_count, &clp->cl_lock)) { nfs4_put_stid()
1059 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) nfs4_put_stateowner()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_resource.c952 if (atomic_dec_and_lock(&ns->ns_bref, &ns->ns_lock)) { ldlm_namespace_put()
/linux-4.1.27/fs/jffs2/
H A Dxattr.c407 if (atomic_dec_and_lock(&xd->refcnt, &c->erase_completion_lock)) { unrefer_xattr_datum()
/linux-4.1.27/security/keys/
H A Dkey.c125 if (atomic_dec_and_lock(&user->usage, &key_user_lock)) { key_user_put()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dstatahead.c511 if (atomic_dec_and_lock(&sai->sai_refcount, &lli->lli_sa_lock)) { ll_sai_put()
/linux-4.1.27/drivers/staging/lustre/lustre/mgc/
H A Dmgc_request.c136 if (atomic_dec_and_lock(&cld->cld_refcount, &config_list_lock)) { config_log_put()
/linux-4.1.27/fs/xfs/
H A Dxfs_buf.c892 if (atomic_dec_and_lock(&bp->b_hold, &pag->pag_buf_lock)) { xfs_buf_rele()
H A Dxfs_log.c2939 * racing with concurrent atomic_dec_and_lock() calls in xlog_state_get_iclog_space()
3082 if (!atomic_dec_and_lock(&iclog->ic_refcnt, &log->l_icloglock)) xlog_state_release_iclog()
/linux-4.1.27/fs/
H A Dinode.c1477 if (atomic_dec_and_lock(&inode->i_count, &inode->i_lock)) { iput()
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dauth_gss.c321 if (atomic_dec_and_lock(&sn->pipe_users, &pipe_version_lock)) { put_pipe_version()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_cache.c584 if (atomic_dec_and_lock(&ext->oe_users, &obj->oo_lock)) { osc_extent_release()
/linux-4.1.27/fs/ocfs2/dlm/
H A Ddlmmaster.c3442 if (!atomic_dec_and_lock(&res->asts_reserved, &res->spinlock)) dlm_lockres_release_ast()
/linux-4.1.27/drivers/md/
H A Dmd.c482 if (!atomic_dec_and_lock(&mddev->active, &all_mddevs_lock)) mddev_put()
H A Draid5.c436 if (atomic_dec_and_lock(&sh->count, &conf->device_lock)) { release_stripe()

Completed in 1527 milliseconds