Home
last modified time | relevance | path

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

/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/fs/lockd/
H A Dsvc4proc.c250 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in nlm4svc_proc_test()
276 holder->exclusive = (conf->fl.c.flc_type != F_RDLCK); in nlm4svc_proc_test()
299 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in nlm4svc_do_lock()
409 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in nlm4svc_proc_cancel()
592 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in __nlm4svc_proc_test_msg()
652 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in __nlm4svc_proc_lock_msg()
712 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in __nlm4svc_proc_cancel_msg()
1005 &xdr_lock, F_RDLCK); in nlm4svc_proc_share()
1073 &xdr_lock, F_RDLCK); in nlm4svc_proc_unshare()
/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/include/trace/misc/
H A Dfs.h98 { F_RDLCK, "RDLCK" }, \
/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/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/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/smb/client/
H A Dfile.c1696 flock->c.flc_type = F_RDLCK; in cifs_lock_test()
1976 if (ftype == F_RDLCK || ftype == F_SHLCK) in cifs_push_posix_locks()
2153 flock->c.flc_type = F_RDLCK; in cifs_getlk()
H A Dcifsfs.c1129 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
H A Dcifssmb.c2378 pLockData->c.flc_type = F_RDLCK; in CIFSSMBPosixLock()
/linux/include/trace/events/
H A Dafs.h453 EM(F_RDLCK, "RDLCK") \
/linux/fs/nfsd/
H A Dnfs4state.c5947 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease()
8064 if (fl->c.flc_type != F_RDLCK) in nfs4_set_lock_denied()
8407 type = F_RDLCK; in nfsd4_lock()
8611 file_lock->c.flc_type = F_RDLCK; in nfsd4_lockt()
/linux/fs/fuse/
H A Dfile.c2444 case F_RDLCK: in convert_fuse_file_lock()
/linux/fs/nfs/
H A Dnfs4proc.c7738 case F_RDLCK: in nfs4_proc_lock()
7763 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7781 case F_RDLCK: in nfs4_proc_setlease()
/linux/fs/smb/server/
H A Dsmb2pdu.c7402 flock->c.flc_type = F_RDLCK; in smb2_set_flock_flags()
7415 flock->c.flc_type = F_RDLCK; in smb2_set_flock_flags()