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.c73 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX)
74 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK)
75 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT))
76 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK)
81 return fl->fl_flags & (FL_UNLOCK_PENDING | FL_DOWNGRADE_PENDING); in lease_breaking()
86 if (fl->fl_flags & FL_UNLOCK_PENDING) in target_leasetype()
88 if (fl->fl_flags & FL_DOWNGRADE_PENDING) in target_leasetype()
211 …p fl_flags=0x%x fl_type=0x%x fl_pid=%u\n", list_type, fl->fl_owner, fl->fl_flags, fl->fl_type, fl-… in locks_dump_ctx_list()
245 fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid); in locks_check_ctx_file_list()
367 new->fl_flags = fl->fl_flags; in locks_copy_conflock()
[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()
/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.c770 if (status < 0 && !(fl->fl_flags & FL_CLOSE)) in do_unlk()
837 filp, fl->fl_type, fl->fl_flags, in nfs_lock()
842 if (fl->fl_flags & FL_RECLAIM) in nfs_lock()
874 filp, fl->fl_type, fl->fl_flags); in nfs_flock()
876 if (!(fl->fl_flags & FL_FLOCK)) in nfs_flock()
H A Dnfs4proc.c7020 if (fl->fl_flags & FL_CLOSE) in nfs4_do_unlck()
7046 unsigned char fl_flags = request->fl_flags; in nfs4_proc_unlck() local
7050 request->fl_flags |= FL_EXISTS; in nfs4_proc_unlck()
7081 request->fl_flags = fl_flags; in nfs4_proc_unlck()
7192 data->fl.fl_flags &= ~(FL_SLEEP | FL_ACCESS); in nfs4_lock_done()
7399 unsigned char fl_flags = request->fl_flags; in _nfs4_proc_setlk() local
7402 request->fl_flags |= FL_ACCESS; in _nfs4_proc_setlk()
7411 request->fl_flags = fl_flags & ~FL_SLEEP; in _nfs4_proc_setlk()
7421 request->fl_flags = fl_flags; in _nfs4_proc_setlk()
7572 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()
1499 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_test()
1527 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_set()
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()
1774 cifs_dbg(FYI, "Unknown lock flags 0x%x\n", flock->fl_flags); in cifs_read_flock()
[all …]
H A Dsmb2file.c230 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.c1438 if (!(fl->fl_flags & FL_POSIX)) in gfs2_lock()
1494 request.fl_flags = FL_FLOCK; in do_flock()
1555 if (!(fl->fl_flags & FL_FLOCK)) in gfs2_flock()
/openbmc/linux/fs/nfsd/
H A Dnfs4state.c5352 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease()
7511 unsigned int fl_flags = FL_POSIX; in nfsd4_lock() local
7573 fl_flags |= FL_RECLAIM; in nfsd4_lock()
7579 fl_flags |= FL_SLEEP; in nfsd4_lock()
7591 fl_flags |= FL_SLEEP; in nfsd4_lock()
7619 fl_flags &= ~FL_SLEEP; in nfsd4_lock()
7633 file_lock->fl_flags = fl_flags; in nfsd4_lock()
7646 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
7683 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
7806 file_lock->fl_flags = FL_POSIX; in nfsd4_lockt()
[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()
H A Dcls_u32.c743 struct nlattr *est, u32 flags, u32 fl_flags, in u32_set_parms() argument
749 fl_flags, extack); in u32_set_parms()

12