/linux-4.4.14/include/trace/events/ |
D | filelock.h | 49 __field(unsigned int, fl_flags) 61 __entry->fl_flags = fl ? fl->fl_flags : 0; 70 show_fl_flags(__entry->fl_flags), 102 __field(unsigned int, fl_flags) 113 __entry->fl_flags = fl ? fl->fl_flags : 0; 121 show_fl_flags(__entry->fl_flags),
|
/linux-4.4.14/fs/ |
D | locks.c | 138 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) 139 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) 140 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) 141 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) 145 return fl->fl_flags & (FL_UNLOCK_PENDING | FL_DOWNGRADE_PENDING); in lease_breaking() 150 if (fl->fl_flags & FL_UNLOCK_PENDING) in target_leasetype() 152 if (fl->fl_flags & FL_DOWNGRADE_PENDING) in target_leasetype() 326 new->fl_flags = fl->fl_flags; in locks_copy_conflock() 389 fl->fl_flags = FL_FLOCK; in flock_make_lock() 450 fl->fl_flags = FL_POSIX; in flock64_to_posix_lock() [all …]
|
/linux-4.4.14/fs/lockd/ |
D | clntproc.c | 507 unsigned char fl_flags = fl->fl_flags; in nlmclnt_lock() local 515 fl->fl_flags |= FL_ACCESS; in nlmclnt_lock() 517 fl->fl_flags = fl_flags; in nlmclnt_lock() 565 fl->fl_flags |= FL_SLEEP; in nlmclnt_lock() 569 fl->fl_flags = fl_flags; in nlmclnt_lock() 579 if (resp->status == nlm_lck_denied && (fl_flags & FL_SLEEP)) in nlmclnt_lock() 599 fl->fl_flags = fl_flags; in nlmclnt_lock() 654 unsigned char fl_flags = fl->fl_flags; in nlmclnt_unlock() local 661 fl->fl_flags |= FL_EXISTS; in nlmclnt_unlock() 665 fl->fl_flags = fl_flags; in nlmclnt_unlock()
|
D | svclock.c | 238 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block() 427 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 456 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 458 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 755 lock->fl.fl_flags |= FL_SLEEP; in nlmsvc_grant_blocked() 759 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_grant_blocked()
|
D | xdr.c | 130 fl->fl_flags = FL_POSIX; in nlm_decode_lock()
|
D | xdr4.c | 122 fl->fl_flags = FL_POSIX; in nlm4_decode_lock()
|
D | clntxdr.c | 300 fl->fl_flags = FL_POSIX; in decode_nlm_holder()
|
D | clnt4xdr.c | 306 fl->fl_flags = FL_POSIX; in decode_nlm4_holder()
|
/linux-4.4.14/fs/ocfs2/ |
D | locks.c | 72 .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.4.14/fs/dlm/ |
D | plock.c | 217 flc->fl_flags &= ~FL_SLEEP; in dlm_plock_callback() 250 unsigned char fl_flags = fl->fl_flags; in dlm_posix_unlock() local 263 fl->fl_flags |= FL_EXISTS; in dlm_posix_unlock() 286 if (fl->fl_flags & FL_CLOSE) { in dlm_posix_unlock() 313 fl->fl_flags = fl_flags; in dlm_posix_unlock() 369 fl->fl_flags = FL_POSIX; in dlm_posix_get()
|
/linux-4.4.14/fs/afs/ |
D | flock.c | 285 if (vnode->status.lock_count != 0 && !(fl->fl_flags & FL_SLEEP)) { in afs_do_setlk() 343 if (!(fl->fl_flags & FL_SLEEP)) { in afs_do_setlk() 522 fl->fl_type, fl->fl_flags, in afs_lock() 545 fl->fl_type, fl->fl_flags); in afs_flock() 554 if (!(fl->fl_flags & FL_FLOCK)) in afs_flock()
|
/linux-4.4.14/fs/9p/ |
D | vfs_file.c | 161 if ((fl->fl_flags & FL_POSIX) != FL_POSIX) in v9fs_file_do_lock() 353 if (!(fl->fl_flags & FL_FLOCK)) in v9fs_file_flock_dotl() 361 fl->fl_flags |= FL_POSIX; in v9fs_file_flock_dotl() 362 fl->fl_flags ^= FL_FLOCK; in v9fs_file_flock_dotl()
|
/linux-4.4.14/fs/ceph/ |
D | locks.c | 164 if (!(fl->fl_flags & FL_POSIX)) in ceph_lock() 210 if (!(fl->fl_flags & FL_FLOCK)) in ceph_flock()
|
/linux-4.4.14/fs/nfs/ |
D | file.c | 838 filp, fl->fl_type, fl->fl_flags, in nfs_lock() 876 filp, fl->fl_type, fl->fl_flags); in nfs_flock() 878 if (!(fl->fl_flags & FL_FLOCK)) in nfs_flock()
|
D | nfs4proc.c | 5669 unsigned char fl_flags = request->fl_flags; in nfs4_proc_unlck() local 5673 request->fl_flags |= FL_EXISTS; in nfs4_proc_unlck() 5703 request->fl_flags = fl_flags; in nfs4_proc_unlck() 5818 data->fl.fl_flags &= ~(FL_SLEEP | FL_ACCESS); in nfs4_lock_done() 6050 unsigned char fl_flags = request->fl_flags; in _nfs4_proc_setlk() local 6053 if ((fl_flags & FL_POSIX) && in _nfs4_proc_setlk() 6060 request->fl_flags |= FL_ACCESS; in _nfs4_proc_setlk() 6068 request->fl_flags = fl_flags & ~FL_SLEEP; in _nfs4_proc_setlk() 6076 request->fl_flags = fl_flags; in _nfs4_proc_setlk()
|
/linux-4.4.14/fs/cifs/ |
D | file.c | 996 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_test() 1023 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_set() 1243 if (flock->fl_flags & FL_POSIX) in cifs_read_flock() 1245 if (flock->fl_flags & FL_FLOCK) in cifs_read_flock() 1247 if (flock->fl_flags & FL_SLEEP) { in cifs_read_flock() 1251 if (flock->fl_flags & FL_ACCESS) in cifs_read_flock() 1253 if (flock->fl_flags & FL_LEASE) in cifs_read_flock() 1255 if (flock->fl_flags & in cifs_read_flock() 1258 cifs_dbg(FYI, "Unknown lock flags 0x%x\n", flock->fl_flags); in cifs_read_flock() 1555 if (flock->fl_flags & FL_POSIX && !rc) in cifs_setlk() [all …]
|
/linux-4.4.14/fs/gfs2/ |
D | file.c | 991 if (!(fl->fl_flags & FL_POSIX)) in gfs2_lock() 1093 if (!(fl->fl_flags & FL_FLOCK)) in gfs2_flock()
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4layouts.c | 167 fl->fl_flags = FL_LAYOUT; in nfsd4_layout_setlease()
|
D | nfs4state.c | 4028 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease() 5638 file_lock->fl_flags = FL_POSIX; in nfsd4_lock() 5771 file_lock->fl_flags = FL_POSIX; in nfsd4_lockt() 5833 file_lock->fl_flags = FL_POSIX; in nfsd4_locku()
|
/linux-4.4.14/fs/fuse/ |
D | file.c | 2146 int opcode = (fl->fl_flags & FL_SLEEP) ? FUSE_SETLKW : FUSE_SETLK; in fuse_setlk() 2156 if (fl->fl_flags & FL_CLOSE) in fuse_setlk()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | file.c | 2670 if (file_lock->fl_flags & FL_FLOCK) in ll_file_flock() 2672 else if (!(file_lock->fl_flags & FL_POSIX)) in ll_file_flock()
|
/linux-4.4.14/include/linux/ |
D | fs.h | 985 unsigned int fl_flags; member
|