Home
last modified time | relevance | path

Searched refs:F_RDLCK (Results 1 – 25 of 27) sorted by relevance

12

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h163 #ifndef F_RDLCK
164 #define F_RDLCK 0 macro
/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c48 fl.l_type = F_RDLCK; in main()
60 fl.l_type = F_RDLCK; in main()
/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h33 #define F_RDLCK 01 macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/linux/fs/
H A Dlocks.c92 return F_RDLCK; in target_leasetype()
464 return F_RDLCK; in flock_translate_cmd()
489 case F_RDLCK: in assign_type()
604 if (arg == F_RDLCK) in lease_open_conflict()
1485 case F_RDLCK: in lease_clear_pending()
1533 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1607 new_fl = lease_alloc(NULL, type, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1968 case F_RDLCK: in generic_setlease()
2344 if (cmd != F_OFD_GETLK && flock->l_type != F_RDLCK in fcntl_getlk()
2449 case F_RDLCK: in check_fmode_for_setlk()
[all …]
/linux/fs/lockd/
H A Dxdr.c92 fl->c.flc_type = F_RDLCK; in svcxdr_decode_lock()
110 if (xdr_stream_encode_bool(xdr, fl->c.flc_type != F_RDLCK) < 0) in svcxdr_encode_holder()
H A Dclnt4xdr.c246 encode_bool(xdr, lock->fl.c.flc_type == F_RDLCK); in encode_nlm4_holder()
284 fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
/linux/include/trace/misc/
H A Dfs.h98 { F_RDLCK, "RDLCK" }, \
/linux/fs/9p/
H A Dvfs_file.c144 case F_RDLCK: in v9fs_file_do_lock()
262 fl->c.flc_type = F_RDLCK; in v9fs_file_getlock()
/linux/fs/ceph/
H A Dlocks.c136 fl->c.flc_type = F_RDLCK; in ceph_lock_message()
419 case F_RDLCK: in lock_to_ceph_filelock()
/linux/include/trace/events/
H A Dfilelock.h35 { F_RDLCK, "F_RDLCK" }, \
H A Dafs.h453 EM(F_RDLCK, "RDLCK") \
/linux/fs/afs/
H A Dflock.c115 unsigned int type = F_RDLCK; in afs_next_locker()
746 fl->c.flc_type = F_RDLCK; in afs_do_getlk()
/linux/include/linux/
H A Dfilelock.h173 return fl->c.flc_type == F_RDLCK; in lock_is_read()
/linux/arch/um/os-Linux/
H A Dfile.c576 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux/fs/dlm/
H A Dplock.c463 fl->c.flc_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux/fs/nfsd/
H A Dnfs4layouts.c211 fl->c.flc_type = F_RDLCK; in nfsd4_layout_setlease()
H A Dnfs4state.c5923 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease()
8040 if (fl->c.flc_type != F_RDLCK) in nfs4_set_lock_denied()
8383 type = F_RDLCK; in nfsd4_lock()
8587 file_lock->c.flc_type = F_RDLCK; in nfsd4_lockt()
/linux/fs/smb/client/
H A Dfile.c1696 flock->c.flc_type = F_RDLCK; in cifs_lock_test()
1970 if (ftype == F_RDLCK || ftype == F_SHLCK) in cifs_push_posix_locks()
2147 flock->c.flc_type = F_RDLCK; in cifs_getlk()
H A Dcifsfs.c1154 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/linux/fs/fuse/
H A Dfile.c2436 case F_RDLCK: in convert_fuse_file_lock()
/linux/fs/nfs/
H A Dnfs4proc.c7930 case F_RDLCK: in nfs4_proc_lock()
7955 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7973 case F_RDLCK: in nfs4_proc_setlease()
/linux/fs/smb/server/
H A Dsmb2pdu.c7281 flock->c.flc_type = F_RDLCK; in smb2_set_flock_flags()
7294 flock->c.flc_type = F_RDLCK; in smb2_set_flock_flags()

12