Home
last modified time | relevance | path

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

/openbmc/linux/fs/afs/
H A Dflock.c95 list_for_each_entry_safe(p, _p, &vnode->pending_locks, fl_u.afs.link) { in afs_grant_locks()
99 list_move_tail(&p->fl_u.afs.link, &vnode->granted_locks); in afs_grant_locks()
100 p->fl_u.afs.state = AFS_LOCK_GRANTED; in afs_grant_locks()
122 list_for_each_entry_safe(p, _p, &vnode->pending_locks, fl_u.afs.link) { in afs_next_locker()
126 list_del_init(&p->fl_u.afs.link); in afs_next_locker()
127 p->fl_u.afs.state = error; in afs_next_locker()
143 next->fl_u.afs.state = AFS_LOCK_YOUR_TRY; in afs_next_locker()
166 struct file_lock, fl_u.afs.link); in afs_kill_lockers_enoent()
167 list_del_init(&p->fl_u.afs.link); in afs_kill_lockers_enoent()
168 p->fl_u.afs.state = -ENOENT; in afs_kill_lockers_enoent()
[all …]
/openbmc/linux/fs/lockd/
H A Dclntproc.c140 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs()
142 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs()
175 if (!fl->fl_u.nfs_fl.owner) { in nlmclnt_proc()
465 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
466 new->fl_u.nfs_fl.state = fl->fl_u.nfs_fl.state; in nlmclnt_locks_copy_lock()
467 new->fl_u.nfs_fl.owner = nlmclnt_get_lockowner(fl->fl_u.nfs_fl.owner); in nlmclnt_locks_copy_lock()
468 list_add_tail(&new->fl_u.nfs_fl.list, &fl->fl_u.nfs_fl.owner->host->h_granted); in nlmclnt_locks_copy_lock()
469 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
474 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_release_private()
475 list_del(&fl->fl_u.nfs_fl.list); in nlmclnt_locks_release_private()
[all …]
H A Dclntlock.c184 if (fl_blocked->fl_u.nfs_fl.owner->pid != lock->svid) in nlmclnt_grant()
258 list_for_each_entry_safe(fl, next, &host->h_reclaim, fl_u.nfs_fl.list) { in reclaimer()
259 list_del_init(&fl->fl_u.nfs_fl.list); in reclaimer()
271 list_add_tail(&fl->fl_u.nfs_fl.list, &host->h_granted); in reclaimer()
/openbmc/linux/fs/ceph/
H A Dlocks.c38 dst->fl_u.ceph.inode = igrab(inode); in ceph_fl_copy_lock()
47 struct inode *inode = fl->fl_u.ceph.inode; in ceph_fl_release_lock()
64 fl->fl_u.ceph.inode = NULL; in ceph_fl_release_lock()
/openbmc/linux/include/linux/
H A Dfilelock.h126 } fl_u; member
/openbmc/linux/fs/nfs/
H A Dnfs4state.c961 struct nfs4_lock_state *lsp = src->fl_u.nfs4_fl.owner; in nfs4_fl_copy_lock()
963 dst->fl_u.nfs4_fl.owner = lsp; in nfs4_fl_copy_lock()
969 nfs4_put_lock_state(fl->fl_u.nfs4_fl.owner); in nfs4_fl_release_lock()
986 fl->fl_u.nfs4_fl.owner = lsp; in nfs4_set_lock_state()
1561 lsp = fl->fl_u.nfs4_fl.owner; in nfs4_reclaim_locks()
H A Dnfs4proc.c2296 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error()
6795 lsp = request->fl_u.nfs4_fl.owner; in _nfs4_proc_getlk()
7060 lsp = request->fl_u.nfs4_fl.owner; in nfs4_proc_unlck()
7294 fl->fl_u.nfs4_fl.owner, GFP_KERNEL); in _nfs4_do_setlk()
7358 set_bit(NFS_LOCK_LOST, &request->fl_u.nfs4_fl.owner->ls_flags); in nfs4_lock_expired()
7387 lsp = request->fl_u.nfs4_fl.owner; in nfs41_lock_expired()
7501 struct nfs4_lock_state *lsp = request->fl_u.nfs4_fl.owner; in nfs4_retry_setlk()
/openbmc/linux/include/trace/events/
H A Dafs.h1108 __entry->debug_id = fl ? fl->fl_u.afs.debug_id : 0;
1142 __entry->debug_id = fl->fl_u.afs.debug_id;