/Linux-v6.1/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 …]
|
/Linux-v6.1/fs/ |
D | locks.c | 72 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) 73 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) 74 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) 75 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) 80 return fl->fl_flags & (FL_UNLOCK_PENDING | FL_DOWNGRADE_PENDING); in lease_breaking() 85 if (fl->fl_flags & FL_UNLOCK_PENDING) in target_leasetype() 87 if (fl->fl_flags & FL_DOWNGRADE_PENDING) in target_leasetype() 210 …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() 244 fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid); in locks_check_ctx_file_list() 366 new->fl_flags = fl->fl_flags; in locks_copy_conflock() [all …]
|
/Linux-v6.1/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 | 240 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block() 507 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 536 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 539 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_lock() 841 lock->fl.fl_flags |= FL_SLEEP; in nlmsvc_grant_blocked() 846 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_grant_blocked()
|
D | xdr.c | 91 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
|
D | xdr4.c | 81 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
|
D | clnt4xdr.c | 284 fl->fl_flags = FL_POSIX; in decode_nlm4_holder()
|
D | clntxdr.c | 278 fl->fl_flags = FL_POSIX; in decode_nlm_holder()
|
/Linux-v6.1/fs/ocfs2/ |
D | locks.c | 56 request.fl_flags = FL_FLOCK; in ocfs2_do_flock() 102 if (!(fl->fl_flags & FL_FLOCK)) in ocfs2_flock() 120 if (!(fl->fl_flags & FL_POSIX)) in ocfs2_lock()
|
/Linux-v6.1/fs/dlm/ |
D | plock.c | 221 flc->fl_flags &= ~FL_SLEEP; in dlm_plock_callback() 254 unsigned char fl_flags = fl->fl_flags; in dlm_posix_unlock() local 267 fl->fl_flags |= FL_EXISTS; in dlm_posix_unlock() 290 if (fl->fl_flags & FL_CLOSE) { in dlm_posix_unlock() 311 fl->fl_flags = fl_flags; in dlm_posix_unlock() 361 fl->fl_flags = FL_POSIX; in dlm_posix_get()
|
/Linux-v6.1/fs/ceph/ |
D | locks.c | 216 unsigned int orig_flags = fl->fl_flags; in try_unlock_file() 217 fl->fl_flags |= FL_EXISTS; in try_unlock_file() 219 fl->fl_flags = orig_flags; in try_unlock_file() 241 if (!(fl->fl_flags & FL_POSIX)) in ceph_lock() 306 if (!(fl->fl_flags & FL_FLOCK)) in ceph_flock()
|
/Linux-v6.1/fs/nfs/ |
D | file.c | 739 if (status < 0 && !(fl->fl_flags & FL_CLOSE)) in do_unlk() 806 filp, fl->fl_type, fl->fl_flags, in nfs_lock() 811 if (fl->fl_flags & FL_RECLAIM) in nfs_lock() 843 filp, fl->fl_type, fl->fl_flags); in nfs_flock() 845 if (!(fl->fl_flags & FL_FLOCK)) in nfs_flock()
|
D | nfs4proc.c | 6980 if (fl->fl_flags & FL_CLOSE) in nfs4_do_unlck() 7006 unsigned char fl_flags = request->fl_flags; in nfs4_proc_unlck() local 7010 request->fl_flags |= FL_EXISTS; in nfs4_proc_unlck() 7040 request->fl_flags = fl_flags; in nfs4_proc_unlck() 7151 data->fl.fl_flags &= ~(FL_SLEEP | FL_ACCESS); in nfs4_lock_done() 7353 unsigned char fl_flags = request->fl_flags; in _nfs4_proc_setlk() local 7356 request->fl_flags |= FL_ACCESS; in _nfs4_proc_setlk() 7365 request->fl_flags = fl_flags & ~FL_SLEEP; in _nfs4_proc_setlk() 7375 request->fl_flags = fl_flags; in _nfs4_proc_setlk() 7526 if ((request->fl_flags & FL_POSIX) && in nfs4_proc_lock()
|
/Linux-v6.1/fs/9p/ |
D | vfs_file.c | 143 BUG_ON((fl->fl_flags & FL_POSIX) != FL_POSIX); in v9fs_file_do_lock() 340 if (!(fl->fl_flags & FL_FLOCK)) in v9fs_file_flock_dotl() 348 fl->fl_flags |= FL_POSIX; in v9fs_file_flock_dotl() 349 fl->fl_flags ^= FL_FLOCK; in v9fs_file_flock_dotl()
|
/Linux-v6.1/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() 807 fl->fl_type, fl->fl_flags); in afs_flock() 816 if (!(fl->fl_flags & FL_FLOCK)) in afs_flock()
|
/Linux-v6.1/net/sched/ |
D | cls_matchall.c | 163 struct nlattr *est, u32 flags, u32 fl_flags, in mall_set_parms() argument 169 fl_flags, extack); in mall_set_parms()
|
D | act_api.c | 1434 u32 flags, u32 fl_flags, in tcf_action_init() argument 1473 bool skip_sw = tc_skip_sw(fl_flags); in tcf_action_init() 1474 bool skip_hw = tc_skip_hw(fl_flags); in tcf_action_init()
|
D | cls_u32.c | 716 struct nlattr *est, u32 flags, u32 fl_flags, in u32_set_parms() argument 722 fl_flags, extack); in u32_set_parms()
|
/Linux-v6.1/fs/cifs/ |
D | file.c | 1183 flock->fl_flags, &conf_lock, in cifs_lock_test() 1274 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_test() 1302 if ((flock->fl_flags & FL_POSIX) == 0) in cifs_posix_lock_set() 1534 if (flock->fl_flags & FL_POSIX) in cifs_read_flock() 1536 if (flock->fl_flags & FL_FLOCK) in cifs_read_flock() 1538 if (flock->fl_flags & FL_SLEEP) { in cifs_read_flock() 1542 if (flock->fl_flags & FL_ACCESS) in cifs_read_flock() 1544 if (flock->fl_flags & FL_LEASE) in cifs_read_flock() 1546 if (flock->fl_flags & in cifs_read_flock() 1549 cifs_dbg(FYI, "Unknown lock flags 0x%x\n", flock->fl_flags); in cifs_read_flock() [all …]
|
D | smb2file.c | 230 if (!(flock->fl_flags & (FL_FLOCK | FL_OFDLCK))) in smb2_unlock_range()
|
/Linux-v6.1/include/net/ |
D | act_api.h | 208 u32 flags, u32 fl_flags, struct netlink_ext_ack *extack);
|
D | pkt_cls.h | 362 u32 flags, u32 fl_flags, struct netlink_ext_ack *extack);
|
/Linux-v6.1/fs/gfs2/ |
D | file.c | 1426 if (!(fl->fl_flags & FL_POSIX)) in gfs2_lock() 1486 request.fl_flags = FL_FLOCK; in do_flock() 1547 if (!(fl->fl_flags & FL_FLOCK)) in gfs2_flock()
|
/Linux-v6.1/fs/nfsd/ |
D | nfs4state.c | 5297 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease() 7307 unsigned int fl_flags = FL_POSIX; in nfsd4_lock() local 7369 fl_flags |= FL_RECLAIM; in nfsd4_lock() 7375 fl_flags |= FL_SLEEP; in nfsd4_lock() 7387 fl_flags |= FL_SLEEP; in nfsd4_lock() 7415 fl_flags &= ~FL_SLEEP; in nfsd4_lock() 7429 file_lock->fl_flags = fl_flags; in nfsd4_lock() 7442 if (fl_flags & FL_SLEEP) { in nfsd4_lock() 7479 if (fl_flags & FL_SLEEP) { in nfsd4_lock() 7602 file_lock->fl_flags = FL_POSIX; in nfsd4_lockt() [all …]
|
D | nfs4layouts.c | 196 fl->fl_flags = FL_LAYOUT; in nfsd4_layout_setlease()
|