Home
last modified time | relevance | path

Searched refs:fl_flags (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/include/trace/events/
H A Dfilelock.h74 __field(unsigned int, fl_flags)
88 __entry->fl_flags = fl ? fl->fl_flags : 0;
98 __entry->fl_pid, show_fl_flags(__entry->fl_flags),
130 __field(unsigned int, fl_flags)
142 __entry->fl_flags = fl ? fl->fl_flags : 0;
151 show_fl_flags(__entry->fl_flags),
183 __field(unsigned int, fl_flags)
194 __entry->fl_flags = fl->fl_flags;
202 show_fl_flags(__entry->fl_flags),
223 __entry->l_fl_flags = lease->fl_flags;
[all …]
/openbmc/linux/fs/
H A Dlocks.c367 new->fl_flags = fl->fl_flags; in locks_copy_conflock()
436 fl->fl_flags = FL_FLOCK; in flock_make_lock()
495 fl->fl_flags = FL_POSIX; in flock64_to_posix_lock()
561 fl->fl_flags = FL_LEASE; in lease_init()
1444 if ((breaker->fl_flags & FL_LAYOUT) != (lease->fl_flags & FL_LAYOUT)) { in leases_conflict()
1448 if ((breaker->fl_flags & FL_DELEG) && (lease->fl_flags & FL_LEASE)) { in leases_conflict()
1499 new_fl->fl_flags = type; in __break_lease()
2108 fl.fl_flags |= FL_SLEEP; in SYSCALL_DEFINE2()
2231 fl->fl_flags |= FL_OFDLCK; in fcntl_getlk()
2438 fl->fl_flags |= FL_OFDLCK; in fcntl_getlk64()
[all …]
/openbmc/linux/fs/lockd/
H A Dclntproc.c525 unsigned char fl_flags = fl->fl_flags; in nlmclnt_lock() local
534 fl->fl_flags |= FL_ACCESS; in nlmclnt_lock()
536 fl->fl_flags = fl_flags; in nlmclnt_lock()
594 fl->fl_flags |= FL_SLEEP; in nlmclnt_lock()
598 fl->fl_flags = fl_flags; in nlmclnt_lock()
608 if (resp->status == nlm_lck_denied && (fl_flags & FL_SLEEP)) in nlmclnt_lock()
631 fl->fl_flags = fl_flags; in nlmclnt_lock()
686 unsigned char fl_flags = fl->fl_flags; in nlmclnt_unlock() local
693 fl->fl_flags |= FL_EXISTS; in nlmclnt_unlock()
697 fl->fl_flags = fl_flags; in nlmclnt_unlock()
H A Dsvclock.c248 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block()
518 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock()
547 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock()
550 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock()
855 lock->fl.fl_flags |= FL_SLEEP; in nlmsvc_grant_blocked()
860 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_grant_blocked()
H A Dxdr4.c92 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
H A Dxdr.c91 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
H A Dsvcsubs.c189 lock.fl_flags = FL_POSIX; in nlm_unlock_files()
H A Dclnt4xdr.c283 fl->fl_flags = FL_POSIX; in decode_nlm4_holder()
H A Dclntxdr.c278 fl->fl_flags = FL_POSIX; in decode_nlm_holder()
H A Dsvc4proc.c55 lock->fl.fl_flags = FL_POSIX; in nlm4svc_retrieve_args()
H A Dsvcproc.c80 lock->fl.fl_flags = FL_POSIX; in nlmsvc_retrieve_args()
/openbmc/linux/fs/ocfs2/
H A Dlocks.c57 request.fl_flags = FL_FLOCK; in ocfs2_do_flock()
103 if (!(fl->fl_flags & FL_FLOCK)) in ocfs2_flock()
121 if (!(fl->fl_flags & FL_POSIX)) in ocfs2_lock()
/openbmc/linux/fs/dlm/
H A Dplock.c265 flc->fl_flags &= ~FL_SLEEP; in dlm_plock_callback()
298 unsigned char fl_flags = fl->fl_flags; in dlm_posix_unlock() local
311 fl->fl_flags |= FL_EXISTS; in dlm_posix_unlock()
334 if (fl->fl_flags & FL_CLOSE) { in dlm_posix_unlock()
355 fl->fl_flags = fl_flags; in dlm_posix_unlock()
474 fl->fl_flags = FL_POSIX; in dlm_posix_get()
/openbmc/linux/fs/ceph/
H A Dlocks.c229 unsigned int orig_flags = fl->fl_flags; in try_unlock_file()
230 fl->fl_flags |= FL_EXISTS; in try_unlock_file()
232 fl->fl_flags = orig_flags; in try_unlock_file()
254 if (!(fl->fl_flags & FL_POSIX)) in ceph_lock()
319 if (!(fl->fl_flags & FL_FLOCK)) in ceph_flock()
/openbmc/linux/fs/nfs/
H A Dfile.c769 if (status < 0 && !(fl->fl_flags & FL_CLOSE)) in do_unlk()
836 filp, fl->fl_type, fl->fl_flags, in nfs_lock()
841 if (fl->fl_flags & FL_RECLAIM) in nfs_lock()
873 filp, fl->fl_type, fl->fl_flags); in nfs_flock()
875 if (!(fl->fl_flags & FL_FLOCK)) in nfs_flock()
H A Dnfs4proc.c7018 if (fl->fl_flags & FL_CLOSE) in nfs4_do_unlck()
7044 unsigned char fl_flags = request->fl_flags; in nfs4_proc_unlck() local
7048 request->fl_flags |= FL_EXISTS; in nfs4_proc_unlck()
7079 request->fl_flags = fl_flags; in nfs4_proc_unlck()
7190 data->fl.fl_flags &= ~(FL_SLEEP | FL_ACCESS); in nfs4_lock_done()
7397 unsigned char fl_flags = request->fl_flags; in _nfs4_proc_setlk() local
7400 request->fl_flags |= FL_ACCESS; in _nfs4_proc_setlk()
7409 request->fl_flags = fl_flags & ~FL_SLEEP; in _nfs4_proc_setlk()
7419 request->fl_flags = fl_flags; in _nfs4_proc_setlk()
7570 if ((request->fl_flags & FL_POSIX) && in nfs4_proc_lock()
/openbmc/linux/fs/9p/
H A Dvfs_file.c130 BUG_ON((fl->fl_flags & FL_POSIX) != FL_POSIX); in v9fs_file_do_lock()
327 if (!(fl->fl_flags & FL_FLOCK)) in v9fs_file_flock_dotl()
335 fl->fl_flags |= FL_POSIX; in v9fs_file_flock_dotl()
336 fl->fl_flags ^= FL_FLOCK; in v9fs_file_flock_dotl()
/openbmc/linux/fs/afs/
H A Dflock.c527 !(fl->fl_flags & FL_SLEEP)) { in afs_do_setlk()
624 if (!(fl->fl_flags & FL_SLEEP)) { in afs_do_setlk()
772 fl->fl_type, fl->fl_flags, in afs_lock()
807 fl->fl_type, fl->fl_flags); in afs_flock()
816 if (!(fl->fl_flags & FL_FLOCK)) in afs_flock()
/openbmc/linux/fs/smb/client/
H A Dfile.c1408 flock->fl_flags, &conf_lock, in cifs_lock_test()
1759 if (flock->fl_flags & FL_POSIX) in cifs_read_flock()
1761 if (flock->fl_flags & FL_FLOCK) in cifs_read_flock()
1763 if (flock->fl_flags & FL_SLEEP) { in cifs_read_flock()
1767 if (flock->fl_flags & FL_ACCESS) in cifs_read_flock()
1769 if (flock->fl_flags & FL_LEASE) in cifs_read_flock()
1771 if (flock->fl_flags & in cifs_read_flock()
2046 flock->fl_flags); in cifs_setlk()
2085 if ((flock->fl_flags & FL_POSIX) || (flock->fl_flags & FL_FLOCK)) { in cifs_setlk()
2094 if (!(flock->fl_flags & FL_CLOSE)) in cifs_setlk()
[all …]
H A Dsmb2file.c231 if (!(flock->fl_flags & (FL_FLOCK | FL_OFDLCK))) in smb2_unlock_range()
/openbmc/linux/include/linux/
H A Dfilelock.h99 unsigned int fl_flags; member
/openbmc/linux/include/net/
H A Dact_api.h209 u32 flags, u32 fl_flags, struct netlink_ext_ack *extack);
/openbmc/linux/fs/gfs2/
H A Dfile.c1437 if (!(fl->fl_flags & FL_POSIX)) in gfs2_lock()
1493 request.fl_flags = FL_FLOCK; in do_flock()
1554 if (!(fl->fl_flags & FL_FLOCK)) in gfs2_flock()
/openbmc/linux/fs/nfsd/
H A Dnfs4state.c5338 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease()
7554 fl_flags |= FL_RECLAIM; in nfsd4_lock()
7560 fl_flags |= FL_SLEEP; in nfsd4_lock()
7572 fl_flags |= FL_SLEEP; in nfsd4_lock()
7600 fl_flags &= ~FL_SLEEP; in nfsd4_lock()
7614 file_lock->fl_flags = fl_flags; in nfsd4_lock()
7627 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
7664 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
7787 file_lock->fl_flags = FL_POSIX; in nfsd4_lockt()
7850 file_lock->fl_flags = FL_POSIX; in nfsd4_locku()
[all …]
/openbmc/linux/net/sched/
H A Dact_api.c1450 u32 flags, u32 fl_flags, in tcf_action_init() argument
1489 bool skip_sw = tc_skip_sw(fl_flags); in tcf_action_init()
1490 bool skip_hw = tc_skip_hw(fl_flags); in tcf_action_init()

12