Home
last modified time | relevance | path

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

/linux-4.19.296/include/trace/events/
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->fl_flags : 0;
202 show_fl_flags(__entry->fl_flags),
/linux-4.19.296/fs/
Dlocks.c136 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX)
137 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK)
138 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT))
139 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK)
144 return fl->fl_flags & (FL_UNLOCK_PENDING | FL_DOWNGRADE_PENDING); in lease_breaking()
149 if (fl->fl_flags & FL_UNLOCK_PENDING) in target_leasetype()
151 if (fl->fl_flags & FL_DOWNGRADE_PENDING) in target_leasetype()
244 …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()
278 fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid); in locks_check_ctx_file_list()
371 new->fl_flags = fl->fl_flags; in locks_copy_conflock()
[all …]
/linux-4.19.296/fs/lockd/
Dclntproc.c517 unsigned char fl_flags = fl->fl_flags; in nlmclnt_lock() local
525 fl->fl_flags |= FL_ACCESS; in nlmclnt_lock()
527 fl->fl_flags = fl_flags; in nlmclnt_lock()
575 fl->fl_flags |= FL_SLEEP; in nlmclnt_lock()
579 fl->fl_flags = fl_flags; in nlmclnt_lock()
589 if (resp->status == nlm_lck_denied && (fl_flags & FL_SLEEP)) in nlmclnt_lock()
609 fl->fl_flags = fl_flags; in nlmclnt_lock()
664 unsigned char fl_flags = fl->fl_flags; in nlmclnt_unlock() local
671 fl->fl_flags |= FL_EXISTS; in nlmclnt_unlock()
675 fl->fl_flags = fl_flags; in nlmclnt_unlock()
Dsvclock.c239 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block()
428 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock()
457 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock()
459 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock()
756 lock->fl.fl_flags |= FL_SLEEP; in nlmsvc_grant_blocked()
760 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_grant_blocked()
Dxdr4.c123 fl->fl_flags = FL_POSIX; in nlm4_decode_lock()
Dxdr.c131 fl->fl_flags = FL_POSIX; in nlm_decode_lock()
Dclnt4xdr.c297 fl->fl_flags = FL_POSIX; in decode_nlm4_holder()
Dclntxdr.c291 fl->fl_flags = FL_POSIX; in decode_nlm_holder()
/linux-4.19.296/fs/ocfs2/
Dlocks.c72 .fl_flags = FL_FLOCK in ocfs2_do_flock()
118 if (!(fl->fl_flags & FL_FLOCK)) in ocfs2_flock()
138 if (!(fl->fl_flags & FL_POSIX)) in ocfs2_lock()
/linux-4.19.296/fs/dlm/
Dplock.c227 flc->fl_flags &= ~FL_SLEEP; in dlm_plock_callback()
260 unsigned char fl_flags = fl->fl_flags; in dlm_posix_unlock() local
273 fl->fl_flags |= FL_EXISTS; in dlm_posix_unlock()
296 if (fl->fl_flags & FL_CLOSE) { in dlm_posix_unlock()
323 fl->fl_flags = fl_flags; in dlm_posix_unlock()
379 fl->fl_flags = FL_POSIX; in dlm_posix_get()
/linux-4.19.296/fs/afs/
Dflock.c391 ret = afs_do_setlk_check(vnode, key, type, fl->fl_flags & FL_SLEEP); in afs_do_setlk()
494 if (!(fl->fl_flags & FL_SLEEP)) { in afs_do_setlk()
632 fl->fl_type, fl->fl_flags, in afs_lock()
655 fl->fl_type, fl->fl_flags); in afs_flock()
664 if (!(fl->fl_flags & FL_FLOCK)) in afs_flock()
/linux-4.19.296/fs/9p/
Dvfs_file.c162 if ((fl->fl_flags & FL_POSIX) != FL_POSIX) in v9fs_file_do_lock()
369 if (!(fl->fl_flags & FL_FLOCK)) in v9fs_file_flock_dotl()
377 fl->fl_flags |= FL_POSIX; in v9fs_file_flock_dotl()
378 fl->fl_flags ^= FL_FLOCK; in v9fs_file_flock_dotl()
/linux-4.19.296/fs/nfs/
Dfile.c710 if (status < 0 && !(fl->fl_flags & FL_CLOSE)) in do_unlk()
777 filp, fl->fl_type, fl->fl_flags, in nfs_lock()
815 filp, fl->fl_type, fl->fl_flags); in nfs_flock()
817 if (!(fl->fl_flags & FL_FLOCK)) in nfs_flock()
Dnfs4proc.c6462 if (fl->fl_flags & FL_CLOSE) in nfs4_do_unlck()
6488 unsigned char fl_flags = request->fl_flags; in nfs4_proc_unlck() local
6492 request->fl_flags |= FL_EXISTS; in nfs4_proc_unlck()
6522 request->fl_flags = fl_flags; in nfs4_proc_unlck()
6636 data->fl.fl_flags &= ~(FL_SLEEP | FL_ACCESS); in nfs4_lock_done()
6839 unsigned char fl_flags = request->fl_flags; in _nfs4_proc_setlk() local
6842 request->fl_flags |= FL_ACCESS; in _nfs4_proc_setlk()
6851 request->fl_flags = fl_flags & ~FL_SLEEP; in _nfs4_proc_setlk()
6861 request->fl_flags = fl_flags; in _nfs4_proc_setlk()
7020 if ((request->fl_flags & FL_POSIX) && in nfs4_proc_lock()
Dnfs3proc.c900 if (fl->fl_flags & FL_CLOSE) { in nfs3_proc_lock()
/linux-4.19.296/fs/ceph/
Dlocks.c222 if (!(fl->fl_flags & FL_POSIX)) in ceph_lock()
290 if (!(fl->fl_flags & FL_FLOCK)) in ceph_flock()
/linux-4.19.296/fs/cifs/
Dfile.c1101 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_test()
1128 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_set()
1360 if (flock->fl_flags & FL_POSIX) in cifs_read_flock()
1362 if (flock->fl_flags & FL_FLOCK) in cifs_read_flock()
1364 if (flock->fl_flags & FL_SLEEP) { in cifs_read_flock()
1368 if (flock->fl_flags & FL_ACCESS) in cifs_read_flock()
1370 if (flock->fl_flags & FL_LEASE) in cifs_read_flock()
1372 if (flock->fl_flags & in cifs_read_flock()
1375 cifs_dbg(FYI, "Unknown lock flags 0x%x\n", flock->fl_flags); in cifs_read_flock()
1680 if (flock->fl_flags & FL_POSIX) { in cifs_setlk()
[all …]
/linux-4.19.296/fs/gfs2/
Dfile.c1141 if (!(fl->fl_flags & FL_POSIX)) in gfs2_lock()
1186 .fl_flags = FL_FLOCK in do_flock()
1245 if (!(fl->fl_flags & FL_FLOCK)) in gfs2_flock()
/linux-4.19.296/fs/nfsd/
Dnfs4state.c4332 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease()
5964 unsigned int fl_flags = FL_POSIX; in nfsd4_lock() local
6033 fl_flags |= FL_SLEEP; in nfsd4_lock()
6045 fl_flags |= FL_SLEEP; in nfsd4_lock()
6077 file_lock->fl_flags = fl_flags; in nfsd4_lock()
6090 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
6125 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
6232 file_lock->fl_flags = FL_POSIX; in nfsd4_lockt()
6295 file_lock->fl_flags = FL_POSIX; in nfsd4_locku()
Dnfs4layouts.c195 fl->fl_flags = FL_LAYOUT; in nfsd4_layout_setlease()
/linux-4.19.296/fs/fuse/
Dfile.c2202 int opcode = (fl->fl_flags & FL_SLEEP) ? FUSE_SETLKW : FUSE_SETLK; in fuse_setlk()
2213 if ((fl->fl_flags & FL_CLOSE_POSIX) == FL_CLOSE_POSIX) in fuse_setlk()
/linux-4.19.296/include/linux/
Dfs.h1045 unsigned int fl_flags; member