Searched refs:lockowner (Results 1 – 9 of 9) sorted by relevance
49 static struct nlm_lockowner *nlm_get_lockowner(struct nlm_lockowner *lockowner) in nlm_get_lockowner() argument51 refcount_inc(&lockowner->count); in nlm_get_lockowner()52 return lockowner; in nlm_get_lockowner()55 static void nlm_put_lockowner(struct nlm_lockowner *lockowner) in nlm_put_lockowner() argument57 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlm_put_lockowner()59 list_del(&lockowner->list); in nlm_put_lockowner()60 spin_unlock(&lockowner->host->h_lock); in nlm_put_lockowner()61 nlmclnt_release_host(lockowner->host); in nlm_put_lockowner()62 kfree(lockowner); in nlm_put_lockowner()67 struct nlm_lockowner *lockowner; in nlm_pidbusy() local[all …]
1026 struct module *lockowner) in hisax_cs_new() argument1079 cs->iif.owner = lockowner; in hisax_cs_new()1175 struct module *lockowner, hisax_setup_func_t card_setup) in checkcard() argument1181 ret = hisax_cs_new(cardnr, id, card, &cs, busy_flag, lockowner); in checkcard()
459 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
1253 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()1957 remove_blocked_locks(lockowner(so)); in __destroy_client()5231 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()5715 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()5733 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()5738 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()6015 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()6074 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()6292 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(stp->st_stateowner)); in nfsd4_locku()6400 lo = lockowner(sop); in nfsd4_release_lockowner()
63 fl_owner_t lockowner; member
903 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
850 l_ctx->lockowner = current->files; in nfs_init_lock_context()861 if (pos->lockowner != current->files) in __nfs_find_lock_context()
1215 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
1010 fl_owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()