Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/trace/events/
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 …]
/linux-6.3-rc2/fs/
A Dlocks.c367 new->fl_flags = fl->fl_flags; in locks_copy_conflock()
436 fl->fl_flags = FL_FLOCK; in flock_make_lock()
495 fl->fl_flags = FL_POSIX; in flock64_to_posix_lock()
561 fl->fl_flags = FL_LEASE; in lease_init()
1429 if ((breaker->fl_flags & FL_LAYOUT) != (lease->fl_flags & FL_LAYOUT)) { in leases_conflict()
1433 if ((breaker->fl_flags & FL_DELEG) && (lease->fl_flags & FL_LEASE)) { in leases_conflict()
1484 new_fl->fl_flags = type; in __break_lease()
2100 fl.fl_flags |= FL_SLEEP; in SYSCALL_DEFINE2()
2222 fl->fl_flags |= FL_OFDLCK; in fcntl_getlk()
2429 fl->fl_flags |= FL_OFDLCK; in fcntl_getlk64()
[all …]
/linux-6.3-rc2/fs/lockd/
A Dclntproc.c520 unsigned char fl_flags = fl->fl_flags; in nlmclnt_lock() local
528 fl->fl_flags |= FL_ACCESS; in nlmclnt_lock()
530 fl->fl_flags = fl_flags; in nlmclnt_lock()
578 fl->fl_flags |= FL_SLEEP; in nlmclnt_lock()
582 fl->fl_flags = fl_flags; in nlmclnt_lock()
592 if (resp->status == nlm_lck_denied && (fl_flags & FL_SLEEP)) in nlmclnt_lock()
612 fl->fl_flags = fl_flags; in nlmclnt_lock()
667 unsigned char fl_flags = fl->fl_flags; in nlmclnt_unlock() local
674 fl->fl_flags |= FL_EXISTS; in nlmclnt_unlock()
678 fl->fl_flags = fl_flags; in nlmclnt_unlock()
A Dsvclock.c240 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()
844 lock->fl.fl_flags |= FL_SLEEP; in nlmsvc_grant_blocked()
849 lock->fl.fl_flags &= ~FL_SLEEP; in nlmsvc_grant_blocked()
A Dxdr4.c81 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
A Dxdr.c91 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
A Dsvcsubs.c189 lock.fl_flags = FL_POSIX; in nlm_unlock_files()
A Dclnt4xdr.c284 fl->fl_flags = FL_POSIX; in decode_nlm4_holder()
A Dclntxdr.c278 fl->fl_flags = FL_POSIX; in decode_nlm_holder()
A Dsvc4proc.c55 lock->fl.fl_flags = FL_POSIX; in nlm4svc_retrieve_args()
/linux-6.3-rc2/fs/ocfs2/
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()
/linux-6.3-rc2/fs/dlm/
A Dplock.c222 flc->fl_flags &= ~FL_SLEEP; in dlm_plock_callback()
255 unsigned char fl_flags = fl->fl_flags; in dlm_posix_unlock() local
268 fl->fl_flags |= FL_EXISTS; in dlm_posix_unlock()
291 if (fl->fl_flags & FL_CLOSE) { in dlm_posix_unlock()
312 fl->fl_flags = fl_flags; in dlm_posix_unlock()
362 fl->fl_flags = FL_POSIX; in dlm_posix_get()
/linux-6.3-rc2/fs/ceph/
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()
/linux-6.3-rc2/fs/nfs/
A Dfile.c760 if (status < 0 && !(fl->fl_flags & FL_CLOSE)) in do_unlk()
827 filp, fl->fl_type, fl->fl_flags, in nfs_lock()
832 if (fl->fl_flags & FL_RECLAIM) in nfs_lock()
864 filp, fl->fl_type, fl->fl_flags); in nfs_flock()
866 if (!(fl->fl_flags & FL_FLOCK)) in nfs_flock()
A Dnfs4proc.c6986 if (fl->fl_flags & FL_CLOSE) in nfs4_do_unlck()
7012 unsigned char fl_flags = request->fl_flags; in nfs4_proc_unlck() local
7016 request->fl_flags |= FL_EXISTS; in nfs4_proc_unlck()
7047 request->fl_flags = fl_flags; in nfs4_proc_unlck()
7158 data->fl.fl_flags &= ~(FL_SLEEP | FL_ACCESS); in nfs4_lock_done()
7360 unsigned char fl_flags = request->fl_flags; in _nfs4_proc_setlk() local
7363 request->fl_flags |= FL_ACCESS; in _nfs4_proc_setlk()
7372 request->fl_flags = fl_flags & ~FL_SLEEP; in _nfs4_proc_setlk()
7382 request->fl_flags = fl_flags; in _nfs4_proc_setlk()
7533 if ((request->fl_flags & FL_POSIX) && in nfs4_proc_lock()
/linux-6.3-rc2/fs/9p/
A Dvfs_file.c144 BUG_ON((fl->fl_flags & FL_POSIX) != FL_POSIX); in v9fs_file_do_lock()
341 if (!(fl->fl_flags & FL_FLOCK)) in v9fs_file_flock_dotl()
349 fl->fl_flags |= FL_POSIX; in v9fs_file_flock_dotl()
350 fl->fl_flags ^= FL_FLOCK; in v9fs_file_flock_dotl()
/linux-6.3-rc2/fs/afs/
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()
/linux-6.3-rc2/net/sched/
A Dcls_matchall.c165 struct nlattr *est, u32 flags, u32 fl_flags, in mall_set_parms() argument
171 fl_flags, extack); in mall_set_parms()
A Dact_api.c1430 u32 flags, u32 fl_flags, in tcf_action_init() argument
1469 bool skip_sw = tc_skip_sw(fl_flags); in tcf_action_init()
1470 bool skip_hw = tc_skip_hw(fl_flags); in tcf_action_init()
/linux-6.3-rc2/fs/cifs/
A Dfile.c1312 flock->fl_flags, &conf_lock, in cifs_lock_test()
1663 if (flock->fl_flags & FL_POSIX) in cifs_read_flock()
1665 if (flock->fl_flags & FL_FLOCK) in cifs_read_flock()
1667 if (flock->fl_flags & FL_SLEEP) { in cifs_read_flock()
1671 if (flock->fl_flags & FL_ACCESS) in cifs_read_flock()
1673 if (flock->fl_flags & FL_LEASE) in cifs_read_flock()
1675 if (flock->fl_flags & in cifs_read_flock()
1950 flock->fl_flags); in cifs_setlk()
1989 if ((flock->fl_flags & FL_POSIX) || (flock->fl_flags & FL_FLOCK)) { in cifs_setlk()
1998 if (!(flock->fl_flags & FL_CLOSE)) in cifs_setlk()
[all …]
A Dsmb2file.c231 if (!(flock->fl_flags & (FL_FLOCK | FL_OFDLCK))) in smb2_unlock_range()
/linux-6.3-rc2/include/linux/
A Dfilelock.h99 unsigned int fl_flags; member
/linux-6.3-rc2/include/net/
A Dact_api.h209 u32 flags, u32 fl_flags, struct netlink_ext_ack *extack);
/linux-6.3-rc2/fs/gfs2/
A Dfile.c1427 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-6.3-rc2/fs/nfsd/
A Dnfs4state.c5330 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease()
7440 unsigned int fl_flags = FL_POSIX; in nfsd4_lock() local
7502 fl_flags |= FL_RECLAIM; in nfsd4_lock()
7508 fl_flags |= FL_SLEEP; in nfsd4_lock()
7520 fl_flags |= FL_SLEEP; in nfsd4_lock()
7548 fl_flags &= ~FL_SLEEP; in nfsd4_lock()
7562 file_lock->fl_flags = fl_flags; in nfsd4_lock()
7575 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
7612 if (fl_flags & FL_SLEEP) { in nfsd4_lock()
7735 file_lock->fl_flags = FL_POSIX; in nfsd4_lockt()
[all …]

Completed in 76 milliseconds

12