Lines Matching refs:owner
86 static struct nlm_lockowner *__nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner) in __nlmclnt_find_lockowner() argument
90 if (lockowner->owner != owner) in __nlmclnt_find_lockowner()
97 static struct nlm_lockowner *nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner) in nlmclnt_find_lockowner() argument
102 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner()
107 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner()
111 new->owner = owner; in nlmclnt_find_lockowner()
137 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs()
139 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs()
172 if (!fl->fl_u.nfs_fl.owner) { in nlmclnt_proc()
459 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
461 new->fl_u.nfs_fl.owner = nlmclnt_get_lockowner(fl->fl_u.nfs_fl.owner); in nlmclnt_locks_copy_lock()
462 list_add_tail(&new->fl_u.nfs_fl.list, &fl->fl_u.nfs_fl.owner->host->h_granted); in nlmclnt_locks_copy_lock()
463 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
468 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_release_private()
470 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_release_private()
471 nlmclnt_put_lockowner(fl->fl_u.nfs_fl.owner); in nlmclnt_locks_release_private()
482 fl->fl_u.nfs_fl.owner = nlmclnt_find_lockowner(host, fl->fl_owner); in nlmclnt_locks_init_private()