Home
last modified time | relevance | path

Searched refs:F_WRLCK (Results 1 – 25 of 33) sorted by relevance

12

/linux-5.15/arch/parisc/include/uapi/asm/ !
H A Dfcntl.h34 #define F_WRLCK 02 macro
/linux-5.15/fs/lockd/ !
H A Dxdr4.c167 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs()
188 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
214 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
H A Dxdr.c168 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs()
189 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs()
215 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_cancargs()
H A Dclnt4xdr.c285 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
367 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_testargs()
390 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_lockargs()
413 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_cancargs()
H A Dclntxdr.c279 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder()
360 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_testargs()
383 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_lockargs()
406 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_cancargs()
H A Dsvcsubs.c76 return (lock->fl_type == F_WRLCK) ? O_WRONLY : O_RDONLY; in lock_to_openmode()
/linux-5.15/arch/alpha/include/uapi/asm/ !
H A Dfcntl.h49 #define F_WRLCK 2 macro
/linux-5.15/fs/ceph/ !
H A Dlocks.c123 fl->fl_type = F_WRLCK; in ceph_lock_message()
265 else if (F_WRLCK == fl->fl_type) in ceph_lock()
327 else if (F_WRLCK == fl->fl_type) in ceph_flock()
394 case F_WRLCK: in lock_to_ceph_filelock()
/linux-5.15/arch/sparc/include/uapi/asm/ !
H A Dfcntl.h49 #define F_WRLCK 2 macro
/linux-5.15/fs/ !
H A Dlocks.c470 return F_WRLCK; in flock_translate_cmd()
508 case F_WRLCK: in assign_type()
908 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()
910 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
1519 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1635 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime()
1720 else if (arg != F_WRLCK) in check_conflicting_open()
1770 if (is_deleg && arg == F_WRLCK) { in generic_add_lease()
1804 if (arg == F_WRLCK) in generic_add_lease()
1918 case F_WRLCK: in generic_setlease()
[all …]
/linux-5.15/tools/include/uapi/asm-generic/ !
A Dfcntl.h166 #define F_WRLCK 1 macro
/linux-5.15/include/uapi/asm-generic/ !
A Dfcntl.h167 #define F_WRLCK 1 macro
/linux-5.15/fs/dlm/ !
H A Dplock.c122 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock()
334 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get()
365 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux-5.15/fs/ocfs2/ !
H A Dlocks.c29 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock()
/linux-5.15/fs/afs/ !
H A Dflock.c96 if (!exclusive && p->fl_type == F_WRLCK) in afs_grant_locks()
120 fl_type = F_WRLCK; in afs_next_locker()
133 (next->fl_type == F_WRLCK || p->fl_type == F_RDLCK)) in afs_next_locker()
748 fl->fl_type = F_WRLCK; in afs_do_getlk()
/linux-5.15/fs/9p/ !
H A Dvfs_file.c158 case F_WRLCK: in v9fs_file_do_lock()
275 fl->fl_type = F_WRLCK; in v9fs_file_getlock()
/linux-5.15/include/trace/events/ !
A Dfilelock.h35 { F_WRLCK, "F_WRLCK" }, \
A Dafs.h557 EM(F_WRLCK, "WRLCK") \
/linux-5.15/arch/um/os-Linux/ !
H A Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux-5.15/fs/nfs/ !
H A Dwrite.c1308 fl->fl_type == F_WRLCK; in is_whole_file_wrlock()
1347 if (fl->fl_type == F_WRLCK) in nfs_can_extend_write()
A Dnfs4trace.h968 TRACE_DEFINE_ENUM(F_WRLCK);
979 { F_WRLCK, "WRLCK" }, \
/linux-5.15/fs/cifs/ !
H A Dfile.c1126 flock->fl_type = F_WRLCK; in cifs_lock_test()
1478 if (flock->fl_type == F_WRLCK) { in cifs_read_flock()
1550 flock->fl_type = F_WRLCK; in cifs_getlk()
1567 flock->fl_type = F_WRLCK; in cifs_getlk()
H A Dcifsfs.c1037 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
/linux-5.15/tools/hv/ !
H A Dhv_kvp_daemon.c123 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
/linux-5.15/fs/gfs2/ !
H A Dfile.c1269 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()

12