/kernel/linux/linux-5.10/include/trace/events/ |
D | filelock.h | 74 __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 …]
|
D | afs.h | 1316 __entry->flags = fl->fl_flags;
|
/kernel/linux/linux-5.10/fs/ |
D | locks.c | 177 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) 178 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) 179 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) 180 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) 185 return fl->fl_flags & (FL_UNLOCK_PENDING | FL_DOWNGRADE_PENDING); in lease_breaking() 190 if (fl->fl_flags & FL_UNLOCK_PENDING) in target_leasetype() 192 if (fl->fl_flags & FL_DOWNGRADE_PENDING) in target_leasetype() 286 …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() 320 fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid); in locks_check_ctx_file_list() 414 new->fl_flags = fl->fl_flags; in locks_copy_conflock() [all …]
|
/kernel/linux/linux-5.10/fs/lockd/ |
D | clntproc.c | 519 unsigned char fl_flags = fl->fl_flags; in nlmclnt_lock() local 527 fl->fl_flags |= FL_ACCESS; in nlmclnt_lock() 529 fl->fl_flags = fl_flags; in nlmclnt_lock() 577 fl->fl_flags |= FL_SLEEP; in nlmclnt_lock() 581 fl->fl_flags = fl_flags; in nlmclnt_lock() 591 if (resp->status == nlm_lck_denied && (fl_flags & FL_SLEEP)) in nlmclnt_lock() 611 fl->fl_flags = fl_flags; in nlmclnt_lock() 666 unsigned char fl_flags = fl->fl_flags; in nlmclnt_unlock() local 673 fl->fl_flags |= FL_EXISTS; in nlmclnt_unlock() 677 fl->fl_flags = fl_flags; in nlmclnt_unlock()
|
D | svclock.c | 239 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block() 497 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 526 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 528 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 828 lock->fl.fl_flags |= FL_SLEEP; in nlmsvc_grant_blocked() 832 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_grant_blocked()
|
D | xdr4.c | 121 fl->fl_flags = FL_POSIX; in nlm4_decode_lock()
|
D | xdr.c | 129 fl->fl_flags = FL_POSIX; in nlm_decode_lock()
|
D | clntxdr.c | 278 fl->fl_flags = FL_POSIX; in decode_nlm_holder()
|
D | clnt4xdr.c | 284 fl->fl_flags = FL_POSIX; in decode_nlm4_holder()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | locks.c | 58 request.fl_flags = FL_FLOCK; in ocfs2_do_flock() 104 if (!(fl->fl_flags & FL_FLOCK)) in ocfs2_flock() 124 if (!(fl->fl_flags & FL_POSIX)) in ocfs2_lock()
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | plock.c | 213 flc->fl_flags &= ~FL_SLEEP; in dlm_plock_callback() 246 unsigned char fl_flags = fl->fl_flags; in dlm_posix_unlock() local 259 fl->fl_flags |= FL_EXISTS; in dlm_posix_unlock() 282 if (fl->fl_flags & FL_CLOSE) { in dlm_posix_unlock() 309 fl->fl_flags = fl_flags; in dlm_posix_unlock() 365 fl->fl_flags = FL_POSIX; in dlm_posix_get()
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | locks.c | 212 unsigned int orig_flags = fl->fl_flags; in try_unlock_file() 213 fl->fl_flags |= FL_EXISTS; in try_unlock_file() 215 fl->fl_flags = orig_flags; in try_unlock_file() 237 if (!(fl->fl_flags & FL_POSIX)) in ceph_lock() 302 if (!(fl->fl_flags & FL_FLOCK)) in ceph_flock()
|
/kernel/linux/linux-5.10/fs/9p/ |
D | vfs_file.c | 147 if ((fl->fl_flags & FL_POSIX) != FL_POSIX) in v9fs_file_do_lock() 354 if (!(fl->fl_flags & FL_FLOCK)) in v9fs_file_flock_dotl() 362 fl->fl_flags |= FL_POSIX; in v9fs_file_flock_dotl() 363 fl->fl_flags ^= FL_FLOCK; in v9fs_file_flock_dotl()
|
/kernel/linux/linux-5.10/fs/afs/ |
D | flock.c | 527 !(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() 811 fl->fl_type, fl->fl_flags); in afs_flock() 820 if (!(fl->fl_flags & FL_FLOCK)) in afs_flock()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | file.c | 720 if (status < 0 && !(fl->fl_flags & FL_CLOSE)) in do_unlk() 787 filp, fl->fl_type, fl->fl_flags, in nfs_lock() 825 filp, fl->fl_type, fl->fl_flags); in nfs_flock() 827 if (!(fl->fl_flags & FL_FLOCK)) in nfs_flock()
|
D | nfs4proc.c | 6865 if (fl->fl_flags & FL_CLOSE) in nfs4_do_unlck() 6891 unsigned char fl_flags = request->fl_flags; in nfs4_proc_unlck() local 6895 request->fl_flags |= FL_EXISTS; in nfs4_proc_unlck() 6925 request->fl_flags = fl_flags; in nfs4_proc_unlck() 7039 data->fl.fl_flags &= ~(FL_SLEEP | FL_ACCESS); in nfs4_lock_done() 7242 unsigned char fl_flags = request->fl_flags; in _nfs4_proc_setlk() local 7245 request->fl_flags |= FL_ACCESS; in _nfs4_proc_setlk() 7254 request->fl_flags = fl_flags & ~FL_SLEEP; in _nfs4_proc_setlk() 7264 request->fl_flags = fl_flags; in _nfs4_proc_setlk() 7424 if ((request->fl_flags & FL_POSIX) && in nfs4_proc_lock()
|
D | nfs3proc.c | 942 if (fl->fl_flags & FL_CLOSE) { in nfs3_proc_lock()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | file.c | 1046 flock->fl_flags, &conf_lock, in cifs_lock_test() 1136 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_test() 1164 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_set() 1389 if (flock->fl_flags & FL_POSIX) in cifs_read_flock() 1391 if (flock->fl_flags & FL_FLOCK) in cifs_read_flock() 1393 if (flock->fl_flags & FL_SLEEP) { in cifs_read_flock() 1397 if (flock->fl_flags & FL_ACCESS) in cifs_read_flock() 1399 if (flock->fl_flags & FL_LEASE) in cifs_read_flock() 1401 if (flock->fl_flags & in cifs_read_flock() 1404 cifs_dbg(FYI, "Unknown lock flags 0x%x\n", flock->fl_flags); in cifs_read_flock() [all …]
|
D | smb2file.c | 158 if (!(flock->fl_flags & (FL_FLOCK | FL_OFDLCK))) in smb2_unlock_range()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | file.c | 1250 if (!(fl->fl_flags & FL_POSIX)) in gfs2_lock() 1295 request.fl_flags = FL_FLOCK; in do_flock() 1354 if (!(fl->fl_flags & FL_FLOCK)) in gfs2_flock()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs4state.c | 4986 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease() 6703 unsigned int fl_flags = FL_POSIX; in nfsd4_lock() local 6772 fl_flags |= FL_SLEEP; in nfsd4_lock() 6784 fl_flags |= FL_SLEEP; in nfsd4_lock() 6816 file_lock->fl_flags = fl_flags; in nfsd4_lock() 6829 if (fl_flags & FL_SLEEP) { in nfsd4_lock() 6864 if (fl_flags & FL_SLEEP) { in nfsd4_lock() 6982 file_lock->fl_flags = FL_POSIX; in nfsd4_lockt() 7045 file_lock->fl_flags = FL_POSIX; in nfsd4_locku()
|
D | nfs4layouts.c | 195 fl->fl_flags = FL_LAYOUT; in nfsd4_layout_setlease()
|
D | filecache.c | 590 if (fl->fl_flags & FL_LEASE) in nfsd_file_lease_notifier_call()
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | file.c | 2491 int opcode = (fl->fl_flags & FL_SLEEP) ? FUSE_SETLKW : FUSE_SETLK; in fuse_setlk() 2502 if ((fl->fl_flags & FL_CLOSE_POSIX) == FL_CLOSE_POSIX) in fuse_setlk()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | hmdfs_dentryfile.c | 1551 fl.fl_flags = FL_POSIX | FL_CLOSE | FL_SLEEP; in hmdfs_do_lock_file()
|