Lines Matching refs:owner
84 static struct nlm_lockowner *__nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) in __nlm_find_lockowner() argument
88 if (lockowner->owner != owner) in __nlm_find_lockowner()
95 static struct nlm_lockowner *nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) in nlm_find_lockowner() argument
100 res = __nlm_find_lockowner(host, owner); in nlm_find_lockowner()
105 res = __nlm_find_lockowner(host, owner); in nlm_find_lockowner()
109 new->owner = owner; in nlm_find_lockowner()
135 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs()
137 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs()
165 if (!fl->fl_u.nfs_fl.owner) { in nlmclnt_proc()
447 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
449 new->fl_u.nfs_fl.owner = nlm_get_lockowner(fl->fl_u.nfs_fl.owner); in nlmclnt_locks_copy_lock()
450 list_add_tail(&new->fl_u.nfs_fl.list, &fl->fl_u.nfs_fl.owner->host->h_granted); in nlmclnt_locks_copy_lock()
451 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
456 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_release_private()
458 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_release_private()
459 nlm_put_lockowner(fl->fl_u.nfs_fl.owner); in nlmclnt_locks_release_private()
470 fl->fl_u.nfs_fl.owner = nlm_find_lockowner(host, fl->fl_owner); in nlmclnt_locks_init_private()