Symbol: F_WRLCK
arch/um/os-Linux/file.c
576
int type = excl ? F_WRLCK : F_RDLCK;
fs/9p/vfs_file.c
147
case F_WRLCK:
fs/9p/vfs_file.c
265
fl->c.flc_type = F_WRLCK;
fs/afs/flock.c
120
type = F_WRLCK;
fs/afs/flock.c
748
fl->c.flc_type = F_WRLCK;
fs/ceph/locks.c
138
fl->c.flc_type = F_WRLCK;
fs/ceph/locks.c
422
case F_WRLCK:
fs/dlm/plock.c
463
fl->c.flc_type = (op->info.ex) ? F_WRLCK : F_RDLCK;
fs/fuse/file.c
2437
case F_WRLCK:
fs/lockd/clnt4xdr.c
284
fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK;
fs/lockd/clnt4xdr.c
360
encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK);
fs/lockd/clnt4xdr.c
383
encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK);
fs/lockd/clnt4xdr.c
406
encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK);
fs/lockd/clntxdr.c
280
fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK;
fs/lockd/clntxdr.c
361
encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK);
fs/lockd/clntxdr.c
384
encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK);
fs/lockd/clntxdr.c
407
encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK);
fs/lockd/xdr.c
167
argp->lock.fl.c.flc_type = F_WRLCK;
fs/lockd/xdr.c
187
argp->lock.fl.c.flc_type = F_WRLCK;
fs/lockd/xdr.c
212
argp->lock.fl.c.flc_type = F_WRLCK;
fs/lockd/xdr4.c
161
argp->lock.fl.c.flc_type = F_WRLCK;
fs/lockd/xdr4.c
181
argp->lock.fl.c.flc_type = F_WRLCK;
fs/lockd/xdr4.c
206
argp->lock.fl.c.flc_type = F_WRLCK;
fs/locks.c
1617
new_fl = lease_alloc(NULL, type, want_write ? F_WRLCK : F_RDLCK);
fs/locks.c
1732
if (flc && flc->flc_type == F_WRLCK)
fs/locks.c
1867
if (arg == F_WRLCK)
fs/locks.c
1974
case F_WRLCK:
fs/locks.c
2365
&& flock->l_type != F_WRLCK)
fs/locks.c
2473
case F_WRLCK:
fs/locks.c
2574
&& flock->l_type != F_WRLCK)
fs/locks.c
2895
seq_printf(f, "%s ", (type == F_WRLCK) ? "WRITE" :
fs/locks.c
476
return F_WRLCK;
fs/locks.c
500
case F_WRLCK:
fs/locks.c
616
else if (arg != F_WRLCK)
fs/locks.c
948
if (sys_flc->flc_type == F_WRLCK)
fs/locks.c
950
if (caller_flc->flc_type == F_WRLCK)
fs/nfs/nfs4proc.c
7733
case F_WRLCK:
fs/nfs/nfs4proc.c
7773
case F_WRLCK:
fs/nfs/nfs4xdr.c
5131
fl->c.flc_type = F_WRLCK;
fs/nfsd/nfs4state.c
5928
fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK;
fs/nfsd/nfs4state.c
8399
type = F_WRLCK;
fs/nfsd/nfs4state.c
8597
file_lock->c.flc_type = F_WRLCK;
fs/nfsd/nfs4state.c
9369
if (fl->c.flc_type == F_WRLCK) {
fs/smb/client/cifsfs.c
1161
((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode))))
fs/smb/client/cifssmb.c
2380
pLockData->c.flc_type = F_WRLCK;
fs/smb/client/file.c
1678
flock->c.flc_type = F_WRLCK;
fs/smb/client/file.c
2115
flock->c.flc_type = F_WRLCK;
fs/smb/client/file.c
2132
flock->c.flc_type = F_WRLCK;
fs/smb/server/smb2pdu.c
7384
flock->c.flc_type = F_WRLCK;
fs/smb/server/smb2pdu.c
7397
flock->c.flc_type = F_WRLCK;
include/linux/filelock.h
178
return fl->c.flc_type == F_WRLCK;
include/trace/events/afs.h
454
EM(F_WRLCK, "WRLCK") \
include/trace/events/filelock.h
36
{ F_WRLCK, "F_WRLCK" }, \
include/trace/misc/fs.h
99
{ F_WRLCK, "WRLCK" }, \
security/apparmor/lsm.c
549
if (cmd == F_WRLCK)
tools/hv/hv_kvp_daemon.c
136
struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0};
tools/testing/selftests/filelock/ofdlocks.c
71
fl.l_type = F_WRLCK;