Home
last modified time | relevance | path

Searched refs:fl_u (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/afs/ !
Dflock.c68 list_for_each_entry_safe(p, _p, &vnode->pending_locks, fl_u.afs.link) { in afs_grant_locks()
72 list_move_tail(&p->fl_u.afs.link, &vnode->granted_locks); in afs_grant_locks()
73 p->fl_u.afs.state = AFS_LOCK_GRANTED; in afs_grant_locks()
94 list_for_each_entry_safe(p, _p, &vnode->pending_locks, fl_u.afs.link) { in afs_next_locker()
98 list_del_init(&p->fl_u.afs.link); in afs_next_locker()
99 p->fl_u.afs.state = error; in afs_next_locker()
115 next->fl_u.afs.state = AFS_LOCK_YOUR_TRY; in afs_next_locker()
386 INIT_LIST_HEAD(&fl->fl_u.afs.link); in afs_do_setlk()
387 fl->fl_u.afs.state = AFS_LOCK_PENDING; in afs_do_setlk()
396 list_add_tail(&fl->fl_u.afs.link, &vnode->pending_locks); in afs_do_setlk()
[all …]
/linux-4.19.296/fs/lockd/ !
Dclntproc.c135 (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()
170 if (!fl->fl_u.nfs_fl.owner) { in nlmclnt_proc()
457 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
458 new->fl_u.nfs_fl.state = fl->fl_u.nfs_fl.state; in nlmclnt_locks_copy_lock()
459 new->fl_u.nfs_fl.owner = nlm_get_lockowner(fl->fl_u.nfs_fl.owner); in nlmclnt_locks_copy_lock()
460 list_add_tail(&new->fl_u.nfs_fl.list, &fl->fl_u.nfs_fl.owner->host->h_granted); in nlmclnt_locks_copy_lock()
461 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
466 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_release_private()
467 list_del(&fl->fl_u.nfs_fl.list); in nlmclnt_locks_release_private()
[all …]
Dclntlock.c186 if (fl_blocked->fl_u.nfs_fl.owner->pid != lock->svid) in nlmclnt_grant()
259 list_for_each_entry_safe(fl, next, &host->h_reclaim, fl_u.nfs_fl.list) { in reclaimer()
260 list_del_init(&fl->fl_u.nfs_fl.list); in reclaimer()
272 list_add_tail(&fl->fl_u.nfs_fl.list, &host->h_granted); in reclaimer()
/linux-4.19.296/fs/nfs/ !
Dnfs4state.c966 struct nfs4_lock_state *lsp = src->fl_u.nfs4_fl.owner; in nfs4_fl_copy_lock()
968 dst->fl_u.nfs4_fl.owner = lsp; in nfs4_fl_copy_lock()
974 nfs4_put_lock_state(fl->fl_u.nfs4_fl.owner); in nfs4_fl_release_lock()
991 fl->fl_u.nfs4_fl.owner = lsp; in nfs4_set_lock_state()
1562 lsp = fl->fl_u.nfs4_fl.owner; in nfs4_reclaim_locks()
Dnfs4proc.c2149 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error()
6285 lsp = request->fl_u.nfs4_fl.owner; in _nfs4_proc_getlk()
6507 lsp = request->fl_u.nfs4_fl.owner; in nfs4_proc_unlck()
6733 fl->fl_u.nfs4_fl.owner, in _nfs4_do_setlk()
6798 set_bit(NFS_LOCK_LOST, &request->fl_u.nfs4_fl.owner->ls_flags); in nfs4_lock_expired()
6827 lsp = request->fl_u.nfs4_fl.owner; in nfs41_lock_expired()
6946 struct nfs4_lock_state *lsp = request->fl_u.nfs4_fl.owner; in nfs4_retry_setlk()
/linux-4.19.296/include/linux/ !
Dfs.h1068 } fl_u; member