F_WRLCK 576 arch/um/os-Linux/file.c int type = excl ? F_WRLCK : F_RDLCK; F_WRLCK 161 fs/9p/vfs_file.c case F_WRLCK: F_WRLCK 278 fs/9p/vfs_file.c fl->fl_type = F_WRLCK; F_WRLCK 95 fs/afs/flock.c if (!exclusive && p->fl_type == F_WRLCK) F_WRLCK 119 fs/afs/flock.c fl_type = F_WRLCK; F_WRLCK 132 fs/afs/flock.c (next->fl_type == F_WRLCK || p->fl_type == F_RDLCK)) F_WRLCK 759 fs/afs/flock.c fl->fl_type = F_WRLCK; F_WRLCK 123 fs/ceph/locks.c fl->fl_type = F_WRLCK; F_WRLCK 253 fs/ceph/locks.c else if (F_WRLCK == fl->fl_type) F_WRLCK 309 fs/ceph/locks.c else if (F_WRLCK == fl->fl_type) F_WRLCK 370 fs/ceph/locks.c case F_WRLCK: F_WRLCK 1000 fs/cifs/cifsfs.c ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) F_WRLCK 2687 fs/cifs/cifssmb.c pLockData->fl_type = F_WRLCK; F_WRLCK 1055 fs/cifs/file.c flock->fl_type = F_WRLCK; F_WRLCK 1414 fs/cifs/file.c if (flock->fl_type == F_WRLCK) { F_WRLCK 1486 fs/cifs/file.c flock->fl_type = F_WRLCK; F_WRLCK 1503 fs/cifs/file.c flock->fl_type = F_WRLCK; F_WRLCK 122 fs/dlm/plock.c op->info.ex = (fl->fl_type == F_WRLCK); F_WRLCK 334 fs/dlm/plock.c op->info.ex = (fl->fl_type == F_WRLCK); F_WRLCK 365 fs/dlm/plock.c fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; F_WRLCK 2330 fs/fuse/file.c case F_WRLCK: F_WRLCK 1224 fs/gfs2/file.c state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; F_WRLCK 285 fs/lockd/clnt4xdr.c fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; F_WRLCK 367 fs/lockd/clnt4xdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); F_WRLCK 390 fs/lockd/clnt4xdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); F_WRLCK 413 fs/lockd/clnt4xdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); F_WRLCK 279 fs/lockd/clntxdr.c fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; F_WRLCK 360 fs/lockd/clntxdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); F_WRLCK 383 fs/lockd/clntxdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); F_WRLCK 406 fs/lockd/clntxdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); F_WRLCK 196 fs/lockd/xdr.c argp->lock.fl.fl_type = F_WRLCK; F_WRLCK 224 fs/lockd/xdr.c argp->lock.fl.fl_type = F_WRLCK; F_WRLCK 245 fs/lockd/xdr.c argp->lock.fl.fl_type = F_WRLCK; F_WRLCK 193 fs/lockd/xdr4.c argp->lock.fl.fl_type = F_WRLCK; F_WRLCK 221 fs/lockd/xdr4.c argp->lock.fl.fl_type = F_WRLCK; F_WRLCK 242 fs/lockd/xdr4.c argp->lock.fl.fl_type = F_WRLCK; F_WRLCK 470 fs/locks.c return F_WRLCK; F_WRLCK 508 fs/locks.c case F_WRLCK: F_WRLCK 908 fs/locks.c if (sys_fl->fl_type == F_WRLCK) F_WRLCK 910 fs/locks.c if (caller_fl->fl_type == F_WRLCK) F_WRLCK 1612 fs/locks.c new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); F_WRLCK 1728 fs/locks.c if (fl && (fl->fl_type == F_WRLCK)) F_WRLCK 1810 fs/locks.c else if (arg != F_WRLCK) F_WRLCK 1860 fs/locks.c if (is_deleg && arg == F_WRLCK) { F_WRLCK 1894 fs/locks.c if (arg == F_WRLCK) F_WRLCK 2008 fs/locks.c case F_WRLCK: F_WRLCK 2356 fs/locks.c if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) F_WRLCK 2462 fs/locks.c case F_WRLCK: F_WRLCK 2570 fs/locks.c if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) F_WRLCK 2879 fs/locks.c seq_printf(f, "%s ", (type == F_WRLCK) ? "WRITE" : F_WRLCK 7201 fs/nfs/nfs4proc.c case F_WRLCK: F_WRLCK 785 fs/nfs/nfs4trace.h TRACE_DEFINE_ENUM(F_WRLCK); F_WRLCK 796 fs/nfs/nfs4trace.h { F_WRLCK, "WRLCK" }, \ F_WRLCK 4924 fs/nfs/nfs4xdr.c fl->fl_type = F_WRLCK; F_WRLCK 1312 fs/nfs/write.c fl->fl_type == F_WRLCK; F_WRLCK 1350 fs/nfs/write.c if (fl->fl_type == F_WRLCK) F_WRLCK 4796 fs/nfsd/nfs4state.c fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; F_WRLCK 6517 fs/nfsd/nfs4state.c fl_type = F_WRLCK; F_WRLCK 6684 fs/nfsd/nfs4state.c file_lock->fl_type = F_WRLCK; F_WRLCK 31 fs/ocfs2/locks.c if (fl->fl_type == F_WRLCK) F_WRLCK 393 fs/read_write.c read_write == READ ? F_RDLCK : F_WRLCK); F_WRLCK 1768 fs/read_write.c write ? F_WRLCK : F_RDLCK); F_WRLCK 2382 include/linux/fs.h F_WRLCK); F_WRLCK 2385 include/linux/fs.h F_WRLCK); F_WRLCK 375 include/trace/events/afs.h EM(F_WRLCK, "WRLCK") \ F_WRLCK 35 include/trace/events/filelock.h { F_WRLCK, "F_WRLCK" }, \ F_WRLCK 475 security/apparmor/lsm.c if (cmd == F_WRLCK) F_WRLCK 123 tools/hv/hv_kvp_daemon.c struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0};